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}
36 CC="%{__cc} ${RPM_OPT_FLAGS}" \
40 --includedir=%{_includedir} \
43 --infodir=%{_infodir} \
44 --datadir=%{_datadir} \
45 --build=%_build --host=%_host \
46 --target=%{_mingw_target}
51 rm -rf $RPM_BUILD_ROOT
52 make DESTDIR=$RPM_BUILD_ROOT install
54 # Remove files that clash with other installed stuff.
55 rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a
56 rm -rf $RPM_BUILD_ROOT%{_infodir}/*
57 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
60 chrpath --delete $RPM_BUILD_ROOT%{_bindir}/*
64 rm -rf $RPM_BUILD_ROOT
69 %{_bindir}/i686-pc-mingw32-gdb
70 %{_bindir}/i686-pc-mingw32-gdbtui
75 * Thu Sep 11 2008 Richard W.M. Jones <rjones@redhat.com> - 6.8-1
76 - Initial RPM release.