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 Provides: libltdl-devel
22 Provides: libtool-ltdl-devel
25 GNU libtool is a set of shell scripts to automatically configure UNIX
26 architectures to build shared libraries in a generic fashion.
29 Summary: Libtool Runtime Library
30 Group: Development/Libraries
32 %description -n libltdl
33 Library needed by programs that use the ltdl interface of GNU libtool.
36 %setup -q -n libtool-%{version}
39 ./configure CFLAGS="$RPM_OPT_FLAGS" \
40 --prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
41 # force rebuild with non-broken makeinfo
42 rm -f doc/libtool.info
47 make install DESTDIR=$RPM_BUILD_ROOT
49 %post -n libltdl -p /sbin/ldconfig
51 %postun -n libltdl -p /sbin/ldconfig
54 %defattr(-, root, root)
61 %attr(644, root, root) %{_libdir}/libltdl.la
63 /usr/share/aclocal/*.m4
64 %doc %{_infodir}/libtool.info*
65 %doc %{_mandir}/man1/libtool.1.gz
66 %doc %{_mandir}/man1/libtoolize.1.gz
70 %defattr(-, root, root)
71 %{_libdir}/libltdl.so.*