Url: http://gnu.org/software/gdb/
Group: Development/Debuggers
Source: ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.bz2
+Source1001: gdb.manifest
%define gdb_src gdb-%{version}
%define gdb_build build-%{_target_platform}
%prep
%setup -q
+cp %{SOURCE1001} .
# Files have `# <number> <file>' statements breaking VPATH / find-debuginfo.sh .
#rm -f gdb/ada-exp.c gdb/ada-lex.c gdb/c-exp.c gdb/cp-name-parser.c gdb/f-exp.c
%lang_package
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
%doc COPYING COPYING.LIB
%{_bindir}/*
%{_datadir}/gdb
%files server
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/gdbserver
%{_mandir}/*/gdbserver.1*
%endif
%files devel
+%manifest %{name}.manifest
%{_includedir}/*.h
%{_includedir}/gdb/*.h