source: projects/specs/trunk/q/qt5-qtlocation/qt5-qtlocation-vl.spec @ 12386

Revision 12386, 9.7 KB checked in by tomop, 19 months ago (diff)

updated 15 packages

epiphany-3.30.5-3

evolution-data-server-3.30.5-3

harfbuzz-2.6.4-2

icu-67.1-1

libvisio-0.1.7-3

php74-7.4.5-2

postfix-3.5.1-2

qt5-qtbase-5.12.8-2

qt5-qtlocation-5.12.8-2

qt5-qtwebengine-5.12.8-2

samba-4.12.1-2

tracker-miners-2.3.3-2

tracker-2.3.4-1

webkitgtk4-2.28.1-1

xfsprogs-5.6.0-1

Line 
1
2%global qt_module qtlocation
3
4# define to build docs, need to undef this for bootstrapping
5# where qt5-qttools builds are not yet available
6# only primary archs (for now), allow secondary to bootstrap
7#global bootstrap 1
8
9%if ! 0%{?bootstrap}
10%ifarch %{arm} %{ix86} x86_64
11#define docs 1
12%endif
13%endif
14
15#define prerelease
16
17%global qt5_minorver 5.12
18%global qt5_version 5.12.8
19#global qt5_patchlevel 1
20
21Summary: Qt5 - Location component
22Name:    qt5-%{qt_module}
23Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
24Release: 2%{?_dist_release}
25
26# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
27License: LGPLv2 with exceptions or GPLv3 with exceptions
28Url:     https://www.qt.io/
29
30Vendor: Project Vine
31Distribution: Vine Linux
32
33Source0: https://download.qt.io/official_releases/qt/%{qt5_minorver}/%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}/submodules/%{qt_module}-everywhere-src-%{qt5_version}%{?qt5_patchlevel:-%{qt5_patchlevel}}.tar.xz
34
35# build failure with gcc10
36# various C++ runtime headers indirectly included <string> which in turn
37# included <local> and <cerrno>.  Those indirect inclusions have been
38# eliminated which in turn forces packages to include the C++ headers they
39# actually need.
40Patch0: qtlocation-gcc10.patch
41
42# filter plugin/qml provides
43%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugind
44ir}/.*\\.so)$
45
46BuildRequires: cmake
47BuildRequires: qt5-rpm-macros
48BuildRequires: qt5-srpm-macros
49BuildRequires: qt5-qtbase-devel >= %{version}
50BuildRequires: qt5-qtdeclarative-devel >= %{version}
51
52# QtPositioning core-private
53BuildRequires:  qt5-qtbase-private-devel
54%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
55
56BuildRequires: pkgconfig(icu-i18n)
57BuildRequires: openssl-devel
58BuildRequires: zlib-devel
59
60%description
61The Qt Location and Qt Positioning APIs gives developers the ability to
62determine a position by using a variety of possible sources, including
63satellite, or wifi, or text file, and so on.
64
65%package devel
66Summary: Development files for %{name}
67Requires: %{name}%{?_isa} = %{version}-%{release}
68Requires: qt5-qtbase-devel%{?_isa}
69%description devel
70%{summary}.
71
72%if 0%{?docs}
73%package doc
74Summary: API documentation for %{name}
75Requires: %{name} = %{version}-%{release}
76BuildRequires: qt5-qdoc
77BuildRequires: qt5-qhelpgenerator
78BuildArch: noarch
79%description doc
80%{summary}.
81%endif
82
83%package examples
84Summary: Programming examples for %{name}
85Requires: %{name}%{?_isa} = %{version}-%{release}
86%description examples
87%{summary}.
88
89
90%debug_package
91
92
93%prep
94%setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
95%patch0 -p1 -b .gcc10
96
97%build
98mkdir %{_target_platform}
99pushd %{_target_platform}
100%{qmake_qt5} ..
101
102make %{?_smp_mflags}
103
104%if 0%{?docs}
105make %{?_smp_mflags} docs
106%endif
107popd
108
109
110%install
111make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
112
113%if 0%{?docs}
114make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
115%endif
116
117## .prl/.la file love
118# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
119pushd %{buildroot}%{_qt5_libdir}
120for prl_file in libQt5*.prl ; do
121  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
122  if [ -f "$(basename ${prl_file} .prl).so" ]; then
123    rm -fv "$(basename ${prl_file} .prl).la"
124    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
125  fi
126done
127popd
128
129
130%post -p /sbin/ldconfig
131%postun -p /sbin/ldconfig
132
133%files
134%license LICENSE.GPL* LICENSE.LGPL*
135%{_qt5_libdir}/libQt5Location.so.5*
136%{_qt5_archdatadir}/qml/QtLocation/
137%{_qt5_plugindir}/geoservices/
138%{_qt5_libdir}/libQt5Positioning.so.5*
139%dir %{_qt5_archdatadir}/qml/QtPositioning
140%{_qt5_archdatadir}/qml/QtPositioning/*
141%{_qt5_plugindir}/position/
142%{_qt5_libdir}/libQt5PositioningQuick.so.5*
143%dir %{_qt5_archdatadir}/qml/Qt
144%dir %{_qt5_archdatadir}/qml/Qt/labs
145%{_qt5_archdatadir}/qml/Qt/labs/location
146
147%files devel
148%{_qt5_headerdir}/QtLocation/
149%{_qt5_libdir}/libQt5Location.so
150%{_qt5_libdir}/libQt5Location.prl
151%{_qt5_headerdir}/QtPositioning/
152%{_qt5_libdir}/libQt5Positioning.so
153%{_qt5_libdir}/libQt5Positioning.prl
154%{_qt5_headerdir}/QtPositioningQuick/
155%{_qt5_libdir}/libQt5PositioningQuick.so
156%{_qt5_libdir}/libQt5PositioningQuick.prl
157%{_qt5_libdir}/pkgconfig/Qt5Location.pc
158%dir %{_qt5_libdir}/cmake/Qt5Location
159%{_qt5_libdir}/cmake/Qt5Location/Qt5Location*.cmake
160%{_qt5_archdatadir}/mkspecs/modules/qt_lib_location*.pri
161%{_qt5_libdir}/pkgconfig/Qt5Positioning.pc
162%dir %{_qt5_libdir}/cmake/Qt5Positioning
163%{_qt5_libdir}/cmake/Qt5Positioning/Qt5Positioning*.cmake
164%{_qt5_archdatadir}/mkspecs/modules/qt_lib_positioning*.pri
165%{_qt5_libdir}/pkgconfig/Qt5PositioningQuick.pc
166%dir %{_qt5_libdir}/cmake/Qt5PositioningQuick/
167%{_qt5_libdir}/cmake/Qt5PositioningQuick/Qt5PositioningQuick*.cmake
168%{_qt5_archdatadir}/mkspecs/modules/qt_lib_positioning*.pri
169
170%if 0%{?docs}
171%files doc
172%license LICENSE.FDL
173%{_qt5_docdir}/qtlocation.qch
174%{_qt5_docdir}/qtlocation/
175%{_qt5_docdir}/qtpositioning.qch
176%{_qt5_docdir}/qtpositioning/
177%endif
178
179%if 0%{?_qt5_examplesdir:1}
180%files examples
181%{_qt5_examplesdir}/
182%endif
183
184
185%changelog
186* Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-2
187- rebuilt with icu-67.
188
189* Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
190- new upstream release.
191
192* Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
193- new upstream release.
194
195* Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
196- new upstream release.
197
198* Tue Jan 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.3-1
199- new upstream release.
200
201* Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
202- initial build for Vine Linux.
203- new upstream release.
204
205* Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
206- drop pkgconfig-style Qt5 deps
207
208* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
209- Update to 5.6.1
210
211* Thu Apr 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-4
212- BR: qt5-qtbase-private-devel
213
214* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
215- rebuild
216
217* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
218- rebuild
219
220* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
221- 5.6.0 final release
222
223* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.10.rc
224- Update to final RC
225
226* Sun Feb 21 2016 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.9.rc
227- rebuild
228
229* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8
230- Update RC release
231
232* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.7.beta
233- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
234
235* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta
236- update source URL, use %%license, BR: cmake
237
238* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
239- Update to final beta release
240
241* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.4
242- (re) add bootstrap macro support
243- drop geoclue(1) dep (unused at build time anyway (#1286886)
244- drop (deprecated) gypsy support (#1069225)
245
246* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
247- Official beta release
248
249* Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
250- (re)add bootstrap macro support
251
252* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
253- Start to implement 5.6.0 beta
254
255* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
256- Update to final release 5.5.1
257
258* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
259- Update to Qt 5.5.1 RC1
260
261* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
262- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
263
264* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
265- tighten qtbase dep (#1233829), .spec cosmetics, (re)enable docs
266
267* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
268- New final upstream release Qt 5.5.0
269
270* Wed Jun 24 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
271- Update for official RC1 released packages
272
273* Mon Jun 15 2015 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-0.1.rc
274- Qt 5.5.0 RC1
275
276* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
277- 5.4.2
278
279* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
280- Rebuilt for GCC 5 C++11 ABI change
281
282* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
283- rebuild (gcc5)
284
285* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
286- 5.4.1
287
288* Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-3
289- rebuild (gcc5)
290
291* Wed Dec 31 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
292- BR: pkgconfig(Qt5Qml) > 5.4.0 (#1177986)
293
294* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
295- 5.4.0 (final)
296
297* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
298- 5.4.0-rc
299
300* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
301- out-of-tree build, use %%qmake_qt5
302
303* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
304- 5.4.0-beta
305
306* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
307- 5.3.2
308
309* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
310- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
311
312* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
313- 5.3.1
314
315* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
316- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
317
318* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
319- 5.3.0
320
321* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
322- sanitize .prl file(s)
323
324* Wed Feb 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
325- 5.2.1
326
327* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-3
328- build -examples only when supported
329
330* Sun Jan 26 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
331- -examples subpkg
332
333* Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
334- first try
Note: See TracBrowser for help on using the repository browser.