%define major 3 Summary: The GNU libtool, which simplifies the use of shared libraries Name: libtool Version: 1.4.2 Release: 3mdk License: GPL Group: Development/Other Source: ftp://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.bz2 # Geoff - patching ltmain.sh not ltmain.in coz that's the file that gets # copied over to the buildroot. Patch0: libtool-1.3.5-mktemp.patch.bz2 Patch1: libtool-1.4-nonneg.patch.bz2 Patch2: libtool-1.4-test.patch.bz2 Patch3: libtool-1.4.2-relink.patch.bz2 Patch4: libtool-1.4.2-add-x11r6-lib-in-ignores-for-rpath.patch.bz2 Patch5: %{name}-1.4.2-duplicate-dependency.patch.bz2 URL: http://www.gnu.org/software/libtool/libtool.html PreReq: /sbin/install-info BuildRoot: %_tmppath/%name-%version-%release-root Requires: file common-licenses %description The libtool package contains the GNU libtool, a set of shell scripts which automatically configure UNIX and UNIX-like architectures to generically build shared libraries. Libtool provides a consistent, portable interface which simplifies the process of using shared libraries. If you are developing programs which will use shared libraries, you should install libtool. %package -n libltdl%major Group: Development/C Summary: Shared library files for libtool %description -n libltdl%major Shared library files for libtool DLL library from the libtool package. %package -n libltdl%major-devel Group: Development/C Summary: Development files for libtool Requires: %name = %version-%release, libltdl%major = %version-%release Provides: libltdl-devel libtool-devel Obsoletes: libtool-devel %description -n libltdl%major-devel Development headers, and files for development from the libtool package. %prep %setup -q %patch0 -p1 -b .mktemp %patch1 -p1 -b .nonneg %patch2 -p1 -b .test %patch3 -p1 -b .relink %patch4 -p0 %patch5 -p1 -b .duplicatedep automake --gnu --add-missing aclocal autoconf ( cd libltdl ; autoheader ; automake --gnu --add-missing ; \ aclocal ; autoconf ) %build # don't use configure macro - it forces libtoolize, which is bad -jgarzik # Use configure macro but define __libtoolize to be /bin/true -Geoff %define __libtoolize /bin/true %configure %make -C doc %make %ifnarch ia64 make check %endif ( cd demo ; make clean ) %install %makeinstall %clean rm -fr %buildroot %post %_install_info %{name}.info %post -n libltdl%major /sbin/ldconfig %preun %_remove_install_info %{name}.info %postun -n libltdl%major /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS INSTALL NEWS README %doc THANKS TODO ChangeLog* %_bindir/* %_infodir/libtool.info* %_datadir/libtool/co* %_datadir/libtool/lt* %_datadir/aclocal/libtool.m4 %files -n libltdl%major %defattr(-,root,root) %doc libltdl/README %_libdir/*.so.* %files -n libltdl%major-devel %defattr(-,root,root) %doc demo %_includedir/* %_datadir/libtool/libltdl %_datadir/aclocal/ltdl.m4 %_libdir/*.a %_libdir/*.so %_libdir/*.la %changelog * Mon Jan 7 2002 Abel Cheung <maddog@linux.org.hk> 1.4.2-3mdk - Patch5: Take the patch that removes duplicate library dependencies from libtool CVS. Use --preserve-dup-deps for preserving duplicate dependent libraries. * Sat Oct 20 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 1.4.2-2mdk - tired of dirty patches to fix /usr/X11R6/lib rpath's in binaries and shlib, so add-x11r6-lib-in-ignores-for-rpath.patch note that this won't be enough for the configure scripts of the 2.13 generation since they're based on duplicating the "ltconfig" binary which duplicates the sys_lib_search_path_spec variable I'm patching ; for these packages, you'll need to search and change this variable in the "ltconfig" from your package, if you end up with a binary or shlib with /usr/X11R6/lib in the RPATH * Thu Oct 04 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.4.2-1mdk - Update relink patch. (maddog). - Fix nonneg and mktemp patch as we should be patching ltmain.sh not the .in file (maddog). - Update to 1.4.2. - Quietly take away the CVS patch. * Fri Sep 28 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.4-7mdk - Add relink patch from maddog@linuxhall.org. * Sat Jul 07 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.4-6mdk - CVS fixes (rawhide). - Remove compat patch. - Use %%configure but define __libtoolize to /bin/true. * Mon Jun 11 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.4-5mdk - Add a patch so that we don't get unary operater expected message from libtool (Abel). * Sat May 26 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.4-4mdk - Proudly and shamelessly rip the 1.4-nonneg patch from RH. * Fri May 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.4-3mdk - Define LT_NON_POSIX_NAMESPACE in ltdl.h to be compatible a.k.a. make programs which depend on libltdl link well. * Wed May 23 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.4-2mdk - Move *.la to the development package to avoid a conflict (Kudos to Arnd Bergmann). * Sun May 23 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.4-1mdk - Bump version 1.4 out for everyone. A * Fri Mar 30 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.3.5-13mdk - Remove dependency of lib package on main package * Tue Mar 20 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 1.3.5-12mdk - Do not use configure macro, it calls libtoolize. (bug #2092) - Fix rpmlint warnings. - Require common-licenses. * Fri Mar 9 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3.5-11mdk - Patch to use mktemp to create the tempdir (rh). - Fix recognition of ^0[0-9]+$ as a non-negative integer (rh). - Requires: file. * Mon Feb 05 2001 Francis Galiegue <fg@mandrakesoft.com> 1.3.5-10mdk - Don't make check on ia64... * Sat Jan 07 2001 David BAUDENS <baudens@mandrakesoft.com> 1.3.5-9mdk - Fix my typo in Requires. Sorry * Fri Jan 05 2001 David BAUDENS <baudens@mandrakesoft.com> 1.3.5-8mdk - Fix Requires * Thu Dec 14 2000 David BAUDENS <baudens@mandrakesoft.com> 1.3.5-7mdk - Obsoletes: libtool-devel * Wed Dec 13 2000 Jeff Garzik <jgarzik@mandrakesoft.com> 1.3.5-6mdk - Don't obsolete libtool-devel, provide it - Fix bugs caught by rpmlint * Wed Dec 13 2000 Jeff Garzik <jgarzik@mandrakesoft.com> 1.3.5-5mdk - new library policy - eliminate libtool-devel package * Thu Dec 7 2000 Jeff Garzik <jgarzik@mandrakesoft.com> 1.3.5-4mdk - Run automated tests at build time - Use make macro - Fix rpmlint errors - Move /usr/share libltdl stuff to libtool-devel package * Fri Nov 10 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3.5-3mdk - Add fake option --build=. * Fri Jul 28 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.3.5-2mdk - BM - remove reverted patch :-( (grrrr) from the spec : "i suck --Geoff" :-) - make rpmlint go to paradise * Wed Jun 21 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 1.3.5-1mdk - picks up $arch-mandrake-linux-gnu not $arch-pc-linux-gnu (patch) well, for x86 and alpha anyway, maybe ultrasparc too ?? - new version - fix bad source url - add libtool url - add devel package - Chmouel Boudjnah <chmouel@mandrakesoft.com> - Spec Cleanup (makeinstall etc..). * Wed Apr 5 2000 Jeff Garzik <jgarzik@mandrakesoft.com> 1.3.4-2mdk - updated BuildRoot - group new Development/Other * Thu Jan 13 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3.4-1mdk - 1.3.4. * Wed Dec 1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Build Release. * Sun Nov 07 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Build release. * Mon Oct 25 1999 Jeff Garzik <jgarzik@pobox.com> - Import RedHat 6.1 spec - s/gzip/bzip2/ for info documentation * Thu Jul 15 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.3. * Mon Jun 14 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3.2. * Tue May 11 1999 Jeff Johnson <jbj@redhat.com> - explicitly disable per-arch libraries (#2210) - undo hard links and remove zero length file (#2689) * Sat May 1 1999 Jeff Johnson <jbj@redhat.com> - update to 1.3. * Fri Mar 26 1999 Cristian Gafton <gafton@redhat.com> - disable the --cache-file passing to ltconfig; this breaks the older ltconfig scripts found around. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 2) * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com> - update to 1.2f * Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - completed arm patch - added patch to make it more arm-friendly - upgrade to version 1.2d * Thu May 07 1998 Donnie Barnes <djb@redhat.com> - fixed busted group * Sat Jan 24 1998 Marc Ewing <marc@redhat.com> - Update to 1.0h - added install-info support * Tue Nov 25 1997 Elliot Lee <sopwith@redhat.com> - Update to 1.0f - BuildRoot it - Make it a noarch package