]> git.pld-linux.org Git - packages/crossdjgpp-binutils.git/blob - crossdjgpp-binutils.spec
7f92b05c56358bf79e096bab8d6eabd80d18668b
[packages/crossdjgpp-binutils.git] / crossdjgpp-binutils.spec
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
8 Version:        2.14.90.0.7
9 Release:        1
10 License:        GPL
11 Group:          Development/Tools
12 Source0:        ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
13 # Source0-md5:  b5b1608f7308c487c0f3af8e4592a71a
14 BuildRequires:  flex
15 BuildRequires:  bison
16 BuildRequires:  /bin/bash
17 Requires:       crossdjgpp-platform
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         target          i386-pc-msdosdjgpp
21 %define         arch            %{_prefix}/%{target}
22
23 %description
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
26 best left ambiguous.)
27
28 This package contains cross targeted binutils.
29
30 %description -l pl
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æ).
33
34 Ten pakiet zawiera binutils generuj±ce skro¶nie binaria dla DOS.
35
36 %prep
37 %setup -q -n binutils-%{version}
38
39 %build
40 rm -rf $RPM_BUILD_ROOT
41
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]
46
47 # ldscripts won't be generated properly if SHELL is not bash...
48 CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
49 CONFIG_SHELL="/bin/bash" \
50 ./configure \
51         --prefix=%{_prefix} \
52         --libdir=%{_libdir} \
53         --mandir=%{_mandir} \
54         --infodir=%{_infodir} \
55         --target=%{target}
56
57 %{__make} tooldir=%{_prefix} EXEEXT="" all
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         prefix=$RPM_BUILD_ROOT%{_prefix} \
64         mandir=$RPM_BUILD_ROOT%{_mandir} \
65         infodir=$RPM_BUILD_ROOT%{_infodir} \
66         libdir=$RPM_BUILD_ROOT%{_libdir}
67
68 %files
69 %defattr(644,root,root,755)
70 %attr(755,root,root) %{arch}/bin/*
71 %{arch}/lib/*
72 %attr(755,root,root) %{_bindir}/%{target}-*
73 %{_mandir}/man1/%{target}-*
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
This page took 0.056106 seconds and 3 git commands to generate.