|
|
5e70c3 |
|
|
|
5e70c3 |
%global qt_module qtlocation
|
|
|
5e70c3 |
|
|
|
5e70c3 |
# define to build docs, need to undef this for bootstrapping
|
|
|
5e70c3 |
# where qt5-qttools builds are not yet available
|
|
|
5e70c3 |
# only primary archs (for now), allow secondary to bootstrap
|
|
|
5e70c3 |
# global bootstrap 1
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%if ! 0%{?bootstrap}
|
|
|
5e70c3 |
%ifarch %{arm} %{ix86} x86_64
|
|
|
5e70c3 |
%define docs 1
|
|
|
5e70c3 |
%endif
|
|
|
5e70c3 |
%endif
|
|
|
5e70c3 |
|
|
|
5e70c3 |
Summary: Qt5 - Location component
|
|
|
5e70c3 |
Name: qt5-%{qt_module}
|
|
|
e94eab |
Version: 5.9.7
|
|
|
184432 |
Release: 1%{?dist}
|
|
|
5e70c3 |
|
|
|
5e70c3 |
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
|
5e70c3 |
License: LGPLv2 with exceptions or GPLv3 with exceptions
|
|
|
5e70c3 |
Url: http://www.qt.io
|
|
|
c6cf57 |
Source0: http://download.qt.io/official_releases/qt/5.9/%{version}/submodules/%{qt_module}-opensource-src-%{version}.tar.xz
|
|
|
c6cf57 |
|
|
|
c6cf57 |
# filter plugin/qml provides
|
|
|
c6cf57 |
%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
|
|
|
5e70c3 |
|
|
|
5e70c3 |
## upstreamable patches
|
|
|
5e70c3 |
# try to support older glib2 (like el6)
|
|
|
5e70c3 |
Patch50: qtlocation-opensource-src-5.6.0-G_VALUE_INIT.patch
|
|
|
5e70c3 |
|
|
|
5e70c3 |
BuildRequires: cmake
|
|
|
5e70c3 |
BuildRequires: qt5-qtbase-devel >= %{version}
|
|
|
c6cf57 |
BuildRequires: qt5-qtbase-private-devel
|
|
|
184432 |
BuildRequires: qt5-qtdeclarative-devel >= %{version}
|
|
|
5e70c3 |
|
|
|
c6cf57 |
BuildRequires: qt5-qtbase-private-devel
|
|
|
5e70c3 |
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
c6cf57 |
BuildRequires: qt5-qtdeclarative-devel >= 5.9.0
|
|
|
c6cf57 |
|
|
|
c6cf57 |
BuildRequires: pkgconfig(zlib)
|
|
|
c6cf57 |
BuildRequires: pkgconfig(icu-i18n)
|
|
|
c6cf57 |
BuildRequires: pkgconfig(libssl)
|
|
|
c6cf57 |
BuildRequires: pkgconfig(libcrypto)
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%description
|
|
|
5e70c3 |
The Qt Location and Qt Positioning APIs gives developers the ability to
|
|
|
5e70c3 |
determine a position by using a variety of possible sources, including
|
|
|
5e70c3 |
satellite, or wifi, or text file, and so on.
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%package devel
|
|
|
5e70c3 |
Summary: Development files for %{name}
|
|
|
5e70c3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
5e70c3 |
Requires: qt5-qtbase-devel%{?_isa}
|
|
|
5e70c3 |
%description devel
|
|
|
5e70c3 |
%{summary}.
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%if 0%{?docs}
|
|
|
5e70c3 |
%package doc
|
|
|
5e70c3 |
Summary: API documentation for %{name}
|
|
|
5e70c3 |
Requires: %{name} = %{version}-%{release}
|
|
|
5e70c3 |
BuildRequires: qt5-qdoc
|
|
|
5e70c3 |
BuildRequires: qt5-qhelpgenerator
|
|
|
5e70c3 |
BuildArch: noarch
|
|
|
5e70c3 |
%description doc
|
|
|
5e70c3 |
%{summary}.
|
|
|
5e70c3 |
%endif
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%package examples
|
|
|
5e70c3 |
Summary: Programming examples for %{name}
|
|
|
5e70c3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
5e70c3 |
%description examples
|
|
|
5e70c3 |
%{summary}.
|
|
|
5e70c3 |
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%prep
|
|
|
184432 |
%setup -q -n %{qt_module}-opensource-src-%{version}
|
|
|
5e70c3 |
## G_VALUE_INIT is new in glib-2.30+ only
|
|
|
5e70c3 |
%patch50 -p1 -b .G_VALUE_INIT
|
|
|
5e70c3 |
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%build
|
|
|
c6cf57 |
%{qmake_qt5}
|
|
|
5e70c3 |
|
|
|
5e70c3 |
make %{?_smp_mflags}
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%if 0%{?docs}
|
|
|
5e70c3 |
make %{?_smp_mflags} docs
|
|
|
5e70c3 |
%endif
|
|
|
5e70c3 |
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%install
|
|
|
c6cf57 |
make install INSTALL_ROOT=%{buildroot}
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%if 0%{?docs}
|
|
|
c6cf57 |
make install_docs INSTALL_ROOT=%{buildroot}
|
|
|
5e70c3 |
%endif
|
|
|
5e70c3 |
|
|
|
5e70c3 |
## .prl/.la file love
|
|
|
5e70c3 |
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
|
|
|
5e70c3 |
pushd %{buildroot}%{_qt5_libdir}
|
|
|
5e70c3 |
for prl_file in libQt5*.prl ; do
|
|
|
5e70c3 |
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
|
|
|
5e70c3 |
if [ -f "$(basename ${prl_file} .prl).so" ]; then
|
|
|
5e70c3 |
rm -fv "$(basename ${prl_file} .prl).la"
|
|
|
5e70c3 |
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
|
|
|
5e70c3 |
fi
|
|
|
5e70c3 |
done
|
|
|
5e70c3 |
popd
|
|
|
5e70c3 |
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%post -p /sbin/ldconfig
|
|
|
5e70c3 |
%postun -p /sbin/ldconfig
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%files
|
|
|
5e70c3 |
%license LGPL_EXCEPTION.txt LICENSE.GPL* LICENSE.LGPL*
|
|
|
5e70c3 |
%{_qt5_libdir}/libQt5Location.so.5*
|
|
|
5e70c3 |
%{_qt5_archdatadir}/qml/QtLocation/
|
|
|
5e70c3 |
%{_qt5_plugindir}/geoservices/
|
|
|
5e70c3 |
%{_qt5_libdir}/libQt5Positioning.so.5*
|
|
|
c6cf57 |
%dir %{_qt5_archdatadir}/qml/QtPositioning
|
|
|
c6cf57 |
%{_qt5_archdatadir}/qml/QtPositioning/*
|
|
|
5e70c3 |
%{_qt5_plugindir}/position/
|
|
|
5e70c3 |
%dir %{_qt5_libdir}/cmake/
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%files devel
|
|
|
5e70c3 |
%{_qt5_headerdir}/QtLocation/
|
|
|
5e70c3 |
%{_qt5_libdir}/libQt5Location.so
|
|
|
5e70c3 |
%{_qt5_libdir}/libQt5Location.prl
|
|
|
5e70c3 |
%{_qt5_headerdir}/QtPositioning/
|
|
|
5e70c3 |
%{_qt5_libdir}/libQt5Positioning.so
|
|
|
5e70c3 |
%{_qt5_libdir}/libQt5Positioning.prl
|
|
|
c6cf57 |
%{_qt5_libdir}/pkgconfig/Qt5Location.pc
|
|
|
c6cf57 |
%dir %{_qt5_libdir}/cmake/Qt5Location
|
|
|
c6cf57 |
%{_qt5_libdir}/cmake/Qt5Location/Qt5Location*.cmake
|
|
|
c6cf57 |
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_location*.pri
|
|
|
5e70c3 |
%{_qt5_libdir}/pkgconfig/Qt5Positioning.pc
|
|
|
c6cf57 |
%dir %{_qt5_libdir}/cmake/Qt5Positioning
|
|
|
c6cf57 |
%{_qt5_libdir}/cmake/Qt5Positioning/Qt5Positioning*.cmake
|
|
|
5e70c3 |
%{_qt5_archdatadir}/mkspecs/modules/qt_lib_positioning*.pri
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%if 0%{?docs}
|
|
|
5e70c3 |
%files doc
|
|
|
5e70c3 |
%license LICENSE.FDL
|
|
|
5e70c3 |
%{_qt5_docdir}/qtlocation.qch
|
|
|
5e70c3 |
%{_qt5_docdir}/qtlocation/
|
|
|
5e70c3 |
%{_qt5_docdir}/qtpositioning.qch
|
|
|
5e70c3 |
%{_qt5_docdir}/qtpositioning/
|
|
|
5e70c3 |
%endif
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%if 0%{?_qt5_examplesdir:1}
|
|
|
5e70c3 |
%files examples
|
|
|
5e70c3 |
%{_qt5_examplesdir}/
|
|
|
5e70c3 |
%endif
|
|
|
5e70c3 |
|
|
|
5e70c3 |
|
|
|
5e70c3 |
%changelog
|
|
|
e94eab |
* Thu Feb 07 2019 Jan Grulich <jgrulich@redhat.com> - 5.9.7-1
|
|
|
e94eab |
- Update to 5.9.7
|
|
|
e94eab |
Resolves: bz#1564008
|
|
|
e94eab |
|
|
|
c6cf57 |
* Fri Oct 06 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.2-1
|
|
|
c6cf57 |
- Update to 5.9.2
|
|
|
c6cf57 |
Resolves: bz#1482783
|
|
|
c6cf57 |
|
|
|
c6cf57 |
* Mon Aug 28 2017 Jan Grulich <jgrulich@redhat.com> - 5.9.1-1
|
|
|
c6cf57 |
- Update to 5.9.1
|
|
|
c6cf57 |
Resolves: bz#1482783
|
|
|
c6cf57 |
|
|
|
184432 |
* Wed Jan 11 2017 Jan Grulich <jgrulich@redhat.com> - 5.6.2-1
|
|
|
184432 |
- Update to 5.6.2
|
|
|
184432 |
Resolves: bz#1384822
|
|
|
184432 |
|
|
|
5e70c3 |
* Tue Aug 30 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-10
|
|
|
5e70c3 |
- Increase build version to have newer version than in EPEL
|
|
|
5e70c3 |
Resolves: bz#1317405
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Jun 08 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
|
|
|
5e70c3 |
- Update to 5.6.1
|
|
|
5e70c3 |
Resolves: bz#1317405
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Apr 13 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-5
|
|
|
5e70c3 |
- Enable documentation
|
|
|
5e70c3 |
Resolves: bz#1317405
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Thu Apr 07 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.0-4
|
|
|
5e70c3 |
- Initial version for RHEL
|
|
|
5e70c3 |
Resolves: bz#1317405
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
|
|
|
5e70c3 |
- rebuild
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
|
|
|
5e70c3 |
- rebuild
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
|
|
|
5e70c3 |
- 5.6.0 final release
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10.rc
|
|
|
5e70c3 |
- Update to final RC
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sun Feb 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.9.rc
|
|
|
5e70c3 |
- rebuild
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8
|
|
|
5e70c3 |
- Update RC release
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.7.beta
|
|
|
5e70c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta
|
|
|
5e70c3 |
- update source URL, use %%license, BR: cmake
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
|
|
|
5e70c3 |
- Update to final beta release
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.4
|
|
|
5e70c3 |
- (re) add bootstrap macro support
|
|
|
5e70c3 |
- drop geoclue(1) dep (unused at build time anyway (#1286886)
|
|
|
5e70c3 |
- drop (deprecated) gypsy support (#1069225)
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
|
|
|
5e70c3 |
- Official beta release
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
|
|
|
5e70c3 |
- (re)add bootstrap macro support
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
|
|
|
5e70c3 |
- Start to implement 5.6.0 beta
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
|
|
|
5e70c3 |
- Update to final release 5.5.1
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
|
|
|
5e70c3 |
- Update to Qt 5.5.1 RC1
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
|
|
|
5e70c3 |
- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
|
|
|
5e70c3 |
- tighten qtbase dep (#1233829), .spec cosmetics, (re)enable docs
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
|
|
|
5e70c3 |
- New final upstream release Qt 5.5.0
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
|
|
|
5e70c3 |
- Update for official RC1 released packages
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Jun 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
|
|
|
5e70c3 |
- Qt 5.5.0 RC1
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
|
|
|
5e70c3 |
- 5.4.2
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
|
|
|
5e70c3 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
|
|
|
5e70c3 |
- rebuild (gcc5)
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
|
|
|
5e70c3 |
- 5.4.1
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-3
|
|
|
5e70c3 |
- rebuild (gcc5)
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Dec 31 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
|
|
|
5e70c3 |
- BR: pkgconfig(Qt5Qml) > 5.4.0 (#1177986)
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
|
|
|
5e70c3 |
- 5.4.0 (final)
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
|
|
|
5e70c3 |
- 5.4.0-rc
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
|
|
|
5e70c3 |
- out-of-tree build, use %%qmake_qt5
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
|
|
|
5e70c3 |
- 5.4.0-beta
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
|
|
|
5e70c3 |
- 5.3.2
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
|
|
5e70c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
|
|
|
5e70c3 |
- 5.3.1
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
|
|
|
5e70c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
|
|
|
5e70c3 |
- 5.3.0
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
|
|
|
5e70c3 |
- sanitize .prl file(s)
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
|
|
|
5e70c3 |
- 5.2.1
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
|
|
|
5e70c3 |
- build -examples only when supported
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Sun Jan 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
|
|
|
5e70c3 |
- -examples subpkg
|
|
|
5e70c3 |
|
|
|
5e70c3 |
* Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
|
|
|
5e70c3 |
- first try
|