/[packages]/cauldron/qt5/current/SPECS/qt5.spec
ViewVC logotype

Contents of /cauldron/qt5/current/SPECS/qt5.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279806 - (show annotations) (download)
Tue Aug 7 18:47:12 2012 UTC (11 years, 8 months ago) by neoclust
File size: 79474 byte(s)
SILENT: Fix file list
1 %define _default_patch_fuzz 1
2 %define _disable_exceptions 1
3 # (nl) Use a separate qtwebkit build for now.
4 %define with_webkit 0
5 %define build_bootstrap 0
6 %{?_with_bootstrap: %{expand: %%global build_bootstrap 1}}
7
8 %bcond_without postgres
9 %bcond_without mysql
10 %bcond_without sqlite
11 %bcond_without tds
12 %bcond_without cups
13 %bcond_with qvfb
14 %bcond_without docs
15 %bcond_without odbc
16
17 %bcond_with debug
18 %bcond_with ibase
19 %if %{build_bootstrap}
20 %bcond_without local_phonon_package
21 %else
22 %bcond_with local_phonon_package
23 %endif
24
25 %define qtmajor 5
26 %define qtminor 0
27 %define qtsubminor 0
28 %define rel 0.beta.1
29
30 %define major_private 1
31 %define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor}
32
33 %define libqt %mklibname qt %qtmajor
34 %define libqtdevel %mklibname qt %qtmajor -d
35
36 %define libqtcore %mklibname qtcore %qtmajor
37 %define libqtcore_d %mklibname qtcore %qtmajor -d
38
39 #define libqtdesigner %mklibname qtdesigner %qtmajor
40 #define libqtdesigner_d %mklibname qtdesigner %qtmajor -d
41
42 %define libqtgui %mklibname qtgui %qtmajor
43 %define libqtgui_d %mklibname qtgui %qtmajor -d
44
45 %define libqtnetwork %mklibname qtnetwork %qtmajor
46 %define libqtnetwork_d %mklibname qtnetwork %qtmajor -d
47
48 %define libqtopengl %mklibname qtopengl %qtmajor
49 %define libqtopengl_d %mklibname qtopengl %qtmajor -d
50
51 %define libqtsql %mklibname qtsql %qtmajor
52 %define libqtsql_d %mklibname qtsql %qtmajor -d
53
54 %define libqtxml %mklibname qtxml %qtmajor
55 %define libqtxml_d %mklibname qtxml %qtmajor -d
56
57 %define libqtscripttools %mklibname qtscripttools %qtmajor
58 %define libqtscripttools_d %mklibname qtscripttools %qtmajor -d
59
60 %define libqtxmlpatterns %mklibname qtxmlpatterns %qtmajor
61 %define libqtxmlpatterns_d %mklibname qtxmlpatterns %qtmajor -d
62
63 %define libqtsvg %mklibname qtsvg %qtmajor
64 %define libqtsvg_d %mklibname qtsvg %qtmajor -d
65
66 %define libqttest %mklibname qttest %qtmajor
67 %define libqttest_d %mklibname qttest %qtmajor -d
68
69 %define libqdbus %mklibname qtdbus %qtmajor
70 %define libqdbus_d %mklibname qtdbus %qtmajor -d
71
72 %define libqtscript %mklibname qtscript %qtmajor
73 %define libqtscript_d %mklibname qtscript %qtmajor -d
74
75 #define libqtclucene %mklibname qtclucene %qtmajor
76 #define libqtclucene_d %mklibname qtclucene %qtmajor -d
77
78 #define libqthelp %mklibname qthelp %qtmajor
79 #define libqthelp_d %mklibname qthelp %qtmajor -d
80
81 %define libqtwebkit %mklibname qtwebkit %qtmajor
82 %define libqtwebkit_d %mklibname qtwebkit %qtmajor -d
83
84 %define libqtmultimedia %mklibname qtmultimedia %qtmajor
85 %define libqtmultimedia_d %mklibname qtmultimedia %qtmajor -d
86
87 %define libphonon %mklibname phonon %qtmajor
88 %define libphonon_d %mklibname phonon %qtmajor -d
89
90 %define libqtdeclarative %mklibname qtdeclarative %qtmajor
91 %define libqtdeclarative_d %mklibname qtdeclarative %qtmajor -d
92
93 %define libqt3d %mklibname qt3d %qtmajor
94 %define libqt3d_d %mklibname qt3d %qtmajor -d
95
96 %define libqt3dquick %mklibname qt3dquick %qtmajor
97 %define libqt3dquick_d %mklibname qt3dquick %qtmajor -d
98
99 %define libqtconcurrent %mklibname qtconcurrent %qtmajor
100 %define libqtconcurrent_d %mklibname qtconcurrent %qtmajor -d
101
102 %define libqtlocation %mklibname qtlocation %qtmajor
103 %define libqtlocation_d %mklibname qtlocation %qtmajor -d
104
105 %define libqtmultimedia %mklibname qtmultimedia %qtmajor
106 %define libqtmultimedia_d %mklibname qtmultimedia %qtmajor -d
107
108 #define libqgsttools_p %mklibname qgsttools_p %major_private
109 #define libqgsttools_p_d %mklibname qgsttools_p %qtmajor -d
110
111 %define libqtmultimediawidgets %mklibname qtmultimediawidgets %qtmajor
112 %define libqtmultimediawidgets_d %mklibname qtmultimediawidgets %qtmajor -d
113
114 %define libqtwidgets %mklibname qtwidgets %qtmajor
115 %define libqtwidgets_d %mklibname qtwidgets %qtmajor -d
116
117 %define libqtv8 %mklibname qtv 8 %qtmajor
118 %define libqtv8_d %mklibname qtv 8 %qtmajor -d
119
120 %define libqtserviceframework %mklibname qtserviceframework %qtmajor
121 %define libqtserviceframework_d %mklibname qtserviceframework %qtmajor -d
122
123 %define libqtsysteminfo %mklibname qtsysteminfo %qtmajor
124 %define libqtsysteminfo_d %mklibname qtsysteminfo %qtmajor -d
125
126 %define libqtsensors %mklibname qtsensors %qtmajor
127 %define libqtsensors_d %mklibname qtsensors %qtmajor -d
128
129 %define libqtquicktest %mklibname qtquicktest %qtmajor
130 %define libqtquicktest_d %mklibname qtquicktest %qtmajor -d
131
132 #define libqtquick1 %mklibname qtquick1_ %qtmajor
133 #define libqtquick1_d %mklibname qtquick1 %qtmajor -d
134
135 %define libqtquick %mklibname qtquick %qtmajor
136 %define libqtquick_d %mklibname qtquick %qtmajor -d
137
138 %define libqtqml %mklibname qtqml %qtmajor
139 %define libqtqml_d %mklibname qtqml %qtmajor -d
140
141 %define libqtpublishsubscribe %mklibname qtpublishsubscribe %qtmajor
142 %define libqtpublishsubscribe_d %mklibname qtpublishsubscribe %qtmajor -d
143
144 %define libqtprintsupport %mklibname qtprintsupport %qtmajor
145 %define libqtprintsupport_d %mklibname qtprintsupport %qtmajor -d
146
147 %define libgruesensor %mklibname gruesensor %major_private
148 %define libgruesensor_d %mklibname gruesensor %qtmajor -d
149
150 %define libqtaddongallery %mklibname qtaddongallery %qtmajor
151 %define libqtaddongallery_d %mklibname qtaddongallery %qtmajor -d
152
153 %define libqtbluetooth %mklibname qtbluetooth %qtmajor
154 %define libqtbluetooth_d %mklibname qtbluetooth %qtmajor -d
155
156 %define libqtcontacts %mklibname qtcontacts %qtmajor
157 %define libqtcontacts_d %mklibname qtcontacts %qtmajor -d
158
159 %define libqtfeedback %mklibname qtfeedback %qtmajor
160 %define libqtfeedback_d %mklibname qtfeedback %qtmajor -d
161
162 %define libqtjsondb %mklibname qtjsondb %major_private
163 %define libqtjsondb_d %mklibname qtjsondb %qtmajor -d
164
165 %define libqtjsondbcompat %mklibname qtjsondbcompat %major_private
166 %define libqtjsondbcompat_d %mklibname qtjsondbcompat %qtmajor -d
167
168 %define libqtjsondbpartition %mklibname qtjsondbpartition %major_private
169 %define libqtjsondbpartition_d %mklibname qtjsondbpartition %qtmajor -d
170
171 %define libqtmultimediaquick_p %mklibname qtmultimediaquick_p %qtmajor
172 %define libqtmultimediaquick_p_d %mklibname qtmultimediaquick_p %qtmajor -d
173
174 %define libqtorganizer %mklibname qtorganizer %qtmajor
175 %define libqtorganizer_d %mklibname qtorganizer %qtmajor -d
176
177 %define libqtquickparticles %mklibname qtquickparticles %qtmajor
178 %define libqtquickparticles_d %mklibname qtquickparticles %qtmajor -d
179
180 %define libqtversit %mklibname qtversit %qtmajor
181 %define libqtversit_d %mklibname qtversit %qtmajor -d
182
183 %define libqtversitorganizer %mklibname qtversitorganizer %qtmajor
184 %define libqtversitorganizer_d %mklibname qtversitorganizer %qtmajor -d
185
186 %define _qt5_prefix %_prefix/lib/qt5
187 %define _qt5_datadir %{_qt5_prefix}
188 %define _qt5_bindir %{_qt5_prefix}/bin
189 %define _qt5_docdir %_qt5_prefix/doc
190 %define _qt5_libdir %_qt5_prefix/lib/
191 %define _qt5_includedir %_qt5_prefix/include
192 %define _qt5_plugindir %{_qt5_prefix}/plugins
193 %define _qt5_demosdir %{_qt5_prefix}/demos
194 %define _qt5_examplesdir %{_qt5_prefix}/examples
195 %define _qt5_importdir %{_qt5_prefix}/imports
196 %define _qt5_testsdir %{_qt5_prefix}/tests
197 %define _qt5_translationdir %{_datadir}/qt5/translations
198 %define _qt5_sysconfigdir %{_sysconfdir}
199
200 %define qttarballdir qt-everywhere-opensource-src-%{qtversion}
201
202 Name: qt5
203 Version: %{qtversion}
204 Release: %mkrel %{rel}
205 Summary: Qt GUI toolkit
206 Group: Development/KDE and Qt
207 License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL
208 URL: http://qt.nokia.com/
209 Source0: http://get.qt.nokia.com/qt/source/%{qttarballdir}-pre-beta.tar.bz2
210 Source2: qt5.macros
211 Source3: mageia-designer-qt5.desktop
212 Source4: mageia-assistant-qt5.desktop
213 Source5: mageia-linguist-qt5.desktop
214
215 #Branch Patchs
216
217 #Trunk Patchs
218
219 #Patch from Mageia
220 Patch404: qt-everywhere-opensource-src-5.0.0-fix-gcc4.7-build.patch
221 Patch405: qt5-fix-include.patch
222
223 #Patch from Mandriva/Fedora/Gentoo/Arch/Debian/whatelse ;o)
224
225 BuildRequires: pkgconfig(xtst)
226 BuildRequires: pkgconfig(libxslt)
227 BuildRequires: pkgconfig(xcb-image)
228 BuildRequires: pkgconfig(xcb-icccm)
229 BuildRequires: pkgconfig(xcb-keysyms)
230 BuildRequires: pkgconfig(xcb-renderutil)
231 BuildRequires: pkgconfig(alsa)
232 BuildRequires: pkgconfig(libpulse)
233 BuildRequires: pkgconfig(gl)
234 BuildRequires: mesa-common-devel
235 BuildRequires: pkgconfig(zlib)
236 BuildRequires: pkgconfig(openssl)
237 BuildRequires: pkgconfig(libpng)
238 BuildRequires: libjpeg-devel
239 BuildRequires: libtiff-devel
240 BuildRequires: libmng-devel
241 BuildRequires: pkgconfig(lcms)
242 BuildRequires: cups-devel
243 BuildRequires: pkgconfig(freetype2)
244 BuildRequires: pkgconfig(fontconfig)
245 BuildRequires: expat-devel
246 BuildRequires: pkgconfig(dbus-1) >= 0.92
247 BuildRequires: termcap-devel
248 BuildRequires: libpam-devel
249 BuildRequires: readline-devel
250 BuildRequires: perl
251 BuildRequires: pkgconfig(glib-2.0)
252 BuildRequires: pkgconfig(libxml-2.0)
253 BuildRequires: binutils >= 2.18
254 # For qtgtk style
255 BuildRequires: pkgconfig(gtk+-2.0)
256 %if 0%{?private}
257 BuildRequires: rsync
258 %endif
259
260 %description
261 Qt is a GUI software toolkit which simplifies the task of writing and
262 maintaining GUI (Graphical User Interface) applications for the X
263 Window System. Qt is written in C++ and is fully object-oriented.
264
265 This package contains the shared library needed to run Qt
266 applications, as well as the README files for Qt.
267
268 #------------------------------------------------------------------------------
269
270 %package common
271 Summary: Qt%{qtmajor} Config and Language Files
272 Group: Development/KDE and Qt
273
274 %description common
275 Qt is a GUI software toolkit which simplifies the task of writing and
276 maintaining GUI (Graphical User Interface) applications for the X
277 Window System. Qt is written in C++ and is fully object-oriented.
278
279 Configuration and language files for Qt%{qtmajor}.
280
281 %files common
282 %attr(0755,root,root) %{_sysconfdir}/profile.d/*
283 %dir %{_qt5_datadir}
284 %dir %{_qt5_bindir}
285 %dir %{_qt5_plugindir}
286 %dir %{_qt5_importdir}
287 %{_qt5_bindir}/syncqt
288 %if 0
289 %{_qt5_datadir}/phrasebooks
290 %if %with docs
291 %dir %{_qt5_translationdir}
292 %lang(ar) %{_qt5_translationdir}/qt_ar.qm
293 %lang(cs) %{_qt5_translationdir}/qt_cs.qm
294 %lang(da) %{_qt5_translationdir}/qt_da.qm
295 %lang(de) %{_qt5_translationdir}/qt_de.qm
296 %lang(es) %{_qt5_translationdir}/qt_es.qm
297 %lang(fa) %{_qt5_translationdir}/qt_fa.qm
298 %lang(fr) %{_qt5_translationdir}/qt_fr.qm
299 %lang(gl) %{_qt5_translationdir}/qt_gl.qm
300 %lang(he) %{_qt5_translationdir}/qt_he.qm
301 %lang(lt) %{_qt5_translationdir}/qt_lt.qm
302 %lang(cs) %{_qt5_translationdir}/qt_help_cs.qm
303 %lang(da) %{_qt5_translationdir}/qt_help_da.qm
304 %lang(de) %{_qt5_translationdir}/qt_help_de.qm
305 %lang(fr) %{_qt5_translationdir}/qt_help_fr.qm
306 %lang(gl) %{_qt5_translationdir}/qt_help_gl.qm
307 %lang(hu) %{_qt5_translationdir}/qt_help_hu.qm
308 %lang(ja) %{_qt5_translationdir}/qt_help_ja.qm
309 %lang(ko) %{_qt5_translationdir}/qt_help_ko.qm
310 %lang(pl) %{_qt5_translationdir}/qt_help_pl.qm
311 %lang(ru) %{_qt5_translationdir}/qt_help_ru.qm
312 %lang(sl) %{_qt5_translationdir}/qt_help_sl.qm
313 %lang(uk) %{_qt5_translationdir}/qt_help_uk.qm
314 %lang(zh_CN) %{_qt5_translationdir}/qt_help_zh_CN.qm
315 %lang(zh_TW) %{_qt5_translationdir}/qt_help_zh_TW.qm
316 %lang(hu) %{_qt5_translationdir}/qt_hu.qm
317 %lang(ja) %{_qt5_translationdir}/qt_ja.qm
318 %lang(ko) %{_qt5_translationdir}/qt_ko.qm
319 %lang(pl) %{_qt5_translationdir}/qt_pl.qm
320 %lang(pt) %{_qt5_translationdir}/qt_pt.qm
321 %lang(ru) %{_qt5_translationdir}/qt_ru.qm
322 %lang(sk) %{_qt5_translationdir}/qt_sk.qm
323 %lang(sl) %{_qt5_translationdir}/qt_sl.qm
324 %lang(sv) %{_qt5_translationdir}/qt_sv.qm
325 %lang(uk) %{_qt5_translationdir}/qt_uk.qm
326 %lang(zh_CN) %{_qt5_translationdir}/qt_zh_CN.qm
327 %lang(zh_TW) %{_qt5_translationdir}/qt_zh_TW.qm
328 %endif
329 %endif
330 #TODO: Move on the good package
331 %{_qt5_bindir}/jsondb
332 %{_qt5_bindir}/qglinfo
333 %{_qt5_bindir}/qmlbundle
334 %{_qt5_bindir}/sfwlisten
335 %{_qt5_bindir}/servicefw
336 %{_qt5_plugindir}/generic
337
338 #------------------------------------------------------------------------------
339 # CORE QT LIBRARIES
340 #------------------------------------------------------------------------------
341
342 %package -n %{libqtxml}
343 Summary: Qt%{qtmajor} Component Library
344 Group: System/Libraries
345 Requires(pre): %{name}-common = %{version}
346 Provides: qtxmllib = %{version}
347
348 %description -n %{libqtxml}
349 Qt%{qtmajor} Component Library.
350
351 The QtXml module provides a stream reader and writer for XML documents,
352 and C++ implementations of SAX and DOM.
353
354 %files -n %{libqtxml}
355 %{_qt5_libdir}/libQtXml.so.%{qtmajor}*
356
357 #------------------------------------------------------------------------------
358
359 %package -n %{libqtxml_d}
360 Summary: Devel files needed to build apps based on QtXml
361 Group: Development/KDE and Qt
362 Requires(pre): %{name}-common = %{version}
363 Requires: %{libqtxml} = %version
364 Provides: libqtxml5-devel = %version
365
366 %description -n %{libqtxml_d}
367 Devel files needed to build apps based on QtXml.
368
369 %files -n %{libqtxml_d}
370 %{_qt5_libdir}/libQtXml.prl
371 %{_qt5_libdir}/libQtXml.so
372 %{_qt5_libdir}/pkgconfig/QtXml.pc
373
374 #------------------------------------------------------------------------------
375
376 %package -n %{libqtscripttools}
377 Summary: Qt%{qtmajor} Component Library
378 Group: System/Libraries
379 Requires(pre): %{name}-common = %{version}
380 Provides: qtscripttoolslib = %{version}
381
382 %description -n %{libqtscripttools}
383 Qt%{qtmajor} Component Library.
384
385 The QtScriptTools module provides additional components for applications
386 that use Qt Script.
387
388 %files -n %{libqtscripttools}
389 %{_qt5_libdir}/libQtScriptTools.so.%{qtmajor}*
390
391 #------------------------------------------------------------------------------
392
393 %package -n %{libqtscripttools_d}
394 Summary: Devel files needed to build apps based on QtScriptTools
395 Group: Development/KDE and Qt
396 Requires(pre): %{name}-common = %{version}
397 Requires: %{libqtscripttools} = %version
398 Provides: libqtscripttools5-devel = %version
399
400 %description -n %{libqtscripttools_d}
401 Devel files needed to build apps based on QtScriptTools.
402
403 %files -n %{libqtscripttools_d}
404 %{_qt5_libdir}/libQtScriptTools.prl
405 %{_qt5_libdir}/libQtScriptTools.so
406 %{_qt5_libdir}/pkgconfig/QtScriptTools.pc
407
408 #------------------------------------------------------------------------------
409
410 %package -n %{libqtxmlpatterns}
411 Summary: Qt%{qtmajor} Component Library
412 Group: System/Libraries
413 Requires(pre): %{name}-common = %{version}
414 Requires: %{name}-xmlpatterns = %{version}
415
416 %description -n %{libqtxmlpatterns}
417 Qt%{qtmajor} Component Library.
418
419 The QtXmlPatterns module provides support for XPath, XQuery, XSLT and
420 XML Schema validation.
421
422 %files -n %{libqtxmlpatterns}
423 %{_qt5_libdir}/libQtXmlPatterns.so.%{qtmajor}*
424
425 #------------------------------------------------------------------------------
426
427 %package -n %{libqtxmlpatterns_d}
428 Summary: Devel files needed to build apps based on QtXmlPatterns
429 Group: Development/KDE and Qt
430 Requires(pre): %{name}-common = %{version}
431 Requires: %{libqtxmlpatterns} = %version
432 Provides: libqtxmlpatterns5-devel = %version
433
434 %description -n %{libqtxmlpatterns_d}
435 Devel files needed to build apps based on QtXmlPatterns.
436
437 %files -n %{libqtxmlpatterns_d}
438 %{_qt5_libdir}/libQtXmlPatterns.prl
439 %{_qt5_libdir}/libQtXmlPatterns.so
440 %{_qt5_libdir}/pkgconfig/QtXmlPatterns.pc
441
442 #------------------------------------------------------------------------------
443
444 %package -n %{libqtsql}
445 Summary: Qt%{qtmajor} Component Library
446 Group: System/Libraries
447 Requires(pre): %{name}-common = %{version}
448 Provides: qtsqllib = %{version}
449
450 %description -n %{libqtsql}
451 Qt%{qtmajor} Component Library.
452
453 %files -n %{libqtsql}
454 %{_qt5_libdir}/libQtSql.so.%{qtmajor}*
455
456 #------------------------------------------------------------------------------
457
458 %package -n %{libqtsql_d}
459 Summary: Devel files needed to build apps based on QtSql
460 Group: Development/KDE and Qt
461 Requires(pre): %{name}-common = %{version}
462 Requires: %{libqtsql} = %version
463 Provides: libqtsql5-devel = %version
464
465 %description -n %{libqtsql_d}
466 Devel files needed to build apps based on QtSql.
467
468 %files -n %{libqtsql_d}
469 %{_qt5_libdir}/libQtSql.prl
470 %{_qt5_libdir}/libQtSql.so
471 %{_qt5_libdir}/pkgconfig/QtSql.pc
472
473 #------------------------------------------------------------------------------
474
475 %package -n %{libqtnetwork}
476 Summary: Qt%{qtmajor} Component Library
477 Group: System/Libraries
478 Requires(pre): %{name}-common = %{version}
479 Provides: qtnetworklib = %{version}
480
481 %description -n %{libqtnetwork}
482 Qt%{qtmajor} Component Library.
483
484 The QtNetwork module provides classes to make network programming easier
485 and portable.
486
487 %files -n %{libqtnetwork}
488 %{_qt5_libdir}/libQtNetwork.so.%{qtmajor}*
489
490 #------------------------------------------------------------------------------
491
492 %package -n %{libqtnetwork_d}
493 Summary: Devel files needed to build apps based on QtNetwork
494 Group: Development/KDE and Qt
495 Requires(pre): %{name}-common = %{version}
496 Requires: %{libqtnetwork} = %version
497 Provides: libqtnetwork5-devel = %version
498
499 %description -n %{libqtnetwork_d}
500 Devel files needed to build apps based on QtNetwork.
501
502 %files -n %{libqtnetwork_d}
503 %{_qt5_libdir}/libQtNetwork.prl
504 %{_qt5_libdir}/libQtNetwork.so
505 %{_qt5_libdir}/pkgconfig/QtNetwork.pc
506
507 #------------------------------------------------------------------------------
508
509 %package -n %{libqtscript}
510 Summary: Qt%{qtmajor} Component Library
511 Group: System/Libraries
512 Requires(pre): %{name}-common = %{version}
513 Provides: libqtscript = %{version}
514
515 %description -n %{libqtscript}
516 Qt%{qtmajor} Component Library.
517
518 The QtScript module provides classes for making Qt applications
519 scriptable.
520
521 %files -n %{libqtscript}
522 %{_qt5_libdir}/libQtScript.so.%{qtmajor}*
523
524 #------------------------------------------------------------------------------
525
526 %package -n %{libqtscript_d}
527 Summary: Devel files needed to build apps based on QtScript
528 Group: Development/KDE and Qt
529 Requires(pre): %{name}-common = %{version}
530 Requires: %{libqtscript} = %version
531 Provides: libqtscript5-devel = %version
532
533 %description -n %{libqtscript_d}
534 Devel files needed to build apps based on QtScript.
535
536 %files -n %{libqtscript_d}
537 %{_qt5_libdir}/libQtScript.prl
538 %{_qt5_libdir}/libQtScript.so
539 %{_qt5_libdir}/pkgconfig/QtScript.pc
540
541 #------------------------------------------------------------------------------
542
543 %package -n %{libqtgui}
544 Summary: Qt%{qtmajor} Component Library
545 Group: System/Libraries
546 Requires(pre): %{name}-common = %{version}
547 Provides: qtguilib = %{version}
548
549 %description -n %{libqtgui}
550 Qt%{qtmajor} Component Library.
551
552 The QtGui module extends QtCore with GUI functionality.
553
554 %files -n %{libqtgui}
555 %{_qt5_libdir}/libQtGui.so.%{qtmajor}*
556 %{_qt5_plugindir}/imageformats/
557 %{_qt5_plugindir}/platforminputcontexts
558 %{_qt5_plugindir}/platforms
559
560 #------------------------------------------------------------------------------
561
562 %package -n %{libqtgui_d}
563 Summary: Devel files needed to build apps based on QtContacts
564 Group: Development/KDE and Qt
565 Requires(pre): %{name}-common = %{version}
566 Requires: %{libqtgui} = %version
567 Provides: libqtgui5-devel = %version
568
569 %description -n %{libqtgui_d}
570 Devel files needed to build apps based on QtContacts.
571
572 %files -n %{libqtgui_d}
573 %{_qt5_libdir}/libQtGui.prl
574 %{_qt5_libdir}/libQtGui.so
575 %{_qt5_libdir}/pkgconfig/QtGui.pc
576
577 #------------------------------------------------------------------------------
578
579 %package -n %{libqtsvg}
580 Summary: Qt%{qtmajor} Component Library
581 Group: System/Libraries
582 Requires(pre): %{name}-common = %{version}
583 Provides: qtsvglib = %{version}
584
585 %description -n %{libqtsvg}
586 Qt%{qtmajor} Component Library.
587
588 The QtSvg module provides classes for displaying and creating SVG files.
589
590 %files -n %{libqtsvg}
591 %{_qt5_libdir}/libQtSvg.so.%{qtmajor}*
592 %{_qt5_plugindir}/iconengines/libqsvgicon.so
593
594 #------------------------------------------------------------------------------
595
596 %package -n %{libqtsvg_d}
597 Summary: Devel files needed to build apps based on QtSvg
598 Group: Development/KDE and Qt
599 Requires(pre): %{name}-common = %{version}
600 Requires: %{libqtsvg} = %version
601 Provides: libqtsvg5-devel = %version
602
603 %description -n %{libqtsvg_d}
604 Devel files needed to build apps based on QtSvg.
605
606 %files -n %{libqtsvg_d}
607 %{_qt5_libdir}/libQtSvg.prl
608 %{_qt5_libdir}/libQtSvg.so
609 %{_qt5_libdir}/pkgconfig/QtSvg.pc
610
611 #------------------------------------------------------------------------------
612
613 %package -n %{libqttest}
614 Summary: Qt%{qtmajor} Component Library
615 Group: System/Libraries
616 Requires(pre): %{name}-common = %{version}
617 Provides: qttestlib = %{version}
618
619 %description -n %{libqttest}
620 Qt%{qtmajor} Component Library.
621
622 The QtTest module provides classes for unit testing Qt applications and
623 libraries.
624
625 %files -n %{libqttest}
626 %{_qt5_libdir}/libQtTest.so.%{qtmajor}*
627 %{_qt5_importdir}/QtTest
628
629 #------------------------------------------------------------------------------
630
631 %package -n %{libqttest_d}
632 Summary: Devel files needed to build apps based on QtTest
633 Group: Development/KDE and Qt
634 Requires(pre): %{name}-common = %{version}
635 Requires: %{libqttest} = %version
636 Provides: libqttest5-devel = %version
637
638 %description -n %{libqttest_d}
639 Devel files needed to build apps based on QtTest.
640
641 %files -n %{libqttest_d}
642 %{_qt5_libdir}/libQtTest.prl
643 %{_qt5_libdir}/libQtTest.so
644 %{_qt5_libdir}/pkgconfig/QtTest.pc
645
646 #------------------------------------------------------------------------------
647
648 %if %with_webkit
649 %package -n %{libqtwebkit}
650 Summary: Qt%{qtmajor} Component Library
651 Group: System/Libraries
652 Requires(pre): %{name}-common = %{version}
653 Provides: libqtwebkit5 = %{version}
654
655 %description -n %{libqtwebkit}
656 Qt%{qtmajor} Component Library.
657
658 The QtWebKit module provides a web browser engine as well as classes to
659 render and interact with web content.
660
661 %files -n %{libqtwebkit}
662 %{_qt5_libdir}/libQtWebKit.so.%{qtmajor}*
663
664 #------------------------------------------------------------------------------
665
666 %package -n %{libqtwebkit_d}
667 Summary: Devel files needed to build apps based on QtWebKit
668 Group: Development/KDE and Qt
669 Requires(pre): %{name}-common = %{version}
670 Requires: %{libqtwebkit} = %version
671 Provides: libqtwebkit5-devel = %version
672
673 %description -n %{libqtwebkit_d}
674 Devel files needed to build apps based on QtWebKit.
675
676 %files -n %{libqtwebkit_d}
677 %{_qt5_includedir}/Qt/QtWebKit
678 %{_qt5_includedir}/QtWebKit/
679 %{_qt5_libdir}/pkgconfig/QtWebKit.pc
680 %{_qt5_libdir}/libQtWebKit.prl
681 %{_qt5_libdir}/libQtWebKit.so
682 %endif
683
684 #------------------------------------------------------------------------------
685 #
686 #%package -n %{libqthelp}
687 #Summary: Qt%{qtmajor} Component Library
688 #Group: System/Libraries
689 #Requires(pre): %{name}-common = %{version}
690 #Provides: qthelplib = %{version}
691 #
692 #%description -n %{libqthelp}
693 #Qt%{qtmajor} Component Library.
694 #
695 #The QtHelp module provides classes for integrating online documentation
696 #in applications.
697 #
698 #%files -n %{libqthelp}
699 #%{_qt5_libdir}/libQtHelp.so.%{qtmajor}*
700 #
701 #------------------------------------------------------------------------------
702 #
703 #%package -n %{libqthelp_d}
704 #Summary: Devel files needed to build apps based on QtJsonDbCompat
705 #Group: Development/KDE and Qt
706 #Requires(pre): %{name}-common = %{version}
707 #Requires: %{libqthelp} = %version
708 #Provides: libqthelp5-devel = %version
709 #
710 #%description -n %{libqthelp_d}
711 #Devel files needed to build apps based on QtJsonDbCompat.
712 #
713 #%files -n %{libqthelp_d}
714 #%{_qt5_libdir}/libQtHelp.prl
715 #%{_qt5_libdir}/libQtHelp.so
716 #%{_qt5_libdir}/pkgconfig/QtHelp.pc
717 #
718 #------------------------------------------------------------------------------
719 #
720 #%package -n %{libqtclucene}
721 #Summary: Qt%{qtmajor} Component Library
722 #Group: System/Libraries
723 #Requires(pre): %{name}-common = %{version}
724 #Provides: qtclucenelib = %{version}
725 #
726 #%description -n %{libqtclucene}
727 #Qt%{qtmajor} Component Library.
728 #
729 #%files -n %{libqtclucene}
730 #%{_qt5_libdir}/libQtCLucene.so.%{qtmajor}*
731
732 #------------------------------------------------------------------------------
733 #
734 #%package -n %{libqtclucene_d}
735 #Summary: Devel files needed to build apps based on QtCLucene
736 #Group: Development/KDE and Qt
737 #Requires(pre): %{name}-common = %{version}
738 #Requires: %{libqtclucene} = %version
739 #Provides: libqtclucene5-devel = %version
740 #
741 #%description -n %{libqtclucene_d}
742 #Devel files needed to build apps based on QtCLucene.
743 #
744 #%files -n %{libqtclucene_d}
745 #%{_qt5_libdir}/libQtCLucene.prl
746 #%{_qt5_libdir}/libQtCLucene.so
747 #%{_qt5_libdir}/pkgconfig/QtCLucene.pc
748 #
749 #------------------------------------------------------------------------------
750
751 %package -n %{libqtcore}
752 Summary: Qt%{qtmajor} Component Library
753 Group: System/Libraries
754 Requires(pre): %{name}-common = %{version}
755 Provides: qtcorelib = %{version}
756
757 %description -n %{libqtcore}
758 Qt%{qtmajor} Component Library.
759
760 The QtCore module contains core non-GUI functionality.
761
762 %files -n %{libqtcore}
763 %{_qt5_libdir}/libQtCore.so.%{qtmajor}*
764
765 #------------------------------------------------------------------------------
766
767 %package -n %{libqtcore_d}
768 Summary: Devel files needed to build apps based on QtCore
769 Group: Development/KDE and Qt
770 Requires(pre): %{name}-common = %{version}
771 Requires: %{libqtcore} = %version
772 Provides: libqtcore5-devel = %version
773
774 %description -n %{libqtcore_d}
775 Devel files needed to build apps based on QtCore.
776
777 %files -n %{libqtcore_d}
778 %{_qt5_libdir}/libQtCore.prl
779 %{_qt5_libdir}/libQtCore.so
780 %{_qt5_libdir}/pkgconfig/QtCore.pc
781
782 #------------------------------------------------------------------------------
783
784 %package -n %{libqtopengl}
785 Summary: Qt%{qtmajor} Component Library
786 Group: System/Libraries
787 Requires(pre): %{name}-common = %{version}
788 Provides: qtopengllib = %{version}
789
790 %description -n %{libqtopengl}
791 Qt%{qtmajor} Component Library.
792
793 The QtOpenGL module offers classes that make it easy to use OpenGL in
794 Qt applications.
795
796 %files -n %{libqtopengl}
797 %{_qt5_libdir}/libQtOpenGL.so.%{qtmajor}*
798
799 #------------------------------------------------------------------------------
800
801 %package -n %{libqtopengl_d}
802 Summary: Devel files needed to build apps based on QtContacts
803 Group: Development/KDE and Qt
804 Requires(pre): %{name}-common = %{version}
805 Requires: %{libqtgui} = %version
806 Provides: libqtgui5-devel = %version
807
808 %description -n %{libqtopengl_d}
809 Devel files needed to build apps based on QtContacts.
810
811 %files -n %{libqtopengl_d}
812 %{_qt5_libdir}/libQtOpenGL.prl
813 %{_qt5_libdir}/libQtOpenGL.so
814 %{_qt5_libdir}/pkgconfig/QtOpenGL.pc
815
816 #------------------------------------------------------------------------------
817 #
818 #%package -n %{libqtdesigner}
819 #Summary: Qt%{qtmajor} Component Library
820 #Group: System/Libraries
821 #Requires(pre): %{name}-common = %{version}
822 #Provides: qtdesignerlib = %{version}
823 #
824 #%description -n %{libqtdesigner}
825 #Qt%{qtmajor} Component Library.
826 #
827 #The QtDesigner module provides classes that allow you to create your own
828 #custom widget plugins for Qt Designer, and classes that enable you to
829 #access Qt Designer's components.
830 #
831 #%files -n %{libqtdesigner}
832 #%{_qt5_libdir}/libQtDesigner.so.%{qtmajor}*
833 #%{_qt5_libdir}/libQtDesignerComponents.so.%{qtmajor}*
834 #
835 #------------------------------------------------------------------------------
836 #
837 #%package -n %{libqtdesigner_d}
838 #Summary: Devel files needed to build apps based on QtDesigner
839 #Group: Development/KDE and Qt
840 #Requires(pre): %{name}-common = %{version}
841 #Requires: %{libqtdesigner} = %version
842 #Provides: libqtdesigner5-devel = %version
843 #
844 #%description -n %{libqtdesigner_d}
845 #Devel files needed to build apps based on QtDesigner.
846 #
847 #%files -n %{libqtdesigner_d}
848 #%{_qt5_libdir}/libQtDesigner.prl
849 #%{_qt5_libdir}/libQtDesigner.so
850 #%{_qt5_libdir}/pkgconfig/QtDesigner.pc
851 #%{_qt5_libdir}/libQtDesignerComponents.prl
852 #%{_qt5_libdir}/libQtDesignerComponents.so
853 #%{_qt5_libdir}/pkgconfig/QtDesignerComponents.pc
854 #
855 #------------------------------------------------------------------------------
856
857 %package -n %{libqdbus}
858 Summary: QT Dbus Library
859 Group: System/Libraries
860 Requires(pre): %{name}-common = %{version}
861 Provides: qdbuslib = %{version}
862
863 %description -n %{libqdbus}
864 QT Dbus Library.
865
866 The QtDBus module is a Unix-only library that you can use to perform
867 Inter-Process Communication using the D-Bus protocol.
868
869 %files -n %{libqdbus}
870 %{_qt5_libdir}/libQtDBus.so.%{qtmajor}*
871
872
873 #------------------------------------------------------------------------------
874
875 %package -n %{libqdbus_d}
876 Summary: Devel files needed to build apps based on QtDBus
877 Group: Development/KDE and Qt
878 Requires(pre): %{name}-common = %{version}
879 Requires: %{libqdbus} = %version
880 Provides: libqdbus5-devel = %version
881
882 %description -n %{libqdbus_d}
883 Devel files needed to build apps based on QtDBus.
884
885 %files -n %{libqdbus_d}
886 %{_qt5_libdir}/libQtDBus.prl
887 %{_qt5_libdir}/libQtDBus.so
888 %{_qt5_libdir}/pkgconfig/QtDBus.pc
889
890 #------------------------------------------------------------------------------
891
892 %package -n %{libqt3d}
893 Summary: Qt%{qtmajor} 3D Lib
894 Group: System/Libraries
895 Requires(pre): %{name}-common = %{version}
896
897 %description -n %{libqt3d}
898 Qt%{qtmajor} 3D Lib.
899
900 %files -n %{libqt3d}
901 %{_qt5_libdir}/libQt3D.so.%{qtmajor}*
902 %{_qt5_importdir}/Qt3D
903
904 #------------------------------------------------------------------------------
905
906 %package -n %{libqt3d_d}
907 Summary: Devel files needed to build apps based on Qt3D
908 Group: Development/KDE and Qt
909 Requires(pre): %{name}-common = %{version}
910 Requires: %{libqt3d} = %version
911 Provides: libqt3d5-devel = %version
912
913 %description -n %{libqt3d_d}
914 Devel files needed to build apps based on Qt3D.
915
916 %files -n %{libqt3d_d}
917 %{_qt5_libdir}/libQt3D.so
918 %{_qt5_libdir}/libQt3D.prl
919 %{_qt5_libdir}/pkgconfig/Qt3D.pc
920
921 #------------------------------------------------------------------------------
922
923 %package -n %{libqt3dquick}
924 Summary: Qt%{qtmajor} 3D Lib
925 Group: System/Libraries
926 Requires(pre): %{name}-common = %{version}
927
928 %description -n %{libqt3dquick}
929 Qt%{qtmajor} 3D Lib.
930
931 %files -n %{libqt3dquick}
932 %{_qt5_libdir}/libQt3DQuick.so.%{qtmajor}*
933
934 #------------------------------------------------------------------------------
935
936 %package -n %{libqt3dquick_d}
937 Summary: Devel files needed to build apps based on Qt3DQuick
938 Group: Development/KDE and Qt
939 Requires(pre): %{name}-common = %{version}
940 Requires: %{libqt3dquick} = %version
941 Provides: libqt3dquick5-devel = %version
942
943 %description -n %{libqt3dquick_d}
944 Devel files needed to build apps based on Qt3DQuick.
945
946 %files -n %{libqt3dquick_d}
947 %{_qt5_libdir}/libQt3DQuick.so
948 %{_qt5_libdir}/libQt3DQuick.prl
949 %{_qt5_libdir}/pkgconfig/Qt3DQuick.pc
950
951 #------------------------------------------------------------------------------
952
953 %package -n %{libqtconcurrent}
954 Summary: Qt%{qtmajor} 3D Lib
955 Group: System/Libraries
956 Requires(pre): %{name}-common = %{version}
957
958 %description -n %{libqtconcurrent}
959 Qt%{qtmajor} 3D Lib.
960
961 %files -n %{libqtconcurrent}
962 %{_qt5_libdir}/libQtConcurrent.so.%{qtmajor}*
963
964 #------------------------------------------------------------------------------
965
966 %package -n %{libqtconcurrent_d}
967 Summary: Devel files needed to build apps based on QtConcurrent
968 Group: Development/KDE and Qt
969 Requires(pre): %{name}-common = %{version}
970 Requires: %{libqtconcurrent} = %version
971 Provides: libqtconcurrent5-devel = %version
972
973 %description -n %{libqtconcurrent_d}
974 Devel files needed to build apps based on QtConcurrent.
975
976 %files -n %{libqtconcurrent_d}
977 %{_qt5_libdir}/libQtConcurrent.so
978 %{_qt5_libdir}/libQtConcurrent.prl
979 %{_qt5_libdir}/pkgconfig/QtConcurrent.pc
980
981 #------------------------------------------------------------------------------
982
983 %package -n %{libqtlocation}
984 Summary: Qt%{qtmajor} Lib
985 Group: System/Libraries
986 Requires(pre): %{name}-common = %{version}
987
988 %description -n %{libqtlocation}
989 Qt%{qtmajor} Lib.
990
991 %files -n %{libqtlocation}
992 %{_qt5_libdir}/libQtLocation.so.%{qtmajor}*
993 %{_qt5_importdir}/QtLocation
994
995 #------------------------------------------------------------------------------
996
997 %package -n %{libqtlocation_d}
998 Summary: Devel files needed to build apps based on QtLocation
999 Group: Development/KDE and Qt
1000 Requires(pre): %{name}-common = %{version}
1001 Requires: %{libqtlocation} = %version
1002 Provides: libqtlocation5-devel = %version
1003
1004 %description -n %{libqtlocation_d}
1005 Devel files needed to build apps based on QtLocation.
1006
1007 %files -n %{libqtlocation_d}
1008 %{_qt5_libdir}/libQtLocation.so
1009 %{_qt5_libdir}/libQtLocation.prl
1010 %{_qt5_libdir}/pkgconfig/QtLocation.pc
1011
1012 #------------------------------------------------------------------------------
1013
1014 %package -n %{libqtmultimedia}
1015 Summary: Qt%{qtmajor} Lib
1016 Group: System/Libraries
1017 Requires(pre): %{name}-common = %{version}
1018
1019 %description -n %{libqtmultimedia}
1020 Qt%{qtmajor} Lib.
1021
1022 %files -n %{libqtmultimedia}
1023 %{_qt5_libdir}/libQtMultimedia.so.%{qtmajor}*
1024 %{_qt5_importdir}/QtMultimedia
1025
1026 #------------------------------------------------------------------------------
1027
1028 %package -n %{libqtmultimedia_d}
1029 Summary: Devel files needed to build apps based on QtMultimedia
1030 Group: Development/KDE and Qt
1031 Requires(pre): %{name}-common = %{version}
1032 Requires: %{libqtmultimedia} = %version
1033 Provides: libqtmultimedia5-devel = %version
1034
1035 %description -n %{libqtmultimedia_d}
1036 Devel files needed to build apps based on QtMultimedia.
1037
1038 %files -n %{libqtmultimedia_d}
1039 %{_qt5_libdir}/libQtMultimedia.prl
1040 %{_qt5_libdir}/libQtMultimedia.so
1041 %{_qt5_libdir}/pkgconfig/QtMultimedia.pc
1042
1043 #------------------------------------------------------------------------------
1044
1045 %package -n %{libqtmultimediaquick_p}
1046 Summary: Qt%{qtmajor} Lib
1047 Group: System/Libraries
1048 Requires(pre): %{name}-common = %{version}
1049
1050 %description -n %{libqtmultimediaquick_p}
1051 Qt%{qtmajor} Lib.
1052
1053 %files -n %{libqtmultimediaquick_p}
1054 %{_qt5_libdir}/libQtMultimediaQuick_p.so.%{qtmajor}*
1055
1056 #------------------------------------------------------------------------------
1057
1058 %package -n %{libqtmultimediaquick_p_d}
1059 Summary: Devel files needed to build apps based on QtMultimediaQuick
1060 Group: Development/KDE and Qt
1061 Requires(pre): %{name}-common = %{version}
1062 Requires: %{libqtfeedback} = %version
1063 Provides: libqtfeedback5-devel = %version
1064
1065 %description -n %{libqtmultimediaquick_p_d}
1066 Devel files needed to build apps based on QtMultimediaQuick.
1067
1068 %files -n %{libqtmultimediaquick_p_d}
1069 %{_qt5_libdir}/libQtMultimediaQuick_p.prl
1070 %{_qt5_libdir}/libQtMultimediaQuick_p.so
1071 %{_qt5_libdir}/pkgconfig/QtMultimediaQuick_p.pc
1072
1073 #------------------------------------------------------------------------------
1074 #
1075 #%package -n %{libqgsttools_p}
1076 #Summary: Qt%{qtmajor} Lib
1077 #Group: System/Libraries
1078 #Requires(pre): %{name}-common = %{version}
1079 #
1080 #%description -n %{libqgsttools_p}
1081 #Qt%{qtmajor} Lib.
1082 #
1083 #%files -n %{libqgsttools_p}
1084 #%{_qt5_libdir}/libqgsttools_p.so.%{major_private}*
1085 #
1086 #------------------------------------------------------------------------------
1087
1088 %package -n %{libqtmultimediawidgets}
1089 Summary: Qt%{qtmajor} Lib
1090 Group: System/Libraries
1091 Requires(pre): %{name}-common = %{version}
1092
1093 %description -n %{libqtmultimediawidgets}
1094 Qt%{qtmajor} Lib.
1095
1096 %files -n %{libqtmultimediawidgets}
1097 %{_qt5_libdir}/libQtMultimediaWidgets.so.%{qtmajor}*
1098
1099 #------------------------------------------------------------------------------
1100
1101 %package -n %{libqtmultimediawidgets_d}
1102 Summary: Devel files needed to build apps based on QtMultimediaWidgets
1103 Group: Development/KDE and Qt
1104 Requires(pre): %{name}-common = %{version}
1105 Requires: %{libqtmultimediawidgets} = %version
1106 Provides: libqtmultimediawidgets5-devel = %version
1107
1108 %description -n %{libqtmultimediawidgets_d}
1109 Devel files needed to build apps based on QtMultimediaWidgets.
1110
1111 %files -n %{libqtmultimediawidgets_d}
1112 %{_qt5_libdir}/libQtMultimediaWidgets.so
1113 %{_qt5_libdir}/libQtMultimediaWidgets.prl
1114 %{_qt5_libdir}/pkgconfig/QtMultimediaWidgets.pc
1115
1116 #------------------------------------------------------------------------------
1117
1118 %package -n %{libqtwidgets}
1119 Summary: Qt%{qtmajor} Lib
1120 Group: System/Libraries
1121 Requires(pre): %{name}-common = %{version}
1122
1123 %description -n %{libqtwidgets}
1124 Qt%{qtmajor} Lib.
1125
1126 %files -n %{libqtwidgets}
1127 %{_qt5_libdir}/libQtWidgets.so.%{qtmajor}*
1128
1129 #------------------------------------------------------------------------------
1130
1131 %package -n %{libqtwidgets_d}
1132 Summary: Devel files needed to build apps based on QtWidgets
1133 Group: Development/KDE and Qt
1134 Requires(pre): %{name}-common = %{version}
1135 Requires: %{libqtwidgets} = %version
1136 Provides: libqtwidgets5-devel = %version
1137
1138 %description -n %{libqtwidgets_d}
1139 Devel files needed to build apps based on QtWidgets.
1140
1141 %files -n %{libqtwidgets_d}
1142 %{_qt5_libdir}/libQtWidgets.so
1143 %{_qt5_libdir}/libQtWidgets.prl
1144 %{_qt5_libdir}/pkgconfig/QtWidgets.pc
1145
1146 #------------------------------------------------------------------------------
1147
1148 %package -n %{libqtv8}
1149 Summary: Qt%{qtmajor} Lib
1150 Group: System/Libraries
1151 Requires(pre): %{name}-common = %{version}
1152
1153 %description -n %{libqtv8}
1154 Qt%{qtmajor} Lib.
1155
1156 %files -n %{libqtv8}
1157 %{_qt5_libdir}/libQtV8.so.%{qtmajor}*
1158
1159 #------------------------------------------------------------------------------
1160
1161 %package -n %{libqtv8_d}
1162 Summary: Devel files needed to build apps based on QtV8
1163 Group: Development/KDE and Qt
1164 Requires(pre): %{name}-common = %{version}
1165 Requires: %{libqtv8} = %version
1166 Provides: libqtv85-devel = %version
1167
1168 %description -n %{libqtv8_d}
1169 Devel files needed to build apps based on QtV8.
1170
1171 %files -n %{libqtv8_d}
1172 %{_qt5_libdir}/libQtV8.so
1173 %{_qt5_libdir}/libQtV8.prl
1174 %{_qt5_libdir}/pkgconfig/QtV8.pc
1175
1176 #------------------------------------------------------------------------------
1177
1178 %package -n %{libqtserviceframework}
1179 Summary: Qt%{qtmajor} Lib
1180 Group: System/Libraries
1181 Requires(pre): %{name}-common = %{version}
1182
1183 %description -n %{libqtserviceframework}
1184 Qt%{qtmajor} Lib.
1185
1186 %files -n %{libqtserviceframework}
1187 %{_qt5_libdir}/libQtServiceFramework.so.%{qtmajor}*
1188 %{_qt5_importdir}/QtServiceFramework
1189
1190 #------------------------------------------------------------------------------
1191
1192 %package -n %{libqtserviceframework_d}
1193 Summary: Devel files needed to build apps based on QtServiceFramework
1194 Group: Development/KDE and Qt
1195 Requires(pre): %{name}-common = %{version}
1196 Requires: %{libqtserviceframework} = %version
1197 Provides: libqtserviceframework5-devel = %version
1198
1199 %description -n %{libqtserviceframework_d}
1200 Devel files needed to build apps based on QtServiceFramework.
1201
1202 %files -n %{libqtserviceframework_d}
1203 %{_qt5_libdir}/libQtServiceFramework.so
1204 %{_qt5_libdir}/libQtServiceFramework.prl
1205 %{_qt5_libdir}/pkgconfig/QtServiceFramework.pc
1206
1207 #------------------------------------------------------------------------------
1208
1209 %package -n %{libqtsysteminfo}
1210 Summary: Qt%{qtmajor} Lib
1211 Group: System/Libraries
1212 Requires(pre): %{name}-common = %{version}
1213
1214 %description -n %{libqtsysteminfo}
1215 Qt%{qtmajor} Lib.
1216
1217 %files -n %{libqtsysteminfo}
1218 %{_qt5_libdir}/libQtSystemInfo.so.%{qtmajor}*
1219 %{_qt5_importdir}/QtSystemInfo
1220
1221 #------------------------------------------------------------------------------
1222
1223 %package -n %{libqtsysteminfo_d}
1224 Summary: Devel files needed to build apps based on QtSystemInfo
1225 Group: Development/KDE and Qt
1226 Requires(pre): %{name}-common = %{version}
1227 Requires: %{libqtsysteminfo} = %version
1228 Provides: libqtsysteminfo5-devel = %version
1229
1230 %description -n %{libqtsysteminfo_d}
1231 Devel files needed to build apps based on QtSystemInfo.
1232
1233 %files -n %{libqtsysteminfo_d}
1234 %{_qt5_libdir}/libQtSystemInfo.so
1235 %{_qt5_libdir}/libQtSystemInfo.prl
1236 %{_qt5_libdir}/pkgconfig/QtSystemInfo.pc
1237
1238 #------------------------------------------------------------------------------
1239
1240 %package -n %{libqtsensors}
1241 Summary: Qt%{qtmajor} Lib
1242 Group: System/Libraries
1243 Requires(pre): %{name}-common = %{version}
1244
1245 %description -n %{libqtsensors}
1246 Qt%{qtmajor} Lib.
1247
1248 %files -n %{libqtsensors}
1249 %{_qt5_libdir}/libQtSensors.so.%{qtmajor}*
1250 %{_qt5_importdir}/QtSensors
1251 %{_qt5_plugindir}/sensorgestures
1252
1253 #------------------------------------------------------------------------------
1254
1255 %package -n %{libqtsensors_d}
1256 Summary: Devel files needed to build apps based on QtSensors
1257 Group: Development/KDE and Qt
1258 Requires(pre): %{name}-common = %{version}
1259 Requires: %{libqtsensors} = %version
1260 Provides: libqtsensors5-devel = %version
1261
1262 %description -n %{libqtsensors_d}
1263 Devel files needed to build apps based on QtSensors.
1264
1265 %files -n %{libqtsensors_d}
1266 %{_qt5_libdir}/libQtSensors.so
1267 %{_qt5_libdir}/libQtSensors.prl
1268 %{_qt5_libdir}/pkgconfig/QtSensors.pc
1269
1270 #------------------------------------------------------------------------------
1271
1272 %package -n %{libqtquicktest}
1273 Summary: Qt%{qtmajor} Lib
1274 Group: System/Libraries
1275 Requires(pre): %{name}-common = %{version}
1276
1277 %description -n %{libqtquicktest}
1278 Qt%{qtmajor} Lib.
1279
1280 %files -n %{libqtquicktest}
1281 %{_qt5_libdir}/libQtQuickTest.so.%{qtmajor}*
1282
1283 #------------------------------------------------------------------------------
1284
1285 %package -n %{libqtquicktest_d}
1286 Summary: Devel files needed to build apps based on QtQuickTest
1287 Group: Development/KDE and Qt
1288 Requires(pre): %{name}-common = %{version}
1289 Requires: %{libqtquicktest} = %version
1290 Provides: libqtquicktest5-devel = %version
1291
1292 %description -n %{libqtquicktest_d}
1293 Devel files needed to build apps based on QtQuickTest.
1294
1295 %files -n %{libqtquicktest_d}
1296 %{_qt5_libdir}/libQtQuickTest.so
1297 %{_qt5_libdir}/libQtQuickTest.prl
1298 %{_qt5_libdir}/pkgconfig/QtQuickTest.pc
1299
1300 #------------------------------------------------------------------------------
1301 #
1302 #%package -n %{libqtquick1}
1303 #Summary: Qt%{qtmajor} Lib
1304 #Group: System/Libraries
1305 #Requires(pre): %{name}-common = %{version}
1306 #
1307 #%description -n %{libqtquick1}
1308 #Qt%{qtmajor} Lib.
1309 #
1310 #%files -n %{libqtquick1}
1311 #%{_qt5_libdir}/libQtQuick1.so.%{qtmajor}*
1312 #
1313 #------------------------------------------------------------------------------
1314 #
1315 #%package -n %{libqtquick1_d}
1316 #Summary: Devel files needed to build apps based on QtQuick1
1317 #Group: Development/KDE and Qt
1318 #Requires(pre): %{name}-common = %{version}
1319 #Requires: %{libqtquick1} = %version
1320 #Provides: libqtquick15-devel = %version
1321 #
1322 #%description -n %{libqtquick1_d}
1323 #Devel files needed to build apps based on QtQuick1.
1324 #
1325 #%files -n %{libqtquick1_d}
1326 #%{_qt5_libdir}/libQtQuick1.so
1327 #%{_qt5_libdir}/pkgconfig/QtQuick1.pc
1328 #
1329 #------------------------------------------------------------------------------
1330
1331 %package -n %{libqtquick}
1332 Summary: Qt%{qtmajor} Lib
1333 Group: System/Libraries
1334 Requires(pre): %{name}-common = %{version}
1335
1336 %description -n %{libqtquick}
1337 Qt%{qtmajor} Lib.
1338
1339 %files -n %{libqtquick}
1340 %{_qt5_libdir}/libQtQuick.so.%{qtmajor}*
1341 %{_qt5_importdir}/QtQuick.2
1342 %{_qt5_importdir}/QtQuick
1343
1344 #------------------------------------------------------------------------------
1345
1346 %package -n %{libqtquick_d}
1347 Summary: Devel files needed to build apps based on QtQuick
1348 Group: Development/KDE and Qt
1349 Requires(pre): %{name}-common = %{version}
1350 Requires: %{libqtquick} = %version
1351 Provides: libqtquick5-devel = %version
1352
1353 %description -n %{libqtquick_d}
1354 Devel files needed to build apps based on QtQuick.
1355
1356 %files -n %{libqtquick_d}
1357 %{_qt5_libdir}/libQtQuick.so
1358 %{_qt5_libdir}/libQtQuick.prl
1359 %{_qt5_libdir}/pkgconfig/QtQuick.pc
1360
1361 #------------------------------------------------------------------------------
1362
1363 %package -n %{libqtqml}
1364 Summary: Qt%{qtmajor} Lib
1365 Group: System/Libraries
1366 Requires(pre): %{name}-common = %{version}
1367
1368 %description -n %{libqtqml}
1369 Qt%{qtmajor} Lib.
1370
1371 %files -n %{libqtqml}
1372 %{_qt5_libdir}/libQtQml.so.%{qtmajor}*
1373 #%{_qt5_plugindir}/sceneformats
1374
1375 #------------------------------------------------------------------------------
1376
1377 %package -n %{libqtqml_d}
1378 Summary: Devel files needed to build apps based on QtQml
1379 Group: Development/KDE and Qt
1380 Requires(pre): %{name}-common = %{version}
1381 Requires: %{libqtqml} = %version
1382 Provides: libqtqml5-devel = %version
1383
1384 %description -n %{libqtqml_d}
1385 Devel files needed to build apps based on QtQml.
1386
1387 %files -n %{libqtqml_d}
1388 %{_qt5_libdir}/libQtQml.so
1389 %{_qt5_libdir}/libQtQml.prl
1390 %{_qt5_libdir}/pkgconfig/QtQml.pc
1391
1392 #------------------------------------------------------------------------------
1393
1394 %package -n %{libqtpublishsubscribe}
1395 Summary: Qt%{qtmajor} Lib
1396 Group: System/Libraries
1397 Requires(pre): %{name}-common = %{version}
1398
1399 %description -n %{libqtpublishsubscribe}
1400 Qt%{qtmajor} Lib.
1401
1402 %files -n %{libqtpublishsubscribe}
1403 %{_qt5_libdir}/libQtPublishSubscribe.so.%{qtmajor}*
1404 %{_qt5_importdir}/QtPublishSubscribe
1405
1406 #------------------------------------------------------------------------------
1407
1408 %package -n %{libqtpublishsubscribe_d}
1409 Summary: Devel files needed to build apps based on QtPublishSubscribe
1410 Group: Development/KDE and Qt
1411 Requires(pre): %{name}-common = %{version}
1412 Requires: %{libqtpublishsubscribe} = %version
1413 Provides: libqtpublishsubscribe5-devel = %version
1414
1415 %description -n %{libqtpublishsubscribe_d}
1416 Devel files needed to build apps based on QtPublishSubscribe.
1417
1418 %files -n %{libqtpublishsubscribe_d}
1419 %{_qt5_libdir}/libQtPublishSubscribe.so
1420 %{_qt5_libdir}/libQtPublishSubscribe.prl
1421 %{_qt5_libdir}/pkgconfig/QtPublishSubscribe.pc
1422
1423 #------------------------------------------------------------------------------
1424
1425 %package -n %{libqtprintsupport}
1426 Summary: Qt%{qtmajor} Lib
1427 Group: System/Libraries
1428 Requires(pre): %{name}-common = %{version}
1429
1430 %description -n %{libqtprintsupport}
1431 Qt%{qtmajor} Lib.
1432
1433 %files -n %{libqtprintsupport}
1434 %{_qt5_libdir}/libQtPrintSupport.so.%{qtmajor}*
1435 %{_qt5_plugindir}/printsupport
1436
1437 #------------------------------------------------------------------------------
1438
1439 %package -n %{libqtprintsupport_d}
1440 Summary: Devel files needed to build apps based on QtPrintSupport
1441 Group: Development/KDE and Qt
1442 Requires(pre): %{name}-common = %{version}
1443 Requires: %{libqtprintsupport} = %version
1444 Provides: libqtprintsupport5-devel = %version
1445
1446 %description -n %{libqtprintsupport_d}
1447 Devel files needed to build apps based on QtPrintSupport.
1448
1449 %files -n %{libqtprintsupport_d}
1450 %{_qt5_libdir}/libQtPrintSupport.so
1451 %{_qt5_libdir}/libQtPrintSupport.prl
1452 %{_qt5_libdir}/pkgconfig/QtPrintSupport.pc
1453
1454 #------------------------------------------------------------------------------
1455
1456 %package -n %{libgruesensor}
1457 Summary: Qt%{qtmajor} Lib
1458 Group: System/Libraries
1459 Requires(pre): %{name}-common = %{version}
1460
1461 %description -n %{libgruesensor}
1462 Qt%{qtmajor} Lib.
1463
1464 %files -n %{libgruesensor}
1465 %{_qt5_libdir}/libgruesensor.so.%{major_private}*
1466 %{_qt5_importdir}/Grue
1467
1468 #------------------------------------------------------------------------------
1469
1470 %package -n %{libgruesensor_d}
1471 Summary: Devel files needed to build apps based on gruesensor
1472 Group: Development/KDE and Qt
1473 Requires(pre): %{name}-common = %{version}
1474 Requires: %{libgruesensor} = %version
1475 Provides: libgruesensor5-devel = %version
1476
1477 %description -n %{libgruesensor_d}
1478 Devel files needed to build apps based on gruesensor.
1479
1480 %files -n %{libgruesensor_d}
1481 %{_qt5_libdir}/libgruesensor.so
1482
1483 #------------------------------------------------------------------------------
1484
1485 %package -n %{libqtaddongallery}
1486 Summary: Qt%{qtmajor} Lib
1487 Group: System/Libraries
1488 Requires(pre): %{name}-common = %{version}
1489
1490 %description -n %{libqtaddongallery}
1491 Qt%{qtmajor} Lib.
1492
1493 %files -n %{libqtaddongallery}
1494 %{_qt5_libdir}/libQtAddOnGallery.so.%{qtmajor}*
1495 %{_qt5_importdir}/QtAddOn
1496
1497 #------------------------------------------------------------------------------
1498
1499 %package -n %{libqtaddongallery_d}
1500 Summary: Devel files needed to build apps based on QtAddOnGallery
1501 Group: Development/KDE and Qt
1502 Requires(pre): %{name}-common = %{version}
1503 Requires: %{libqtaddongallery} = %version
1504 Provides: libqtaddongallery5-devel = %version
1505
1506 %description -n %{libqtaddongallery_d}
1507 Devel files needed to build apps based on QtAddOnGallery.
1508
1509 %files -n %{libqtaddongallery_d}
1510 %{_qt5_libdir}/libQtAddOnGallery.prl
1511 %{_qt5_libdir}/libQtAddOnGallery.so
1512 %{_qt5_libdir}/pkgconfig/QtAddOnGallery.pc
1513
1514 #------------------------------------------------------------------------------
1515
1516 %package -n %{libqtbluetooth}
1517 Summary: Qt%{qtmajor} Lib
1518 Group: System/Libraries
1519 Requires(pre): %{name}-common = %{version}
1520
1521 %description -n %{libqtbluetooth}
1522 Qt%{qtmajor} Lib.
1523
1524 %files -n %{libqtbluetooth}
1525 %{_qt5_libdir}/libQtBluetooth.so.%{qtmajor}*
1526 %{_qt5_importdir}/QtBluetooth
1527
1528 #------------------------------------------------------------------------------
1529
1530 %package -n %{libqtbluetooth_d}
1531 Summary: Devel files needed to build apps based on QtBluetooth
1532 Group: Development/KDE and Qt
1533 Requires(pre): %{name}-common = %{version}
1534 Requires: %{libqtbluetooth} = %version
1535 Provides: libqtbluetooth5-devel = %version
1536
1537 %description -n %{libqtbluetooth_d}
1538 Devel files needed to build apps based on QtBluetooth.
1539
1540 %files -n %{libqtbluetooth_d}
1541 %{_qt5_libdir}/libQtBluetooth.prl
1542 %{_qt5_libdir}/libQtBluetooth.so
1543 %{_qt5_libdir}/pkgconfig/QtBluetooth.pc
1544
1545 #------------------------------------------------------------------------------
1546
1547 %package -n %{libqtcontacts}
1548 Summary: Qt%{qtmajor} Lib
1549 Group: System/Libraries
1550 Requires(pre): %{name}-common = %{version}
1551
1552 %description -n %{libqtcontacts}
1553 Qt%{qtmajor} Lib.
1554
1555 %files -n %{libqtcontacts}
1556 %{_qt5_libdir}/libQtContacts.so.%{qtmajor}*
1557 %{_qt5_importdir}/QtContacts
1558 %{_qt5_plugindir}/contacts
1559
1560 #------------------------------------------------------------------------------
1561
1562 %package -n %{libqtcontacts_d}
1563 Summary: Devel files needed to build apps based on QtContacts
1564 Group: Development/KDE and Qt
1565 Requires(pre): %{name}-common = %{version}
1566 Requires: %{libqtcontacts} = %version
1567 Provides: libqtcontacts5-devel = %version
1568
1569 %description -n %{libqtcontacts_d}
1570 Devel files needed to build apps based on QtContacts.
1571
1572 %files -n %{libqtcontacts_d}
1573 %{_qt5_libdir}/libQtContacts.prl
1574 %{_qt5_libdir}/libQtContacts.so
1575 %{_qt5_libdir}/pkgconfig/QtContacts.pc
1576
1577 #------------------------------------------------------------------------------
1578
1579 %package -n %{libqtfeedback}
1580 Summary: Qt%{qtmajor} Lib
1581 Group: System/Libraries
1582 Requires(pre): %{name}-common = %{version}
1583
1584 %description -n %{libqtfeedback}
1585 Qt%{qtmajor} Lib.
1586
1587 %files -n %{libqtfeedback}
1588 %{_qt5_libdir}/libQtFeedback.so.%{qtmajor}*
1589 %{_qt5_importdir}/QtFeedback
1590 %{_qt5_plugindir}/feedback
1591
1592 #------------------------------------------------------------------------------
1593
1594 %package -n %{libqtfeedback_d}
1595 Summary: Devel files needed to build apps based on QtContacts
1596 Group: Development/KDE and Qt
1597 Requires(pre): %{name}-common = %{version}
1598 Requires: %{libqtfeedback} = %version
1599 Provides: libqtfeedback5-devel = %version
1600
1601 %description -n %{libqtfeedback_d}
1602 Devel files needed to build apps based on QtContacts.
1603
1604 %files -n %{libqtfeedback_d}
1605 %{_qt5_libdir}/libQtFeedback.prl
1606 %{_qt5_libdir}/libQtFeedback.so
1607 %{_qt5_libdir}/pkgconfig/QtFeedback.pc
1608
1609 #------------------------------------------------------------------------------
1610
1611 %package -n %{libqtjsondb}
1612 Summary: Qt%{qtmajor} Lib
1613 Group: System/Libraries
1614 Requires(pre): %{name}-common = %{version}
1615
1616 %description -n %{libqtjsondb}
1617 Qt%{qtmajor} Lib.
1618
1619 %files -n %{libqtjsondb}
1620 %{_qt5_libdir}/libQtJsonDb.so.%{major_private}*
1621 %{_qt5_importdir}/QtJsonDb
1622
1623 #------------------------------------------------------------------------------
1624
1625 %package -n %{libqtjsondb_d}
1626 Summary: Devel files needed to build apps based on QtJsonDb
1627 Group: Development/KDE and Qt
1628 Requires(pre): %{name}-common = %{version}
1629 Requires: %{libqtjsondb} = %version
1630 Provides: libqtjsondb5-devel = %version
1631
1632 %description -n %{libqtjsondb_d}
1633 Devel files needed to build apps based on QtJsonDb.
1634
1635 %files -n %{libqtjsondb_d}
1636 %{_qt5_libdir}/libQtJsonDb.prl
1637 %{_qt5_libdir}/libQtJsonDb.so
1638 %{_qt5_libdir}/pkgconfig/QtJsonDb.pc
1639
1640 #------------------------------------------------------------------------------
1641
1642 %package -n %{libqtjsondbcompat}
1643 Summary: Qt%{qtmajor} Lib
1644 Group: System/Libraries
1645 Requires(pre): %{name}-common = %{version}
1646
1647 %description -n %{libqtjsondbcompat}
1648 Qt%{qtmajor} Lib.
1649
1650 %files -n %{libqtjsondbcompat}
1651 %{_qt5_libdir}/libQtJsonDbCompat.so.%{major_private}*
1652
1653 #------------------------------------------------------------------------------
1654
1655 %package -n %{libqtjsondbcompat_d}
1656 Summary: Devel files needed to build apps based on QtJsonDbCompat
1657 Group: Development/KDE and Qt
1658 Requires(pre): %{name}-common = %{version}
1659 Requires: %{libqtjsondbcompat} = %version
1660 Provides: libqtjsondbcompat5-devel = %version
1661
1662 %description -n %{libqtjsondbcompat_d}
1663 Devel files needed to build apps based on QtJsonDbCompat.
1664
1665 %files -n %{libqtjsondbcompat_d}
1666 %{_qt5_libdir}/libQtJsonDbCompat.prl
1667 %{_qt5_libdir}/libQtJsonDbCompat.so
1668 %{_qt5_libdir}/pkgconfig/QtJsonDbCompat.pc
1669
1670 #------------------------------------------------------------------------------
1671
1672 %package -n %{libqtjsondbpartition}
1673 Summary: Qt%{qtmajor} Lib
1674 Group: System/Libraries
1675 Requires(pre): %{name}-common = %{version}
1676
1677 %description -n %{libqtjsondbpartition}
1678 Qt%{qtmajor} Lib.
1679
1680 %files -n %{libqtjsondbpartition}
1681 %{_qt5_libdir}/libQtJsonDbPartition.so.%{major_private}*
1682
1683 #------------------------------------------------------------------------------
1684
1685 %package -n %{libqtjsondbpartition_d}
1686 Summary: Devel files needed to build apps based on QtJsonDbPartition
1687 Group: Development/KDE and Qt
1688 Requires(pre): %{name}-common = %{version}
1689 Requires: %{libqtjsondbpartition} = %version
1690 Provides: libqtjsondbpartition5-devel = %version
1691
1692 %description -n %{libqtjsondbpartition_d}
1693 Devel files needed to build apps based on QtJsonDbPartition.
1694
1695 %files -n %{libqtjsondbpartition_d}
1696 %{_qt5_libdir}/libQtJsonDbPartition.prl
1697 %{_qt5_libdir}/libQtJsonDbPartition.so
1698 %{_qt5_libdir}/pkgconfig/QtJsonDbPartition.pc
1699
1700 #------------------------------------------------------------------------------
1701
1702 %package -n %{libqtorganizer}
1703 Summary: Qt%{qtmajor} Lib
1704 Group: System/Libraries
1705 Requires(pre): %{name}-common = %{version}
1706
1707 %description -n %{libqtorganizer}
1708 Qt%{qtmajor} Lib.
1709
1710 %files -n %{libqtorganizer}
1711 %{_qt5_libdir}/libQtOrganizer.so.%{qtmajor}*
1712 %{_qt5_importdir}/QtOrganizer
1713 %{_qt5_plugindir}/organizer
1714
1715 #------------------------------------------------------------------------------
1716
1717 %package -n %{libqtorganizer_d}
1718 Summary: Devel files needed to build apps based on QtOrganizer
1719 Group: Development/KDE and Qt
1720 Requires(pre): %{name}-common = %{version}
1721 Requires: %{libqtorganizer} = %version
1722 Provides: libqtorganizer5-devel = %version
1723
1724 %description -n %{libqtorganizer_d}
1725 Devel files needed to build apps based on QtOrganizer.
1726
1727 %files -n %{libqtorganizer_d}
1728 %{_qt5_libdir}/libQtOrganizer.prl
1729 %{_qt5_libdir}/libQtOrganizer.so
1730 %{_qt5_libdir}/pkgconfig/QtOrganizer.pc
1731
1732 #------------------------------------------------------------------------------
1733
1734 %package -n %{libqtquickparticles}
1735 Summary: Qt%{qtmajor} Lib
1736 Group: System/Libraries
1737 Requires(pre): %{name}-common = %{version}
1738
1739 %description -n %{libqtquickparticles}
1740 Qt%{qtmajor} Lib.
1741
1742 %files -n %{libqtquickparticles}
1743 %{_qt5_libdir}/libQtQuickParticles.so.%{qtmajor}*
1744
1745 #------------------------------------------------------------------------------
1746
1747 %package -n %{libqtquickparticles_d}
1748 Summary: Devel files needed to build apps based on QtQuickParticles
1749 Group: Development/KDE and Qt
1750 Requires(pre): %{name}-common = %{version}
1751 Requires: %{libqtquickparticles} = %version
1752 Provides: libqtquickparticles5-devel = %version
1753
1754 %description -n %{libqtquickparticles_d}
1755 Devel files needed to build apps based on QtQuickParticles.
1756
1757 %files -n %{libqtquickparticles_d}
1758 %{_qt5_libdir}/libQtQuickParticles.prl
1759 %{_qt5_libdir}/libQtQuickParticles.so
1760 %{_qt5_libdir}/pkgconfig/QtQuickParticles.pc
1761
1762 #------------------------------------------------------------------------------
1763
1764 %package -n %{libqtversit}
1765 Summary: Qt%{qtmajor} Lib
1766 Group: System/Libraries
1767 Requires(pre): %{name}-common = %{version}
1768
1769 %description -n %{libqtversit}
1770 Qt%{qtmajor} Lib.
1771
1772 %files -n %{libqtversit}
1773 %{_qt5_libdir}/libQtVersit.so.%{qtmajor}*
1774 %{_qt5_plugindir}/versit
1775
1776 #------------------------------------------------------------------------------
1777
1778 %package -n %{libqtversit_d}
1779 Summary: Devel files needed to build apps based on QtVersit
1780 Group: Development/KDE and Qt
1781 Requires(pre): %{name}-common = %{version}
1782 Requires: %{libqtversit} = %version
1783 Provides: libqtversit5-devel = %version
1784
1785 %description -n %{libqtversit_d}
1786 Devel files needed to build apps based on QtVersit.
1787
1788 %files -n %{libqtversit_d}
1789 %{_qt5_libdir}/libQtVersit.prl
1790 %{_qt5_libdir}/libQtVersit.so
1791 %{_qt5_libdir}/pkgconfig/QtVersit.pc
1792
1793 #------------------------------------------------------------------------------
1794
1795 %package -n %{libqtversitorganizer}
1796 Summary: Qt%{qtmajor} Lib
1797 Group: System/Libraries
1798 Requires(pre): %{name}-common = %{version}
1799
1800 %description -n %{libqtversitorganizer}
1801 Qt%{qtmajor} Lib.
1802
1803 %files -n %{libqtversitorganizer}
1804 %{_qt5_libdir}/libQtVersitOrganizer.so.%{qtmajor}*
1805
1806 #------------------------------------------------------------------------------
1807
1808 %package -n %{libqtversitorganizer_d}
1809 Summary: Devel files needed to build apps based on QtVersitOrganizer
1810 Group: Development/KDE and Qt
1811 Requires(pre): %{name}-common = %{version}
1812 Requires: %{libqtversitorganizer} = %version
1813 Provides: libqtversitorganizer5-devel = %version
1814
1815 %description -n %{libqtversitorganizer_d}
1816 Devel files needed to build apps based on QtVersitOrganizer.
1817
1818 %files -n %{libqtversitorganizer_d}
1819 %{_qt5_libdir}/libQtVersitOrganizer.prl
1820 %{_qt5_libdir}/libQtVersitOrganizer.so
1821 %{_qt5_libdir}/pkgconfig/QtVersitOrganizer.pc
1822
1823 #------------------------------------------------------------------------------
1824
1825 %if %with local_phonon_package
1826 %package -n %{libphonon}
1827 Summary: Qt%{qtmajor} Phonon Library
1828 Group: System/Libraries
1829 Requires(pre): %{name}-common = %{version}
1830
1831 %description -n %{libphonon}
1832 Qt%{qtmajor} Phonon Library.
1833
1834 %files -n %{libphonon}
1835 %{_qt5_libdir}/libphonon.so.%{qtmajor}*
1836
1837 #------------------------------------------------------------------------------
1838
1839 %package -n phonon-gstreamer
1840 Summary: Qt%{qtmajor} honon gstreamer backend
1841 Group: System/Libraries
1842 Provides: phonon-backend = %{version}
1843 BuildRequires: pkgconfig(gstreamer-0.10)
1844 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
1845 Requires: gstreamer0.10-plugins-good
1846 Requires: gstreamer0.10-pulse
1847 Suggests: gstreamer0.10-ffmpeg
1848 Suggests: gstreamer0.10-soup
1849
1850 %description -n phonon-gstreamer
1851 Qt%{qtmajor} phonon library.
1852
1853 %files -n phonon-gstreamer
1854 %{_qt5_plugindir}/phonon_backend/libphonon_gstreamer.so
1855
1856 #------------------------------------------------------------------------------
1857
1858 %package designer-plugin-phonon
1859 Summary: Designer Plugin for phonon Qt%{qtmajor} support
1860 Group: Development/KDE and Qt
1861
1862 %description designer-plugin-phonon
1863 Designer Plugin for phonon Qt%{qtmajor} support.
1864
1865 %files designer-plugin-phonon
1866 %{_qt5_plugindir}/designer/libphononwidgets.so
1867
1868 %endif
1869
1870 #------------------------------------------------------------------------------
1871
1872 %package imports-qtgraphicaleffects
1873 Summary: Designer Plugin for phonon Qt%{qtmajor} support
1874 Group: Development/KDE and Qt
1875
1876 %description imports-qtgraphicaleffects
1877 Designer Plugin for phonon Qt%{qtmajor} support.
1878
1879 %files imports-qtgraphicaleffects
1880 %{_qt5_importdir}/QtGraphicalEffects
1881
1882 #------------------------------------------------------------------------------
1883 #
1884 #%package qtdbus
1885 #Summary: Qt%{qtmajor} Dbus Binary
1886 #Group: Development/KDE and Qt
1887 #
1888 #%description qtdbus
1889 #Qt%{qtmajor} Dbus Binary.
1890 #
1891 #The QtDBus module is a Unix-only library that you can use to perform
1892 #Inter-Process Communication using the D-Bus protocol.
1893 #
1894 #%files qtdbus
1895 #%{_qt5_bindir}/qdbus
1896 #%{_qt5_bindir}/qdbusviewer
1897 #
1898 #------------------------------------------------------------------------------
1899
1900 %package qmlviewer
1901 Summary: Qt%{qtmajor} Qmlviewer Utility
1902 Group: Development/KDE and Qt
1903
1904 %description qmlviewer
1905 Qt%{qtmajor} Qmlviewer Utility.
1906
1907 This a tool for loading QML documents that makes it easy to quickly
1908 develop and debug QML applications.
1909
1910 %files qmlviewer
1911 #%{_qt5_bindir}/qmlviewer
1912 # (nl) is it on the good subpackage ?
1913 %{_qt5_bindir}/qmlmin
1914 %{_qt5_bindir}/qmlplugindump
1915 %{_qt5_bindir}/qmlprofiler
1916 %{_qt5_bindir}/qmlscene
1917 %{_qt5_bindir}/qmltestrunner
1918 %{_qt5_importdir}/Qt
1919 %if %with_webkit
1920 %{_qt5_importdir}/QtWebKit/libqmlwebkitplugin.so
1921 %{_qt5_importdir}/QtWebKit/qmldir
1922 %endif
1923 %{_qt5_importdir}/Explorer
1924 %{_qt5_plugindir}/bearer/libqgenericbearer.so
1925 %{_qt5_plugindir}/bearer/libqnmbearer.so
1926 %{_qt5_plugindir}/bearer/libqconnmanbearer.so
1927 %{_qt5_plugindir}/qmltooling/libqmldbg_tcp.so
1928 %{_qt5_plugindir}/qmltooling/libqmldbg_qtquick2.so
1929
1930 #------------------------------------------------------------------------------
1931
1932 # make a devel private subpkg or not?
1933 %define private 1
1934
1935 %package -n %{libqtdevel}
1936 Summary: Development files for the Qt%{qtmajor} GUI toolkit
1937 Group: Development/KDE and Qt
1938 Requires: %{name}-common = %{version}
1939 #Requires: qt5-qtconfig
1940 Provides: qt5-devel = %{version}-%release
1941 Provides: libqt5-devel = %{version}-%release
1942 #Requires: %{libqtdeclarative_d} = %{version}
1943 Requires: %{libqtsvg_d} = %{version}
1944 #Requires: %{libqtclucene_d} = %{version}
1945 Requires: %{libqttest_d} = %{version}
1946 %if %with_webkit
1947 Requires: %{libqtwebkit_d} = %{version}
1948 Requires: qt5-designer-plugin-webkit = %{version}
1949 %endif
1950 Requires: %{libqtscript_d} = %{version}
1951 #Requires: %{libqthelp_d} = %{version}
1952 Requires: %{libqtmultimedia_d} = %{version}
1953 %if %with local_phonon_package
1954 Requires: %{libphonon_d} = %{version}
1955 Requires: qt5-designer-plugin-phonon = %{version}
1956 %else
1957 Requires: phonon-devel
1958 %endif
1959 Requires: %{libqt3d_d} = %{version}
1960 Requires: %{libqt3dquick_d} = %{version}
1961 Requires: %{libqtconcurrent_d} = %{version}
1962 Requires: %{libqtlocation_d} = %{version}
1963 Requires: %{libqtmultimediawidgets_d} = %{version}
1964 #Requires: %{libqgsttools_p_d} = %{version}
1965 Requires: %{libqtwidgets_d} = %{version}
1966 Requires: %{libqtv8_d} = %{version}
1967 Requires: %{libqtserviceframework_d} = %{version}
1968 Requires: %{libqtsysteminfo_d} = %{version}
1969 Requires: %{libqtsensors_d} = %{version}
1970 #Requires: %{libqtquick1_d} = %{version}
1971 Requires: %{libqtquick_d} = %{version}
1972 Requires: %{libqtqml_d} = %{version}
1973 Requires: %{libqtpublishsubscribe_d} = %{version}
1974 Requires: %{libqtprintsupport_d} = %{version}
1975 Requires: %{libqtscripttools_d} = %{version}
1976 Requires: %{libqtsql_d} = %{version}
1977 Requires: %{libqtopengl_d} = %{version}
1978 #Requires: %{libqtdesigner_d} = %{version}
1979 Requires: %{libqtgui_d} = %{version}
1980 Requires: %{libqtcore_d} = %{version}
1981 Requires: %{libqtnetwork_d} = %{version}
1982 Requires: %{libgruesensor_d} = %{version}
1983 Requires: %{libqtaddongallery_d} = %{version}
1984 Requires: %{libqtbluetooth_d} = %{version}
1985 Requires: %{libqtcontacts_d} = %{version}
1986 Requires: %{libqtfeedback_d} = %{version}
1987 Requires: %{libqtjsondb_d} = %{version}
1988 Requires: %{libqtjsondbcompat_d} = %{version}
1989 Requires: %{libqtjsondbpartition_d} = %{version}
1990 Requires: %{libqtmultimediaquick_p_d} = %{version}
1991 Requires: %{libqtorganizer_d} = %{version}
1992 Requires: %{libqtquickparticles_d} = %{version}
1993 Requires: %{libqtversitorganizer_d} = %{version}
1994 Requires: %{libqtversit_d} = %{version}
1995 Requires: %{libqtxml_d} = %{version}
1996 Requires: %{libqtxmlpatterns} = %{version}
1997
1998 #Requires: qt5-qtdbus = %{version}
1999 #Requires: qt5-designer-plugin-qt3support = %{version}
2000 Requires: pkgconfig(glu)
2001 Requires: pkgconfig(libpng)
2002 Requires: jpeg-devel
2003 Requires: make
2004
2005 %description -n %{libqtdevel}
2006 The %{name}-devel package contains the files necessary to develop
2007 applications using the Qt GUI toolkit: the header files, the Qt
2008 meta object compiler, and the static libraries. See the address
2009 http://qt.nokia.com/ for more information about Qt%{qtmajor}.
2010
2011 Install %{name}-devel if you want to develop GUI applications using the
2012 Qt toolkit.
2013
2014 %post -n %{libqtdevel}
2015 update-alternatives --install %{_bindir}/qmake qmake %{_qt5_bindir}/qmake 20
2016
2017 %postun -n %{libqtdevel}
2018 if ! [ -e %{_qt5_bindir}/qmake ]; then
2019 update-alternatives --remove qmake %{_qt5_bindir}/qmake
2020 fi
2021
2022 %files -n %{libqtdevel}
2023 %{_sysconfdir}/rpm/macros.d/qt5.macros
2024 #%{_qt5_bindir}/pixeltool
2025 #%{_qt5_bindir}/lrelease
2026 #%{_qt5_bindir}/lupdate
2027 %{_qt5_bindir}/moc
2028 %{_qt5_bindir}/qdbusxml2cpp
2029 %{_qt5_bindir}/qdbuscpp2xml
2030 %{_qt5_bindir}/qmake
2031 %{_qt5_bindir}/qmlplugindump
2032 #%{_qt5_bindir}/qttracereplay
2033 %{_qt5_bindir}/rcc
2034 %{_qt5_bindir}/uic
2035 %{_qt5_bindir}/xmlpatternsvalidator
2036 %{_qt5_datadir}/mkspecs
2037
2038 #%{_qt5_libdir}/libqgsttools_p.so
2039
2040 %{_qt5_libdir}/libQtPlatformSupport.prl
2041 %{_qt5_libdir}/pkgconfig/QtPlatformSupport.pc
2042
2043 %{_qt5_libdir}/libQtQmlDevTools.prl
2044 %{_qt5_libdir}/pkgconfig/QtQmlDevTools.pc
2045
2046 %{_qt5_libdir}/cmake
2047 %{_qt5_includedir}
2048
2049 #------------------------------------------------------------------------------
2050
2051 %package xmlpatterns
2052 Summary: Qt%{qtmajor} Xmlpatterns Utility
2053 Group: Development/KDE and Qt
2054
2055 %description xmlpatterns
2056 Qt%{qtmajor} Xmlpatterns Utility.
2057
2058 The QtXmlPatterns module provides support for XPath, XQuery, XSLT and
2059 XML Schema validation.
2060
2061 %files xmlpatterns
2062 %{_qt5_bindir}/xmlpatterns
2063
2064 #------------------------------------------------------------------------------
2065
2066 %if 0
2067 %package qtconfig
2068 Summary: Qt%{qtmajor} Configuration Utility
2069 Group: Development/KDE and Qt
2070
2071 %description qtconfig
2072 Main Qt%{qtmajor} Configuration Utility.
2073
2074 The qtconfig tool allows users to customize the default settings for Qt
2075 applications on a per-user basis, enabling features such as the widget
2076 style to be changed without requiring applications to be recompiled.
2077
2078 %post qtconfig
2079 update-alternatives --install %{_bindir}/qtconfig qtconfig %{_qt5_bindir}/qtconfig 20
2080
2081 %postun qtconfig
2082 if ! [ -e %{_qt5_bindir}/qtconfig ]; then
2083 update-alternatives --remove qtconfig %{_qt5_bindir}/qtconfig
2084 fi
2085
2086 %files qtconfig
2087 %endif
2088
2089 #------------------------------------------------------------------------------
2090
2091 %if %with docs
2092
2093 %package doc
2094 Summary: HTML Documentation for Qt%{qtmajor}
2095 Group: Books/Computer books
2096 BuildArch: noarch
2097
2098 %description doc
2099 HTML documentation for the Qt toolkit. To view the documentation,
2100 please load up the file %_qt5_docdir/html/index.html in your
2101 favourite browser.
2102
2103 %post doc
2104 # Remove old qt5 doc directories
2105 find %_docdir -maxdepth 1 -type d -name qt-5.\* -exec rm -rf {} \;
2106
2107 %files doc
2108 %_qt5_docdir
2109
2110 #------------------------------------------------------------------------------
2111
2112 %package demos
2113 Summary: Demonstration applications with Qt%{qtmajor}
2114 Group: Books/Computer books
2115 Obsoletes: %{name}-demos < 4:4.7.0-3
2116
2117 %description demos
2118 Demonstration applications with Qt%{qtmajor}.
2119
2120 %files demos
2121
2122 #------------------------------------------------------------------------------
2123
2124 %package examples
2125 Summary: Example programs made with Qt%{qtmajor}
2126 Group: Books/Computer books
2127
2128 %description examples
2129 Example programs made with Qt%{qtmajor}.
2130
2131 %files examples
2132 %{_qt5_examplesdir}
2133 %endif
2134
2135 #------------------------------------------------------------------------------
2136
2137 %package linguist
2138 Summary: Qt%{qtmajor} linguist translation utility
2139 Group: Books/Computer books
2140 Requires(post): desktop-file-utils
2141 Requires(postun): desktop-file-utils
2142
2143 %description linguist
2144 Qt Linguist provides easy translation of Qt GUIs to different.
2145 languages.
2146
2147 %files linguist
2148 #%{_qt5_bindir}/lingu*
2149 #%{_qt5_bindir}/lconvert*
2150 %{_datadir}/applications/*linguist*.desktop
2151 %if %with docs
2152 #%{_qt5_translationdir}/linguist*
2153 %endif
2154
2155 #------------------------------------------------------------------------------
2156
2157 %package assistant
2158 Summary: Qt%{qtmajor} Assistant Doc Utility
2159 Group: Books/Computer books
2160 Requires: qt5-database-plugin-sqlite
2161 Suggests: qt5-doc
2162 Requires(post): desktop-file-utils
2163 Requires(postun): desktop-file-utils
2164
2165 %description assistant
2166 Qt Assistant provides a documentation Browser.
2167
2168 %files assistant
2169 #%{_qt5_bindir}/assistant*
2170 #%{_qt5_bindir}/qcollectiongen*
2171 #%{_qt5_bindir}/qhelpconv*
2172 #%{_qt5_bindir}/qhelpgen*
2173 %{_datadir}/applications/*assistant*.desktop
2174 %if %with docs
2175 #%{_qt5_translationdir}/assistant*
2176 %endif
2177
2178 #------------------------------------------------------------------------------
2179
2180 %if ! %without odbc
2181
2182 %package database-plugin-odbc
2183 Summary: Qt%{qtmajor} Database ODBC Database Plugin
2184 Group: Databases
2185 BuildRequires: unixODBC-devel
2186
2187 %description database-plugin-odbc
2188 The QODBC driver allows you to connect to an ODBC (Open Database
2189 Connectivity) driver manager and access the available data sources.
2190
2191 %files database-plugin-odbc
2192 %{_qt5_plugindir}/sqldrivers/libqsqlodbc.so
2193
2194 %endif
2195
2196 #------------------------------------------------------------------------------
2197
2198 %if ! %without mysql
2199
2200 %package database-plugin-mysql
2201 Summary: Qt%{qtmajor} MYSQL Database Plugin
2202 Group: Databases
2203 BuildRequires: mysql-devel
2204
2205 %description database-plugin-mysql
2206 Database plugin for mysql Qt support.
2207
2208 %files database-plugin-mysql
2209 %{_qt5_plugindir}/sqldrivers/libqsqlmysql.so
2210
2211 %endif
2212
2213 #------------------------------------------------------------------------------
2214
2215 %if ! %without sqlite
2216
2217 %package database-plugin-sqlite
2218 Summary: Qt%{qtmajor} SQLITE Database Plugin
2219 Group: Databases
2220 BuildRequires: sqlite3-devel
2221
2222 %description database-plugin-sqlite
2223 The Qt SQLite plugin makes it possible to access SQLite databases.
2224
2225 %files database-plugin-sqlite
2226 %{_qt5_plugindir}/sqldrivers/libqsqlite.so
2227 %endif
2228
2229 #------------------------------------------------------------------------------
2230
2231 %if ! %without tds
2232
2233 %package database-plugin-tds
2234 Summary: Qt%{qtmajor} FREETDS Database Plugin
2235 Group: Databases
2236 BuildRequires: freetds-devel
2237
2238 %description database-plugin-tds
2239 Database plugin for freetds Qt support.
2240
2241 %files database-plugin-tds
2242 %{_qt5_plugindir}/sqldrivers/libqsqltds.so
2243
2244 %endif
2245
2246 #------------------------------------------------------------------------------
2247
2248 %if %with ibase
2249
2250 %package database-plugin-ibase
2251 Summary: Qt%{qtmajor} Interbase Database Plugin
2252 Group: Databases
2253 BuildRequires: firebird-devel
2254
2255 %description database-plugin-ibase
2256 Database plugin for interbase Qt support.
2257
2258 %files database-plugin-ibase
2259 %{_qt5_plugindir}/sqldrivers/libqsqlibase.so
2260
2261 %endif
2262
2263 #------------------------------------------------------------------------------
2264
2265 %if ! %without postgres
2266
2267 %package database-plugin-pgsql
2268 Summary: Qt%{qtmajor} PGSQL Database Plugin
2269 Group: Databases
2270 BuildRequires: postgresql-devel
2271 BuildRequires: libpq-devel
2272
2273 %description database-plugin-pgsql
2274 Database plugin for pgsql Qt support.
2275
2276 %files database-plugin-pgsql
2277 %{_qt5_plugindir}/sqldrivers/libqsqlpsql.so
2278
2279 %endif
2280
2281 #------------------------------------------------------------------------------
2282
2283 %package graphicssystems-plugin
2284 Summary: Qt%{qtmajor} Graphicssystems Plugins
2285 Group: Development/KDE and Qt
2286
2287 %description graphicssystems-plugin
2288 Graphicssystems plugins for Qt%{qtmajor}.
2289
2290 %files graphicssystems-plugin
2291
2292 #------------------------------------------------------------------------------
2293
2294 %package accessibility-plugin
2295 Summary: Qt%{qtmajor} Accessibility Plugins
2296 Group: Development/KDE and Qt
2297
2298 %description accessibility-plugin
2299 Acessibility plugins for Qt%{qtmajor}.
2300
2301 %files accessibility-plugin
2302 %{_qt5_plugindir}/accessible/
2303
2304 #------------------------------------------------------------------------------
2305
2306 %package designer
2307 Summary: %{name} Visual Design Tool
2308 Group: Development/KDE and Qt
2309 Requires: %{libqtdevel} = %{version}
2310
2311 %description designer
2312 The Qt Designer is a visual design tool that makes designing and
2313 implementing user interfaces a lot easier.
2314
2315 %files designer
2316 #%{_qt5_bindir}/design*
2317 %{_datadir}/applications/*designer*.desktop
2318 %if %with docs
2319 #%{_qt5_translationdir}/designer_*
2320 %endif
2321
2322 #------------------------------------------------------------------------------
2323 #
2324 %if %with_webkit
2325 #
2326 %package designer-plugin-webkit
2327 Summary: designer plugin for webkit Qt%{qtmajor} support
2328 Group: Development/KDE and Qt
2329
2330 %description designer-plugin-webkit
2331 designer plugin for webkit Qt%{qtmajor} support.
2332
2333 %files designer-plugin-webkit
2334 %{_qt5_plugindir}/designer/libqwebview.so
2335
2336 %endif
2337 #
2338 #------------------------------------------------------------------------------
2339
2340 %package mobility
2341 Summary: Qt Mobility Framework
2342 Group: Development/Other
2343
2344 %description mobility
2345 Qt Mobility Project delivers a set of new APIs to Qt with features that are well
2346 known from the mobile device world, in particular phones. However, these APIs
2347 allow the developer to use these features with ease from one framework and apply
2348 them to phones, netbooks and non-mobile personal computers. The framework not
2349 only improves many aspects of a mobile experience, because it improves the use
2350 of these technologies, but has applicability beyond the mobile device arena
2351
2352 %files mobility
2353 %{_qt5_importdir}/QtMobility
2354 %{_qt5_plugindir}/geoservices/
2355 %{_qt5_plugindir}/playlistformats
2356 %{_qt5_plugindir}/mediaservice
2357 %{_qt5_plugindir}/audio
2358 %{_qt5_plugindir}/sensors/
2359
2360 #------------------------------------------------------------------------------
2361
2362 %if %{with qvfb}
2363
2364 %package qvfb
2365 Summary: Qt%{qtmajor} Embedded Virtual Terminal
2366 Group: Development/KDE and Qt
2367
2368 %description qvfb
2369 Embedded Virtual Terminal for Qt%{qtmajor}.
2370
2371 %files qvfb
2372 %{_qt5_bindir}/qvf*
2373 %if %with docs
2374 %{_qt5_translationdir}/qvfb*
2375 %endif
2376
2377 %endif
2378
2379 #------------------------------------------------------------------------------
2380
2381 %package qdoc
2382 Summary: Qt%{qtmajor} Documentation Generator
2383 Group: Development/KDE and Qt
2384
2385 %description qdoc
2386 Documentation Generator for Qt%{qtmajor}.
2387
2388 %files qdoc
2389 %{_qt5_bindir}/qdoc
2390
2391 #------------------------------------------------------------------------------
2392
2393 %package tests
2394 Summary: Qt%{qtmajor} Tests
2395 Group: Development/KDE and Qt
2396
2397 %description tests
2398 Tests for Qt%{qtmajor}.
2399
2400 %files tests
2401 %_qt5_testsdir
2402
2403 #------------------------------------------------------------------------------
2404
2405 %prep
2406 %setup -q -n qt-everywhere-opensource-src-5.0.0-pre-beta
2407
2408 %patch404 -p1 -b .link
2409 %patch405 -p1 -b .include
2410
2411 # Unlike Fedora, we don't modify the installed mkspecs to contain our flags,
2412 # which would have the side effect that plain 'qmake' would use them as well
2413 # (i.e. even when not building an rpm), which is not really wanted. Our
2414 # packages are built with %%qmake_qt5 (qt5.macros) which already overrides the
2415 # flags, so altering qmake default configuration for that is unnecessary.
2416 # Since the Qt configure script doesn't support defining custom flags, we
2417 # still have to temporarily override the flags below - they are restored in
2418 # %%install. -Anssi
2419 cp qtbase/mkspecs/linux-g++/qmake.conf qtbase/mkspecs/linux-g++/qmake.conf.upstream
2420 cat >> qtbase/mkspecs/linux-g++/qmake.conf <<EOF
2421 QMAKE_CFLAGS = %{optflags}
2422 QMAKE_CXXFLAGS = %{optflags}
2423 QMAKE_LFLAGS = %{ldflags}
2424 QMAKE_STRIP =
2425 # Note that setting QMAKE_LFLAGS_PLUGIN here would do no good, as it would
2426 # just get appended to $QMAKE_LFLAGS instead of replacing it.
2427 EOF
2428
2429 sed -e "s|^QMAKE_CFLAGS_RELEASE .*$|QMAKE_CFLAGS_RELEASE += %{optflags} -fno-strict-aliasing -DPIC -fPIC| " -e 's|^QMAKE_CXXFLAGS .*|& -std=gnu++0x|' -i qtbase/mkspecs/common/gcc-base.conf qtbase/mkspecs/common/gcc-base-unix.conf
2430
2431 %if 0
2432 # set correct lib path (from fedora)
2433 if [ "%{_lib}" == "lib64" ] ; then
2434 sed -i -e "s,/usr/lib /lib,/usr/%{_lib} /%{_lib},g" config.tests/{unix,x11}/*.test
2435 sed -i -e "s,/lib /usr/lib,/%{_lib} /usr/%{_lib},g" config.tests/{unix,x11}/*.test
2436 fi
2437 %endif
2438
2439 %build
2440 export QTDIR=`/bin/pwd`
2441 export PATH="$PWD/qtbase/bin:$PWD/qtrepotools/bin:$PATH"
2442 export QMAKESPEC=$PWD/qtbase/mkspecs/linux-g++
2443 # Don't include headers or link with /usr/X11R6/{include,lib}
2444 perl -pi -e 's@/X11R6/@/@' qtbase/mkspecs/linux-*/qmake.conf qtbase/mkspecs/common/linux.conf
2445
2446 #------------------------------------------------------------------------------
2447
2448 ./configure \
2449 -confirm-license \
2450 -opensource \
2451 -optimized-qmake \
2452 -prefix %buildroot%{_qt5_prefix} \
2453 -bindir %buildroot%{_qt5_bindir} \
2454 -datadir %buildroot%{_qt5_datadir} \
2455 -docdir %buildroot%{_qt5_docdir} \
2456 -examplesdir %buildroot%{_qt5_examplesdir} \
2457 -headerdir %buildroot%{_qt5_includedir} \
2458 -importdir %buildroot%{_qt5_importdir} \
2459 -libdir %buildroot%{_qt5_libdir} \
2460 -plugindir %buildroot%{_qt5_plugindir} \
2461 -sysconfdir %buildroot%{_qt5_sysconfigdir} \
2462 -translationdir %buildroot%{_qt5_translationdir} \
2463 %if %with debug
2464 -debug \
2465 -verbose \
2466 -developer-build \
2467 %else
2468 -release \
2469 -silent \
2470 %endif
2471 -shared \
2472 -no-separate-debug-info \
2473 -no-rpath \
2474 -no-pch \
2475 -reduce-relocations \
2476 -openssl-linked \
2477 -dbus-linked \
2478 %if %{with qvfb}
2479 -qvfb \
2480 %endif
2481 -gtkstyle \
2482 -opengl desktop \
2483 -platform linux-g++ \
2484 -sm \
2485 -system-libpng \
2486 -system-libjpeg \
2487 -system-zlib \
2488 -xinput \
2489 -xcursor \
2490 -xfixes \
2491 -xinerama \
2492 -xshape \
2493 -xrandr \
2494 -xkb \
2495 -glib \
2496 %if ! %{with_cups}
2497 -no-cups \
2498 %endif
2499 %if ! %without postgres
2500 -plugin-sql-psql \
2501 %endif
2502 %if ! %without mysql
2503 -plugin-sql-mysql \
2504 %else
2505 -no-sql-mysql \
2506 %endif
2507 %if %with ibase
2508 -plugin-sql-ibase \
2509 %else
2510 -no-sql-ibase \
2511 %endif
2512 %if ! %without sqlite
2513 -plugin-sql-sqlite \
2514 -system-sqlite \
2515 -no-sql-sqlite2 \
2516 %else
2517 -no-sql-sqlite \
2518 -no-sql-sqlite2 \
2519 %endif
2520 %if ! %without odbc
2521 -plugin-sql-odbc \
2522 %else
2523 -no-sql-odbc \
2524 %endif
2525 %if %without docs
2526 -nomake docs \
2527 -nomake demos \
2528 -nomake examples
2529 %endif
2530
2531 %install
2532 ./build -j 12
2533
2534 install -d %{buildroot}/%{_qt5_docdir}
2535 install -d %{buildroot}/%{_sysconfdir}
2536 install -d %{buildroot}/%{_sysconfdir}/profile.d
2537
2538 # recreate .qm files
2539 #LD_LIBRARY_PATH=`pwd`/lib bin/lrelease translations/*.ts
2540
2541 #FIXME: Still needed ?
2542 %if 0
2543 %if 0%{?private}
2544 # install private headers
2545 # using rsync -R as easy way to preserve relative path names
2546 # we're cheating and using %%_prefix (/usr) directly here
2547 rsync -aR \
2548 include/Qt{Core,Declarative,Gui,Script}/private \
2549 src/{corelib,declarative,gui,script}/*/*_p.h \
2550 %{buildroot}%{_prefix}/
2551 %endif
2552 %endif
2553
2554 %if %{with qvfb}
2555 # Install qvfb
2556 %make -C tools/qvfb INSTALL_ROOT=%{buildroot} install
2557 %else
2558 rm -f %{buildroot}%{_qt5_translationdir}/qvfb*.qm
2559 %endif
2560
2561 mkdir -p %{buildroot}/%{_datadir}/applications
2562 install -m 644 %SOURCE3 %{buildroot}/%{_datadir}/applications
2563 install -m 644 %SOURCE4 %{buildroot}/%{_datadir}/applications
2564 install -m 644 %SOURCE5 %{buildroot}/%{_datadir}/applications
2565
2566 # Fix mkspec link
2567 pushd %{buildroot}/%{_qt5_datadir}/mkspecs
2568 rm -f default
2569 ln -sf %{_qt5_datadir}/mkspecs/linux-g++ default
2570 popd
2571
2572 # Restore qmake.conf to the upstream version which was backed up in %%prep
2573 mv %{buildroot}%{_qt5_datadir}/mkspecs/linux-g++/qmake.conf.upstream %{buildroot}%{_qt5_datadir}/mkspecs/linux-g++/qmake.conf
2574
2575 # Fix all buildroot paths
2576 find %{buildroot}/%{_qt5_libdir} -type f -name '*prl' -exec perl -pi -e "s, -L%{_builddir}/\S+,,g" {} \;
2577 find %{buildroot}/%{_qt5_libdir} -type f -name '*prl' -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;
2578 find %{buildroot}/%{_qt5_libdir} -type f -name '*la' -print -exec perl -pi -e "s, -L%{_builddir}/?\S+,,g" {} \;
2579 find %{buildroot}/%{_qt5_libdir} -type f -name '*la' -print -exec sed -i -e "s, -L%{_builddir}/?\S+,,g" -e "s,-L../JavaScriptCore/release,,g" -e "s,-ljscore,,g" {} \;
2580 find %{buildroot}/%{_qt5_datadir}/mkspecs -name 'qmake.conf' -exec chmod -x -- {} \;
2581 find %{buildroot}/%{_qt5_datadir}/mkspecs -name Info.plist.app -exec chmod -x -- {} \;
2582
2583 # Don't reference builddir neither /usr(/X11R6)?/ in .pc files.
2584 perl -pi -e '\
2585 s@-L/usr/X11R6/%{_lib} @@g;\
2586 s@-I/usr/X11R6/include @@g;\
2587 s@-L/%{_builddir}\S+@@g'\
2588 `find . -name \*.pc`
2589
2590 # Install rpm macros
2591 mkdir -p %{buildroot}/%{_sysconfdir}/rpm/macros.d
2592 install -m 0644 %SOURCE2 %{buildroot}/%{_sysconfdir}/rpm/macros.d
2593
2594 # Profiles
2595 cat > %{buildroot}/%{_sysconfdir}/profile.d/60qt5.sh << EOF
2596 #!/bin/bash
2597
2598 # Qt5 is the main Qt on system
2599
2600 [ -z \$QT5DOCDIR ] && export QT5DOCDIR=%{_qt5_docdir}
2601
2602 if [ -z \$(echo \$PATH | grep "%{_qt5_bindir}") ]; then
2603 PATH=\${PATH}:%{_qt5_bindir}
2604 export PATH
2605 fi
2606
2607 EOF
2608
2609 %if %with_webkit
2610 cd qtwebkit
2611 export WEBKITOUTPUTDIR=$$PWD/WebKitBuild
2612 perl Tools/Scripts/build-webkit --qt --qmake=~/rpmbuild/BUILD/qt-everywhere-opensource-src-5.0.0-pre-beta/qtbase/bin/qmake --install-libs=%buildroot%{_qt5_libdir} --release --makeargs=$MAKEFLAGS
2613 %endif
2614
2615 # Remove webkit files since we're using qtwebkit2.2 as standalone
2616 %if ! %with_webkit
2617 rm -rf %{buildroot}/%{_qt5_includedir}/QtWebKit/
2618 rm -rf %{buildroot}/%{_qt5_includedir}/Qt/qgraphicswebview.h
2619 rm -rf %{buildroot}/%{_qt5_includedir}/Qt/qweb*.h
2620 rm -rf %{buildroot}/%{_qt5_libdir}/pkgconfig/QtWebKit.pc
2621 rm -rf %{buildroot}/%{_qt5_libdir}/libQtWebKit.*
2622 rm -rf %{buildroot}/%{_qt5_includedir}/Qt/QtWebKit
2623 rm -rf %{buildroot}/%{_qt5_datadir}/mkspecs/modules/qt_webkit_version.pri
2624 rm -rf %{buildroot}/%{_qt5_plugindir}/designer/libqwebview.so
2625 rm -rf %{buildroot}/%{_qt5_importdir}/QtWebKit/
2626 %endif
2627
2628 # .la and .a files, die, die, die.
2629 rm -f %{buildroot}%_qt5_libdir/lib*.la
2630 rm -f %{buildroot}%_qt5_libdir/lib*.a
2631

  ViewVC Help
Powered by ViewVC 1.1.30