4 Summary: MinGW port of the GNU debugger (gdb)
7 Group: Development/Libraries
8 URL: http://www.mingw.org/MinGWiki/index.php/gdb
9 Source0: http://dl.sourceforge.net/sourceforge/mingw/gdb-%{version}-mingw-src.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12 Patch0: mingw-gdb-6.8-no-getcwd-error.patch
14 BuildRequires: mingw-filesystem >= 23
16 BuildRequires: chrpath
18 Requires: mingw-filesystem >= 23
19 Requires: mingw-binutils
20 Requires: mingw-runtime
24 This is the MinGW port of the GNU debugger (gdb).
26 Note this is a Fedora native binary which debugs Windows target
31 %setup -q -n gdb-%{version}
41 rm -rf $RPM_BUILD_ROOT
42 make DESTDIR=$RPM_BUILD_ROOT install
44 # Remove files that clash with other installed stuff.
45 rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
46 rm -rf $RPM_BUILD_ROOT%{_infodir}/*
47 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
50 chrpath --delete $RPM_BUILD_ROOT%{_bindir}/*
54 rm -rf $RPM_BUILD_ROOT
59 %{_bindir}/i686-pc-mingw32-gdb
60 %{_bindir}/i686-pc-mingw32-gdbtui
65 * Thu Sep 11 2008 Richard W.M. Jones <rjones@redhat.com> - 6.8-1
66 - Initial RPM release.