Summary: GNU Binary Utility Development Utilities Name: binutils Version: 2.9.1.0.25 Release: 1 Copyright: GPL Group: Development/Tools Source: ftp://ftp.varesearch.com/pub/support/hjl/binutils/binutils-%{version}.tar.gz Buildroot: /var/tmp/binutils-root Summary(de): GNU Binary Utility Development Utilities Summary(fr): Utilitaires de développement binaire de GNU Summary(tr): GNU geliştirme araçları %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. %prep %setup -q %build NumCPUs=`grep processor /proc/cpuinfo | wc -l | xargs expr` echo "MAKE=make -j $NumCPUs" > makefile echo "include Makefile" >> makefile ./configure --prefix=/usr --enable-shared make tooldir=/usr all info %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr make prefix=$RPM_BUILD_ROOT/usr tooldir=$RPM_BUILD_ROOT/usr/ install install-info strip $RPM_BUILD_ROOT/usr/bin/* gzip -q9f $RPM_BUILD_ROOT/usr/info/*.info* ## Get rid of that arch-specific directory #rm -rf $RPM_BUILD_ROOT/usr/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 +x $RPM_BUILD_ROOT/usr/lib/lib*.so* %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig /sbin/install-info --info-dir=/usr/info /usr/info/as.info.gz /sbin/install-info --info-dir=/usr/info /usr/info/bfd.info.gz /sbin/install-info --info-dir=/usr/info /usr/info/binutils.info.gz /sbin/install-info --info-dir=/usr/info /usr/info/gasp.info.gz /sbin/install-info --info-dir=/usr/info /usr/info/gprof.info.gz /sbin/install-info --info-dir=/usr/info /usr/info/ld.info.gz /sbin/install-info --info-dir=/usr/info /usr/info/standards.info.gz %preun if [ $1 = 0 ] ;then /sbin/install-info --delete --info-dir=/usr/info /usr/info/as.info.gz /sbin/install-info --delete --info-dir=/usr/info /usr/info/bfd.info.gz /sbin/install-info --delete --info-dir=/usr/info /usr/info/binutils.info.gz /sbin/install-info --delete --info-dir=/usr/info /usr/info/gasp.info.gz /sbin/install-info --delete --info-dir=/usr/info /usr/info/gprof.info.gz /sbin/install-info --delete --info-dir=/usr/info /usr/info/ld.info.gz /sbin/install-info --delete --info-dir=/usr/info /usr/info/standards.info.gz fi %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README /usr/bin/* /usr/man/man1/* /usr/include/* /usr/lib/* /usr/info/*info* %changelog * Sat May 22 1999 - updated to 2.9.1.0.25. * Wed Apr 21 1999 - updated to 2.9.1.0.24. * Wed Mar 31 1999 hjl - updated to 2.9.1.0.23. * Wed Feb 26 1999 hjl - updated to 2.9.1.0.22b.