- update to 2.2.6a
This commit is contained in:
parent
bea0749262
commit
ae84dcf593
|
@ -1 +1 @@
|
||||||
libtool-1.5.26.tar.gz
|
libtool-2.2.6a.tar.gz
|
||||||
|
|
48
libtool.spec
48
libtool.spec
|
@ -2,20 +2,15 @@
|
||||||
|
|
||||||
Summary: The GNU Portable Library Tool
|
Summary: The GNU Portable Library Tool
|
||||||
Name: libtool
|
Name: libtool
|
||||||
Version: 1.5.26
|
Version: 2.2.6
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+ and GFDL
|
License: GPLv2+ and LGPLv2+ and GFDL
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
|
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}a.tar.gz
|
||||||
URL: http://www.gnu.org/software/libtool/
|
URL: http://www.gnu.org/software/libtool/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
Patch1: libtool-1.5.24-multilib.patch
|
|
||||||
|
|
||||||
# don't read .la file in current working directory, root might get tricked
|
|
||||||
# into running a prepared binary in that directory:
|
|
||||||
Patch2: libtool-1.5.24-relativepath.patch
|
|
||||||
|
|
||||||
BuildRequires: autoconf >= 2.59, automake >= 1.9.2, texinfo
|
BuildRequires: autoconf >= 2.59, automake >= 1.9.2, texinfo
|
||||||
Requires: autoconf >= 2.58, automake >= 1.4
|
Requires: autoconf >= 2.58, automake >= 1.4
|
||||||
|
@ -40,17 +35,10 @@ Portable Library Tool (libtool) and the GNU Libtool Dynamic Module Loader
|
||||||
(ltdl) into a package built using the GNU Autotools (including GNU Autoconf
|
(ltdl) into a package built using the GNU Autotools (including GNU Autoconf
|
||||||
and GNU Automake).
|
and GNU Automake).
|
||||||
|
|
||||||
This package includes a modification from the original GNU Libtool to allow
|
|
||||||
support for multi-architecture systems, such as the AMD64 Opteron and the Intel
|
|
||||||
64-bit Xeon.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package ltdl
|
%package ltdl
|
||||||
Summary: Runtime libraries for GNU Libtool Dynamic Module Loader
|
Summary: Runtime libraries for GNU Libtool Dynamic Module Loader
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Provides: libtool-libs = %{version}-%{release}
|
Provides: %{name}-libs = %{version}-%{release}
|
||||||
Obsoletes: libtool-libs < 1.5.20
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
|
@ -61,15 +49,15 @@ library that provides a consistent, portable interface which simplifies the
|
||||||
process of using dynamic modules.
|
process of using dynamic modules.
|
||||||
|
|
||||||
These runtime libraries are needed by programs that link directly to the
|
These runtime libraries are needed by programs that link directly to the
|
||||||
system-installed ltdl libraries; they are not needed by software built using the
|
system-installed ltdl libraries; they are not needed by software built using
|
||||||
rest of the GNU Autotools (including GNU Autoconf and GNU Automake).
|
the rest of the GNU Autotools (including GNU Autoconf and GNU Automake).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package ltdl-devel
|
%package ltdl-devel
|
||||||
Summary: Tools needed for development using the GNU Libtool Dynamic Module Loader
|
Summary: Tools needed for development using the GNU Libtool Dynamic Module Loader
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libtool-ltdl = %{version}-%{release}
|
Requires: %{name}-ltdl = %{version}-%{release}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
|
|
||||||
%description ltdl-devel
|
%description ltdl-devel
|
||||||
|
@ -79,8 +67,6 @@ Static libraries and header files for development with ltdl.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n libtool-%{version} -q
|
%setup -n libtool-%{version} -q
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
@ -90,7 +76,8 @@ export CC=gcc
|
||||||
export CXX=g++
|
export CXX=g++
|
||||||
export F77=gfortran
|
export F77=gfortran
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||||
# dumb redhat-rpm-config replaces config.{sub,guess} with ancient ones in %%configure, use ./configure instead:
|
# don't conflict with libtool-1.5, use own directory:
|
||||||
|
sed -e 's/pkgdatadir="\\${datadir}\/\$PACKAGE"/pkgdatadir="\\${datadir}\/\${PACKAGE}"/' configure > configure.tmp; mv -f configure.tmp configure; chmod a+x configure
|
||||||
./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}
|
./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}
|
||||||
# build not smp safe:
|
# build not smp safe:
|
||||||
make #%{?_smp_mflags}
|
make #%{?_smp_mflags}
|
||||||
|
@ -99,12 +86,11 @@ make #%{?_smp_mflags}
|
||||||
#make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false)
|
#make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
|
rm -f %{buildroot}%{_libdir}/libltdl.la %{buildroot}%{_libdir}/libltdl.a
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
@ -130,11 +116,12 @@ fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog
|
%doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog*
|
||||||
%{_infodir}/libtool.info.gz
|
%{_infodir}/libtool.info*.gz
|
||||||
%{_bindir}/libtool
|
%{_bindir}/libtool
|
||||||
%{_bindir}/libtoolize
|
%{_bindir}/libtoolize
|
||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
%exclude %{_datadir}/libtool/libltdl
|
||||||
%{_datadir}/libtool
|
%{_datadir}/libtool
|
||||||
|
|
||||||
%files ltdl
|
%files ltdl
|
||||||
|
@ -144,14 +131,19 @@ fi
|
||||||
|
|
||||||
%files ltdl-devel
|
%files ltdl-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libltdl.a
|
%{_datadir}/libtool/libltdl
|
||||||
%{_libdir}/libltdl.la
|
|
||||||
%{_libdir}/libltdl.so
|
%{_libdir}/libltdl.so
|
||||||
%{_includedir}/ltdl.h
|
%{_includedir}/ltdl.h
|
||||||
|
%{_includedir}/libltdl/lt_dlloader.h
|
||||||
|
%{_includedir}/libltdl/lt_error.h
|
||||||
|
%{_includedir}/libltdl/lt_system.h
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 13 2008 Karsten Hopp <karsten@redhat.com> 2.2.6-1
|
||||||
|
- update to 2.2.6a
|
||||||
|
|
||||||
* Fri Aug 29 2008 Dennis Gilmore <dennis@ausil.us> 1.5.26-4
|
* Fri Aug 29 2008 Dennis Gilmore <dennis@ausil.us> 1.5.26-4
|
||||||
- rebuild for gcc-4.3.2
|
- rebuild for gcc-4.3.2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue