info:binutils.spec -devel
Wojtek Slusarczyk
wojtek w SHADOW.EU.ORG
Wto, 8 Wrz 1998, 15:47:10 CEST
Hej,
Zrobilem nowe binutilsy dla devela. Zgodnie z tym cosmy ustalili jest tam
pakiet static z bibliotekami statycznymi i niestripowane biblioteki:
Summary: GNU Binary Utility Development Utilities
Summary(pl): Narzędzia GNU dla programistów
Name: binutils
Version: 2.9.1.0.11
Release: 1d
Copyright: GPL
Group: Development/Tools
Source: ftp://tsx-11.mit.edu/pub/linux/packages/GCC/private/tofu/%{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
%description
binutils is a collection of utilities necessary for compiling programs. It
includes the assembler and linker, as well as a number of other
miscellaneous programs for dealing with executable formats.
%description -l pl
Pakiet binutils zawiera zestaw narzędzi umożliwiających kompilację
programów. Zawiera on assembler, konsolidator (linker), a także inne narzędzia
do manipulowania na binarnych plikach programów i bibliotek.
%package static
Summary: GNU Binutils static libraries
Summary(pl): Biblioteki statyczne do GNU Binutils
Group: Libraries
%description static
Static libraries for GNU Binutils.
%description -l pl static
Biblioteki statyczne do GNU Binutils.
%prep
%setup -q -n %{name}-%{version}
%build
./configure --prefix=/usr --enable-shared
make tooldir=/usr
make tooldir=/usr info
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr
make prefix=$RPM_BUILD_ROOT/usr tooldir=$RPM_BUILD_ROOT/ install install-info
rm -f $RPM_BUILD_ROOT/usr/info/dir
strip $RPM_BUILD_ROOT/usr/bin/*
gzip -q9f $RPM_BUILD_ROOT/usr/info/*.info*
mv $RPM_BUILD_ROOT/lib/ldscripts $RPM_BUILD_ROOT/usr/lib
rm -rf $RPM_BUILD_ROOT/{lib,bin}
install -m 644 libiberty/libiberty.a $RPM_BUILD_ROOT/usr/lib
install -m 644 include/libiberty.h $RPM_BUILD_ROOT/usr/include
chmod 755 $RPM_BUILD_ROOT/usr/lib/*.so.*
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info /usr/info/as.info.gz /usr/info/dir
/sbin/install-info /usr/info/bfd.info.gz /usr/info/dir
/sbin/install-info /usr/info/binutils.info.gz /usr/info/dir
/sbin/install-info /usr/info/ld.info.gz /usr/info/dir
/sbin/install-info /usr/info/gasp.info.gz /usr/info/dir
/sbin/install-info /usr/info/gprof.info.gz /usr/info/dir
/sbin/ldconfig
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete --infodir=/usr/info/dir /usr/info/as.info.gz
/sbin/install-info --delete --infodir=/usr/info/dir /usr/info/bfd.info.gz
/sbin/install-info --delete --infodir=/usr/info/dir /usr/info/binutils.info.gz
/sbin/install-info --delete --infodir=/usr/info/dir /usr/info/ld.info.gz
/sbin/install-info --delete --infodir=/usr/info/dir /usr/info/gasp.info.gz
/sbin/install-info --delete --infodir=/usr/info/dir /usr/info/gprof.info.gz
fi
%postun -p /sbin/ldconfig
%files
%defattr(644, root, root, 755)
%doc README
%attr(0711, root, root) /usr/bin/*
%attr(0644, root, man) /usr/man/man1/*
/usr/include/*
%attr(0755, root, root) /usr/lib/*so.*.*
/usr/lib/*.so
/usr/info/*info*
%files static
%attr(0644, root, man) /usr/lib/*.a
%changelog
* Tue Sep 07 1998 Wojtek Slusarczyk <wojtek w SHADOW.EU.ORG>
[2.9.1.0.11-1d]
- updated to 2.9.1.0.11,
- translation modified for pl
(based on Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl> translation),
- build without $RPM_OPT_FLAGS - still to dagerous,
- added a static package,
- removed striping of shared libraries,
- changed Buildroot to /var/tmp/%{name}-%{version}-%{release}-root,
- build from non root's account.
* Fri Jun 12 1998 Wojtek Slusarczyk <wojtek w SHADOW.EU.ORG>
[2.9.1.0.6-2]
- build against glibc-2.1.
* Fri May 29 1998 Wojtek Slusarczyk <wojtek w SHADOW.EU.ORG>
- Replaced binutils to binutils-2.9.1.0.6.
* Wed May 6 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.9.1.0.4.
* Wed Apr 29 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.9.1.0.3.
* Tue Apr 28 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.9.1.0.2.
* Fri Apr 17 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.9.0.3.
* Tue Apr 14 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.9.0.2.
* Mon Apr 13 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.9.0.1.
* Thu Apr 9 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.8.1.0.30 and changed the conflict of
/usr/info/dir.
* Sun Apr 5 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.8.1.0.29.
* Thu Apr 2 1998 Christian Joensson <chj w lin.foa.se>
- Fixed the conflict of /usr/info/dir between the binutils and info packages.
* Wed Apr 1 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.8.1.0.28.
* Mon Mar 30 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.8.1.0.27.
* Thu Mar 26 1998 Christian Joensson <chj w lin.foa.se>
- Replaced binutils to binutils-2.8.1.0.25.
* Thu Mar 19 1998 Trond Myklebust <trond.myklebust w fys.uio.no>
- Replaced with hjl's binutils release from tsx-11
(patch 0.15-0.23 is far too large).
* Wed Oct 22 1997 Erik Troan <ewt w redhat.com>
- added 2.8.1.0.1 patch from hj
- added patch for alpha palcode form rth
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu
Więcej informacji o liście dyskusyjnej pld-devel-pl