Репозитории ALT
S: | 2.41-alt1 |
5.1: | 2.19.51.0.14-alt4 |
4.1: | 2.17.50.0.6-alt4 |
4.0: | 2.17.50.0.6-alt1 |
3.0: | 2.15.94.0.2.2-alt3 |
Другие репозитории
Upstream: | 2.18 |
Группа :: Разработка/Прочее
Пакет: binutils
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: binutils
Version: 2.15.94.0.2.2
Release: alt3
Serial: 1
Summary: GNU Binary Utility Development Utilities
License: GPL
Group: Development/Other
Url: http://sources.redhat.com/%name/
Source: ftp://ftp.kernel.org/pub/linux/devel/%name/%name-%version.tar.bz2
Source1: %name-soname.sh
# RH
Patch1: binutils-2.15.94.0.2-rh-ltconfig-multilib.patch
Patch2: binutils-2.15.94.0.2-rh-ppc64-pie.patch
Patch3: binutils-2.15.94.0.2-rh-place-orphan.patch
Patch4: binutils-2.15.94.0.2-rh-ia64-lib64.patch
Patch5: binutils-2.15.94.0.2-rh-elfvsb-test.patch
Patch6: binutils-2.15.94.0.2-rh-ppc64-noteGNUstack.patch
Patch7: binutils-2.15.94.0.2-rh-script-as-needed.patch
Patch8: binutils-2.15.94.0.2-rh-strip-dynamic.patch
Patch9: binutils-2.15.93.0.2-rh-readelf-bound.patch
Patch10: binutils-2.15.94.0.2-rh-gcc4.patch
Patch11: binutils-2.15.94.0.2-rh-arhdr.patch
Patch12: binutils-2.15.94.0.2-rh-ld-speedup.patch
Patch13: binutils-2.15.94.0.2-rh-robustify.patch
# ALT
Patch21: binutils-2.14.90.0.8-alt-makefile.patch
Patch22: binutils-2.14.90.0.4-alt-texinfo.patch
Patch23: binutils-2.15.92.0.2-alt-soname.patch
Patch24: binutils-2.15.92.0.2-alt-bfd_elflink_relax_checking.patch
Patch25: binutils-2.15.94.0.2-alt-strings-mem.patch
Requires(post): %install_info, coreutils
Requires(preun): %uninstall_info, coreutils
Requires: libbfd = %serial:%version-%release
# due to c++filt
Conflicts: gcc-common < 0:1.2.1-alt4
# Automatically added by buildreq on Tue Jun 03 2003
BuildRequires: flex glibc-devel-static
%package -n libbfd
Summary: Binary File Descriptor library
Group: System/Libraries
%package -n libbfd-devel
Summary: Include files for development with BFD library
Group: Development/C
Requires(post): %install_info
Requires(preun): %uninstall_info
Requires: libbfd = %serial:%version-%release
%package -n libbfd-devel-static
Summary: Static libraries for development with BFD library
Group: Development/C
Requires: libbfd-devel = %serial:%version-%release
%package -n libiberty-devel
Summary: Development files for development with libiberty
Group: Development/C
Requires: libbfd-devel = %serial:%version-%release
%description
Binutils is a collection of binary utilities, including:
+ addr2line: converting addresses to file and line;
+ ar: creating modifying and extracting from archives;
+ nm: listing symbols from object files;
+ objcopy: copying and translating object files;
+ objdump: displaying information from object files;
+ ranlib: generating an index for the contents of an archive;
+ size: listing the section sizes of an object or archive file;
+ strings: listing printable strings from files;
+ strip: discarding symbols.
%description -n libbfd
This package contains shared libraries needed to run programs
dynamically linked with Binary File Descriptor library.
%description -n libbfd-devel
This package contains include files needed for development software
based on Binary File Descriptor library.
%description -n libbfd-devel-static
This package contains static libraries needed for development
statically linked software based on Binary File Descriptor library.
%description -n libiberty-devel
This package contains include files and static library
needed for development software using libiberty.
%prep
%setup -q
install -p -m700 %SOURCE1 soname.sh
%patch1 -p0
%patch2 -p0
%patch3 -p0
%ifarch ia64
%patch4 -p0
%endif
%patch5 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p0
%patch9 -p0
%patch10 -p0
%patch11 -p0
%patch12 -p0
%patch13 -p0
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%build
ADDITIONAL_TARGETS=
%ifarch ia64 x86_64
ADDITIONAL_TARGETS="--enable-targets=i386-alt-linux"
%endif
# Don't libtoolize unless we have the same version of libtool binutils uses.
%undefine __libtoolize
%define _configure_target --host=%_target_platform --build=%_target_platform
%configure --enable-shared $ADDITIONAL_TARGETS
%make_build tooldir=%prefix all info
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:make -k check ||:}}}
%install
%__mkdir_p $RPM_BUILD_ROOT%_datadir/%name
%makeinstall install-info
%makeinstall install-info-am -C gas/doc
%makeinstall install-man -C gas/doc
# Install PIC version of the libiberty.a
%__install -pm644 libiberty/pic/libiberty.a $RPM_BUILD_ROOT%_libdir/
# Remove unrelated manpages.
find $RPM_BUILD_ROOT%_man1dir -type f |while read f; do
n="${f##*/}"
n="${n%.1*}"
[ -f "$RPM_BUILD_ROOT%_bindir/$n" ] || %__rm -fv "$f"
done
/bin/ls -1 $RPM_BUILD_ROOT%_infodir/*.info |
fgrep -v /bfd |
sed -e "s|^$RPM_BUILD_ROOT\(.*\)|\1*|g" >files.lst
/bin/ls -1 $RPM_BUILD_ROOT%_infodir/*.info |
fgrep -v /bfd |
sed -e "s|^$RPM_BUILD_ROOT%_infodir/||g" >$RPM_BUILD_ROOT%_datadir/%name/info.files
# Relocate include files.
pushd $RPM_BUILD_ROOT%_includedir
mkdir bfd
for f in *.h; do
%__mv "$f" bfd/
%__ln_s bfd/"$f" .
done
popd
# Add more include files.
%__install -p -m644 include/{demangle,libiberty}.h $RPM_BUILD_ROOT%_includedir/
%__install -p -m644 bfd/{elf-bfd,lib*}.h $RPM_BUILD_ROOT%_includedir/bfd/
%__cp -a include/{coff,elf,nlm} $RPM_BUILD_ROOT%_includedir/bfd/
%__rm -f $RPM_BUILD_ROOT%_includedir/bfd/{*in.h,*/ChangeLog*}
# No ugly translations please.
#%%find_lang %name bfd gas gprof ld opcodes --append --output files.lst
%post -n libbfd -p %post_ldconfig
%postun -n libbfd -p %postun_ldconfig
%post
%install_info `cat %_datadir/%name/info.files`
%preun
%uninstall_info `cat %_datadir/%name/info.files`
%post -n libbfd-devel
%install_info bfd.info
%preun -n libbfd-devel
%uninstall_info bfd.info
%files -n libbfd
%_libdir/*-*.so
%_libdir/*.so.*
%files -n libbfd-devel
%_libdir/libbfd.so
%_libdir/libopcodes.so
%_includedir/bfd
%_includedir/[a-ce-km-z]*.h
%_includedir/dis-asm.h
%_infodir/bfd.info*
%files -n libbfd-devel-static
%_libdir/libbfd.a
%_libdir/libopcodes.a
%files -n libiberty-devel
%_libdir/libiberty.*
%_includedir/libiberty.h
%_includedir/demangle.h
%files -f files.lst
%_bindir/*
%_libdir/ldscripts
%_mandir/man?/*
%_datadir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.15.94.0.2.2
Release: alt3
Serial: 1
Summary: GNU Binary Utility Development Utilities
License: GPL
Group: Development/Other
Url: http://sources.redhat.com/%name/
Source: ftp://ftp.kernel.org/pub/linux/devel/%name/%name-%version.tar.bz2
Source1: %name-soname.sh
# RH
Patch1: binutils-2.15.94.0.2-rh-ltconfig-multilib.patch
Patch2: binutils-2.15.94.0.2-rh-ppc64-pie.patch
Patch3: binutils-2.15.94.0.2-rh-place-orphan.patch
Patch4: binutils-2.15.94.0.2-rh-ia64-lib64.patch
Patch5: binutils-2.15.94.0.2-rh-elfvsb-test.patch
Patch6: binutils-2.15.94.0.2-rh-ppc64-noteGNUstack.patch
Patch7: binutils-2.15.94.0.2-rh-script-as-needed.patch
Patch8: binutils-2.15.94.0.2-rh-strip-dynamic.patch
Patch9: binutils-2.15.93.0.2-rh-readelf-bound.patch
Patch10: binutils-2.15.94.0.2-rh-gcc4.patch
Patch11: binutils-2.15.94.0.2-rh-arhdr.patch
Patch12: binutils-2.15.94.0.2-rh-ld-speedup.patch
Patch13: binutils-2.15.94.0.2-rh-robustify.patch
# ALT
Patch21: binutils-2.14.90.0.8-alt-makefile.patch
Patch22: binutils-2.14.90.0.4-alt-texinfo.patch
Patch23: binutils-2.15.92.0.2-alt-soname.patch
Patch24: binutils-2.15.92.0.2-alt-bfd_elflink_relax_checking.patch
Patch25: binutils-2.15.94.0.2-alt-strings-mem.patch
Requires(post): %install_info, coreutils
Requires(preun): %uninstall_info, coreutils
Requires: libbfd = %serial:%version-%release
# due to c++filt
Conflicts: gcc-common < 0:1.2.1-alt4
# Automatically added by buildreq on Tue Jun 03 2003
BuildRequires: flex glibc-devel-static
%package -n libbfd
Summary: Binary File Descriptor library
Group: System/Libraries
%package -n libbfd-devel
Summary: Include files for development with BFD library
Group: Development/C
Requires(post): %install_info
Requires(preun): %uninstall_info
Requires: libbfd = %serial:%version-%release
%package -n libbfd-devel-static
Summary: Static libraries for development with BFD library
Group: Development/C
Requires: libbfd-devel = %serial:%version-%release
%package -n libiberty-devel
Summary: Development files for development with libiberty
Group: Development/C
Requires: libbfd-devel = %serial:%version-%release
%description
Binutils is a collection of binary utilities, including:
+ addr2line: converting addresses to file and line;
+ ar: creating modifying and extracting from archives;
+ nm: listing symbols from object files;
+ objcopy: copying and translating object files;
+ objdump: displaying information from object files;
+ ranlib: generating an index for the contents of an archive;
+ size: listing the section sizes of an object or archive file;
+ strings: listing printable strings from files;
+ strip: discarding symbols.
%description -n libbfd
This package contains shared libraries needed to run programs
dynamically linked with Binary File Descriptor library.
%description -n libbfd-devel
This package contains include files needed for development software
based on Binary File Descriptor library.
%description -n libbfd-devel-static
This package contains static libraries needed for development
statically linked software based on Binary File Descriptor library.
%description -n libiberty-devel
This package contains include files and static library
needed for development software using libiberty.
%prep
%setup -q
install -p -m700 %SOURCE1 soname.sh
%patch1 -p0
%patch2 -p0
%patch3 -p0
%ifarch ia64
%patch4 -p0
%endif
%patch5 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p0
%patch9 -p0
%patch10 -p0
%patch11 -p0
%patch12 -p0
%patch13 -p0
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch25 -p1
%build
ADDITIONAL_TARGETS=
%ifarch ia64 x86_64
ADDITIONAL_TARGETS="--enable-targets=i386-alt-linux"
%endif
# Don't libtoolize unless we have the same version of libtool binutils uses.
%undefine __libtoolize
%define _configure_target --host=%_target_platform --build=%_target_platform
%configure --enable-shared $ADDITIONAL_TARGETS
%make_build tooldir=%prefix all info
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:make -k check ||:}}}
%install
%__mkdir_p $RPM_BUILD_ROOT%_datadir/%name
%makeinstall install-info
%makeinstall install-info-am -C gas/doc
%makeinstall install-man -C gas/doc
# Install PIC version of the libiberty.a
%__install -pm644 libiberty/pic/libiberty.a $RPM_BUILD_ROOT%_libdir/
# Remove unrelated manpages.
find $RPM_BUILD_ROOT%_man1dir -type f |while read f; do
n="${f##*/}"
n="${n%.1*}"
[ -f "$RPM_BUILD_ROOT%_bindir/$n" ] || %__rm -fv "$f"
done
/bin/ls -1 $RPM_BUILD_ROOT%_infodir/*.info |
fgrep -v /bfd |
sed -e "s|^$RPM_BUILD_ROOT\(.*\)|\1*|g" >files.lst
/bin/ls -1 $RPM_BUILD_ROOT%_infodir/*.info |
fgrep -v /bfd |
sed -e "s|^$RPM_BUILD_ROOT%_infodir/||g" >$RPM_BUILD_ROOT%_datadir/%name/info.files
# Relocate include files.
pushd $RPM_BUILD_ROOT%_includedir
mkdir bfd
for f in *.h; do
%__mv "$f" bfd/
%__ln_s bfd/"$f" .
done
popd
# Add more include files.
%__install -p -m644 include/{demangle,libiberty}.h $RPM_BUILD_ROOT%_includedir/
%__install -p -m644 bfd/{elf-bfd,lib*}.h $RPM_BUILD_ROOT%_includedir/bfd/
%__cp -a include/{coff,elf,nlm} $RPM_BUILD_ROOT%_includedir/bfd/
%__rm -f $RPM_BUILD_ROOT%_includedir/bfd/{*in.h,*/ChangeLog*}
# No ugly translations please.
#%%find_lang %name bfd gas gprof ld opcodes --append --output files.lst
%post -n libbfd -p %post_ldconfig
%postun -n libbfd -p %postun_ldconfig
%post
%install_info `cat %_datadir/%name/info.files`
%preun
%uninstall_info `cat %_datadir/%name/info.files`
%post -n libbfd-devel
%install_info bfd.info
%preun -n libbfd-devel
%uninstall_info bfd.info
%files -n libbfd
%_libdir/*-*.so
%_libdir/*.so.*
%files -n libbfd-devel
%_libdir/libbfd.so
%_libdir/libopcodes.so
%_includedir/bfd
%_includedir/[a-ce-km-z]*.h
%_includedir/dis-asm.h
%_infodir/bfd.info*
%files -n libbfd-devel-static
%_libdir/libbfd.a
%_libdir/libopcodes.a
%files -n libiberty-devel
%_libdir/libiberty.*
%_includedir/libiberty.h
%_includedir/demangle.h
%files -f files.lst
%_bindir/*
%_libdir/ldscripts
%_mandir/man?/*
%_datadir/%name
%changelog
…
Полный changelog можно просмотреть здесь