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: Qt for Windows
13 Group: Development/Libraries
15 URL: http://www.qtsoftware.com/
16 Source0: ftp://ftp.trolltech.no/qt/source/qt-win-opensource-src-%{version}.zip
17 Source1: qt-win-configure.sh
19 # Qt-win is supplied with a binary configure.exe. Although we have source
20 # for this, (a) it can't be compiled on Linux, and (b) we cannot run
21 # the Windows binary during the build. Instead we run the command by
22 # hand and create this diff to record what it did.
24 # The full configure command we ran is in qt-win-configure.sh.
25 Patch0: qt-win-configure.patch
27 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
30 BuildRequires: mingw32-filesystem >= 35
31 BuildRequires: mingw32-gcc
32 BuildRequires: mingw32-binutils
34 # For the native qmake program.
35 BuildRequires: qt-devel
39 This package contains the Qt software toolkit for developing
40 cross-platform applications.
42 This is the Windows version of Qt, for use in conjunction with the
43 Fedora Windows cross-compiler.
47 %setup -q -n qt-win-opensource-src-%{version}
56 rm -rf $RPM_BUILD_ROOT
57 make DESTDIR=$RPM_BUILD_ROOT install
59 # Remove static libraries but DON'T remove *.dll.a files.
60 rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libfoo.a
64 rm -rf $RPM_BUILD_ROOT
70 %{_mingw32_bindir}/foo.dll
71 %{_mingw32_libdir}/foo.dll.a
76 * Sun Feb 1 2009 Richard W.M. Jones <rjones@redhat.com> - 4.4.3-1
77 - Initial RPM release.