]> git.pld-linux.org Git - packages/crossdjgpp-binutils.git/blobdiff - crossdjgpp-binutils.spec
- tabs in preamble
[packages/crossdjgpp-binutils.git] / crossdjgpp-binutils.spec
index 4f976ad350e18b4c6748b40dbfc4c87e19ffbc42..d44a79d13f0ef6e04a44c1046beffd2452eff376 100644 (file)
@@ -1,19 +1,25 @@
 Summary:       Cross DJGPP GNU binary utility development utilities - binutils
-Summary(es):   Utilitarios para desarrollo de binarios de la GNU - DJGPP binutils
-Summary(fr):   Utilitaires de développement binaire de GNU - DJGPP binutils
-Summary(pl):   Skro¶ne narzêdzia programistyczne GNU dla DJGPP - binutils
-Summary(pt_BR):        Utilitários para desenvolvimento de binários da GNU - DJGPP binutils
-Summary(tr):   GNU geliþtirme araçlarý - DJGPP binutils
+Summary(es.UTF-8):     Utilitarios para desarrollo de binarios de la GNU - DJGPP binutils
+Summary(fr.UTF-8):     Utilitaires de développement binaire de GNU - DJGPP binutils
+Summary(pl.UTF-8):     Skrośne narzędzia programistyczne GNU dla DJGPP - binutils
+Summary(pt_BR.UTF-8):  Utilitários para desenvolvimento de binários da GNU - DJGPP binutils
+Summary(tr.UTF-8):     GNU geliştirme araçları - DJGPP binutils
 Name:          crossdjgpp-binutils
-Version:       2.15.90.0.3
+Version:       2.15.91.0.1
 Release:       1
 License:       GPL
 Group:         Development/Tools
 Source0:       ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
-# Source0-md5: 1c1af0064ebd3d7bd99905874656a21e
-BuildRequires: flex
+# Source0-md5: 0d64d65d33a7f305e5ef8351086b9a3a
+URL:           http://sources.redhat.com/binutils/
+BuildRequires: automake
+BuildRequires: bash
 BuildRequires: bison
-BuildRequires: /bin/bash
+BuildRequires: flex
+BuildRequires: gettext-devel
+%ifarch sparc sparc32
+BuildRequires: sparc32
+%endif
 Requires:      crossdjgpp-platform
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,17 +33,17 @@ best left ambiguous.)
 
 This package contains cross targeted binutils.
 
-%description -l pl
-DJGPP to port GNU GCC dla ¶rodowiska DOS (skrót oznacza DJ's Gnu
-Programming Platform, je¶li ju¿ koniecznie ma co¶ oznaczaæ).
+%description -l pl.UTF-8
+DJGPP to port GNU GCC dla środowiska DOS (skrót oznacza DJ's Gnu
+Programming Platform, jeśli już koniecznie ma coś oznaczać).
 
-Ten pakiet zawiera binutils generuj±ce skro¶nie binaria dla DOS.
+Ten pakiet zawiera binutils generujące skrośnie binaria dla DOS.
 
 %prep
 %setup -q -n binutils-%{version}
 
 %build
-rm -rf $RPM_BUILD_ROOT
+cp /usr/share/automake/config.sub .
 
 # Because of a bug in binutils-2.9.1, a cross libbfd.so* is not named
 # lib<target>bfd.so*. To prevent confusion with native binutils, we
@@ -45,8 +51,12 @@ rm -rf $RPM_BUILD_ROOT
 # [the same applies to binutils 2.10.1.0.4]
 
 # ldscripts won't be generated properly if SHELL is not bash...
-CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
+CFLAGS="%{rpmcflags}" \
+LDFLAGS="%{rpmldflags}" \
 CONFIG_SHELL="/bin/bash" \
+%ifarch sparc
+sparc32 \
+%endif
 ./configure \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
@@ -54,7 +64,9 @@ CONFIG_SHELL="/bin/bash" \
        --infodir=%{_infodir} \
        --target=%{target}
 
-%{__make} tooldir=%{_prefix} EXEEXT="" all
+%{__make} all \
+       tooldir=%{_prefix} \
+       EXEEXT=""
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -65,6 +77,10 @@ rm -rf $RPM_BUILD_ROOT
        infodir=$RPM_BUILD_ROOT%{_infodir} \
        libdir=$RPM_BUILD_ROOT%{_libdir}
 
+# remove these man pages unless we cross-build for win*/netware platforms.
+# however, this should be done in Makefiles.
+rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{arch}/bin/*
This page took 0.070285 seconds and 4 git commands to generate.