File mingw64-libtool.spec of Package mingw64-libtool
#
# spec file for package mingw64-libtool
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw64-libtool
Version: 2.4
Release: 0
Summary: A Tool to Build Shared Libraries
License: LGPL-2.1-or-later
Group: Development/Tools/Building
Url: http://www.gnu.org/software/libtool/
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
#!BuildIgnore: post-build-checks
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-filesystem >= 23
%_mingw64_package_header_debug
BuildArch: noarch
%description
GNU libtool is a set of shell scripts to automatically configure UNIX
architectures to build shared libraries in a generic fashion.
%package -n mingw64-libltdl7
Summary: Libtool Runtime Library
Group: System/Libraries
Obsoletes: mingw64-libltdl
Provides: mingw64-libltdl
%description -n mingw64-libltdl7
Library needed by programs that use the ltdl interface of GNU libtool.
%_mingw64_debug_package
%prep
%setup -q -n libtool-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--enable-shared --disable-static
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_mingw64_infodir}/dir
%files
%defattr(-,root,root)
%{_mingw64_includedir}/ltdl.h
%{_mingw64_includedir}/libltdl
%{_mingw64_datadir}/libtool/config
%{_mingw64_datadir}/libtool/libltdl
%{_mingw64_datadir}/aclocal/libtool.m4
%{_mingw64_datadir}/aclocal/argz.m4
%{_mingw64_datadir}/aclocal/ltdl.m4
%{_mingw64_datadir}/aclocal/ltsugar.m4
%{_mingw64_datadir}/aclocal/lt~obsolete.m4
%{_mingw64_datadir}/aclocal/ltversion.m4
%{_mingw64_datadir}/aclocal/ltoptions.m4
%{_mingw64_infodir}/libtool.info*
%{_mingw64_libdir}/libltdl.dll.a
%{_mingw64_bindir}/libtoolize
%{_mingw64_bindir}/libtool
%{_mingw64_mandir}/man1/libtoolize.1*
%{_mingw64_mandir}/man1/libtool.1*
%files -n mingw64-libltdl7
%defattr(-,root,root)
%{_mingw64_bindir}/libltdl-7.dll
%changelog