source: projects/specs/trunk/q/qt5-qtsensors/qt5-qtsensors-vl.spec @ 12375

Revision 12375, 7.8 KB checked in by tomop, 20 months ago (diff)

updated 23 packages

qt5-qt3d-5.12.8-1

qt5-qtbase-5.12.8-1

qt5-qtcanvas3d-5.12.8-1

qt5-qtconnectivity-5.12.8-1

qt5-qtdeclarative-5.12.8-1

qt5-qtdoc-5.12.8-1

qt5-qtgraphicaleffects-5.12.8-1

qt5-qtimageformats-5.12.8-1

qt5-qtlocation-5.12.8-1

qt5-qtmultimedia-5.12.8-1

qt5-qtquickcontrols-5.12.8-1

qt5-qtquickcontrols2-5.12.8-1

qt5-qtscript-5.12.8-1

qt5-qtsensors-5.12.8-1

qt5-qtserialport-5.12.8-1

qt5-qtsvg-5.12.8-1

qt5-qttools-5.12.8-1

qt5-qttranslations-5.12.8-1

qt5-qtwebchannel-5.12.8-1

qt5-qtwebengine-5.12.8-1

qt5-qtwebsockets-5.12.8-1

qt5-qtx11extras-5.12.8-1

qt5-qtxmlpatterns-5.12.8-1

qt5-5.12.8-1

