5 Summary: A GNU source-level debugger for C, C++, Java and other languages
6 Url: http://gnu.org/software/gdb/
7 Group: Development/Toolchain
8 Source: ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.bz2
9 Source1001: gdb.manifest
10 %define gdb_src gdb-%{version}
11 %define gdb_build build-%{_target_platform}
14 BuildRequires: expat-devel
16 BuildRequires: gettext
17 BuildRequires: python-devel
18 BuildRequires: gcc-c++
19 BuildRequires: ncurses-devel
20 BuildRequires: readline-devel
21 BuildRequires: rpm-devel
22 BuildRequires: makeinfo
25 GDB, the GNU debugger, allows you to debug programs written in C, C++,
26 Java, and other languages, by executing them in a controlled fashion
27 and printing their data.
30 Summary: Development files for gdb
33 Development files for gdb.
36 Summary: A standalone server for GDB (the GNU source-level debugger)
39 GDB, the GNU debugger, allows you to debug programs written in C, C++,
40 Java, and other languages, by executing them in a controlled fashion
41 and printing their data.
43 This package provides a program that allows you to run GDB on a different machine than the one which is running the program being debugged.
49 # Remove the info and other generated files added by the FSF release
51 rm -f libdecnumber/gstdint.h
53 rm -f bfd/doc/*.info-*
55 rm -f gdb/doc/*.info-*
59 --with-gdb-datadir=%{_datadir}/gdb \
60 --enable-gdb-build-warnings=,-Wno-unused \
62 --with-separate-debug-dir=/usr/lib/debug \
65 --with-system-readline \
69 --enable-static --disable-shared --enable-debug
79 mv opcodes.lang %{name}.lang
80 cat bfd.lang >> %{name}.lang
88 %manifest %{name}.manifest
89 %license COPYING COPYING.LIB
94 %manifest %{name}.manifest
97 %{_mandir}/*/gdbserver.1*
98 %ifarch %{ix86} x86_64
99 %{_libdir}/libinproctrace.so
103 %manifest %{name}.manifest
105 %{_includedir}/gdb/*.h