# NOTE: Do not remove -lib package, it is required by FPC
#
Summary: A GNU source-level debugger for C, C++ and Fortran
-Summary(de.UTF-8): Symbolischer Debugger für C und andere Sprachen
-Summary(es.UTF-8): Depurador de programas C y otras lenguajes
-Summary(fr.UTF-8): Débugger symbolique pour C et d'autres langages
-Summary(pl.UTF-8): Symboliczny odpluskwiacz dla C i innych języków
-Summary(pt_BR.UTF-8): Depurador de programas C e outras linguagens
-Summary(ru.UTF-8): Символический отладчик для C и других языков
-Summary(tr.UTF-8): C ve diğer diller için sembolik hata ayıklayıcı
-Summary(uk.UTF-8): Символьний відладчик для С та інших мов
-Summary(zh_CN.UTF-8): [开发]C和其他语言的调试器
-Summary(zh_TW.UTF-8): [.-A開發]C和.$)B其.-A他語.$)B言的調試器
+Summary(de.UTF-8): Symbolischer Debugger für C und andere Sprachen
+Summary(es.UTF-8): Depurador de programas C y otras lenguajes
+Summary(fr.UTF-8): Débugger symbolique pour C et d'autres langages
+Summary(pl.UTF-8): Symboliczny odpluskwiacz dla C i innych języków
+Summary(pt_BR.UTF-8): Depurador de programas C e outras linguagens
+Summary(ru.UTF-8): Символический отладчик для C и других языков
+Summary(tr.UTF-8): C ve diğer diller için sembolik hata ayıklayıcı
+Summary(uk.UTF-8): Символьний відладчик для С та інших мов
+Summary(zh_CN.UTF-8): [开发]C和其他语言的调试器
+Summary(zh_TW.UTF-8): [.-A開發]C和.$)B其.-A他語.$)B言的調試器
Name: gdb
-Version: 6.6
+Version: 6.7.1
Release: 1
-License: GPL
+License: GPL v3+
Group: Development/Debuggers
Source0: ftp://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.bz2
-# Source0-md5: a4df41d28dd514d64e8ccbfe125fd9a6
+# Source0-md5: 30a6bf36eded4ae5a152d7d71b86dc14
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 2e8a48939ae282c12bbacdd54e398247
Patch0: %{name}-readline.patch
Patch1: %{name}-info.patch
Patch2: %{name}-passflags.patch
-# updated from http://www.math.uni.wroc.pl/~hebisch/gpc/gdb-6.1.diff
-Patch3: %{name}-gpc.patch
Patch4: %{name}-gdbinit-stat.patch
Patch5: %{name}-pretty-print-by-default.patch
Patch6: %{name}-absolute-gnu_debuglink-path.patch
+URL: http://www.gnu.org/software/gdb/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
BuildRequires: bison
BuildRequires: libtool
BuildRequires: ncurses-devel >= 5.2
BuildRequires: readline-devel >= 4.3
-BuildRequires: texinfo
+BuildRequires: texinfo >= 4.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%package lib
Summary: GDB in the form of a static library
-Summary(pl.UTF-8): GDB w postaci biblioteki statycznej
+Summary(pl.UTF-8): GDB w postaci biblioteki statycznej
Group: Development/Debuggers
-#Requires: binutils-static >= 2.17.50
+#Requires: binutils-devel >= 2.17.50
%description lib
GDB in the form of a static library.
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
%patch4 -p0
%patch5 -p1
%patch6 -p1
cd $olddir
done
cp -f /usr/share/automake/config.* .
-# !! Don't enable shared here !!
-# This will cause serious problems --misiek
-%configure2_13 \
+# don't --enable-shared here, there would be libs version mismatch with binutils
+%configure \
--disable-gdbtk \
--disable-shared \
--enable-gdbcli \
--enable-nls \
--enable-tui \
--with-cpu=%{_target_cpu} \
- --without-included-gettext \
- --without-included-regex \
- --without-x \
%ifnarch alpha
- --with-mmalloc
+ --with-mmalloc \
%endif
+ --without-included-gettext \
+ --without-included-regex \
+ --without-x
%{__make}
%{__make} info