d28e84f
%{?mingw_package_header}
6777354
6777354
%global qt_module qtactiveqt
0c8c8e0
#global pre rc
6777354
e0f0e86
#global commit 435fac3bc7d12771a3c80556e748a2388e914cf7
e0f0e86
#global shortcommit %(c=%{commit}; echo ${c:0:7})
6777354
e0f0e86
%if 0%{?commit:1}
e0f0e86
%global source_folder %{qt_module}-%{commit}
6777354
%else
e5dcd3f
%global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%{pre}}
6777354
%endif
6777354
6777354
# first two digits of version
0738061
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
6777354
6777354
Name:           mingw-qt5-%{qt_module}
64b5fe3
Version:        5.15.2
0738061
Release:        1%{?dist}
6777354
Summary:        Qt5 for Windows - QtActiveQt component
6777354
6777354
License:        GPLv3 with exceptions or LGPLv2 with exceptions or BSD
6777354
URL:            http://qt.io/
6777354
e0f0e86
%if 0%{?commit:1}
e5dcd3f
Source0:        https://github.com/qt/%{qt_module}/archive/%{commit}/%{qt_module}-everywhere-src-%{commit}.tar.gz
6777354
%else
95514ea
Source0:        http://download.qt.io/%{?pre:development}%{?!pre:official}_releases/qt/%{release_version}/%{version}%{?pre:-%pre}/submodules/%{qt_module}-everywhere-src-%{version}%{?pre:-%pre}.tar.xz
6777354
%endif
6777354
6777354
BuildArch:      noarch
938d859
BuildRequires: make
0c8c8e0
BuildRequires:  gcc-c++
6777354
6777354
BuildRequires:  mingw32-filesystem >= 96
e0f0e86
BuildRequires:  mingw32-qt5-qtbase = %{version}
6777354
6777354
BuildRequires:  mingw64-filesystem >= 96
e0f0e86
BuildRequires:  mingw64-qt5-qtbase = %{version}
6777354
6777354
# Don't try to build stuff which requires windows.h with the native Linux gcc
0c8c8e0
Patch0:         qtactiveqt-fix-host-build.patch
6777354
6777354
# dumpcpp and MetaObjectGenerator::readClassInfo do not handle win64
6777354
# https://bugreports.qt.io/browse/QTBUG-46827
0c8c8e0
Patch1:         qtactiveqt-win64.patch
6777354
0c8c8e0
# qt_sendSpontaneousEvent is not part of libQt5Core.a?!
0c8c8e0
Patch2:         qtactiveqt-spontaneous-event.patch
e0f0e86
6777354
6777354
%description
6777354
This package contains the Qt software toolkit for developing
6777354
cross-platform applications.
6777354
6777354
This is the Windows version of Qt, for use in conjunction with the
6777354
Fedora Windows cross-compiler.
6777354
6777354
6777354
# Win32
6777354
%package -n mingw32-qt5-%{qt_module}
6777354
Summary:        Qt5 for Windows - QtActiveQt component
6777354
6777354
%description -n mingw32-qt5-%{qt_module}
6777354
This package contains the Qt software toolkit for developing
6777354
cross-platform applications.
6777354
6777354
This is the Windows version of Qt, for use in conjunction with the
6777354
Fedora Windows cross-compiler.
6777354
6777354
6777354
# Win64
6777354
%package -n mingw64-qt5-%{qt_module}
6777354
Summary:        Qt5 for Windows - QtActiveQt component
6777354
6777354
%description -n mingw64-qt5-%{qt_module}
6777354
This package contains the Qt software toolkit for developing
6777354
cross-platform applications.
6777354
6777354
This is the Windows version of Qt, for use in conjunction with the
6777354
Fedora Windows cross-compiler.
6777354
6777354
e0f0e86
%{?mingw_debug_package}
6777354
6777354
6777354
%prep
d28e84f
%autosetup -p1 -n %{source_folder}
e0f0e86
%if 0%{?commit:1}
e0f0e86
# Make sure the syncqt tool is run when using a git snapshot
e0f0e86
mkdir .git
e0f0e86
%endif
6777354
6777354
6777354
%build
6777354
%mingw_qmake_qt5 ../%{qt_module}.pro
b1ba07c
%mingw_make_build
6777354
6777354
6777354
%install
d28e84f
%mingw_make install INSTALL_ROOT=%{buildroot}
6777354
6777354
# .prl files aren't interesting for us
d28e84f
find %{buildroot} -name "*.prl" -delete
6777354
6777354
6777354
# Win32
6777354
%files -n mingw32-qt5-%{qt_module}
853dcea
%license LICENSE.GPL3-EXCEPT
6777354
%{mingw32_bindir}/dumpcpp.exe
6777354
%{mingw32_bindir}/dumpdoc.exe
6777354
%{mingw32_bindir}/idc.exe
6777354
%{mingw32_bindir}/testcon.exe
6777354
%{mingw32_includedir}/qt5/ActiveQt/
6777354
%{mingw32_libdir}/libQt5AxBase.a
6777354
%{mingw32_libdir}/libQt5AxContainer.a
6777354
%{mingw32_libdir}/libQt5AxServer.a
2dde386
%{mingw32_libdir}/cmake/Qt5AxBase/
2dde386
%{mingw32_libdir}/cmake/Qt5AxContainer/
2dde386
%{mingw32_libdir}/cmake/Qt5AxServer/
2dde386
%{mingw32_libdir}/pkgconfig/Qt5AxBase.pc
2dde386
%{mingw32_libdir}/pkgconfig/Qt5AxContainer.pc
2dde386
%{mingw32_libdir}/pkgconfig/Qt5AxServer.pc
6777354
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_axbase.pri
6777354
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_axbase_private.pri
6777354
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_axcontainer.pri
6777354
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_axcontainer_private.pri
6777354
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_axserver.pri
6777354
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_axserver_private.pri
6777354
6777354
# Win64
6777354
%files -n mingw64-qt5-%{qt_module}
853dcea
%license LICENSE.GPL3-EXCEPT
6777354
%{mingw64_bindir}/dumpcpp.exe
6777354
%{mingw64_bindir}/dumpdoc.exe
6777354
%{mingw64_bindir}/idc.exe
6777354
%{mingw64_bindir}/testcon.exe
6777354
%{mingw64_includedir}/qt5/ActiveQt/
6777354
%{mingw64_libdir}/libQt5AxBase.a
6777354
%{mingw64_libdir}/libQt5AxContainer.a
6777354
%{mingw64_libdir}/libQt5AxServer.a
2dde386
%{mingw64_libdir}/cmake/Qt5AxBase/
2dde386
%{mingw64_libdir}/cmake/Qt5AxContainer/
2dde386
%{mingw64_libdir}/cmake/Qt5AxServer/
2dde386
%{mingw64_libdir}/pkgconfig/Qt5AxBase.pc
2dde386
%{mingw64_libdir}/pkgconfig/Qt5AxContainer.pc
2dde386
%{mingw64_libdir}/pkgconfig/Qt5AxServer.pc
6777354
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_axbase.pri
6777354
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_axbase_private.pri
6777354
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_axcontainer.pri
6777354
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_axcontainer_private.pri
6777354
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_axserver.pri
6777354
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_axserver_private.pri
6777354
6777354
6777354
%changelog
64b5fe3
* Mon Nov 23 16:47:54 CET 2020 Sandro Mani <manisandro@gmail.com> - 5.15.2-1
64b5fe3
- Update to 5.15.2
64b5fe3
0738061
* Tue Oct 06 2020 Sandro Mani <manisandro@gmail.com> - 5.15.1-1
0738061
- Update to 5.15.1
0738061
607361b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-3
607361b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
607361b
757196f
* Mon Apr 13 2020 Sandro Mani <manisandro@gmail.com> - 5.14.2-2
757196f
- Rebuild for fixed create_cmake.prf in qtbase
757196f
8e00809
* Tue Apr 07 2020 Sandro Mani <manisandro@gmail.com> - 5.14.2-1
8e00809
- Update to 5.14.2
8e00809
b3e4270
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.2-2
b3e4270
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b3e4270
be1774f
* Wed Dec 11 2019 Sandro Mani <manisandro@gmail.com> - 5.13.2-1
be1774f
- Update to 5.13.2
be1774f
1ae61d6
* Tue Oct 08 2019 Sandro Mani <manisandro@gmail.com> - 5.12.5-2
1ae61d6
- Rebuild (Changes/Mingw32GccDwarf2)
1ae61d6
f8ca0c5
* Wed Sep 25 2019 Sandro Mani <manisandro@gmail.com> - 5.12.5-1
f8ca0c5
- Update to 5.12.5
f8ca0c5
127438b
* Mon Aug 26 2019 Sandro Mani <manisandro@gmail.com> - 5.12.4-3
127438b
- Rebuild to fix pkg-config files (#1745257)
127438b
34ea20e
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
34ea20e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
34ea20e
ba6ce68
* Tue Jul 16 2019 Sandro Mani <manisandro@gmail.com> - 5.12.4-1
ba6ce68
- Update to 5.12.4
ba6ce68
0c8c8e0
* Wed Apr 17 2019 Sandro Mani <manisandro@gmail.com> - 5.12.3-1
0c8c8e0
- Update to 5.12.3
0c8c8e0
ecc87ec
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
ecc87ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ecc87ec
21c3286
* Mon Jan 14 2019 Sandro Mani <manisandro@gmail.com> - 5.11.3-1
21c3286
- Update to 5.11.3
21c3286
67d4ef3
* Sat Sep 22 2018 Sandro Mani <manisandro@gmail.com> - 5.11.2-1
67d4ef3
- Update to 5.11.2
67d4ef3
fd6b1a8
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-2
fd6b1a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fd6b1a8
22abc1e
* Tue Jun 19 2018 Sandro Mani <manisandro@gmail.com> - 5.11.1-1
22abc1e
- Update to 5.11.1
22abc1e
9196421
* Wed May 30 2018 Sandro Mani <manisandro@gmail.com> - 5.11.0-1
9196421
- Update to 5.11.0
9196421
7d8d2ae
* Thu Feb 15 2018 Sandro Mani <manisandro@gmail.com> - 5.10.1-1
7d8d2ae
- Update to 5.10.1
7d8d2ae
50068c6
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
50068c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
50068c6
e5dcd3f
* Wed Dec 20 2017 Sandro Mani <manisandro@gmail.com> - 5.10.0-1
e5dcd3f
- Update to 5.10.0
e5dcd3f
50e6e57
* Mon Nov 27 2017 Sandro Mani <manisandro@gmail.com> - 5.9.3-1
50e6e57
- Update to 5.9.3
50e6e57
c774d66
* Tue Oct 10 2017 Sandro Mani <manisandro@gmail.com> - 5.9.2-1
c774d66
- Update to 5.9.2
c774d66
f9e026d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
f9e026d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f9e026d
853dcea
* Fri Jun 30 2017 Sandro Mani <manisandro@gmail.com> - 5.9.1-1
853dcea
- Update to 5.9.1
853dcea
853dcea
* Wed Jun 28 2017 Sandro Mani <manisandro@gmail.com> - 5.9.0-1
853dcea
- Update to 5.9.0
853dcea
2dde386
* Tue May 09 2017 Sandro Mani <manisandro@gmail.com> - 5.8.0-2
2dde386
- Rebuild for dropped 0022-Allow-usage-of-static-version-with-CMake.patch in qtbase
2dde386
e0f0e86
* Thu May 04 2017 Sandro Mani <manisandro@gmail.com> - 5.8.0-1
e0f0e86
- Update to 5.8.0
e0f0e86
34fcdd2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.1-2
34fcdd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
34fcdd2
d28e84f
* Fri Feb 03 2017 Sandro Mani <manisandro@gmail.com> - 5.7.1-1
d28e84f
- Update to 5.7.1
d28e84f
f8d140c
* Sun Apr 10 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.6.0-1
f8d140c
- Update to 5.6.0
f8d140c
c011822
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.1-2
c011822
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c011822
c294b73
* Wed Dec 30 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.5.1-1
c294b73
- Update to 5.5.1
c294b73
41629b8
* Fri Aug  7 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.5.0-1
41629b8
- Update to 5.5.0
41629b8
6777354
* Sat Jun 27 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4.2-1
6777354
- Update to 5.4.2
6777354
- Changed URL to http://qt.io/
6777354
- Use the %%license tag and use BSD license
6777354
- dumpcpp and MetaObjectGenerator::readClassInfo do not handle win64 (QTBUG-46827)
6777354
6777354
* Tue Mar 24 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4.1-1
6777354
- Update to 5.4.1
6777354
6777354
* Thu Jan  1 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4.0-1
6777354
- Update to 5.4.0
6777354
6777354
* Sun May 25 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.3.0-1
6777354
- Update to 5.3.0
6777354
6777354
* Sat Feb  8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.1-1
6777354
- Update to 5.2.1
6777354
6777354
* Fri Jan 10 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-2
6777354
- Added license files
6777354
6777354
* Sun Jan  5 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-1
6777354
- Update to 5.2.0
6777354
6777354
* Fri Nov 29 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-0.1.rc1
6777354
- Update to 5.2.0 RC1
6777354
6777354
* Sun Jul 14 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.1.0-1
6777354
- Update to 5.1.0
6777354
6777354
* Fri May 10 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.2-1
6777354
- Update to 5.0.2
6777354
6777354
* Sat Feb  9 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.1-1
6777354
- Update to 5.0.1
6777354
6777354
* Thu Jan  3 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-1
6777354
- Update to 5.0.0 Final
6777354
6777354
* Sun Nov 11 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.2.beta1.git20121111.435fac3b
6777354
- Update to 20121111 snapshot (rev 4cbcad7f)
6777354
- Rebuild against latest mingw-qt5-qtbase
6777354
6777354
* Mon Sep 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.1.beta1
6777354
- Initial release
6777354