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 runtime
12 License: Public Domain
13 Group: Development/Libraries
14 URL: http://www.mingw.org/
15 Source0: http://dl.sourceforge.net/sourceforge/mingw/mingwrt-%{version}-mingw32-src.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw32-filesystem >= 39-3
21 BuildRequires: mingw32-binutils
22 BuildRequires: mingw32-gcc
24 Requires: mingw32-binutils
27 # Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
29 Obsoletes: mingw32-runtime-bootstrap
33 MinGW Windows cross-compiler runtime, base libraries.
37 %setup -q -n mingwrt-%{version}-mingw32
41 MINGW32_CFLAGS="%{_mingw32_cflags} -I%{_mingw32_includedir}"
47 rm -rf $RPM_BUILD_ROOT
49 %{_mingw32_makeinstall}
51 # make install places these in nonstandard locations, so move them.
52 mkdir -p $RPM_BUILD_ROOT%{_mingw32_docdir}
53 mv $RPM_BUILD_ROOT%{_mingw32_prefix}/doc/* $RPM_BUILD_ROOT%{_mingw32_docdir}/
57 rm -rf $RPM_BUILD_ROOT
64 %{_mingw32_includedir}/*
66 %{_mingw32_mandir}/man3/*
70 * Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-8
71 - Rebuild against latest filesystem package.
72 - MINGW_CFLAGS -> MINGW32_CFLAGS.
73 - Rewrite the summary for accuracy and brevity.
75 * Fri Nov 21 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-6
76 - Remove obsoletes for a long dead package.
77 - Reenable (and fix) _mingw32_configure (Levente Farkas).
79 * Thu Nov 20 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-5
80 - Don't use _mingw32_configure macro - doesn't work here.
82 * Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-4
83 - Rebuild against mingw32-filesystem 37
85 * Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-3
86 - Remove the useconds patch, which is no longer needed (Levente Farkas).
87 - Use _mingw32_configure macro.
89 * Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-2
90 - Rebuild against mingw32-filesystem 36
92 * Thu Oct 16 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-1
93 - New upstream version 3.15.1.
95 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-6
96 - Rename mingw -> mingw32.
98 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-4
99 - Use RPM macros from mingw-filesystem.
101 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-2
102 - Initial RPM release, largely based on earlier work from several sources.