1 Summary: Cross HP Parisc GNU binary utility development utilities - binutils
2 Summary(es.UTF-8): Utilitarios para desarrollo de binarios de la GNU - HP Parisc binutils
3 Summary(fr.UTF-8): Utilitaires de développement binaire de GNU - HP Parisc binutils
4 Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla HP Parisc - binutils
5 Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - HP Parisc binutils
6 Summary(tr.UTF-8): GNU geliştirme araçları - HP Parisc binutils
7 Name: crosshppa-binutils
11 Group: Development/Tools
12 Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
13 # Source0-md5: 0d64d65d33a7f305e5ef8351086b9a3a
14 URL: http://sources.redhat.com/binutils/
15 BuildRequires: automake
19 BuildRequires: gettext-devel
21 BuildRequires: sparc32
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define target hppa-pld-linux
26 %define arch %{_prefix}/%{target}
29 Binutils is a collection of binary utilities, including:
30 - ar - create, modify and extract from archives,
31 - nm - lists symbols from object files,
32 - objcopy - copy and translate object files,
33 - objdump - display information from object files,
34 - ranlib - generate an index for the contents of an archive,
35 - size - list the section sizes of an object or archive file,
36 - strings - list printable strings from files,
37 - strip - discard symbols,
38 - c++filt - a filter for demangling encoded C++ symbols,
39 - addr2line - convert addresses to file and line,
40 - nlmconv - convert object code into an NLM.
42 This package contains the cross version for HP Parisc.
44 %description -l pl.UTF-8
45 Pakiet binutils zawiera zestaw narzędzi umożliwiających kompilację
46 programów. Znajdują się tutaj między innymi assembler, konsolidator
47 (linker), a także inne narzędzia do manipulowania binarnymi plikami
48 programów i bibliotek.
50 Ten pakiet zawiera wersję skrośną generującą kod dla HP Parisc
53 %setup -q -n binutils-%{version}
56 cp /usr/share/automake/config.sub .
58 # ldscripts won't be generated properly if SHELL is not bash...
59 CFLAGS="%{rpmcflags}" \
60 LDFLAGS="%{rpmldflags}" \
61 CONFIG_SHELL="/bin/bash" \
70 --infodir=%{_infodir} \
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT%{_prefix}
82 prefix=$RPM_BUILD_ROOT%{_prefix} \
83 mandir=$RPM_BUILD_ROOT%{_mandir} \
84 infodir=$RPM_BUILD_ROOT%{_infodir} \
85 libdir=$RPM_BUILD_ROOT%{_libdir}
87 # remove these man pages unless we cross-build for win*/netware platforms.
88 # however, this should be done in Makefiles.
89 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/%{target}-*
100 %attr(755,root,root) %{arch}/bin/*
103 %{_mandir}/man?/%{target}-*