1 Summary: Cross DJGPP GNU binary utility development utilities - binutils
2 Summary(es): Utilitarios para desarrollo de binarios de la GNU - DJGPP binutils
3 Summary(fr): Utilitaires de développement binaire de GNU - DJGPP binutils
4 Summary(pl): Skro¶ne narzêdzia programistyczne GNU dla DJGPP - binutils
5 Summary(pt_BR): Utilitários para desenvolvimento de binários da GNU - DJGPP binutils
6 Summary(tr): GNU geliþtirme araçlarý - DJGPP binutils
7 Name: crossdjgpp-binutils
11 Group: Development/Tools
12 Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
13 # Source0-md5: b5b1608f7308c487c0f3af8e4592a71a
16 BuildRequires: /bin/bash
17 Requires: crossdjgpp-platform
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define target i386-pc-msdosdjgpp
21 %define arch %{_prefix}/%{target}
24 DJGPP is a port of GNU GCC to the DOS environment. (It stands for DJ's
25 Gnu Programming Platform, if it has to stand for something, but it's
28 This package contains cross targeted binutils.
31 DJGPP to port GNU GCC dla ¶rodowiska DOS (skrót oznacza DJ's Gnu
32 Programming Platform, je¶li ju¿ koniecznie ma co¶ oznaczaæ).
34 Ten pakiet zawiera binutils generuj±ce skro¶nie binaria dla DOS.
37 %setup -q -n binutils-%{version}
40 rm -rf $RPM_BUILD_ROOT
42 # Because of a bug in binutils-2.9.1, a cross libbfd.so* is not named
43 # lib<target>bfd.so*. To prevent confusion with native binutils, we
44 # forget about shared libraries right now, and do not install libbfd.a
45 # [the same applies to binutils 2.10.1.0.4]
47 # ldscripts won't be generated properly if SHELL is not bash...
48 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
49 CONFIG_SHELL="/bin/bash" \
54 --infodir=%{_infodir} \
57 %{__make} tooldir=%{_prefix} EXEEXT="" all
60 rm -rf $RPM_BUILD_ROOT
63 prefix=$RPM_BUILD_ROOT%{_prefix} \
64 mandir=$RPM_BUILD_ROOT%{_mandir} \
65 infodir=$RPM_BUILD_ROOT%{_infodir} \
66 libdir=$RPM_BUILD_ROOT%{_libdir}
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{arch}/bin/*
72 %attr(755,root,root) %{_bindir}/%{target}-*
73 %{_mandir}/man1/%{target}-*
76 rm -rf $RPM_BUILD_ROOT