diff --git a/README.md b/README.md index fd68af6..f7e9cfc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # libtool +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. + diff --git a/libtool.spec b/libtool.spec new file mode 100644 index 0000000..b98e3ed --- /dev/null +++ b/libtool.spec @@ -0,0 +1,229 @@ +%define pkgver %(echo %version | sed "s|[a-z]||") +%define gccver %(gcc -dumpversion) +Name: libtool +Version: 2.4.2 +Release: 8mamba +Summary: The GNU libtool, which simplifies the use of shared libraries +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnu.org/software/libtool/libtool.html +Source: http://ftp.gnu.org/gnu/libtool/%{name}-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: ldconfig +BuildRequires: gcc = %{gccver} +Requires(post):%{__install_info} +Requires: ldconfig >= 2.3.4 +Requires: gcc = %{gccver} +BuildRoot: %{_tmppath}/%{name}-%{version}-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 -n libltdl +Summary: Shared library files for %{name} +Group: Development/Libraries + +%description -n libltdl +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. + +Shared library files for libtool DLL library from the libtool package. + +%package -n libltdl-devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: libltdl = %{?epoch:%epoch:}%{version}-%{release} + +%description -n libltdl-devel +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. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info %{name}.info + +%preun +%uninstall_info %{name}.info + +%post -n libltdl -p /sbin/ldconfig +%postun -n libltdl -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/libtool +%{_bindir}/libtoolize +%dir %{_datadir}/libtool/ +%dir %{_datadir}/libtool/config +%{_datadir}/libtool/config/compile +%{_datadir}/libtool/config/config.guess +%{_datadir}/libtool/config/config.sub +%{_datadir}/libtool/config/depcomp +%{_datadir}/libtool/config/install-sh +%{_datadir}/libtool/config/ltmain.sh +%{_datadir}/libtool/config/missing +%{_datadir}/aclocal/argz.m4 +%{_datadir}/aclocal/libtool.m4 +%{_datadir}/aclocal/ltoptions.m4 +%{_datadir}/aclocal/ltsugar.m4 +%{_datadir}/aclocal/ltversion.m4 +%{_datadir}/aclocal/lt~obsolete.m4 +%{_infodir}/%{name}.info* +%{_mandir}/man1/libtool.1.gz +%{_mandir}/man1/libtoolize.1.gz +%doc AUTHORS COPYING + +%files -n libltdl +%defattr(-,root,root) +%dir %{_datadir}/libtool/libltdl/ +%{_datadir}/libtool/libltdl/* +%{_libdir}/libltdl.so.* + +%files -n libltdl-devel +%defattr(-,root,root) +%{_includedir}/ltdl.h +%{_includedir}/libltdl +%{_libdir}/libltdl.a +%{_libdir}/libltdl.la +%{_libdir}/libltdl.so +%{_datadir}/aclocal/ltdl.m4 +%doc ChangeLog* NEWS README THANKS TODO doc/PLATFORMS + +%changelog +* Sun Oct 20 2013 Silvan Calarco 2.4.2-8mamba +- rebuilt with gcc 4.8.2 + +* Wed Jun 05 2013 Silvan Calarco 2.4.2-7mamba +- rebuilt with gcc 4.8.1 + +* Mon Apr 08 2013 Silvan Calarco 2.4.2-6mamba +- rebuilt with gcc 4.8.0 + +* Wed Sep 26 2012 Silvan Calarco 2.4.2-5mamba +- rebuilt with gcc 4.7.2 + +* Sun Jun 24 2012 Silvan Calarco 2.4.2-4mamba +- rebuilt with gcc 4.7.1 + +* Wed Apr 04 2012 Silvan Calarco 2.4.2-3mamba +- rebuilt with gcc 4.7.0 + +* Wed Nov 30 2011 Silvan Calarco 2.4.2-2mamba +- rebuilt with gcc 4.5.3 + +* Tue Oct 18 2011 Automatic Build System 2.4.2-1mamba +- automatic version update by autodist + +* Mon Dec 27 2010 Silvan Calarco 2.4-2mamba +- rebuilt with gcc 4.5.2 + +* Wed Sep 22 2010 Automatic Build System 2.4-1mamba +- automatic update to 2.4 by autodist + +* Sun Aug 01 2010 Silvan Calarco 2.2.10-2mamba +- rebuilt with gcc 4.5.1 + +* Thu Jun 10 2010 Automatic Build System 2.2.10-1mamba +- automatic update to 2.2.10 by autodist + +* Sat Jun 05 2010 Automatic Build System 2.2.8-1mamba +- automatic update to 2.2.8 by autodist + +* Thu Jun 03 2010 Silvan Calarco 2.2.6b-2mamba +- rebuilt for gcc 4.5.0 and added strict gcc version requirement + +* Tue Nov 17 2009 Automatic Build System 2.2.6b-1mamba +- automatic update to 2.2.6b by autodist + +* Fri May 15 2009 Silvan Calarco 2.2.6a-3mamba +- rebuilt with gcc 4.4 + +* Sun Sep 14 2008 Silvan Calarco 2.2.6a-2mamba +- update to 2.2.6a +- specfile adapted for automatic build for releases with 'a'-'z' suffix + +* Mon Sep 08 2008 Silvan Calarco 2.2.6-1mamba +- automatic update to 2.2.6 by autodist + +* Tue May 13 2008 Aleph0 2.2.4-1mamba +- update to 2.2.4 + +* Tue Apr 08 2008 Aleph0 2.2.2-1mamba +- update to 2.2.2 + +* Fri Feb 15 2008 Aleph0 1.5.26-1mamba +- update to 1.5.26 + +* Mon Jul 02 2007 Aleph0 1.5.24-1mamba +- update to 1.5.24 + +* Mon May 21 2007 Silvan Calarco 1.5.22-2mamba +- rebuilt to match openmamba build environment + +* Mon Dec 19 2005 Davide Madrisan 1.5.22-1qilnx +- update to version 1.5.22 by autospec + +* Fri Sep 02 2005 Davide Madrisan 1.5.20-1qilnx +- update to version 1.5.20 by autospec + +* Wed May 18 2005 Davide Madrisan 1.5.18-1qilnx +- update to version 1.5.18 by autospec + +* Tue Apr 26 2005 Davide Madrisan 1.5.16-1qilnx +- update to version 1.5.16 by autospec +- added %%post and %%preun scripts + +* Mon Feb 14 2005 Davide Madrisan 1.5.14-1qilnx +- update to version 1.5.14 by autospec + +* Thu Aug 26 2004 Davide Madrisan 1.5.8-1qilnx +- update to version 1.5.8 by autospec + +* Wed Jul 28 2004 Davide Madrisan 1.5.6-1qilnx +- update to 1.5.6 bugfix release + +* Tue Apr 13 2004 Silvan Calarco 1.5.4-2qilnx +- fixed libltd file list for libltdl.so and ltdl.m4 + +* Mon Apr 05 2004 Davide Madrisan 1.5.4-1qilnx +- new version rebuild + +* Mon Jan 26 2004 Davide Madrisan 1.5.2-1qilnx +- package update + +* Fri Dec 12 2003 Davide Madrisan 1.5-1qilnx +- updated to version 1.5 (1st stable release of multi-language architecture) + +* Tue May 13 2003 Silvan Calarco 1.4.3-4qilnx +- rebuilt because ltmain.sh had wrong version number (don't know why..) + +* Mon Apr 22 2003 Silvan Calarco 1.4.3-3qilnx +- removed Prefix variable definition + +* Mon Apr 14 2003 Mirko Cortillaro +- modified file list and modified infodir + +* Mon Apr 07 2003 Mirko Cortillaro +- write a spec file for libtool