%{?mingw_package_header} %global qt_module qtlocation #global pre beta #global commit f28408346243cf090326f4738fd838219c21e00f #global shortcommit %(c=%{commit}; echo ${c:0:7}) %if 0%{?commit:1} %global source_folder %{qt_module}-%{commit} %else %global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%{pre}} %endif # first two digits of version %define release_version %(echo %{version} | awk -F. '{print $1"."$2}') Name: mingw-qt5-%{qt_module} Version: 5.15.6 Release: 1%{?dist} Summary: Qt5 for Windows - QtLocation component # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: GPLv3 with exceptions or LGPLv2 with exceptions URL: http://qt.io/ %if 0%{?commit:1} Source0: https://github.com/qt/%{qt_module}/archive/%{commit}/%{qt_module}-everywhere-src-%{commit}.tar.gz %else Source0: http://download.qt.io/%{?pre:development}%{?!pre:official}_releases/qt/%{release_version}/%{version}%{?pre:-%pre}/submodules/%{qt_module}-everywhere-opensource-src-%{version}%{?pre:-%pre}.tar.xz %endif # Fix int32_t not declared Patch0: qtlocation_cstdint.patch BuildArch: noarch BuildRequires: make BuildRequires: mingw32-filesystem >= 96 BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-angleproject BuildRequires: mingw32-qt5-qtbase = %{version} BuildRequires: mingw32-qt5-qtdeclarative = %{version} BuildRequires: mingw64-filesystem >= 96 BuildRequires: mingw64-gcc-c++ BuildRequires: mingw64-angleproject BuildRequires: mingw64-qt5-qtbase = %{version} BuildRequires: mingw64-qt5-qtdeclarative = %{version} %description This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the Fedora Windows cross-compiler. # Win32 %package -n mingw32-qt5-%{qt_module} Summary: Qt5 for Windows - QtLocation component %description -n mingw32-qt5-%{qt_module} This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the Fedora Windows cross-compiler. # Win64 %package -n mingw64-qt5-%{qt_module} Summary: Qt5 for Windows - QtLocation component %description -n mingw64-qt5-%{qt_module} This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the Fedora Windows cross-compiler. %{?mingw_debug_package} %prep %autosetup -p1 -n %{source_folder} %if 0%{?commit:1} # Make sure the syncqt tool is run when using a git snapshot mkdir .git %endif %build %mingw_qmake_qt5 ../%{qt_module}.pro %mingw_make_build %install %mingw_make install INSTALL_ROOT=%{buildroot} # Win32 %files -n mingw32-qt5-%{qt_module} %license LICENSE.LGPL* LICENSE.GPL* %{mingw32_bindir}/Qt5Location.dll %{mingw32_bindir}/Qt5Positioning.dll %{mingw32_bindir}/Qt5PositioningQuick.dll %{mingw32_includedir}/qt5/QtLocation/ %{mingw32_includedir}/qt5/QtPositioning/ %{mingw32_includedir}/qt5/QtPositioningQuick/ %{mingw32_libdir}/*.prl %{mingw32_libdir}/libQt5Location.dll.a %{mingw32_libdir}/libQt5Positioning.dll.a %{mingw32_libdir}/libQt5PositioningQuick.dll.a %{mingw32_libdir}/cmake/Qt5Location/ %{mingw32_libdir}/cmake/Qt5Positioning/ %{mingw32_libdir}/cmake/Qt5PositioningQuick/ %{mingw32_libdir}/pkgconfig/Qt5Location.pc %{mingw32_libdir}/pkgconfig/Qt5Positioning.pc %{mingw32_libdir}/pkgconfig/Qt5PositioningQuick.pc %{mingw32_libdir}/qt5/plugins/geoservices/ %{mingw32_libdir}/qt5/plugins/position/ %{mingw32_libdir}/qt5/qml/QtLocation/ %{mingw32_libdir}/qt5/qml/QtPositioning/ %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_location.pri %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_location_private.pri %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioning.pri %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioning_private.pri %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick.pri %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick_private.pri # Win64 %files -n mingw64-qt5-%{qt_module} %license LICENSE.LGPL* LICENSE.GPL* %{mingw64_bindir}/Qt5Location.dll %{mingw64_bindir}/Qt5Positioning.dll %{mingw64_bindir}/Qt5PositioningQuick.dll %{mingw64_includedir}/qt5/QtLocation/ %{mingw64_includedir}/qt5/QtPositioning/ %{mingw64_includedir}/qt5/QtPositioningQuick/ %{mingw64_libdir}/*.prl %{mingw64_libdir}/libQt5Location.dll.a %{mingw64_libdir}/libQt5Positioning.dll.a %{mingw64_libdir}/libQt5PositioningQuick.dll.a %{mingw64_libdir}/cmake/Qt5Location/ %{mingw64_libdir}/cmake/Qt5Positioning/ %{mingw64_libdir}/cmake/Qt5PositioningQuick/ %{mingw64_libdir}/pkgconfig/Qt5Location.pc %{mingw64_libdir}/pkgconfig/Qt5Positioning.pc %{mingw64_libdir}/pkgconfig/Qt5PositioningQuick.pc %{mingw64_libdir}/qt5/plugins/geoservices/ %{mingw64_libdir}/qt5/plugins/position/ %{mingw64_libdir}/qt5/qml/QtLocation/ %{mingw64_libdir}/qt5/qml/QtPositioning/ %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_location.pri %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_location_private.pri %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioning.pri %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioning_private.pri %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick.pri %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick_private.pri %changelog * Thu Sep 22 2022 Sandro Mani - 5.15.6-1 - Update to 5.15.6 * Thu Jul 21 2022 Fedora Release Engineering - 5.15.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Sandro Mani - 5.15.5-1 - Update to 5.15.5 * Sat May 21 2022 Sandro Mani - 5.15.4-1 - Update to 5.15.4 * Mon Mar 28 2022 Sandro Mani - 5.15.3-2 - BR: mingw-gcc-c++ * Tue Mar 15 2022 Sandro Mani - 5.15.3-1 - Update to 5.15.3 * Thu Jan 20 2022 Fedora Release Engineering - 5.15.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 5.15.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 22 2021 Jan Blackquill - 5.15.2-3 - Don't strip .prl files from build * Tue Jan 26 2021 Fedora Release Engineering - 5.15.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 23 18:35:08 CET 2020 Sandro Mani - 5.15.2-1 - Update to 5.15.2 * Wed Oct 7 11:14:31 CEST 2020 Sandro Mani - 5.15.1-1 - Update to 5.15.1 * Tue Jul 28 2020 Fedora Release Engineering - 5.14.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Apr 08 2020 Sandro Mani - 5.14.2-1 - Update to 5.14.2 * Wed Jan 29 2020 Fedora Release Engineering - 5.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 16 2019 Sandro Mani - 5.13.2-1 - Update to 5.13.2 * Tue Oct 08 2019 Sandro Mani - 5.12.5-2 - Rebuild (Changes/Mingw32GccDwarf2) * Thu Sep 26 2019 Sandro Mani - 5.12.5-1 - Update to 5.12.5 * Tue Aug 27 2019 Sandro Mani - 5.12.4-3 - Rebuild to fix pkg-config files (#1745257) * Thu Jul 25 2019 Fedora Release Engineering - 5.12.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jul 18 2019 Sandro Mani - 5.12.4-1 - Update to 5.12.4 * Thu Apr 18 2019 Sandro Mani - 5.12.3-1 - Update to 5.12.3 * Fri Feb 01 2019 Fedora Release Engineering - 5.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Sandro Mani - 5.11.3-1 - Update to 5.11.3 * Sun Sep 23 2018 Sandro Mani - 5.11.2-1 - Update to 5.11.2 * Fri Jul 13 2018 Fedora Release Engineering - 5.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 20 2018 Sandro Mani - 5.11.1-1 - Update to 5.11.1 * Wed May 30 2018 Sandro Mani - 5.11.0-1 - Update to 5.11.0 * Fri Feb 16 2018 Sandro Mani - 5.10.1-1 - Update to 5.10.1 * Thu Feb 08 2018 Fedora Release Engineering - 5.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Dec 20 2017 Sandro Mani - 5.10.0-1 - Update to 5.10.0 * Mon Nov 27 2017 Sandro Mani - 5.9.3-1 - Update to 5.9.3 * Wed Oct 11 2017 Sandro Mani - 5.9.2-1 - Update to 5.9.2 * Wed Jul 26 2017 Fedora Release Engineering - 5.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jun 30 2017 Sandro Mani - 5.9.1-1 - Update to 5.9.1 * Wed Jun 28 2017 Sandro Mani - 5.9.0-1 - Update to 5.9.0 * Tue May 09 2017 Sandro Mani - 5.8.0-2 - Rebuild for dropped 0022-Allow-usage-of-static-version-with-CMake.patch in qtbase * Thu May 04 2017 Sandro Mani - 5.8.0-1 - Update to 5.8.0 * Fri Feb 10 2017 Fedora Release Engineering - 5.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Feb 04 2017 Sandro Mani - 5.7.1-1 - Update to 5.7.1 * Thu Apr 7 2016 Erik van Pienbroek - 5.6.0-1 - Update to 5.6.0 * Thu Feb 04 2016 Fedora Release Engineering - 5.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Dec 30 2015 Erik van Pienbroek - 5.5.1-1 - Update to 5.5.1 * Fri Aug 7 2015 Erik van Pienbroek - 5.5.0-1 - Update to 5.5.0 - Removed BR: mingw{32,64}-qt5-qt3d as it is unneeded - Added BR: mingw{32,64}-qt5-qtquick1 which in fact is needed * Wed Jun 17 2015 Fedora Release Engineering - 5.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Mar 22 2015 Erik van Pienbroek - 5.4.1-1 - Update to 5.4.1 * Tue Dec 30 2014 Erik van Pienbroek - 5.4.0-1 - Update to 5.4.0 * Sat Sep 20 2014 Erik van Pienbroek - 5.3.2-1 - Update to 5.3.2 * Tue Jul 8 2014 Erik van Pienbroek - 5.3.1-1 - Update to 5.3.1 * Sat Jun 07 2014 Fedora Release Engineering - 5.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 25 2014 Erik van Pienbroek - 5.3.0-1 - Update to 5.3.0 * Sun Mar 30 2014 Erik van Pienbroek - 5.2.1-2 - Make sure we're built against mingw-qt5-qtbase >= 5.2.1 (RHBZ 1077213) * Sat Feb 8 2014 Erik van Pienbroek - 5.2.1-1 - Update to 5.2.1 * Sat Feb 8 2014 Erik van Pienbroek - 5.2.0-4 - Previous commit caused .dll.a files to disappear * Sun Jan 12 2014 Erik van Pienbroek - 5.2.0-3 - Don't carry .dll.debug files in main package * Wed Jan 8 2014 Erik van Pienbroek - 5.2.0-2 - Dropped manual rename of import libraries * Sun Jan 5 2014 Erik van Pienbroek - 5.2.0-1 - Update to 5.2.0 * Fri Nov 29 2013 Erik van Pienbroek - 5.2.0-0.1.rc1 - Update to 5.2.0 RC1 * Fri Aug 2 2013 Erik van Pienbroek - 5.0.0-0.6.git20130510.f2840834 - Dropped reference to unused patch - Don't bundle .dll.debug files in the main packages * Thu Jul 18 2013 Erik van Pienbroek - 5.0.0-0.5.git20130510.f2840834 - Make sure the syncqt tool is run because we're using a git snapshot * Fri May 10 2013 Erik van Pienbroek - 5.0.0-0.4.git20130510.f2840834 - Update to 20130510 snapshot (rev f2840834) * Fri Jan 11 2013 Erik van Pienbroek - 5.0.0-0.3.git20121112.ac83b242 - Update to ac83b242 snapshot (fixes compatibility with Qt 5.0.0 Final) * Mon Nov 12 2012 Erik van Pienbroek - 5.0.0-0.2.beta1.git20121112.8e6b5b08 - Update to 20121112 snapshot (rev 8e6b5b08) - Rebuild against latest mingw-qt5-qtbase - Dropped pkg-config rename hack as it's unneeded now * Wed Sep 12 2012 Erik van Pienbroek - 5.0.0-0.1.beta1 - Initial release