-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-atk
Version: 1.23.5
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-iconv
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-cairo
Version: 1.7.4
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-libxml2
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-example
Version: 1.2.3
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 21
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
# Any additional BuildRequires.
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-fontconfig
Version: 2.6.0
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-freetype
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-freetype
Version: 2.3.7
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-zlib
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-gettext
Version: 0.17
BuildArch: noarch
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-gcc-c++
BuildRequires: mingw-binutils
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-glib2
Version: 2.18.0
Patch2: gio-2.16-only-pass-uri-to-gio-apps.patch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-iconv
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-gnutls
Version: 2.4.1
Patch0: gnutls-certtool-build.patch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-libgpg-error
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-gtk2
Version: 2.14.0
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-iconv
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-iconv
Version: 1.12
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-jasper
Version: 1.900.1
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-libjpeg
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-libgcrypt
Version: 1.4.1
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-libgpg-error
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-libgpg-error
Version: 1.6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 17
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-gettext
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-libjpeg
Version: 6b
URL: http://www.ijg.org/
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.gz
+Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v%{version}.tar.bz2
Source1: libjpeg-configure.in
Patch1: jpeg-c++.patch
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-libpng
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-libpng
Version: 1.2.31
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
-
+BuildRequires: mingw-zlib
%description
MinGW Windows Libpng library.
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-libvirt
Version: 0.4.5
Source0: ftp://libvirt.org/libvirt/libvirt-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-libgpg-error
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-libxml2
Version: 2.6.32
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-zlib
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-pango
Version: 1.21.6
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
BuildRequires: mingw-iconv
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-pixman
Version: 0.11.10
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-portablexdr
Version: 4.0.10
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 19
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils
%define __os_install_post /usr/lib/rpm/brp-compress %{nil}
%define runtime_version 3.14
-%define w32api_version 3.11
-Name: mingw-bootstrap
+Name: mingw-runtime-bootstrap
Version: 1
Release: 3%{?dist}
Summary: MinGW Windows bootstrap (binary package)
URL: http://www.mingw.org/
Source0: http://dl.sourceforge.net/sourceforge/mingw/mingw-runtime-%{runtime_version}.tar.gz
-Source1: http://dl.sourceforge.net/sourceforge/mingw/w32api-%{w32api_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: mingw-runtime = %{runtime_version}
-Provides: mingw-w32api = %{w32api_version}
%description
%prep
%setup -q -c
-%setup -q -D -T -a1
-
%build
rm -rf i686-pc-mingw32
-%include /usr/lib/rpm/mingw-defs
+
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-runtime
Version: 3.14
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 9
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-binutils
BuildRequires: mingw-gcc
-Requires: mingw-filesystem >= 9
+Requires: mingw-filesystem >= 23
Requires: mingw-binutils
Requires: mingw-gcc
# Once this is installed, mingw-bootstrap (binary bootstrapper) is no
# longer needed.
-Obsoletes: mingw-bootstrap
+Obsoletes: mingw-runtime-bootstrap
%description
--- /dev/null
+# NOTE: NOT a Fedora package. This contains binaries which are needed
+# just to bootstrap the whole system if you build everything from scratch.
+
+%define __os_install_post /usr/lib/rpm/brp-compress %{nil}
+
+%define w32api_version 3.11
+
+Name: mingw-w32api-bootstrap
+Version: 1
+Release: 3%{?dist}
+Summary: MinGW Windows bootstrap (binary package)
+
+Group: Development/Libraries
+License: Public Domain
+URL: http://www.mingw.org/
+
+Source0: http://dl.sourceforge.net/sourceforge/mingw/w32api-%{w32api_version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Provides: mingw-w32api = %{w32api_version}
+
+
+%description
+MinGW bootstrap (binary package).
+
+
+%prep
+%setup -q -c
+
+%build
+rm -rf i686-pc-mingw32
+
+# Setup sys-root.
+mkdir -p i686-pc-mingw32/sys-root/mingw
+cp -a include lib i686-pc-mingw32/sys-root/mingw
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT%{_prefix}
+cp -a i686-pc-mingw32 $RPM_BUILD_ROOT%{_prefix}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root)
+%dir %{_prefix}/i686-pc-mingw32
+%{_prefix}/i686-pc-mingw32/sys-root
+
+
+%changelog
+* Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 1-3
+- Initial RPM release.
-%include /usr/lib/rpm/mingw-defs
+
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-w32api
Version: 3.11
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 3
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-binutils
BuildRequires: mingw-gcc
BuildRequires: mingw-runtime
-Requires: mingw-filesystem >= 3
+Requires: mingw-filesystem >= 23
Requires: mingw-binutils
Requires: mingw-gcc
Requires: mingw-runtime
# Once this is installed, mingw-bootstrap (binary bootstrapper) is no
# longer needed.
-Obsoletes: mingw-bootstrap
+Obsoletes: mingw-w32api-bootstrap
#%define _use_internal_dependency_generator 0
#%define __debug_install_post %{nil}
-%include /usr/lib/rpm/mingw-defs
+
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
Name: mingw-zlib
Version: 1.2.3
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: mingw-filesystem >= 12
+BuildRequires: mingw-filesystem >= 23
BuildRequires: mingw-gcc
BuildRequires: mingw-binutils