1 # NOTE: NOT a Fedora package. This contains binaries which are needed
2 # just to bootstrap the whole system if you build everything from scratch.
4 %define __os_install_post /usr/lib/rpm/brp-compress %{nil}
6 %define w32api_version 3.11
8 Name: mingw32-w32api-bootstrap
11 Summary: MinGW Windows bootstrap (binary package)
13 Group: Development/Libraries
14 License: Public Domain
15 URL: http://www.mingw.org/
17 Source0: http://dl.sourceforge.net/sourceforge/mingw/w32api-%{w32api_version}.tar.gz
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
23 Provides: mingw32-w32api = %{w32api_version}
24 Provides: mingw-w32api = %{w32api_version}
28 MinGW bootstrap (binary package).
35 rm -rf i686-pc-mingw32
38 mkdir -p i686-pc-mingw32/sys-root/mingw
39 cp -a include lib i686-pc-mingw32/sys-root/mingw
43 rm -rf $RPM_BUILD_ROOT
45 mkdir -p $RPM_BUILD_ROOT%{_prefix}
46 cp -a i686-pc-mingw32 $RPM_BUILD_ROOT%{_prefix}
50 rm -rf $RPM_BUILD_ROOT
55 %dir %{_prefix}/i686-pc-mingw32
56 %{_prefix}/i686-pc-mingw32/sys-root
60 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 1-4
61 - Rename mingw -> mingw32.
63 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 1-3
64 - Initial RPM release.