diff --git a/.cvsignore b/.cvsignore index e69de29..a28f8ff 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libtool-1.3.5.tar.gz diff --git a/libtool.spec b/libtool.spec new file mode 100644 index 0000000..72d2f68 --- /dev/null +++ b/libtool.spec @@ -0,0 +1,184 @@ +Summary: The GNU libtool, which simplifies the use of shared libraries. +Name: libtool +Version: 1.3.5 +Release: 8 +Copyright: GPL +Group: Development/Tools +Source: ftp://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz +Patch0: libtool-1.3.2-arm.patch +Patch1: libtool-1.2f-cache.patch +Patch2: libtool-1.3.5-mktemp.patch +Patch3: libtool-1.3.5-nonneg.patch +Prefix: %{_prefix} +PreReq: /sbin/install-info autoconf automake m4 perl +Requires: libtool-libs = %{version}-%{release}, mktemp +BuildRoot: %{_tmppath}/%{name}-root + +%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 libs +Summary: Runtime libraries for GNU libtool. +Group: System Environment/Libraries + +%description libs +The libtool-libs package contains the runtime libraries from GNU +libtool. GNU libtool uses these libraries to provide portible dynamic +loading of shared libraries. + +If you are using some programs that provide shared libraries built +with GNU libtool, you should install the libtool-libs package to +provide the dynamic loading library + +%prep +%setup -q +# XXX this appears to be finally integrated in 1.3.4 +#%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 + +%build +#./configure --prefix=%{_prefix} +# define libtoolize to true, in case configure calls it +%define __libtoolize /bin/true +%configure + +make -k -C doc +make + +%install +rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}%{_prefix} + +#make prefix=${RPM_BUILD_ROOT}%{_prefix} install +%makeinstall + +cp install-sh missing mkinstalldirs demo + +{ cd ${RPM_BUILD_ROOT} + gzip -9nf .%{_infodir}/*.info* +# XXX remove zero length file + rm -f .%{_datadir}/libtool/libltdl/stamp-h.in +# XXX forcibly break hardlinks + mv .%{_datadir}/libtool/libltdl .%{_datadir}/libtool/libltdl-X + mkdir .%{_prefix}/share/libtool/libltdl + cp .%{_datadir}/libtool/libltdl-X/* .%{_datadir}/libtool/libltdl + rm -rf .%{_prefix}/share/libtool/libltdl-X +} + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%post +/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir +# XXX hack alert +cd %{_defaultdocdir}/libtool-%{version}/demo || cd %{_prefix}/doc/libtool-%{version}/demo || exit 0 +libtoolize --copy --force +aclocal +autoheader +automake +autoconf + +%preun +if [ "$1" = 0 ]; then + /sbin/install-info --delete %{_infodir}/libtool.info.gz %{_infodir}/dir +fi + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING INSTALL NEWS README +%doc THANKS TODO ChangeLog demo +%{_bindir}/* +%{_infodir}/libtool.info* +%{_includedir}/ltdl.h +%{_datadir}/libtool +%{_libdir}/libltdl.so +%{_libdir}/libltdl.*a +%{_datadir}/aclocal/libtool.m4 + +%files libs +%defattr(-,root,root) +%{_libdir}/libltdl.so.* + +%changelog +* Thu Jul 13 2000 Elliot Lee +- Fix recognition of ^0[0-9]+$ as a non-negative integer. + +* Thu Jul 13 2000 Prospector +- automatic rebuild + +* Fri Jul 7 2000 Nalin Dahyabhai +- patch to use mktemp to create the tempdir +- use %%configure after defining __libtoolize to /bin/true + +* Mon Jul 3 2000 Matt Wilson +- subpackage libltdl into libtool-libs + +* Sun Jun 18 2000 Bill Nottingham +- running libtoolize on the libtool source tree ain't right :) + +* Mon Jun 5 2000 Jeff Johnson +- FHS packaging. + +* Thu Jun 1 2000 Nalin Dahyabhai +- update to 1.3.5. + +* Fri Mar 3 2000 Jeff Johnson +- add prereqs for m4 and perl inorder to run autoconf/automake. + +* Mon Feb 28 2000 Jeff Johnson +- functional /usr/doc/libtool-*/demo by end-user %post procedure (#9719). + +* Wed Dec 22 1999 Jeff Johnson +- update to 1.3.4. + +* Mon Dec 6 1999 Jeff Johnson +- change from noarch to per-arch in order to package libltdl.a (#7493). + +* Thu Jul 15 1999 Jeff Johnson +- update to 1.3.3. + +* Mon Jun 14 1999 Jeff Johnson +- update to 1.3.2. + +* Tue May 11 1999 Jeff Johnson +- explicitly disable per-arch libraries (#2210) +- undo hard links and remove zero length file (#2689) + +* Sat May 1 1999 Jeff Johnson +- update to 1.3. + +* Fri Mar 26 1999 Cristian Gafton +- disable the --cache-file passing to ltconfig; this breaks the older + ltconfig scripts found around. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 2) + +* Fri Mar 19 1999 Jeff Johnson +- update to 1.2f + +* Tue Mar 16 1999 Cristian Gafton +- completed arm patch +- added patch to make it more arm-friendly +- upgrade to version 1.2d + +* Thu May 07 1998 Donnie Barnes +- fixed busted group + +* Sat Jan 24 1998 Marc Ewing +- Update to 1.0h +- added install-info support + +* Tue Nov 25 1997 Elliot Lee +- Update to 1.0f +- BuildRoot it +- Make it a noarch package diff --git a/sources b/sources index e69de29..b69d7af 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fa26a07c978ad05d1f88ed7a472daa49 libtool-1.3.5.tar.gz