3 BuildRequires: automake
6 BuildRequires: zlib-devel
7 BuildRequires: makeinfo
8 Requires: automake > 1.4
10 Summary: A Tool to Build Shared Libraries
12 Group: Development/Tools
15 Requires: libltdl = %{version}
16 Url: http://www.gnu.org/software/libtool/
17 Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
18 Source2: baselibs.conf
19 Source3: libtool-rpmlintrc
20 Source1001: libtool.manifest
21 Provides: libltdl-devel
23 Provides: libtool-ltdl-devel
26 GNU libtool is a set of shell scripts to automatically configure UNIX
27 architectures to build shared libraries in a generic fashion.
30 Summary: Libtool Runtime Library
31 Group: System/Libraries
33 %description -n libltdl
34 Library needed by programs that use the ltdl interface of GNU libtool.
37 %setup -q -n libtool-%{version}
42 # force rebuild with non-broken makeinfo
43 rm -f doc/libtool.info
48 make install DESTDIR=$RPM_BUILD_ROOT
50 %post -n libltdl -p /sbin/ldconfig
52 %postun -n libltdl -p /sbin/ldconfig
55 %manifest %{name}.manifest
56 %defattr(-, root, root)
63 %attr(644, root, root) %{_libdir}/libltdl.la
65 /usr/share/aclocal/*.m4
66 %doc %{_infodir}/libtool.info*
67 %doc %{_mandir}/man1/libtool.1.gz
68 %doc %{_mandir}/man1/libtoolize.1.gz
72 %manifest %{name}.manifest
73 %defattr(-, root, root)
74 %{_libdir}/libltdl.so.*