162cecd
%{?mingw_package_header}
5f09a55
5f09a55
%global qt_module qtlocation
68fd5ac
#global pre beta
5f09a55
334ccf9
#global commit f28408346243cf090326f4738fd838219c21e00f
334ccf9
#global shortcommit %(c=%{commit}; echo ${c:0:7})
5f09a55
334ccf9
%if 0%{?commit:1}
334ccf9
%global source_folder %{qt_module}-%{commit}
5f09a55
%else
68fd5ac
%global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%{pre}}
5f09a55
%endif
5f09a55
78e6409
# first two digits of version
caaa229
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
78e6409
5f09a55
Name:           mingw-qt5-%{qt_module}
64979b0
Version:        5.15.9
64979b0
Release:        1%{?dist}
5f09a55
Summary:        Qt5 for Windows - QtLocation component
5f09a55
162cecd
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
5f09a55
License:        GPLv3 with exceptions or LGPLv2 with exceptions
334ccf9
URL:            http://qt.io/
5f09a55
334ccf9
%if 0%{?commit:1}
68fd5ac
Source0:        https://github.com/qt/%{qt_module}/archive/%{commit}/%{qt_module}-everywhere-src-%{commit}.tar.gz
5f09a55
%else
11cd3d6
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
5f09a55
%endif
4005845
# Fix int32_t not declared
4005845
Patch0:         qtlocation_cstdint.patch
5f09a55
5f09a55
BuildArch:      noarch
5f09a55
d347d23
BuildRequires:  make
d347d23
5f09a55
BuildRequires:  mingw32-filesystem >= 96
d347d23
BuildRequires:  mingw32-gcc-c++
605d704
BuildRequires:  mingw32-angleproject
334ccf9
BuildRequires:  mingw32-qt5-qtbase = %{version}
334ccf9
BuildRequires:  mingw32-qt5-qtdeclarative = %{version}
5f09a55
5f09a55
BuildRequires:  mingw64-filesystem >= 96
d347d23
BuildRequires:  mingw64-gcc-c++
605d704
BuildRequires:  mingw64-angleproject
334ccf9
BuildRequires:  mingw64-qt5-qtbase = %{version}
334ccf9
BuildRequires:  mingw64-qt5-qtdeclarative = %{version}
5f09a55
5f09a55
5f09a55
%description
5f09a55
This package contains the Qt software toolkit for developing
5f09a55
cross-platform applications.
5f09a55
5f09a55
This is the Windows version of Qt, for use in conjunction with the
5f09a55
Fedora Windows cross-compiler.
5f09a55
5f09a55
5f09a55
# Win32
5f09a55
%package -n mingw32-qt5-%{qt_module}
5f09a55
Summary:        Qt5 for Windows - QtLocation component
5f09a55
5f09a55
%description -n mingw32-qt5-%{qt_module}
5f09a55
This package contains the Qt software toolkit for developing
5f09a55
cross-platform applications.
5f09a55
5f09a55
This is the Windows version of Qt, for use in conjunction with the
5f09a55
Fedora Windows cross-compiler.
5f09a55
5f09a55
5f09a55
# Win64
5f09a55
%package -n mingw64-qt5-%{qt_module}
5f09a55
Summary:        Qt5 for Windows - QtLocation component
5f09a55
5f09a55
%description -n mingw64-qt5-%{qt_module}
5f09a55
This package contains the Qt software toolkit for developing
5f09a55
cross-platform applications.
5f09a55
5f09a55
This is the Windows version of Qt, for use in conjunction with the
5f09a55
Fedora Windows cross-compiler.
5f09a55
5f09a55
162cecd
%{?mingw_debug_package}
5f09a55
5f09a55
5f09a55
%prep
162cecd
%autosetup -p1 -n %{source_folder}
334ccf9
%if 0%{?commit:1}
334ccf9
# Make sure the syncqt tool is run when using a git snapshot
5f09a55
mkdir .git
5f09a55
%endif
5f09a55
5f09a55
5f09a55
%build
5f09a55
%mingw_qmake_qt5 ../%{qt_module}.pro
dba3c29
%mingw_make_build
5f09a55
5f09a55
5f09a55
%install
162cecd
%mingw_make install INSTALL_ROOT=%{buildroot}
5f09a55
5f09a55
5f09a55
# Win32
c2a38cf
%files -n mingw32-qt5-%{qt_module}
2b83ce2
%license LICENSE.LGPL* LICENSE.GPL*
78e6409
%{mingw32_bindir}/Qt5Location.dll
78e6409
%{mingw32_bindir}/Qt5Positioning.dll
8cb29ee
%{mingw32_bindir}/Qt5PositioningQuick.dll
5f09a55
%{mingw32_includedir}/qt5/QtLocation/
78e6409
%{mingw32_includedir}/qt5/QtPositioning/
8cb29ee
%{mingw32_includedir}/qt5/QtPositioningQuick/
e3d010c
%{mingw32_libdir}/*.prl
78e6409
%{mingw32_libdir}/libQt5Location.dll.a
78e6409
%{mingw32_libdir}/libQt5Positioning.dll.a
8cb29ee
%{mingw32_libdir}/libQt5PositioningQuick.dll.a
5f09a55
%{mingw32_libdir}/cmake/Qt5Location/
78e6409
%{mingw32_libdir}/cmake/Qt5Positioning/
8cb29ee
%{mingw32_libdir}/cmake/Qt5PositioningQuick/
78e6409
%{mingw32_libdir}/pkgconfig/Qt5Location.pc
78e6409
%{mingw32_libdir}/pkgconfig/Qt5Positioning.pc
8cb29ee
%{mingw32_libdir}/pkgconfig/Qt5PositioningQuick.pc
78e6409
%{mingw32_libdir}/qt5/plugins/geoservices/
78e6409
%{mingw32_libdir}/qt5/plugins/position/
605d704
%{mingw32_libdir}/qt5/qml/QtLocation/
605d704
%{mingw32_libdir}/qt5/qml/QtPositioning/
5f09a55
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_location.pri
78e6409
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_location_private.pri
78e6409
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioning.pri
78e6409
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioning_private.pri
8cb29ee
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick.pri
8cb29ee
%{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick_private.pri
5f09a55
5f09a55
# Win64
c2a38cf
%files -n mingw64-qt5-%{qt_module}
2b83ce2
%license LICENSE.LGPL* LICENSE.GPL*
78e6409
%{mingw64_bindir}/Qt5Location.dll
78e6409
%{mingw64_bindir}/Qt5Positioning.dll
8cb29ee
%{mingw64_bindir}/Qt5PositioningQuick.dll
5f09a55
%{mingw64_includedir}/qt5/QtLocation/
78e6409
%{mingw64_includedir}/qt5/QtPositioning/
8cb29ee
%{mingw64_includedir}/qt5/QtPositioningQuick/
e3d010c
%{mingw64_libdir}/*.prl
78e6409
%{mingw64_libdir}/libQt5Location.dll.a
78e6409
%{mingw64_libdir}/libQt5Positioning.dll.a
8cb29ee
%{mingw64_libdir}/libQt5PositioningQuick.dll.a
5f09a55
%{mingw64_libdir}/cmake/Qt5Location/
78e6409
%{mingw64_libdir}/cmake/Qt5Positioning/
8cb29ee
%{mingw64_libdir}/cmake/Qt5PositioningQuick/
78e6409
%{mingw64_libdir}/pkgconfig/Qt5Location.pc
78e6409
%{mingw64_libdir}/pkgconfig/Qt5Positioning.pc
8cb29ee
%{mingw64_libdir}/pkgconfig/Qt5PositioningQuick.pc
78e6409
%{mingw64_libdir}/qt5/plugins/geoservices/
78e6409
%{mingw64_libdir}/qt5/plugins/position/
605d704
%{mingw64_libdir}/qt5/qml/QtLocation/
605d704
%{mingw64_libdir}/qt5/qml/QtPositioning/
5f09a55
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_location.pri
78e6409
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_location_private.pri
78e6409
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioning.pri
78e6409
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioning_private.pri
8cb29ee
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick.pri
8cb29ee
%{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_positioningquick_private.pri
5f09a55
5f09a55
5f09a55
%changelog
64979b0
* Thu Apr 13 2023 Sandro Mani <manisandro@gmail.com> - 5.15.9-1
64979b0
- Update to 5.15.9
64979b0
1e9d07e
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.8-2
1e9d07e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
1e9d07e
ad13e4b
* Mon Jan 09 2023 Sandro Mani <manisandro@gmail.com> - 5.15.8-1
ad13e4b
- Update to 5.15.8
ad13e4b
120bbcf
* Fri Nov 04 2022 Sandro Mani <manisandro@gmail.com> - 5.15.7-1
120bbcf
- Update to 5.15.7
120bbcf
7ab9e08
* Thu Sep 22 2022 Sandro Mani <manisandro@gmail.com> - 5.15.6-1
7ab9e08
- Update to 5.15.6
7ab9e08
f111911
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.5-2
f111911
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
f111911
4e7e088
* Thu Jul 14 2022 Sandro Mani <manisandro@gmail.com> - 5.15.5-1
4e7e088
- Update to 5.15.5
4e7e088
df3f732
* Sat May 21 2022 Sandro Mani <manisandro@gmail.com> - 5.15.4-1
df3f732
- Update to 5.15.4
df3f732
d347d23
* Mon Mar 28 2022 Sandro Mani <manisandro@gmail.com> - 5.15.3-2
d347d23
- BR: mingw-gcc-c++
d347d23
74b17be
* Tue Mar 15 2022 Sandro Mani <manisandro@gmail.com> - 5.15.3-1
74b17be
- Update to 5.15.3
74b17be
359f49f
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-5
359f49f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
359f49f
d0dbf59
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-4
d0dbf59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d0dbf59
e3d010c
* Thu Apr 22 2021 Jan Blackquill <uhhadd@gmail.com> - 5.15.2-3
e3d010c
- Don't strip .prl files from build
e3d010c
38c16b6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.15.2-2
38c16b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
38c16b6
67b5607
* Mon Nov 23 18:35:08 CET 2020 Sandro Mani <manisandro@gmail.com> - 5.15.2-1
67b5607
- Update to 5.15.2
67b5607
caaa229
* Wed Oct  7 11:14:31 CEST 2020 Sandro Mani <manisandro@gmail.com> - 5.15.1-1
caaa229
- Update to 5.15.1
caaa229
50160fc
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.2-2
50160fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
50160fc
c8ad72f
* Wed Apr 08 2020 Sandro Mani <manisandro@gmail.com> - 5.14.2-1
c8ad72f
- Update to 5.14.2
c8ad72f
e7465d6
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.13.2-2
e7465d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e7465d6
7bfc847
* Mon Dec 16 2019 Sandro Mani <manisandro@gmail.com> - 5.13.2-1
7bfc847
- Update to 5.13.2
7bfc847
1254ba9
* Tue Oct 08 2019 Sandro Mani <manisandro@gmail.com> - 5.12.5-2
1254ba9
- Rebuild (Changes/Mingw32GccDwarf2)
1254ba9
65bebf9
* Thu Sep 26 2019 Sandro Mani <manisandro@gmail.com> - 5.12.5-1
65bebf9
- Update to 5.12.5
65bebf9
11ebd1e
* Tue Aug 27 2019 Sandro Mani <manisandro@gmail.com> - 5.12.4-3
11ebd1e
- Rebuild to fix pkg-config files (#1745257)
11ebd1e
bd14ac1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.12.4-2
bd14ac1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
bd14ac1
2ac15e1
* Thu Jul 18 2019 Sandro Mani <manisandro@gmail.com> - 5.12.4-1
2ac15e1
- Update to 5.12.4
2ac15e1
1d30f67
* Thu Apr 18 2019 Sandro Mani <manisandro@gmail.com> - 5.12.3-1
1d30f67
- Update to 5.12.3
1d30f67
89b3b61
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.3-2
89b3b61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
89b3b61
7c679ba
* Mon Jan 14 2019 Sandro Mani <manisandro@gmail.com> - 5.11.3-1
7c679ba
- Update to 5.11.3
7c679ba
bd99f06
* Sun Sep 23 2018 Sandro Mani <manisandro@gmail.com> - 5.11.2-1
bd99f06
- Update to 5.11.2
bd99f06
6910663
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.11.1-2
6910663
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6910663
7480fb8
* Wed Jun 20 2018 Sandro Mani <manisandro@gmail.com> - 5.11.1-1
7480fb8
- Update to 5.11.1
7480fb8
8cb29ee
* Wed May 30 2018 Sandro Mani <manisandro@gmail.com> - 5.11.0-1
8cb29ee
- Update to 5.11.0
8cb29ee
5bd9d40
* Fri Feb 16 2018 Sandro Mani <manisandro@gmail.com> - 5.10.1-1
5bd9d40
- Update to 5.10.1
5bd9d40
1dc4199
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.10.0-2
1dc4199
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1dc4199
68fd5ac
* Wed Dec 20 2017 Sandro Mani <manisandro@gmail.com> - 5.10.0-1
68fd5ac
- Update to 5.10.0
68fd5ac
f24625a
* Mon Nov 27 2017 Sandro Mani <manisandro@gmail.com> - 5.9.3-1
f24625a
- Update to 5.9.3
f24625a
38df136
* Wed Oct 11 2017 Sandro Mani <manisandro@gmail.com> - 5.9.2-1
38df136
- Update to 5.9.2
38df136
26736f9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9.1-2
26736f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
26736f9
605d704
* Fri Jun 30 2017 Sandro Mani <manisandro@gmail.com> - 5.9.1-1
605d704
- Update to 5.9.1
605d704
605d704
* Wed Jun 28 2017 Sandro Mani <manisandro@gmail.com> - 5.9.0-1
605d704
- Update to 5.9.0
605d704
5cf8864
* Tue May 09 2017 Sandro Mani <manisandro@gmail.com> - 5.8.0-2
5cf8864
- Rebuild for dropped 0022-Allow-usage-of-static-version-with-CMake.patch in qtbase
5cf8864
334ccf9
* Thu May 04 2017 Sandro Mani <manisandro@gmail.com> - 5.8.0-1
334ccf9
- Update to 5.8.0
334ccf9
7ca1701
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.7.1-2
7ca1701
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7ca1701
162cecd
* Sat Feb 04 2017 Sandro Mani <manisandro@gmail.com> - 5.7.1-1
162cecd
- Update to 5.7.1
162cecd
11b7420
* Thu Apr  7 2016 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.6.0-1
11b7420
- Update to 5.6.0
11b7420
2dc7d8c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.1-2
2dc7d8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2dc7d8c
308d8cf
* Wed Dec 30 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.5.1-1
308d8cf
- Update to 5.5.1
308d8cf
fd1ebd9
* Fri Aug  7 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.5.0-1
fd1ebd9
- Update to 5.5.0
fd1ebd9
- Removed BR: mingw{32,64}-qt5-qt3d as it is unneeded
eea1810
- Added BR: mingw{32,64}-qt5-qtquick1 which in fact is needed
fd1ebd9
daf3c4a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4.1-2
daf3c4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
daf3c4a
76d6db9
* Sun Mar 22 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4.1-1
76d6db9
- Update to 5.4.1
76d6db9
2ec2175
* Tue Dec 30 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.4.0-1
2ec2175
- Update to 5.4.0
2ec2175
e04c1bb
* Sat Sep 20 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.3.2-1
e04c1bb
- Update to 5.3.2
e04c1bb
9395235
* Tue Jul  8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.3.1-1
9395235
- Update to 5.3.1
9395235
8fabb87
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
8fabb87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8fabb87
6810461
* Sun May 25 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.3.0-1
6810461
- Update to 5.3.0
6810461
fc4f70a
* Sun Mar 30 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.1-2
fc4f70a
- Make sure we're built against mingw-qt5-qtbase >= 5.2.1 (RHBZ 1077213)
fc4f70a
1e63ce5
* Sat Feb  8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.1-1
1e63ce5
- Update to 5.2.1
1e63ce5
f6b29b4
* Sat Feb  8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-4
f6b29b4
- Previous commit caused .dll.a files to disappear
f6b29b4
50c4a00
* Sun Jan 12 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-3
50c4a00
- Don't carry .dll.debug files in main package
50c4a00
7130eea
* Wed Jan  8 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-2
7130eea
- Dropped manual rename of import libraries
7130eea
774d592
* Sun Jan  5 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-1
774d592
- Update to 5.2.0
774d592
78e6409
* Fri Nov 29 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.2.0-0.1.rc1
78e6409
- Update to 5.2.0 RC1
78e6409
5f09a55
* Fri Aug  2 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.6.git20130510.f2840834
5f09a55
- Dropped reference to unused patch
5f09a55
- Don't bundle .dll.debug files in the main packages
5f09a55
5f09a55
* Thu Jul 18 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.5.git20130510.f2840834
5f09a55
- Make sure the syncqt tool is run because we're using a git snapshot
5f09a55
5f09a55
* Fri May 10 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.4.git20130510.f2840834
5f09a55
- Update to 20130510 snapshot (rev f2840834)
5f09a55
5f09a55
* Fri Jan 11 2013 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.3.git20121112.ac83b242
5f09a55
- Update to ac83b242 snapshot (fixes compatibility with Qt 5.0.0 Final)
5f09a55
5f09a55
* Mon Nov 12 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.2.beta1.git20121112.8e6b5b08
5f09a55
- Update to 20121112 snapshot (rev 8e6b5b08)
5f09a55
- Rebuild against latest mingw-qt5-qtbase
5f09a55
- Dropped pkg-config rename hack as it's unneeded now
5f09a55
5f09a55
* Wed Sep 12 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 5.0.0-0.1.beta1
5f09a55
- Initial release
5f09a55