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.xz
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: rpm-devel
21 BuildRequires: makeinfo
24 GDB, the GNU debugger, allows you to debug programs written in C, C++,
25 Java, and other languages, by executing them in a controlled fashion
26 and printing their data.
29 Summary: Development files for gdb
32 Development files for gdb.
35 Summary: A standalone server for GDB (the GNU source-level debugger)
38 GDB, the GNU debugger, allows you to debug programs written in C, C++,
39 Java, and other languages, by executing them in a controlled fashion
40 and printing their data.
42 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.
48 # Remove the info and other generated files added by the FSF release
50 rm -f libdecnumber/gstdint.h
52 rm -f bfd/doc/*.info-*
54 rm -f gdb/doc/*.info-*
58 --with-gdb-datadir=%{_datadir}/gdb \
59 --enable-gdb-build-warnings=,-Wno-unused \
61 --with-separate-debug-dir=/usr/lib/debug \
66 --enable-static --disable-shared --enable-debug
76 mv opcodes.lang %{name}.lang
77 cat bfd.lang >> %{name}.lang
85 %manifest %{name}.manifest
86 %license COPYING COPYING.LIB
91 %manifest %{name}.manifest
94 %{_mandir}/*/gdbserver.1*
95 %ifarch %{ix86} x86_64
96 %{_libdir}/libinproctrace.so
100 %manifest %{name}.manifest
102 %{_includedir}/gdb/*.h