1 Summary: GNU Binary Utility Development Utilities
2 Summary(de): GNU Binary Utility Development Utilities
3 Summary(fr): Utilitaires de développement binaire de GNU
4 Summary(pl): Narzêdzia GNU dla programistów
5 Summary(tr): GNU geliþtirme araçlarý
6 Name: crossmipsel-binutils
10 Group: Development/Tools
11 Group(de): Entwicklung/Werkzeuge
12 Group(fr): Development/Outils
13 Group(pl): Programowanie/Narzêdzia
14 Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
15 Patch0: %{name}-info.patch
16 URL: http://sourceware.cygnus.com/binutils/
17 Prereq: /sbin/ldconfig
23 BuildRequires: sparc32
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define target mipsel-pld-linux
28 %define arch %{_prefix}/%{target}
31 Binutils is a collection of binary utilities, including:
32 - ar - create, modify and extract from archives,
33 - nm - lists symbols from object files,
34 - objcopy - copy and translate object files,
35 - objdump - display information from object files,
36 - ranlib - generate an index for the contents of an archive,
37 - size - list the section sizes of an object or archive file,
38 - strings - list printable strings from files,
39 - strip - discard symbols,
40 - c++filt - a filter for demangling encoded C++ symbols,
41 - addr2line - convert addresses to file and line,
42 - nlmconv - convert object code into an NLM.
44 Cross version for MIPS Little Endian.
47 Pakiet binutils zawiera zestaw narzêdzi umo¿liwiaj±cych kompilacjê
48 programów. Znajduj± siê tutaj miêdzy innymi assembler, konsolidator
49 (linker), a tak¿e inne narzêdzia do manipulowania binarnymi plikami
50 programów i bibliotek.
52 Wersja cross generuj±ca dla MIPS Little Endian.
55 %setup -q -n binutils-%{version}
58 # ldscripts won't be generated properly if SHELL is not bash...
59 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
60 CONFIG_SHELL="/bin/bash" \
67 --infodir=%{_infodir} \
71 %{__make} tooldir=%{_prefix} EXEEXT="" all
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_prefix}
77 %{__make} install install-info \
78 prefix=$RPM_BUILD_ROOT%{_prefix} \
79 tooldir=$RPM_BUILD_ROOT%{_prefix} \
80 mandir=$RPM_BUILD_ROOT%{_mandir} \
81 infodir=$RPM_BUILD_ROOT%{_infodir} \
82 includedir=$RPM_BUILD_ROOT%{_includedir} \
83 libdir=$RPM_BUILD_ROOT%{_libdir}
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/%{target}-*
94 %{_libdir}/ldscripts/*
95 %{_mandir}/man?/%{target}-*