- Rename mingw32-COPYING to COPYING.

- Rename mingw32-macros.mingw32 to macros.mingw32.
- _mingw32_configure looks for configure in "." and ".." dirs.
- Added _mingw32_description.
- Added mingw32(version.dll) virtual provides (rhbz#485842).
This commit is contained in:
Richard W.M. Jones 2009-02-17 08:37:27 +00:00
parent 2e732f340c
commit b8b00efeff
3 changed files with 15 additions and 3 deletions

View File

@ -80,7 +80,8 @@
%_mingw32_configure %{_mingw32_env} ; \ %_mingw32_configure %{_mingw32_env} ; \
./configure --cache-file=%{_mingw32_cache} \\\ __mingw32_topdir=.; if ! test -x configure; then __mingw32_topdir=..; fi;
$__mingw32_topdir/configure --cache-file=%{_mingw32_cache} \\\
--host=%{_mingw32_host} \\\ --host=%{_mingw32_host} \\\
--build=%_build \\\ --build=%_build \\\
--target=%{_mingw32_target} \\\ --target=%{_mingw32_target} \\\
@ -131,3 +132,6 @@
infodir=%{?buildroot:%{buildroot}}%{_mingw32_infodir} \\\ infodir=%{?buildroot:%{buildroot}}%{_mingw32_infodir} \\\
install install
%_mingw32_description This is the cross-compiled version of this library / tool.\
You should only install this package if you want to cross-compile programs for \
Win32 (32 bit Windows).

View File

@ -11,8 +11,8 @@ URL: http://hg.et.redhat.com/misc/fedora-mingw--devel/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
Source0: mingw32-COPYING Source0: COPYING
Source1: mingw32-macros.mingw32 Source1: macros.mingw32
Source2: mingw32.sh Source2: mingw32.sh
#Source3: mingw32.csh #Source3: mingw32.csh
Source4: mingw32-find-requires.sh Source4: mingw32-find-requires.sh
@ -49,6 +49,7 @@ Provides: mingw32(user32.dll)
Provides: mingw32(wldap32.dll) Provides: mingw32(wldap32.dll)
Provides: mingw32(glut32.dll) Provides: mingw32(glut32.dll)
Provides: mingw32(secur32.dll) Provides: mingw32(secur32.dll)
Provides: mingw32(version.dll)
%description %description
@ -153,6 +154,13 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Tue Feb 17 2009 Richard W.M. Jones <rjones@redhat.com> - 47-1
- Rename mingw32-COPYING to COPYING.
- Rename mingw32-macros.mingw32 to macros.mingw32.
- _mingw32_configure looks for configure in "." and ".." dirs.
- Added _mingw32_description.
- Added mingw32(version.dll) virtual provides (rhbz#485842).
* Sun Feb 1 2009 Richard W.M. Jones <rjones@redhat.com> - 46-1 * Sun Feb 1 2009 Richard W.M. Jones <rjones@redhat.com> - 46-1
- Unset PKG_CONFIG_PATH because /usr/lib/rpm/macros sets it (Erik van - Unset PKG_CONFIG_PATH because /usr/lib/rpm/macros sets it (Erik van
Pienbroek). Pienbroek).