1 %include /usr/lib/rpm/mingw-defs
6 Summary: MinGW Windows cross-compiler Win32 header files
9 Group: Development/Libraries
10 URL: http://www.mingw.org/
11 Source0: http://dl.sourceforge.net/sourceforge/mingw/w32api-%{version}-src.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 BuildRequires: mingw-filesystem >= 3
17 BuildRequires: mingw-binutils
18 BuildRequires: mingw-gcc
19 BuildRequires: mingw-runtime
21 Requires: mingw-filesystem >= 3
22 Requires: mingw-binutils
24 Requires: mingw-runtime
26 # Once this is installed, mingw-bootstrap (binary bootstrapper) is no
28 Obsoletes: mingw-bootstrap
30 #%define _use_internal_dependency_generator 0
31 #%define __debug_install_post %{nil}
35 MinGW Windows cross-compiler Win32 header files.
39 %setup -q -n w32api-%{version}
50 rm -rf $RPM_BUILD_ROOT
52 make prefix=$RPM_BUILD_ROOT%{_mingw_prefix} install
56 rm -rf $RPM_BUILD_ROOT
61 %{_mingw_includedir}/*
65 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-3
66 - Use the RPM macros from mingw-filesystem.
68 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-2
69 - Initial RPM release, largely based on earlier work from several sources.