]> git.pld-linux.org Git - packages/crossmipsel-binutils.git/blob - crossmipsel-binutils.spec
3a67bd79cc40023214180f40b680df0e5e3dc2d1
[packages/crossmipsel-binutils.git] / crossmipsel-binutils.spec
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
7 Version:        2.11.90.0.8
8 Release:        1
9 License:        GPL
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
18 BuildRequires:  flex
19 BuildRequires:  bison
20 BuildRequires:  perl
21 BuildRequires:  bash
22 %ifarch sparc sparc32
23 BuildRequires:  sparc32
24 %endif
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         target          mipsel-pld-linux
28 %define         arch            %{_prefix}/%{target}
29
30 %description
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.
43
44 Cross version for MIPS Little Endian.
45
46 %description -l pl
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.
51
52 Wersja cross generuj±ca dla MIPS Little Endian.
53
54 %prep
55 %setup -q -n binutils-%{version}
56
57 %build
58 # ldscripts won't be generated properly if SHELL is not bash...
59 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
60 CONFIG_SHELL="/bin/bash" \
61 %ifarch sparc
62 sparc32 \
63 %endif
64 ./configure \
65         --disable-shared \
66         --prefix=%{_prefix} \
67         --infodir=%{_infodir} \
68         --mandir=%{_mandir} \
69         --target=%{target}
70
71 %{__make} tooldir=%{_prefix} EXEEXT="" all
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_prefix}
76
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}
84
85 gzip -9nf README
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc *.gz
93 %attr(755,root,root) %{_bindir}/%{target}-*
94 %{_libdir}/ldscripts/*
95 %{_mandir}/man?/%{target}-*
This page took 0.07429 seconds and 3 git commands to generate.