1 Summary: Cross SPARC GNU binary utility development utilities - binutils
2 Summary(es.UTF-8): Utilitarios para desarrollo de binarios de la GNU - SPARC binutils
3 Summary(fr.UTF-8): Utilitaires de développement binaire de GNU - SPARC binutils
4 Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla SPARC - binutils
5 Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - SPARC binutils
6 Summary(tr.UTF-8): GNU geliştirme araçları - SPARC binutils
7 Name: crosssparc-binutils
11 Group: Development/Tools
12 Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
13 # Source0-md5: d2b24e5b5301b7ff0207414c34c3e0fb
14 URL: http://sources.redhat.com/binutils/
15 BuildRequires: automake
19 BuildRequires: gettext-tools
20 ExcludeArch: sparc sparcv9
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define target sparc-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 SPARC.
42 %description -l pl.UTF-8
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 SPARC.
51 %setup -q -n binutils-%{version}
54 cp /usr/share/automake/config.sub .
56 # ldscripts won't be generated properly if SHELL is not bash...
57 CFLAGS="%{rpmcflags} -fno-strict-aliasing" \
58 LDFLAGS="%{rpmldflags}" \
59 CONFIG_SHELL="/bin/bash" \
66 --infodir=%{_infodir} \
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_prefix}
79 INSTALL='$$s/install-sh -c' \
80 prefix=$RPM_BUILD_ROOT%{_prefix} \
81 mandir=$RPM_BUILD_ROOT%{_mandir} \
82 infodir=$RPM_BUILD_ROOT%{_infodir} \
83 libdir=$RPM_BUILD_ROOT%{_libdir}
85 # remove these man pages unless we cross-build for win*/netware platforms.
86 # however, this should be done in Makefiles.
87 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
90 rm -rf $RPM_BUILD_ROOT
93 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/%{target}-*
98 %attr(755,root,root) %{arch}/bin/*
101 %{arch}/lib/ldscripts/*
102 %{_mandir}/man?/%{target}-*