]> git.pld-linux.org Git - packages/binutils.git/blobdiff - binutils.spec
- md5sums, cleanups
[packages/binutils.git] / binutils.spec
index bf28a2ebfa8983f7d6be33a42cfd646f7433254f..383b8c7614628faf712eec87738dffbb8bbffb3d 100644 (file)
@@ -1,23 +1,29 @@
 Summary:       GNU Binary Utility Development Utilities
 Summary(de):   GNU Binary Utility Development Utilities
+Summary(es):   Utilitarios para desarrollo de binarios de la GNU
 Summary(fr):   Utilitaires de développement binaire de GNU
 Summary(pl):   Narzêdzia GNU dla programistów
+Summary(pt_BR):        Utilitários para desenvolvimento de binários da GNU
 Summary(tr):   GNU geliþtirme araçlarý
 Name:          binutils
-Version:       2.10.91.0.2
-Release:       1
-Epoch:         1
+Version:       2.11.90.0.19
+Release:       4
+Epoch:         2
 License:       GPL
 Group:         Development/Tools
-Group(de):     Entwicklung/Werkzeuge
-Group(fr):     Development/Outils
-Group(pl):     Programowanie/Narzêdzia
-Source0:       ftp://ftp.varesearch.com/pub/support/hjl/binutils/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.kernel.org/pub/linux/devel/binutils/%{name}-%{version}.tar.bz2
+# Source0-md5: 59cb6db4b7642562b5abb3298a25b063
+Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+# Source1-md5: 48e506c0a8b87e0a762f990111aed707
 Patch0:                %{name}-info.patch
+Patch1:                %{name}-sparc_unaligned_reloc.patch
+Patch2:                %{name}-preserve_e_flags.patch
+Patch3:                %{name}-getopt.patch
 URL:           http://sourceware.cygnus.com/binutils/
 Prereq:                /sbin/ldconfig
-BuildRequires: flex
 BuildRequires: bison
+BuildRequires: flex
+BuildRequires: perl-devel
 %ifarch sparc sparc32
 BuildRequires: sparc32
 %endif
@@ -33,7 +39,6 @@ Binutils is a collection of binary utilities, including:
 - size - list the section sizes of an object or archive file,
 - strings - list printable strings from files,
 - strip - discard symbols,
-- c++filt - a filter for demangling encoded C++ symbols,
 - addr2line - convert addresses to file and line,
 - nlmconv - convert object code into an NLM.
 
@@ -43,13 +48,20 @@ program
 (linker), a tak¿e inne narzêdzia do manipulowania binarnymi plikami
 programów i bibliotek.
 
+%description -l es
+binutils es una colectánea de utilitarios necesarios para compilar
+programas. Incluye assembler y linker, así como varios otros programas
+para trabajar con formatos que se puedan ejecutar.
+
+%description -l pt_BR
+binutils é uma coletânea de utilitários necessários para compilar
+programas. Inclui assembler e linker, assim como vários outros
+programas para trabalhar com formatos executáveis.
+
 %package static
 Summary:       GNU Binutils static libraries
 Summary(pl):   Biblioteki statyczne do GNU Binutils
 Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
 
 %description static
@@ -61,11 +73,14 @@ Biblioteki statyczne GNU Binutils.
 %prep
 %setup -q 
 %patch0 -p1
+%patch1 -p1
+%patch2 -p0
+%patch3 -p1
 
 %build
-CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-g -O0}"
+CFLAGS="%{rpmcflags}"
 export CFLAGS
-%ifarch sparc
+%ifarch sparc 
 sparc32 \
 %endif
 ./configure %{_target_platform} \
@@ -92,11 +107,18 @@ install -d $RPM_BUILD_ROOT%{_prefix}
        includedir=$RPM_BUILD_ROOT%{_includedir} \
        libdir=$RPM_BUILD_ROOT%{_libdir}
 
-rm -f $RPM_BUILD_ROOT%{_bindir}/c++filt 
+# these are already in gcc-g++
+rm -f $RPM_BUILD_ROOT%{_bindir}/c++filt $RPM_BUILD_ROOT%{_mandir}/man1/c++filt*
 
-install include/libiberty.h $RPM_BUILD_ROOT%{_includedir}
+rm -f $RPM_BUILD_ROOT%{_infodir}/standards.info*
+
+# 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
 
-gzip -9nf README
+bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}/
+
+install include/libiberty.h $RPM_BUILD_ROOT%{_includedir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -111,7 +133,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/*.so
 
@@ -120,6 +142,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %{_infodir}/*info*
 %{_mandir}/man1/*
+%lang(cs) %{_mandir}/cs/man1/*
+%lang(de) %{_mandir}/de/man1/*
+%lang(es) %{_mandir}/es/man1/*
+%lang(fi) %{_mandir}/fi/man1/*
+%lang(fr) %{_mandir}/fr/man1/*
+%lang(hu) %{_mandir}/hu/man1/*
+%lang(ja) %{_mandir}/ja/man1/*
+%lang(pl) %{_mandir}/pl/man1/*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.038193 seconds and 4 git commands to generate.