]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb.spec
- release 2
[packages/gdb.git] / gdb.spec
index 473ea90b00666e275e40dbb266d88d23c725090f..972ac8b47af89048b38719a07c2994df272d93fe 100644 (file)
--- a/gdb.spec
+++ b/gdb.spec
@@ -7,24 +7,28 @@ Summary(pt_BR):       Depurador de programas C e outras linguagens
 Summary(ru):   óÉÍ×ÏÌÉÞÅÓËÉÊ ÏÔÌÁÄÞÉË ÄÌÑ C É ÄÒÕÇÉÈ ÑÚÙËÏ×
 Summary(tr):   C ve diðer diller için sembolik hata ayýklayýcý
 Summary(uk):   óÉÍ×ÏÌØÎÉʠצÄÌÁÄÞÉË ÄÌÑ ó ÔÁ ¦ÎÛÉÈ ÍÏ×
+Summary(zh_CN):        [¿ª·¢]CºÍÆäËûÓïÑԵĵ÷ÊÔÆ÷
+Summary(zh_TW):        [.-A¶}µo]C©M.$)B¨ä.-A¥L»y.$)B¨¥ªº½Õ¸Õ¾¹
 Name:          gdb
-Version:       5.2
-Release:       1
+Version:       6.1
+Release:       2
 License:       GPL
 Group:         Development/Debuggers
 Source0:       ftp://ftp.gnu.org/pub/gnu/gdb/%{name}-%{version}.tar.gz
+# Source0-md5: f707d21f5a3e963ce059caed75e899a2
 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}-passflags.patch
-BuildRequires: ncurses-devel >= 5.2
-BuildRequires: readline-devel >= 4.2
+# Source1-md5: 2e8a48939ae282c12bbacdd54e398247
+Patch0:                %{name}-ncurses.patch
+Patch1:                %{name}-readline.patch
+Patch2:                %{name}-info.patch
+Patch3:                %{name}-passflags.patch
+Patch4:                %{name}-headers.patch
 BuildRequires: XFree86-devel
 BuildRequires: autoconf >= 2.53
+BuildRequires: automake
 BuildRequires: libtool
+BuildRequires: ncurses-devel >= 5.2
+BuildRequires: readline-devel >= 4.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -86,24 +90,18 @@ verir.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %build
-(cd gdb; autoconf)
-(cd gdb/doc; autoconf)
-(cd gdb/testsuite; autoconf)
-(cd gdb/testsuite/gdb.asm; autoconf)
-(cd gdb/testsuite/gdb.base; autoconf)
-(cd gdb/testsuite/gdb.c++; autoconf)
-(cd gdb/testsuite/gdb.chill; autoconf)
-(cd gdb/testsuite/gdb.disasm; autoconf)
-(cd gdb/testsuite/gdb.fortran; autoconf)
-(cd gdb/testsuite/gdb.java; autoconf)
-(cd gdb/testsuite/gdb.mi; autoconf)
-(cd gdb/testsuite/gdb.stabs; autoconf)
-(cd gdb/testsuite/gdb.threads; autoconf)
-(cd gdb/testsuite/gdb.trace; autoconf)
-(cd gdb/gdbserver; autoconf)
+for dir in `find gdb/ -name 'configure.in'`; do
+       dir=$(dirname "$dir")
+       olddir=$(pwd)
+       cd $dir
+       rm -f aclocal.m4
+       %{__aclocal}
+       %{__autoconf}
+       cd $olddir
+done
+cp -f /usr/share/automake/config.* .
 # !! Don't enable shared here !!
 # This will cause serious problems --misiek
 %configure2_13 \
@@ -118,13 +116,13 @@ verir.
        --with-cpu=%{_target_cpu} \
        --enable-tui \
 %ifnarch alpha
-       --with-mmalloc \
+       --with-mmalloc
 %endif
 
 # something is wrong after above - e.g. $exeext=="no" - fix it:
-(cd gdb
+cd gdb
 %configure
-)
+cd ..
 
 %{__make}
 %{__make} info
This page took 0.057614 seconds and 4 git commands to generate.