3 Summary: A Tool to Build Shared Libraries
5 Group: Development/Tools
8 Url: http://www.gnu.org/software/libtool/
9 Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
10 Source2: baselibs.conf
11 Source3: libtool-rpmlintrc
12 Source1001: libtool.manifest
14 BuildRequires: automake
15 BuildRequires: gcc-c++
17 BuildRequires: zlib-devel
18 BuildRequires: makeinfo
20 Requires: automake > 1.4
22 Requires: libltdl = %{version}
24 Provides: libltdl-devel
26 Provides: libtool-ltdl-devel
29 GNU libtool is a set of shell scripts to automatically configure UNIX
30 architectures to build shared libraries in a generic fashion.
33 Summary: Libtool Runtime Library
34 Group: System/Libraries
36 %description -n libltdl
37 Library needed by programs that use the ltdl interface of GNU libtool.
40 %setup -q -n libtool-%{version}
44 %_configure CFLAGS="$RPM_OPT_FLAGS" \
45 --prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
47 # force rebuild with non-broken makeinfo
48 rm -f doc/libtool.info
49 %__make %{?_smp_mflags}
53 make install DESTDIR=$RPM_BUILD_ROOT
56 %post -n libltdl -p /sbin/ldconfig
58 %postun -n libltdl -p /sbin/ldconfig
61 %manifest %{name}.manifest
65 %{_includedir}/libltdl
69 %attr(644, root, root) %{_libdir}/libltdl.la
70 %{_datadir}/aclocal/*.m4
74 %manifest %{name}.manifest
76 %{_libdir}/libltdl.so.*