]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb.spec
- release 2
[packages/gdb.git] / gdb.spec
index bc29ad4aa136092fd07757031dbd73a110b42d85..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.1
-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
+# 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.2
+BuildRequires: readline-devel >= 4.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -86,40 +90,18 @@ verir.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %build
-cd gdb
-%{__autoconf}
-cd doc
-%{__autoconf}
-cd ../testsuite
-%{__autoconf}
-cd gdb.asm
-%{__autoconf}
-cd ../gdb.base
-%{__autoconf}
-cd ../gdb.c++
-%{__autoconf}
-cd ../gdb.chill
-%{__autoconf}
-cd ../gdb.disasm
-%{__autoconf}
-#cd ../gdb.fortran
-#%{__autoconf}
-cd ../gdb.java
-%{__autoconf}
-cd ../gdb.mi
-%{__autoconf}
-cd ../gdb.stabs
-%{__autoconf}
-cd ../gdb.threads
-%{__autoconf}
-cd ../gdb.trace
-%{__autoconf}
-cd ../../gdbserver
-%{__autoconf}
-cd ../..
+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 \
This page took 0.086631 seconds and 4 git commands to generate.