2 BuildRequires: automake
5 BuildRequires: zlib-devel
6 BuildRequires: makeinfo
7 Requires: automake > 1.4
9 Summary: A Tool to Build Shared Libraries
11 Group: Development/Tools/Building
14 Requires: libltdl = %{version}
15 Url: http://www.gnu.org/software/libtool/
16 Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
17 Source2: baselibs.conf
18 Source3: libtool-rpmlintrc
19 Provides: libltdl-devel
21 Provides: libtool-ltdl-devel
24 GNU libtool is a set of shell scripts to automatically configure UNIX
25 architectures to build shared libraries in a generic fashion.
28 Summary: Libtool Runtime Library
29 Group: Development/Libraries/C and C++
31 %description -n libltdl
32 Library needed by programs that use the ltdl interface of GNU libtool.
35 %setup -q -n libtool-%{version}
38 ./configure CFLAGS="$RPM_OPT_FLAGS" \
39 --prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
40 # force rebuild with non-broken makeinfo
41 rm -f doc/libtool.info
48 %post -n libltdl -p /sbin/ldconfig
50 %postun -n libltdl -p /sbin/ldconfig
53 %defattr(-, root, root)
59 %attr(644, root, root) %{_libdir}/libltdl.la
61 /usr/share/aclocal/*.m4
62 %doc %{_infodir}/libtool.info*
63 %doc %{_mandir}/man1/libtool.1.gz
64 %doc %{_mandir}/man1/libtoolize.1.gz
68 %defattr(-, root, root)
69 %{_libdir}/libltdl.so.*