Line 
1
2%global qt_module qtsensors
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 - Sensors component
22Name:    qt5-%{qt_module}
23Version: %{qt5_version}%{?qt5_patchlevel:.%{qt5_patchlevel}}
24Release: 1%{?_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# filter qml/plugin provides
36%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
37
38BuildRequires: cmake
39BuildRequires: qt5-rpm-macros
40BuildRequires: qt5-srpm-macros
41BuildRequires: qt5-qtbase-devel >= %{version}
42BuildRequires: qt5-qtbase-private-devel
43%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
44BuildRequires: qt5-qtdeclarative-devel
45
46%description
47The Qt Sensors API provides access to sensor hardware via QML and C++
48interfaces.  The Qt Sensors API also provides a motion gesture recognition
49API for devices.
50
51%package devel
52Summary: Development files for %{name}
53Requires: %{name}%{?_isa} = %{version}-%{release}
54Requires: qt5-qtbase-devel%{?_isa}
55%description devel
56%{summary}.
57
58%if 0%{?docs}
59%package doc
60Summary: API documentation for %{name}
61License: GFDL
62Requires: %{name} = %{version}-%{release}
63BuildRequires: qt5-qdoc
64BuildRequires: qt5-qhelpgenerator
65BuildArch: noarch
66%description doc
67%{summary}.
68%endif
69
70%package examples
71Summary: Programming examples for %{name}
72Requires: %{name}%{?_isa} = %{version}-%{release}
73%description examples
74%{summary}.
75
76
77%prep
78%setup -q -n %{qt_module}-everywhere-src-%{qt5_version}
79
80
81%build
82mkdir %{_target_platform}
83pushd %{_target_platform}
84%{qmake_qt5} ..
85
86make %{?_smp_mflags}
87
88%if 0%{?docs}
89make %{?_smp_mflags} docs
90%endif
91popd
92
93
94%install
95make install INSTALL_ROOT=%{buildroot} -C %{_target_platform}
96
97%if 0%{?docs}
98make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform}
99%endif
100
101## .prl/.la file love
102# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
103pushd %{buildroot}%{_qt5_libdir}
104for prl_file in libQt5*.prl ; do
105  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
106  if [ -f "$(basename ${prl_file} .prl).so" ]; then
107    rm -fv "$(basename ${prl_file} .prl).la"
108    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
109  fi
110done
111popd
112
113
114%post
115/sbin/ldconfig
116
117%postun
118/sbin/ldconfig
119
120%files
121%license LICENSE.*
122%{_qt5_libdir}/libQt5Sensors.so.5*
123%{_qt5_plugindir}/sensorgestures/
124%{_qt5_plugindir}/sensors/
125%{_qt5_archdatadir}/qml/QtSensors/
126%dir %{_qt5_libdir}/cmake/Qt5Sensors/
127%{_qt5_libdir}/cmake/Qt5Sensors/Qt5Sensors_*Plugin.cmake
128
129%files devel
130%{_qt5_headerdir}/QtSensors/
131%{_qt5_libdir}/libQt5Sensors.so
132%{_qt5_libdir}/libQt5Sensors.prl
133%{_qt5_libdir}/cmake/Qt5Sensors/Qt5SensorsConfig*.cmake
134%{_qt5_libdir}/pkgconfig/Qt5Sensors.pc
135%{_qt5_archdatadir}/mkspecs/modules/qt_lib_sensors*.pri
136
137%if 0%{?docs}
138%files doc
139%license LICENSE.FDL
140%{_qt5_docdir}/qtsensors.qch
141%{_qt5_docdir}/qtsensors/
142%endif
143
144%if 0%{?_qt5_examplesdir:1}
145%files examples
146%{_qt5_examplesdir}/
147%endif
148
149
150%changelog
151* Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.8-1
152- new upstream release.
153
154* Mon Mar 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.7-1
155- new upstream release.
156
157* Sun Oct 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.12.5-1
158- new upstream release.
159
160* Tue Jan 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.3-1
161- new upstream release.
162
163* Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.1.1-1
164- initial build for Vine Linux.
165- new upstream release.
166
167* Wed Jun 15 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-2
168- drop pkgconfig-style deps, BR: qt5-qtbase-private-devel
169
170* Thu Jun 09 2016 Jan Grulich <jgrulich@redhat.com> - 5.6.1-1
171- Update to 5.6.1
172
173* Sun Mar 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
174- rebuild
175
176* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-2
177- rebuild
178
179* Mon Mar 14 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-1
180- 5.6.0 final release
181
182* Tue Feb 23 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.9.rc
183- Update to final RC
184
185* Mon Feb 15 2016 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.8
186- Update RC release
187
188* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-0.7.beta
189- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
190
191* Mon Dec 28 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.6.beta
192- update source URL, BR: cmake, use %%license
193
194* Mon Dec 21 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.5
195- Update to final beta release
196
197* Fri Dec 11 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-0.4
198- restore bootstrap macro support
199- only BR: qt5-qdoc in -doc subpkg
200
201* Thu Dec 10 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.3
202- Official beta release
203
204* Sun Dec 06 2015 Rex Dieter <rdieter@fedoraproject.org> 5.6.0-0.2
205- restore bootstrap macro support
206
207* Tue Nov 03 2015 Helio Chissini de Castro <helio@kde.org> - 5.6.0-0.1
208- Start to implement 5.6.0 beta
209
210* Thu Oct 15 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-2
211- Update to final release 5.5.1
212
213* Tue Sep 29 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.1-1
214- Update to Qt 5.5.1 RC1
215
216* Wed Jul 29 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
217- -docs: BuildRequires: qt5-qhelpgenerator, standardize bootstrapping
218
219* Thu Jul 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-2
220- tighten qtbase dep (#1233829), (re)enable docs
221
222* Wed Jul 1 2015 Helio Chissini de Castro <helio@kde.org> 5.5.0-1
223- New final upstream release Qt 5.5.0
224
225* Thu Jun 25 2015 Helio Chissini de Castro <helio@kde.org> - 5.5.0-0.2.rc
226- Update for official RC1 released packages
227
228* Wed Jun 03 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-1
229- 5.4.2
230
231* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.4.1-3
232- Rebuilt for GCC 5 C++11 ABI change
233
234* Fri Feb 27 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-2
235- rebuild (gcc5)
236
237* Tue Feb 24 2015 Jan Grulich <jgrulich@redhat.com> 5.4.1-1
238- 5.4.1
239
240* Mon Feb 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-3
241- rebuild (gcc5)
242
243* Wed Dec 31 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-2
244- BR: pkgconfig(Qt5Qml) > 5.4.0 (#1177985)
245
246* Wed Dec 10 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-1
247- 5.4.0 (final)
248
249* Fri Nov 28 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.3.rc
250- 5.4.0-rc
251
252* Mon Nov 03 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.2.beta
253- out-of-tree build, use %%qmake_qt5
254
255* Sun Oct 19 2014 Rex Dieter <rdieter@fedoraproject.org> 5.4.0-0.1.beta
256- 5.4.0-beta
257
258* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> 5.3.2-1
259- 5.3.2
260
261* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
262- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
263
264* Tue Jun 17 2014 Jan Grulich <jgrulich@redhat.com> - 5.3.1-1
265- 5.3.1
266
267* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.0-2
268- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
269
270* Wed May 21 2014 Jan Grulich <jgrulich@redhat.com> 5.3.0-1
271- 5.3.0
272
273* Mon May 05 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-2
274- sanitize .prl files
275
276* Thu Feb 06 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.1-1
277- 5.2.1
278
279* Mon Jan 27 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-2
280- -examples subpkg
281
282* Thu Jan 02 2014 Rex Dieter <rdieter@fedoraproject.org> 5.2.0-1
283- first try
Note: See TracBrowser for help on using the repository browser.