1 Summary: Cross AMD64 GNU binary utility development utilities - binutils
2 Summary(es): Utilitarios para desarrollo de binarios de la GNU - AMD64 binutils
3 Summary(fr): Utilitaires de développement binaire de GNU - AMD64 binutils
4 Summary(pl): Skro¶ne narzêdzia programistyczne GNU dla AMD64 - binutils
5 Summary(pt_BR): Utilitários para desenvolvimento de binários da GNU - AMD64 binutils
6 Summary(tr): GNU geliþtirme araçlarý - AMD64 binutils
7 Name: crossamd64-binutils
11 Group: Development/Tools
12 Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
13 # Source0-md5: b231856d84a6181572b0b3371cfc6843
14 Patch0: binutils-needed.patch
15 Patch1: binutils-pr815.patch
16 Patch2: binutils-pr872.patch
17 URL: http://sources.redhat.com/binutils/
18 BuildRequires: automake
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define target amd64-pld-linux
26 %define arch %{_prefix}/%{target}
27 %define specflags -Wno-error
30 Binutils is a collection of binary utilities, including:
31 - ar - create, modify and extract from archives,
32 - nm - lists symbols from object files,
33 - objcopy - copy and translate object files,
34 - objdump - display information from object files,
35 - ranlib - generate an index for the contents of an archive,
36 - size - list the section sizes of an object or archive file,
37 - strings - list printable strings from files,
38 - strip - discard symbols,
39 - c++filt - a filter for demangling encoded C++ symbols,
40 - addr2line - convert addresses to file and line,
41 - nlmconv - convert object code into an NLM.
43 This package contains the cross version for AMD64.
46 Pakiet binutils zawiera zestaw narzêdzi umo¿liwiaj±cych kompilacjê
47 programów. Znajduj± siê tutaj miêdzy innymi assembler, konsolidator
48 (linker), a tak¿e inne narzêdzia do manipulowania binarnymi plikami
49 programów i bibliotek.
51 Ten pakiet zawiera wersjê skro¶n± generuj±c± kod dla AMD64.
54 %setup -q -n binutils-%{version}
60 cp -f /usr/share/automake/config.sub .
62 # ldscripts won't be generated properly if SHELL is not bash...
63 CFLAGS="%{rpmcflags}" \
64 LDFLAGS="%{rpmldflags}" \
65 CONFIG_SHELL="/bin/bash" \
72 --infodir=%{_infodir} \
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_prefix}
85 prefix=$RPM_BUILD_ROOT%{_prefix} \
86 mandir=$RPM_BUILD_ROOT%{_mandir} \
87 infodir=$RPM_BUILD_ROOT%{_infodir} \
88 libdir=$RPM_BUILD_ROOT%{_libdir}
90 # remove these man pages unless we cross-build for win*/netware platforms.
91 # however, this should be done in Makefiles.
92 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
95 rm -rf $RPM_BUILD_ROOT
98 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/%{target}-*
103 %attr(755,root,root) %{arch}/bin/*
106 %{arch}/lib/ldscripts/*
107 %{_mandir}/man?/%{target}-*