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/mingw-runtime-%{version}-src.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw32-filesystem >= 26
21 BuildRequires: mingw32-binutils
22 BuildRequires: mingw32-gcc
24 Requires: mingw32-filesystem >= 26
25 Requires: mingw32-binutils
28 # Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
30 Obsoletes: mingw32-runtime-bootstrap
31 Obsoletes: mingw-runtime-bootstrap
33 Provides: mingw-runtime = %{version}-%{release}
34 Obsoletes: mingw-runtime < 3.14-5
38 MinGW Windows cross-compiler runtime, base libraries.
42 %setup -q -n mingw-runtime-%{version}
46 CFLAGS="-I%{_mingw32_includedir}" \
49 --host=%{_mingw32_host}
55 rm -rf $RPM_BUILD_ROOT
57 make prefix=$RPM_BUILD_ROOT%{_mingw32_prefix} install
59 # make install places these in nonstandard locations, so move them.
60 mkdir -p $RPM_BUILD_ROOT%{_mingw32_docdir}
61 mv $RPM_BUILD_ROOT%{_mingw32_prefix}/doc/* $RPM_BUILD_ROOT%{_mingw32_docdir}/
62 mkdir -p $RPM_BUILD_ROOT%{_mingw32_mandir}
63 mv $RPM_BUILD_ROOT%{_mingw32_prefix}/man/* $RPM_BUILD_ROOT%{_mingw32_mandir}/
67 rm -rf $RPM_BUILD_ROOT
74 %{_mingw32_includedir}/*
76 %{_mingw32_mandir}/man3/*
80 * Wed Sep 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-6
81 - Rename mingw -> mingw32.
83 * Thu Sep 4 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-4
84 - Use RPM macros from mingw-filesystem.
86 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 3.14-2
87 - Initial RPM release, largely based on earlier work from several sources.