]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb.spec
- use ppc-include patch, to allow build on ppc with libbfd-devel installed
[packages/gdb.git] / gdb.spec
index 07184f07722edcd03f06dbb9f24ca565edc0ff5f..eb27804c072565583cf6360707b51b36bd399330 100644 (file)
--- a/gdb.spec
+++ b/gdb.spec
@@ -1,24 +1,23 @@
 Summary:       A GNU source-level debugger for C, C++ and Fortran
-Summary(de):   Symbolischer Debugger für C und andere Sprachen 
+Summary(de):   Symbolischer Debugger für C und andere Sprachen
 Summary(es):   Depurador de programas C y otras lenguajes
 Summary(fr):   Débugger symbolique pour C et d'autres langages
 Summary(pl):   Symboliczny odpluskwiacz dla C i innych jêzyków
 Summary(pt_BR):        Depurador de programas C e outras linguagens
 Summary(tr):   C ve diðer diller için sembolik hata ayýklayýcý
 Name:          gdb
-Version:       5.1
-Release:       1
+Version:       5.1.1
+Release:       2
 License:       GPL
 Group:         Development/Debuggers
-Group(de):     Entwicklung/Debugger
-Group(pl):     Programowanie/Odpluskwiacze
 Source0:       ftp://ftp.gnu.org/pub/gnu/gdb/%{name}-%{version}.tar.gz
-Source1:       %{name}-non-english-man-pages.tar.bz2
+Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 Patch0:                %{name}-gettext.patch
 Patch1:                %{name}-ncurses.patch
 Patch2:                %{name}-readline.patch
 Patch3:                %{name}-info.patch
 Patch4:                %{name}-procfs.patch
+Patch5:                %{name}-ppc-include.patch
 BuildRequires: ncurses-devel >= 5.2
 BuildRequires: readline-devel >= 4.2
 BuildRequires: XFree86-devel
@@ -74,9 +73,10 @@ verir.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
-(cd gdb; libtoolize --copy --force; aclocal; autoconf)
+(cd gdb; autoconf)
 (cd gdb/doc; autoconf)
 (cd gdb/testsuite; autoconf)
 (cd gdb/testsuite/gdb.asm; autoconf)
@@ -91,7 +91,7 @@ verir.
 (cd gdb/testsuite/gdb.threads; autoconf)
 (cd gdb/testsuite/gdb.trace; autoconf)
 (cd gdb/gdbserver; autoconf)
-# !! Don't enable shared here !! 
+# !! Don't enable shared here !!
 # This will cause serious problems --misiek
 %configure2_13 \
        --disable-shared \
@@ -109,6 +109,11 @@ verir.
 %endif
        --with-mmap
 
+# something is wrong after above - e.g. $exeext=="no" - fix it:
+(cd gdb
+%configure
+)
+
 %{__make}
 %{__make} info
 
This page took 0.039186 seconds and 4 git commands to generate.