Name: mingw32-runtime
Version: 3.15.1
-Release: 4%{?dist}
-Summary: MinGW Windows cross-compiler runtime and root filesystem
+Release: 8%{?dist}
+Summary: MinGW Windows cross-compiler runtime
License: Public Domain
Group: Development/Libraries
Source0: http://dl.sourceforge.net/sourceforge/mingw/mingwrt-%{version}-mingw32-src.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-#Patch0: mingw32-runtime-3.15.1-useconds_t.patch
-
BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 26
+BuildRequires: mingw32-filesystem >= 39-3
BuildRequires: mingw32-binutils
BuildRequires: mingw32-gcc
-Requires: mingw32-filesystem >= 26
Requires: mingw32-binutils
Requires: mingw32-gcc
# Once this is installed, mingw32-bootstrap (binary bootstrapper) is no
# longer needed.
Obsoletes: mingw32-runtime-bootstrap
-Obsoletes: mingw-runtime-bootstrap
-
-Provides: mingw-runtime = %{version}-%{release}
-Obsoletes: mingw-runtime < 3.14-5
%description
%prep
%setup -q -n mingwrt-%{version}-mingw32
-%patch0 -p1
%build
+MINGW32_CFLAGS="%{_mingw32_cflags} -I%{_mingw32_includedir}"
%{_mingw32_configure}
-make
+%{_mingw32_make}
%install
rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT%{_mingw32_prefix} install
+%{_mingw32_makeinstall}
# make install places these in nonstandard locations, so move them.
mkdir -p $RPM_BUILD_ROOT%{_mingw32_docdir}
mv $RPM_BUILD_ROOT%{_mingw32_prefix}/doc/* $RPM_BUILD_ROOT%{_mingw32_docdir}/
-mkdir -p $RPM_BUILD_ROOT%{_mingw32_mandir}
-mv $RPM_BUILD_ROOT%{_mingw32_prefix}/man/* $RPM_BUILD_ROOT%{_mingw32_mandir}/
%clean
%changelog
+* Mon Nov 24 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-8
+- Rebuild against latest filesystem package.
+- MINGW_CFLAGS -> MINGW32_CFLAGS.
+- Rewrite the summary for accuracy and brevity.
+
+* Fri Nov 21 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-6
+- Remove obsoletes for a long dead package.
+- Reenable (and fix) _mingw32_configure (Levente Farkas).
+
+* Thu Nov 20 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-5
+- Don't use _mingw32_configure macro - doesn't work here.
+
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 3.15.1-4
- Rebuild against mingw32-filesystem 37