cvsdist 657305
Summary: A GNU collection of binary utilities.
cvsdist 657305
Name: binutils
cvsdist 657305
Version: 2.10.0.18
cvsdist 9dadb4
Release: 3
cvsdist 657305
Copyright: GPL
cvsdist 657305
Group: Development/Tools
cvsdist 657305
URL: http://sourceware.cygnus.com/binutils
cvsdist 657305
Source: ftp://ftp.valinux.com/pub/support/hjl/binutils/binutils-%{version}.tar.bz2
cvsdist 9dadb4
Patch1: binutils-sparc-gas.patch
cvsdist 9dadb4
Patch2: binutils-sparc64-bfd.patch
cvsdist 9dadb4
Patch3: binutils-alpha-ld-relax.patch
cvsdist 657305
Buildroot: /var/tmp/binutils-root
cvsdist 657305
ExcludeArch: ia64
cvsdist 657305
cvsdist 657305
%description
cvsdist 657305
Binutils is a collection of binary utilities, including ar (for creating,
cvsdist 657305
modifying and extracting from archives), nm (for listing symbols from
cvsdist 657305
object files), objcopy (for copying and translating object files),
cvsdist 657305
objdump (for displaying information from object files), ranlib (for
cvsdist 657305
generating an index for the contents of an archive), size (for listing
cvsdist 657305
the section sizes of an object or archive file), strings (for listing
cvsdist 657305
printable strings from files), strip (for discarding symbols), c++filt
cvsdist 657305
(a filter for demangling encoded C++ symbols), addr2line (for converting
cvsdist 657305
addresses to file and line), and nlmconv (for converting object code into
cvsdist 657305
an NLM). 
cvsdist 657305
cvsdist 657305
Install binutils if you need to perform any of these types of actions on
cvsdist 657305
binary files.  Most programmers will want to install binutils.
cvsdist 657305
cvsdist 657305
%prep
cvsdist 657305
%setup -q
cvsdist 9dadb4
%patch1 -p0
cvsdist 9dadb4
%patch2 -p0
cvsdist 9dadb4
%patch3 -p0
cvsdist 657305
cvsdist 657305
%build
cvsdist 657305
ADDITIONAL_TARGETS=""
cvsdist 657305
%ifos linux
cvsdist 657305
%ifarch sparc
cvsdist 657305
ADDITIONAL_TARGETS="--enable-targets=sparc64-linux"
cvsdist 657305
%endif
cvsdist 657305
%endif
cvsdist 657305
cvsdist 657305
%configure --enable-shared $ADDITIONAL_TARGETS
cvsdist 657305
make tooldir=%{_prefix}usr all info
cvsdist 657305
cvsdist 657305
%install
cvsdist 657305
rm -rf ${RPM_BUILD_ROOT}
cvsdist 657305
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
cvsdist 657305
%makeinstall
cvsdist 657305
make prefix=${RPM_BUILD_ROOT}%{_prefix} infodir=${RPM_BUILD_ROOT}%{_infodir} install-info
cvsdist 657305
strip ${RPM_BUILD_ROOT}%{_prefix}/bin/*
cvsdist 657305
gzip -q9f ${RPM_BUILD_ROOT}%{_infodir}/*.info*
cvsdist 657305
cvsdist 657305
#install -m 644 libiberty/libiberty.a ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}
cvsdist 657305
install -m 644 include/libiberty.h ${RPM_BUILD_ROOT}%{_prefix}/include
cvsdist 657305
cvsdist 657305
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
cvsdist 657305
cvsdist 657305
# This one comes from egcs
cvsdist 657305
rm -f ${RPM_BUILD_ROOT}%{_prefix}/bin/c++filt
cvsdist 657305
cvsdist 657305
%clean
cvsdist 657305
rm -rf ${RPM_BUILD_ROOT}
cvsdist 657305
cvsdist 657305
%post
cvsdist 657305
/sbin/ldconfig
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gasp.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz
cvsdist 657305
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/standards.info.gz
cvsdist 657305
cvsdist 657305
%preun
cvsdist 657305
if [ $1 = 0 ] ;then
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gasp.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz
cvsdist 657305
  /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/standards.info.gz
cvsdist 657305
fi
cvsdist 657305
cvsdist 657305
%postun -p /sbin/ldconfig
cvsdist 657305
cvsdist 657305
%files
cvsdist 657305
%defattr(-,root,root)
cvsdist 657305
%doc README
cvsdist 657305
%{_prefix}/bin/*
cvsdist 657305
%{_mandir}/man1/*
cvsdist 657305
%{_prefix}/include/*
cvsdist 657305
%{_prefix}/%{_lib}/*
cvsdist 657305
%{_infodir}/*info*
cvsdist 657305
cvsdist 657305
%changelog
cvsdist 9dadb4
* Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 9dadb4
- and one more alpha patch
cvsdist 9dadb4
cvsdist 9dadb4
* Fri Sep 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 9dadb4
- two sparc patches
cvsdist 9dadb4
cvsdist 657305
* Mon Jul 24 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.10.0.18
cvsdist 657305
cvsdist 657305
* Mon Jul 10 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.10.0.12
cvsdist 657305
cvsdist 657305
* Mon Jun 26 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.10.0.9
cvsdist 657305
cvsdist 657305
* Thu Jun 15 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- fix ld -r
cvsdist 657305
cvsdist 657305
* Mon Jun  5 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- 2.9.5.0.46
cvsdist 657305
- use _mandir/_infodir/_lib
cvsdist 657305
cvsdist 657305
* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.41
cvsdist 657305
cvsdist 657305
* Wed Apr 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.34
cvsdist 657305
cvsdist 657305
* Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.31
cvsdist 657305
cvsdist 657305
* Fri Feb 04 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- man pages are compressed
cvsdist 657305
- apply kingdon's patch from #5031
cvsdist 657305
cvsdist 657305
* Wed Jan 19 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- Permit package to be built with a prefix other than /usr.
cvsdist 657305
cvsdist 657305
* Thu Jan 13 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- add pacth from hjl to fix the versioning problems in ld
cvsdist 657305
cvsdist 657305
* Tue Jan 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- Add sparc patches from Jakub Jelinek <jakub@redhat.com>
cvsdist 657305
- Add URL:
cvsdist 657305
cvsdist 657305
* Tue Dec 14 1999 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.22
cvsdist 657305
cvsdist 657305
* Wed Nov 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.19
cvsdist 657305
cvsdist 657305
* Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 657305
- 2.9.5.0.16
cvsdist 657305
cvsdist 657305
* Mon Sep 06 1999 Jakub Jelinek <jj@ultra.linux.cz>
cvsdist 657305
- make shared non-pic libraries work on sparc with glibc 2.1.
cvsdist 657305
cvsdist 657305
* Fri Aug 27 1999 Jim Kingdon
cvsdist 657305
- No source/spec changes, just rebuilding with egcs-1.1.2-18 because
cvsdist 657305
  the older egcs was miscompling gprof.
cvsdist 657305
cvsdist 657305
* Mon Apr 26 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- back out very *stupid* sparc patch done by HJLu. People, keep out of
cvsdist 657305
  things you don't understand.
cvsdist 657305
- add alpha relax patch from rth
cvsdist 657305
cvsdist 657305
* Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- version  2.9.1.0.23
cvsdist 657305
- patch to make texinfo documentation compile
cvsdist 657305
- auto rebuild in the new build environment (release 2)
cvsdist 657305
cvsdist 657305
* Tue Feb 23 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.21
cvsdist 657305
- merged with UltraPenguin
cvsdist 657305
cvsdist 657305
* Mon Jan 04 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- added ARM patch from philb
cvsdist 657305
- version 2.9.1.0.19a
cvsdist 657305
- added a patch to allow arm* arch to be identified as an ARM
cvsdist 657305
cvsdist 657305
* Thu Oct 01 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.14.
cvsdist 657305
cvsdist 657305
* Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.13.
cvsdist 657305
cvsdist 657305
* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.12
cvsdist 657305
cvsdist 657305
* Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.7.
cvsdist 657305
cvsdist 657305
* Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.6.
cvsdist 657305
cvsdist 657305
* Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
cvsdist 657305
- added patch from rth to get right offsets for sections in relocateable
cvsdist 657305
  objects on sparc32
cvsdist 657305
cvsdist 657305
* Thu May 07 1998 Prospector System <bugs@redhat.com>
cvsdist 657305
- translations modified for de, fr, tr
cvsdist 657305
cvsdist 657305
* Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- version 2.9.1.0.4 is out; even more, it is public !
cvsdist 657305
cvsdist 657305
* Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 657305
- updated to 2.9.1.0.3.
cvsdist 657305
cvsdist 657305
* Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.9.0.3
cvsdist 657305
cvsdist 657305
* Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- upgraded to 2.9.0.2
cvsdist 657305
cvsdist 657305
* Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
cvsdist 657305
  :-)
cvsdist 657305
- "fixed" the damn make install command so that all tools get installed
cvsdist 657305
cvsdist 657305
* Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
cvsdist 657305
- added info packages handling
cvsdist 657305
cvsdist 657305
* Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- upgraded to 2.8.1.0.23
cvsdist 657305
cvsdist 657305
* Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 657305
- updated to 2.8.1.0.15 (required to compile the newer glibc)
cvsdist 657305
- all patches are obsoleted now
cvsdist 657305
cvsdist 657305
* Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
cvsdist 657305
- added 2.8.1.0.1 patch from hj
cvsdist 657305
- added patch for alpha palcode form rth