2 # Please submit bugfixes or comments via http://bugs.meego.com/
8 License: GPLv2+ and LGPLv2+ and GFDL
9 Summary: The GNU Portable Library Tool
10 Url: http://www.gnu.org/software/libtool/
11 Group: Development/Tools
12 Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
13 Source1001: packaging/libtool.manifest
14 Patch0: no-host-name.patch
15 Patch1: fix-AC_LANG_PROGRAM.patch
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake >= 1.9.2
20 Requires: autoconf >= 2.58
21 Requires: automake >= 1.4
25 GNU Libtool is a set of shell scripts which automatically configure UNIX and
26 UNIX-like systems to generically build shared libraries. Libtool provides a
27 consistent, portable interface which simplifies the process of using shared
30 If you are developing programs which will use shared libraries, but do not use
31 the rest of the GNU Autotools (such as GNU Autoconf and GNU Automake), you
32 should install the libtool package.
34 The libtool package also includes all files needed to integrate the GNU
35 Portable Library Tool (libtool) and the GNU Libtool Dynamic Module Loader
36 (ltdl) into a package built using the GNU Autotools (including GNU Autoconf
41 Summary: Runtime libraries for GNU Libtool Dynamic Module Loader
42 Group: System/Libraries
43 Provides: %{name}-libs = %{version}
44 Requires(post): /sbin/ldconfig
45 Requires(postun): /sbin/ldconfig
48 The libtool-ltdl package contains the GNU Libtool Dynamic Module Loader, a
49 library that provides a consistent, portable interface which simplifies the
50 process of using dynamic modules.
52 These runtime libraries are needed by programs that link directly to the
53 system-installed ltdl libraries; they are not needed by software built using
54 the rest of the GNU Autotools (including GNU Autoconf and GNU Automake).
58 Summary: Tools needed for development using the GNU Libtool Dynamic Module Loader
59 Group: Development/Libraries
60 Requires: %{name}-ltdl = %{version}
62 %description ltdl-devel
63 Static libraries and header files for development with ltdl.
66 %setup -n libtool-%{version} -q
78 export CFLAGS="%{optflags} -fPIC"
79 # don't conflict with libtool-1.5, use own directory:
80 sed -e 's/pkgdatadir="\\${datadir}\/\$PACKAGE"/pkgdatadir="\\${datadir}\/\${PACKAGE}"/' configure > configure.tmp; mv -f configure.tmp configure; chmod a+x configure
81 ./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
88 rm -rf %{buildroot}%{_infodir}
91 #make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false)
97 %post ltdl -p /sbin/ldconfig
99 %postun ltdl -p /sbin/ldconfig
102 %manifest libtool.manifest
103 %defattr(-,root,root)
104 %doc AUTHORS COPYING THANKS
106 %{_bindir}/libtoolize
107 %{_datadir}/aclocal/*.m4
108 %exclude %{_datadir}/libtool/libltdl
112 %manifest libtool.manifest
113 %defattr(-,root,root)
114 %doc libltdl/COPYING.LIB libltdl/README
115 %{_libdir}/libltdl.so.*
118 %manifest libtool.manifest
119 %defattr(-,root,root)
120 %{_datadir}/libtool/libltdl
121 %{_libdir}/libltdl.so
122 %{_includedir}/ltdl.h
123 %{_includedir}/libltdl