1 Summary: Cross PPC GNU binary utility development utilities - binutils
2 Summary(es): Utilitarios para desarrollo de binarios de la GNU - PPC binutils
3 Summary(fr): Utilitaires de développement binaire de GNU - PPC binutils
4 Summary(pl): Skro¶ne narzêdzia programistyczne GNU dla PPC - binutils
5 Summary(pt_BR): Utilitários para desenvolvimento de binários da GNU - PPC binutils
6 Summary(tr): GNU geliþtirme araçlarý - PPC binutils
7 Name: crossppc-binutils
11 Group: Development/Tools
12 Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
13 # Source0-md5: 1c1af0064ebd3d7bd99905874656a21e
14 URL: http://sources.redhat.com/binutils/
18 BuildRequires: gettext-devel
19 BuildRequires: perl-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define target ppc-pld-linux
24 %define arch %{_prefix}/%{target}
27 Binutils is a collection of binary utilities, including:
28 - ar - create, modify and extract from archives,
29 - nm - lists symbols from object files,
30 - objcopy - copy and translate object files,
31 - objdump - display information from object files,
32 - ranlib - generate an index for the contents of an archive,
33 - size - list the section sizes of an object or archive file,
34 - strings - list printable strings from files,
35 - strip - discard symbols,
36 - c++filt - a filter for demangling encoded C++ symbols,
37 - addr2line - convert addresses to file and line,
38 - nlmconv - convert object code into an NLM.
40 This package contains the cross version for PPC.
43 Pakiet binutils zawiera zestaw narzêdzi umo¿liwiaj±cych kompilacjê
44 programów. Znajduj± siê tutaj miêdzy innymi assembler, konsolidator
45 (linker), a tak¿e inne narzêdzia do manipulowania binarnymi plikami
46 programów i bibliotek.
48 Ten pakiet zawiera wersjê skro¶n± generuj±c± kod dla PPC.
51 %setup -q -n binutils-%{version}
54 # ldscripts won't be generated properly if SHELL is not bash...
55 CFLAGS="%{rpmcflags}" \
56 LDFLAGS="%{rpmldflags}" \
57 CONFIG_SHELL="/bin/bash" \
61 --infodir=%{_infodir} \
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_prefix}
74 prefix=$RPM_BUILD_ROOT%{_prefix} \
75 mandir=$RPM_BUILD_ROOT%{_mandir} \
76 infodir=$RPM_BUILD_ROOT%{_infodir}
78 # remove these man pages unless we cross-build for win*/netware platforms.
79 # however, this should be done in Makefiles.
80 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
83 rm -rf $RPM_BUILD_ROOT
86 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_bindir}/%{target}-*
90 %attr(755,root,root) %{arch}/bin/*
93 %{arch}/lib/ldscripts/*
94 %{_mandir}/man?/%{target}-*