1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
10 Summary: MinGW Windows cross-compiler Win32 header files
12 License: Public Domain
13 Group: Development/Libraries
14 URL: http://www.mingw.org/
15 Source0: http://dl.sourceforge.net/sourceforge/mingw/w32api-%{version}-src.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw32-filesystem >= 23
21 BuildRequires: mingw32-binutils
22 BuildRequires: mingw32-gcc
23 BuildRequires: mingw32-runtime
25 Requires: mingw32-filesystem >= 23
26 Requires: mingw32-binutils
28 Requires: mingw32-runtime
30 # Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
32 Obsoletes: mingw32-w32api-bootstrap
33 Obsoletes: mingw-w32api-bootstrap
35 Provides: mingw-w32api = %{version}-%{release}
36 Obsoletes: mingw-w32api < 3.11-7
40 MinGW Windows cross-compiler Win32 header files.
44 %setup -q -n w32api-%{version}
49 --host=%{_mingw32_host}
55 rm -rf $RPM_BUILD_ROOT
57 make prefix=$RPM_BUILD_ROOT%{_mingw32_prefix} install
61 rm -rf $RPM_BUILD_ROOT
66 %{_mingw32_includedir}/*
67 %{_mingw32_libdir}/*.a
71 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-7
72 - Rename mingw -> mingw32.
74 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-6
75 - Moved ole provides to mingw-filesystem package.
77 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-3
78 - Use the RPM macros from mingw-filesystem.
80 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.11-2
81 - Initial RPM release, largely based on earlier work from several sources.