1 %include /usr/lib/rpm/mingw-defs
6 Summary: MinGW Windows cross-compiler runtime and root filesystem
9 Group: Development/Libraries
10 URL: http://www.mingw.org/
11 Source0: http://dl.sourceforge.net/sourceforge/mingw/%{name}-%{version}-src.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 BuildRequires: mingw-filesystem >= 9
17 BuildRequires: mingw-binutils
18 BuildRequires: mingw-gcc
20 Requires: mingw-filesystem >= 9
21 Requires: mingw-binutils
24 # Once this is installed, mingw-bootstrap (binary bootstrapper) is no
26 Obsoletes: mingw-bootstrap
30 MinGW Windows cross-compiler runtime, base libraries.
37 CFLAGS="-I%{_mingw_includedir}" \
46 rm -rf $RPM_BUILD_ROOT
48 make prefix=$RPM_BUILD_ROOT%{_mingw_prefix} install
50 # make install places these in nonstandard locations, so move them.
51 mkdir -p $RPM_BUILD_ROOT%{_mingw_docdir}
52 mv $RPM_BUILD_ROOT%{_mingw_prefix}/doc/* $RPM_BUILD_ROOT%{_mingw_docdir}/
53 mkdir -p $RPM_BUILD_ROOT%{_mingw_mandir}
54 mv $RPM_BUILD_ROOT%{_mingw_prefix}/man/* $RPM_BUILD_ROOT%{_mingw_mandir}/
58 rm -rf $RPM_BUILD_ROOT
65 %{_mingw_includedir}/*
67 %{_mingw_mandir}/man3/*
71 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-4
72 - Use RPM macros from mingw-filesystem.
74 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-2
75 - Initial RPM release, largely based on earlier work from several sources.