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