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 and root filesystem
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)
18 Patch0: mingw32-runtime-3.15.1-useconds_t.patch
22 BuildRequires: mingw32-filesystem >= 26
23 BuildRequires: mingw32-binutils
24 BuildRequires: mingw32-gcc
26 Requires: mingw32-filesystem >= 26
27 Requires: mingw32-binutils
30 # Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
32 Obsoletes: mingw32-runtime-bootstrap
33 Obsoletes: mingw-runtime-bootstrap
35 Provides: mingw-runtime = %{version}-%{release}
36 Obsoletes: mingw-runtime < 3.14-5
40 MinGW Windows cross-compiler runtime, base libraries.
44 %setup -q -n mingwrt-%{version}-mingw32
49 CFLAGS="-I%{_mingw32_includedir}" \
52 --host=%{_mingw32_host}
58 rm -rf $RPM_BUILD_ROOT
60 make prefix=$RPM_BUILD_ROOT%{_mingw32_prefix} install
62 # make install places these in nonstandard locations, so move them.
63 mkdir -p $RPM_BUILD_ROOT%{_mingw32_docdir}
64 mv $RPM_BUILD_ROOT%{_mingw32_prefix}/doc/* $RPM_BUILD_ROOT%{_mingw32_docdir}/
65 mkdir -p $RPM_BUILD_ROOT%{_mingw32_mandir}
66 mv $RPM_BUILD_ROOT%{_mingw32_prefix}/man/* $RPM_BUILD_ROOT%{_mingw32_mandir}/
70 rm -rf $RPM_BUILD_ROOT
77 %{_mingw32_includedir}/*
79 %{_mingw32_mandir}/man3/*
83 * Thu Oct 16 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-1
84 - New upstream version 3.15.1.
86 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-6
87 - Rename mingw -> mingw32.
89 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-4
90 - Use RPM macros from mingw-filesystem.
92 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-2
93 - Initial RPM release, largely based on earlier work from several sources.