3 # _with_allarchs - enable
5 Summary: GNU Binary Utility Development Utilities
6 Summary(de): GNU Binary Utility Development Utilities
7 Summary(es): Utilitarios para desarrollo de binarios de la GNU
8 Summary(fr): Utilitaires de développement binaire de GNU
9 Summary(pl): Narzêdzia GNU dla programistów
10 Summary(pt_BR): Utilitários para desenvolvimento de binários da GNU
11 Summary(ru): îÁÂÏÒ ÉÎÓÔÒÕÍÅÎÔÏ× GNU ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÉÓÐÏÌÎÑÅÍÙÈ ÐÒÏÇÒÁÍÍ
12 Summary(tr): GNU geliþtirme araçlarý
13 Summary(uk): îÁÂ¦Ò ¦ÎÓÔÒÕÍÅÎÔ¦× GNU ÄÌÑ ÐÏÂÕÄÏ×É ×ÉËÏÎÕ×ÁÎÉÈ ÐÒÏÇÒÁÍ
19 Group: Development/Tools
20 Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/%{name}-%{version}.tar.bz2
21 # Source0-md5: b7b394b8a001bc3102053b29c9dd44fa
22 #Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
23 Source1: %{name}-non-english-man-pages.tar.bz2
24 # Source1-md5: a717d9707ec77d82acb6ec9078c472d6
25 Patch0: %{name}-gasp.patch
26 Patch1: %{name}-info.patch
27 Patch2: %{name}-array-sects-compat.patch
28 Patch3: %{name}-eh-frame-ro.patch
29 Patch4: %{name}-ia64-bootstrap.patch
30 Patch5: %{name}-libtool-relink.patch
31 URL: http://sources.redhat.com/binutils/
32 BuildRequires: automake
35 BuildRequires: gettext-devel
36 BuildRequires: perl-tools-pod
38 BuildRequires: sparc32
40 BuildRequires: texinfo >= 4.2
41 Requires(post,postun): /sbin/ldconfig
42 Conflicts: gcc-c++ < 3.3
43 Conflicts: modutils < 2.4.17
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Binutils is a collection of binary utilities, including:
48 - ar - create, modify and extract from archives,
49 - nm - lists symbols from object files,
50 - objcopy - copy and translate object files,
51 - objdump - display information from object files,
52 - ranlib - generate an index for the contents of an archive,
53 - size - list the section sizes of an object or archive file,
54 - strings - list printable strings from files,
55 - strip - discard symbols,
56 - addr2line - convert addresses to file and line,
57 - nlmconv - convert object code into an NLM.
60 Pakiet binutils zawiera zestaw narzêdzi umo¿liwiaj±cych kompilacjê
61 programów. Znajduj± siê tutaj miêdzy innymi assembler, konsolidator
62 (linker), a tak¿e inne narzêdzia do manipulowania binarnymi plikami
63 programów i bibliotek.
66 binutils es una colectánea de utilitarios necesarios para compilar
67 programas. Incluye assembler y linker, así como varios otros programas
68 para trabajar con formatos que se puedan ejecutar.
71 binutils é uma coletânea de utilitários necessários para compilar
72 programas. Inclui assembler e linker, assim como vários outros
73 programas para trabalhar com formatos executáveis.
76 binutils - ÜÔÏ ÎÁÂÏÒ ÉÎÓÔÒÕÍÅÎÔÏ×, ÎÅÏÂÈÏÄÉÍÙÈ ÄÌÑ ËÏÍÐÉÌÌÑÃÉÉ
77 ÐÒÏÇÒÁÍÍ. ÷ËÌÀÞÁÅÔ ÁÓÓÅÍÂÌÅÒ, ËÏÍÐÏÎÏ×ÝÉË É ÎÁÂÏÒ ÄÒÕÇÉÈ ÐÒÏÇÒÁÍÍ ÄÌÑ
78 ÒÁÂÏÔÙ Ó ÉÓÐÏÌÎÑÅÍÙÍÉ ÆÁÊÌÁÍÉ ÒÁÚÎÏÏÂÒÁÚÎÙÈ ÆÏÒÍÁÔÏ×.
81 binutils - ÃÅ ÎÁÂ¦Ò ¦ÎÓÔÒÕÍÅÎÔ¦×, ÎÅÏÂȦÄÎÉÈ ÄÌÑ ËÏÍЦÌÑæ§ ÐÒÏÇÒÁÍ.
82 í¦ÓÔÉÔØ ÁÓÅÍÂÌÅÒ, ËÏÍÐÏÎÏ×ÝÉË ÔÁ ¦ÎÛ¦ ÐÒÏÇÒÁÍÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ Ú
83 ×ÉËÏÎÕ×ÁÎÉÍÉ ÆÁÊÌÁÍÉ Ò¦ÚÎÉÈ ÆÏÒÍÁÔ¦×.
86 Summary: GNU Binutils static libraries
87 Summary(pl): Biblioteki statyczne do GNU Binutils
88 Group: Development/Libraries
89 Requires: %{name} = %{version}
92 Static libraries for GNU Binutils.
94 %description static -l pl
95 Biblioteki statyczne GNU Binutils.
98 Summary: GASP - old preprocessor for assembly programs
99 Summary(pl): GASP - stary preprocesor dla programów w asemblerze
100 Group: Development/Tools
101 Requires: %{name} = %{version}
104 GASP - old preprocessor for assembly programs. It's officially
105 obsoleted, but it's still needed to build some packages.
107 %description gasp -l pl
108 GASP - stary preprocesor dla programów w asemblerze. Jest oficjalnie
109 uznany za przestarza³y, ale jest nadal potrzebny do zbudowania
125 cp -f /usr/share/automake/config.* .
126 CFLAGS="%{rpmcflags}"; export CFLAGS
127 CC="%{__cc}"; export CC
131 ./configure %{_target_platform} \
134 --prefix=%{_prefix} \
135 --infodir=%{_infodir} \
136 --mandir=%{_mandir} \
138 --enable-targets=sparc64-linux \
140 %{?_with_allarchs:--enable-64-bit-bfd} \
141 %{?_with_allarchs:--enable-targets=alpha-linux,arm-linux,cris-linux,hppa-linux,i386-linux,ia64-linux,m68k-linux,mips-linux,mips64-linux,mips64el-linux,mipsel-linux,ppc-linux,s390-linux,s390x-linux,sh-linux,sparc-linux,sparc64-linux,i386-linuxaout}
143 %{__make} tooldir=%{_prefix} all info
146 rm -rf $RPM_BUILD_ROOT
148 %{__make} install install-info \
149 prefix=$RPM_BUILD_ROOT%{_prefix} \
150 tooldir=$RPM_BUILD_ROOT%{_prefix} \
151 mandir=$RPM_BUILD_ROOT%{_mandir} \
152 infodir=$RPM_BUILD_ROOT%{_infodir} \
153 includedir=$RPM_BUILD_ROOT%{_includedir} \
154 libdir=$RPM_BUILD_ROOT%{_libdir}
156 rm -f $RPM_BUILD_ROOT%{_infodir}/standards.info*
158 # remove these man pages unless we cross-build for win*/netware platforms.
159 # however, this should be done in Makefiles.
160 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{dlltool,nlmconv,windres}.1
162 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
164 install include/libiberty.h $RPM_BUILD_ROOT%{_includedir}
166 # remove evil -L pointing inside builder's home
167 perl -pi -e 's@-L[^ ]*/pic @@g' $RPM_BUILD_ROOT%{_libdir}/libbfd.la
169 %find_lang %{name} --all-name
172 rm -rf $RPM_BUILD_ROOT
176 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
180 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
182 %files -f %{name}.lang
183 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_bindir}/[!g]*
186 %attr(755,root,root) %{_bindir}/g[!a]*
187 %attr(755,root,root) %{_libdir}/*.so
188 %{_libdir}/libiberty.a
194 %{_infodir}/[!g]*.info*
195 %{_infodir}/g[!a]*.info*
197 %lang(cs) %{_mandir}/cs/man1/*
198 %lang(de) %{_mandir}/de/man1/*
199 %lang(es) %{_mandir}/es/man1/*
200 %lang(fi) %{_mandir}/fi/man1/*
201 %lang(fr) %{_mandir}/fr/man1/*
202 %lang(hu) %{_mandir}/hu/man1/*
203 %lang(ja) %{_mandir}/ja/man1/*
204 %lang(pl) %{_mandir}/pl/man1/*
207 %defattr(644,root,root,755)
208 %{_libdir}/lib[!i]*.a
211 %defattr(644,root,root,755)
212 %attr(755,root,root) %{_bindir}/gasp
213 %{_infodir}/gasp.info*