/[packages]/backports/8/qtbase6/current/SPECS/qtbase6.spec
ViewVC logotype

Annotation of /backports/8/qtbase6/current/SPECS/qtbase6.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1723698 - (hide annotations) (download)
Sat May 15 14:38:11 2021 UTC (2 years, 11 months ago) by daviddavid
Original Path: cauldron/qtbase6/current/SPECS/qtbase6.spec
File size: 53335 byte(s)
SILENT: add provide

1 neoclust 1700725 # Build configuration
2    
3     %define build_bootstrap 1
4     %{?_with_bootstrap: %{expand: %%global build_bootstrap 1}}
5    
6    
7 daviddavid 1722425 %ifarch aarch64 armv7hl
8 daviddavid 1722415 %global no_sse2 1
9 neoclust 1700725 %endif
10    
11     %if 0%{?build_bootstrap}
12     %define build_docs 0
13     %else
14 daviddavid 1722812 %define build_docs 0
15 neoclust 1700725 %endif
16    
17 daviddavid 1722415 %ifarch %{arm} aarch64 %{ix86}
18 neoclust 1700725 %define build_docs 0
19     %endif
20    
21     %global platform linux-g++
22    
23     %bcond_without postgres
24     %bcond_without mysql
25     %bcond_without sqlite
26 daviddavid 1722416 %bcond_without ibase
27 neoclust 1700725 %bcond_without cups
28     %bcond_without examples
29     %bcond_without odbc
30 daviddavid 1722416 %bcond_without dbus_linked
31     %bcond_without pcre
32     %bcond_without use_gold_linker
33     %bcond_without journald
34     ## skip for now, until we're better at it
35     %bcond_with tests
36 neoclust 1700725
37     %bcond_with debug
38    
39 daviddavid 1722416 # FIXME: disable for now, they don't seem to be implemented in Qt 6.1.0
40     %bcond_with tds
41    
42 neoclust 1700725 # Versioning
43    
44     %define qtmajor 6
45 daviddavid 1722416 %define qtminor 1
46     %define qtsubminor 0
47 neoclust 1700725 %define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor}
48    
49 daviddavid 1722812 %define rel 2
50 neoclust 1700725
51     %define snapshot 0
52    
53     %if 0%{?snapshot}
54     %define pre rc
55     %endif
56    
57     %define qttarballdir qtbase-everywhere-src-%{qtversion}%{?pre:-%{pre}}
58    
59     # Library names
60    
61 daviddavid 1722415 %define libqt %mklibname qt6base %qtmajor
62     %define libqtdevel %mklibname qt6base %qtmajor -d
63 neoclust 1700725
64 daviddavid 1722415 %define libqtcore %mklibname qt6core %qtmajor
65     %define libqtcore_d %mklibname qt6core -d
66 neoclust 1700725
67 daviddavid 1722415 %define libqtconcurrent %mklibname qt6concurrent %qtmajor
68     %define libqtconcurrent_d %mklibname qt6concurrent -d
69 neoclust 1700725
70 daviddavid 1722416 %define libqteglfskmsgbmsupport %mklibname qt6eglfskmsgbmsupport %qtmajor
71     %define libqteglfskmsgbmsupport_d %mklibname qt6eglfskmsgbmsupport -d
72    
73 daviddavid 1722415 %define libqtdbus %mklibname qt6dbus %qtmajor
74     %define libqtdbus_d %mklibname qt6dbus -d
75 neoclust 1700725
76 daviddavid 1722415 %define libqteglfsdeviceintegration %mklibname qt6eglfsdeviceintegration %qtmajor
77 neoclust 1700725 %define libqteglfsdeviceintegration_d %mklibname qt6eglfsdeviceintegration -d
78    
79 daviddavid 1722415 %define libqteglfskmssupport %mklibname qt6eglfskmssupport %qtmajor
80     %define libqteglfskmssupport_d %mklibname qt6eglfskmssupport -d
81 neoclust 1700725
82 daviddavid 1722415 %define libqtgui %mklibname qt6gui %qtmajor
83     %define libqtgui_d %mklibname qt6gui -d
84 neoclust 1700725
85 daviddavid 1722415 %define libqtnetwork %mklibname qt6network %qtmajor
86     %define libqtnetwork_d %mklibname qt6network -d
87 neoclust 1700725
88 daviddavid 1722415 %define libqtopengl %mklibname qt6opengl %qtmajor
89     %define libqtopengl_d %mklibname qt6opengl -d
90 neoclust 1700725
91 daviddavid 1722416 %define libqtopenglwidgets %mklibname qt6openglwidgets %qtmajor
92     %define libqtopenglwidgets_d %mklibname qt6openglwidgets -d
93    
94 daviddavid 1722415 %define libqtprintsupport %mklibname qt6printsupport %qtmajor
95     %define libqtprintsupport_d %mklibname qt6printsupport -d
96 neoclust 1700725
97 daviddavid 1722415 %define libqtsql %mklibname qt6sql %qtmajor
98     %define libqtsql_d %mklibname qt6sql -d
99 neoclust 1700725
100 daviddavid 1722415 %define libqttest %mklibname qt6test %qtmajor
101     %define libqttest_d %mklibname qt6test -d
102 neoclust 1700725
103 daviddavid 1722415 %define libqtwidgets %mklibname qt6widgets %qtmajor
104     %define libqtwidgets_d %mklibname qt6widgets -d
105 neoclust 1700725
106 daviddavid 1722415 %define libqtxcbqpa %mklibname qt6xcbqpa %qtmajor
107     %define libqtxcbqpa_d %mklibname qt6xcbqpa -d
108 neoclust 1700725
109 daviddavid 1722415 %define libqtxml %mklibname qt6xml %qtmajor
110     %define libqtxml_d %mklibname qt6xml -d
111 neoclust 1700725
112     %define libqtdevicediscoverysupport_d %mklibname qt6devicediscoverysupport -d -s
113 daviddavid 1722415 %define libqtfbsupport_d %mklibname qt6fbsupport -d -s
114     %define libqtinputsupport_d %mklibname qt6inputsupport -d -s
115     %define libqtkmssupport_d %mklibname qt6kmssupport -d -s
116 neoclust 1700725
117    
118     # Folder macros
119    
120 daviddavid 1722415 %define _qt6_prefix %{_prefix}
121     %define _qt6_archdatadir %{_libdir}/qt6
122     %define _qt6_bin %{_libdir}/qt6/bin
123     %define _qt6_datadir %{_datadir}/qt6
124     %define _qt6_docdir %{_docdir}/qt6
125     %define _qt6_examplesdir %{_qt6_archdatadir}/examples
126     %define _qt6_headerdir %{_includedir}/qt6
127     %define _qt6_includedir %{_includedir}/qt6
128     %define _qt6_importdir %{_qt6_archdatadir}/imports
129     %define _qt6_libdir %{_libdir}
130     %define _qt6_libexecdir %{_qt6_archdatadir}/libexec
131     %define _qt6_mkspecsdir %{_qt6_archdatadir}/mkspecs
132     %define _qt6_plugindir %{_qt6_archdatadir}/plugins
133     %define _qt6_qmldir %{_qt6_archdatadir}/qml
134     %define _qt6_settingsdir %{_sysconfdir}/xdg
135     %define _qt6_sysconfdir %{_qt6_settingsdir}
136 neoclust 1700725 %define _qt6_translationdir %{_datadir}/qt6/translations
137    
138     # Do not check any files in %%{_qt6_plugindir}/platformthemes/ for requires.
139     # Those themes are there for platform integration. If the required libraries are
140     # not there, the platform to integrate with isn't either. Then Qt will just
141     # silently ignore the plugin that fails to load. Thus, there is no need to let
142     # RPM drag in gtk2 as a dependency for the GTK+ 2 dialog support.
143     %global __requires_exclude_from ^%{_qt6_plugindir}/platformthemes/.*$
144    
145     Name: qtbase6
146     Version: %{qtversion}
147     Release: %mkrel %{rel}
148     Summary: Qt GUI toolkit
149     Group: Development/KDE and Qt
150     License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL
151     URL: https://www.qt.io/
152     Source0: https://download.qt.io/official_releases/qt/%{qtmajor}.%{qtminor}/%{version}/submodules/%{qttarballdir}.tar.xz
153     # https://bugzilla.redhat.com/show_bug.cgi?id=1227295
154     # https://bugs.mageia.org/show_bug.cgi?id=27054
155     # https://bugs.mageia.org/show_bug.cgi?id=26900
156     Source1: qtlogging.ini
157     Source2: qt6.macros
158    
159     # backport from upstream
160    
161     # Branch patches
162    
163     # Fedora patches
164     # support firebird version 3.x
165 daviddavid 1722416 Patch55: qtbase-firebird.patch
166 neoclust 1700725
167     # python3
168 daviddavid 1722416 Patch57: qtbase-everywhere-src-5.11.1-python3.patch
169 neoclust 1700725
170 daviddavid 1722416 # gcc-11
171     Patch90: qtbase-gcc11.patch
172    
173     # allow building against Qt with C++20 enabled (QTBUG-93270)
174     Patch100: qtbase-c++20.patch
175    
176 neoclust 1700725 # Mageia patches
177     # (blino) revert upstream patch that forbids -reduce-relocations on ARM
178     # since -Bsymbolic is fixed on ARM in ld 2.25 (QTBUG-36129 and binutils#16715)
179 daviddavid 1722416 Patch200: qtbase5-revert-old-arm-linker-limitation.patch
180 neoclust 1700725
181 daviddavid 1722416 # Trunk patches
182    
183 neoclust 1700725 # Security patches
184    
185     # Testing patches
186    
187     BuildRequires: binutils >= 2.18
188     BuildRequires: cmake-rpm-macros
189 neoclust 1700740 BuildRequires: qt6-macros
190 neoclust 1700741 BuildRequires: ninja
191 neoclust 1700725 BuildRequires: cups-devel
192     BuildRequires: mesa-common-devel
193     BuildRequires: pam-devel
194     BuildRequires: perl
195     BuildRequires: python3
196     BuildRequires: cmake(double-conversion)
197     BuildRequires: pkgconfig(alsa)
198     BuildRequires: pkgconfig(dbus-1) >= 0.92
199     BuildRequires: pkgconfig(expat)
200     BuildRequires: pkgconfig(fontconfig)
201     BuildRequires: pkgconfig(freetype2)
202     BuildRequires: pkgconfig(egl)
203     BuildRequires: pkgconfig(gl)
204     BuildRequires: pkgconfig(glib-2.0)
205     BuildRequires: pkgconfig(gstreamer-1.0)
206     BuildRequires: pkgconfig(gstreamer-app-1.0)
207     # gtk+3.0 for qtgtk style
208     BuildRequires: pkgconfig(gtk+-3.0)
209     BuildRequires: pkgconfig(harfbuzz) >= 0.9.42
210 daviddavid 1722416 BuildRequires: pkgconfig(libb2)
211 neoclust 1700725 BuildRequires: pkgconfig(libinput)
212     BuildRequires: pkgconfig(libjpeg)
213     BuildRequires: pkgconfig(libmng)
214     BuildRequires: pkgconfig(libpcre2-16)
215     BuildRequires: pkgconfig(libpng)
216     BuildRequires: pkgconfig(libproxy-1.0)
217     BuildRequires: pkgconfig(libpulse)
218     BuildRequires: pkgconfig(libtiff-4)
219     BuildRequires: pkgconfig(libudev)
220     BuildRequires: pkgconfig(libxml-2.0)
221     BuildRequires: pkgconfig(libxslt)
222     BuildRequires: pkgconfig(libzstd)
223     BuildRequires: pkgconfig(md4c)
224     BuildRequires: pkgconfig(ncurses)
225     BuildRequires: pkgconfig(openssl) >= 1.1
226     BuildRequires: pkgconfig(readline)
227     BuildRequires: pkgconfig(sm)
228     BuildRequires: pkgconfig(systemd)
229     BuildRequires: pkgconfig(libsystemd)
230     BuildRequires: pkgconfig(tslib)
231     BuildRequires: pkgconfig(vulkan)
232     BuildRequires: pkgconfig(xcb)
233     BuildRequires: pkgconfig(xcb-image)
234     BuildRequires: pkgconfig(xcb-icccm)
235     BuildRequires: pkgconfig(xcb-keysyms)
236     BuildRequires: pkgconfig(xcb-renderutil)
237     BuildRequires: pkgconfig(xcb-xkb) >= 1.10
238     BuildRequires: pkgconfig(xcb-util)
239     BuildRequires: pkgconfig(xkbcommon) >= 0.4.1
240     BuildRequires: pkgconfig(xkbcommon-x11) >= 0.4.1
241     BuildRequires: pkgconfig(xtst)
242     BuildRequires: pkgconfig(zlib)
243    
244     %description
245 daviddavid 1722416 Qt%{qtmajor} is a GUI software toolkit which simplifies the task of writing and
246 neoclust 1700725 maintaining GUI (Graphical User Interface) applications for the X
247     Window System. Qt is written in C++ and is fully object-oriented.
248    
249     This package contains the shared library needed to run Qt
250     applications, as well as the README files for Qt.
251    
252     #------------------------------------------------------------------------------
253    
254     %package common
255     Summary: Qt%{qtmajor} Config and Language Files
256     Group: Development/KDE and Qt
257     Provides: qt6-common = %{version}-%{release}
258 daviddavid 1722416 #TODO Mga6: Split qttranslations6 into subpackages
259 neoclust 1700725 %if ! 0%{?build_bootstrap}
260 daviddavid 1722415 Requires: qttranslations6
261 neoclust 1700725 %endif
262     # (doktor5000) glxinfo binary required by script qt6-check-opengl2.sh
263     Requires: glxinfo
264    
265     %description common
266     Qt is a GUI software toolkit which simplifies the task of writing and
267     maintaining GUI (Graphical User Interface) applications for the X
268     Window System. Qt is written in C++ and is fully object-oriented.
269    
270     Configuration and language files for Qt%{qtmajor}.
271    
272     %files common
273     %attr(0755,root,root) %{_sysconfdir}/profile.d/*
274     %dir %{_sysconfdir}/xdg/QtProject
275     %dir %{_qt6_bindir}
276     %{_qt6_bindir}/syncqt.pl
277     %dir %{_qt6_docdir}
278     %{_qt6_docdir}/global/
279     %{_qt6_docdir}/config/
280     %dir %{_qt6_datadir}
281     %{_qt6_datadir}/qtlogging.ini
282 daviddavid 1722416 %dir %{_qt6_plugindir}
283     %{_qt6_plugindir}/generic/
284     %{_qt6_plugindir}/imageformats/
285     %{_qt6_plugindir}/platforminputcontexts/
286     %{_qt6_plugindir}/platformthemes/
287     %{_qt6_plugindir}/platforms/
288     %{_qt6_plugindir}/egldeviceintegrations/
289     %{_qt6_plugindir}/networkinformationbackends/
290     %{_qt6_plugindir}/printsupport/
291     %{_qt6_plugindir}/xcbglintegrations/
292 neoclust 1700725
293     #-------------------------------------------------------------------
294    
295     %package -n %{name}-common-devel
296     Summary: Development files for the Qt%{qtmajor} GUI toolkit
297     Group: Development/KDE and Qt
298     Requires(pre): %{name}-common = %{version}
299 daviddavid 1722416 Requires: qt6-macros
300 neoclust 1700725 Provides: qmake = %{version}-%{release}
301     Provides: qmake-qt6 = %{version}-%{release}
302 daviddavid 1723698 Provides: qt%{qtmajor}-qtbase = %{version}-%{release}
303 neoclust 1700725
304     %description -n %{name}-common-devel
305 daviddavid 1722415 Common files needed to build application based on Qt%{qtmajor}.
306 neoclust 1700725
307     %post -n %{name}-common-devel
308     update-alternatives --install %{_bindir}/qmake qmake %{_qt6_bindir}/qmake 20
309    
310     %postun -n %{name}-common-devel
311     if ! [ -e %{_qt6_bindir}/qmake ]; then
312     update-alternatives --remove qmake %{_qt6_bindir}/qmake
313     fi
314    
315     %files -n %{name}-common-devel
316 daviddavid 1722416 #{_sysconfdir}/rpm/macros.d/qt6.macros
317     %{_bindir}/androiddeployqt
318     %{_bindir}/androidtestrunner
319 neoclust 1700725 %{_bindir}/qdbuscpp2xml*
320     %{_bindir}/qdbusxml2cpp*
321     %{_bindir}/qmake*
322     %{_bindir}/qt-cmake
323     %{_bindir}/qt-cmake-private
324     %{_bindir}/qt-cmake-standalone-test
325     %{_bindir}/qt-configure-module
326     %{_qt6_bindir}/qmake*
327 daviddavid 1722416 %{_qt6_bindir}/android_emulator_launcher.sh
328 neoclust 1700725 %{_qt6_bindir}/androiddeployqt
329     %{_qt6_bindir}/androidtestrunner
330 daviddavid 1722416 %{_qt6_bindir}/qdbuscpp2xml
331     %{_qt6_bindir}/qdbusxml2cpp
332 neoclust 1700725 %{_qt6_bindir}/qt-cmake
333     %{_qt6_bindir}/qt-cmake-private
334     %{_qt6_bindir}/qt-cmake-private-install.cmake
335     %{_qt6_bindir}/qt-cmake-standalone-test
336     %{_qt6_bindir}/qt-configure-module
337 daviddavid 1722416 %{_qt6_libdir}/cmake_automoc_parser
338     %{_qt6_libdir}/moc*
339     %{_qt6_libdir}/qt-internal-configure-tests
340     %{_qt6_libdir}/qvkgen*
341     %{_qt6_libdir}/qlalr*
342     %{_qt6_libdir}/rcc*
343     %{_qt6_libdir}/tracegen*
344     %{_qt6_libdir}/uic*
345     %{_qt6_libdir}/syncqt.pl
346 neoclust 1700725 %{_qt6_archdatadir}/mkspecs/
347     %dir %{_qt6_libdir}/cmake
348     %dir %{_qt6_libdir}/metatypes
349     %if "%{_qt6_includedir}" != "%{_includedir}"
350     %dir %{_qt6_includedir}
351     %endif
352 daviddavid 1722416 %{_qt6_libdir}/cmake/Qt6/
353     %{_qt6_libdir}/cmake/Qt6BuildInternals/
354     %{_qt6_libdir}/cmake/Qt6HostInfo/
355 neoclust 1700725
356     #------------------------------------------------------------------------------
357    
358     %package examples
359     Summary: Example programs made with Qt%{qtmajor}
360     Group: Documentation
361     Provides: qt6-examples = %{version}-%{release}
362    
363     %description examples
364     Example programs made with Qt%{qtmajor}.
365    
366     %files examples
367 daviddavid 1722416 %{_qt6_examplesdir}/*
368 neoclust 1700725
369     #------------------------------------------------------------------------------
370    
371     %if 0%{?build_docs}
372     %package doc
373     Summary: QtBase%{qtmajor} APIs and tools docs
374     Group: Documentation
375     BuildArch: noarch
376     BuildRequires: qttools6
377     # This one is required to build QCH-format documentation
378     # for APIs and tools in this package set
379     BuildRequires: qttools6-assistant
380     Recommends: qttools6-assistant
381    
382     %description doc
383 daviddavid 1722416 Documentation for APIs and tools in QtBase%{qtmajor} package for use with
384 neoclust 1700725 Qt Assistant.
385    
386     %files doc
387     %{_qt6_docdir}/*.qch
388     %{_qt6_docdir}/qmake/
389     %{_qt6_docdir}/qtconcurrent/
390     %{_qt6_docdir}/qtcore/
391     %{_qt6_docdir}/qtdbus/
392     %{_qt6_docdir}/qtgui/
393     %{_qt6_docdir}/qtnetwork/
394     %{_qt6_docdir}/qtopengl/
395     %{_qt6_docdir}/qtplatformheaders/
396     %{_qt6_docdir}/qtprintsupport/
397     %{_qt6_docdir}/qtsql/
398     %{_qt6_docdir}/qttestlib/
399     %{_qt6_docdir}/qtwidgets/
400     %{_qt6_docdir}/qtxml/
401     %endif
402    
403     #------------------------------------------------------------------------------
404     # CORE QT LIBRARIES
405     #------------------------------------------------------------------------------
406    
407     %package -n %{libqtcore}
408     Summary: Qt%{qtmajor} Core Library
409     Group: System/Libraries
410     Requires(pre): %{name}-common = %{version}
411    
412     %description -n %{libqtcore}
413 daviddavid 1722416 Qt%{qtmajor} Core Component Library.
414 neoclust 1700725
415     The QtCore module contains core non-GUI functionality.
416    
417     %files -n %{libqtcore}
418     %{_qt6_libdir}/libQt6Core.so.%{qtmajor}{,.*}
419    
420     #------------------------------------------------------------------------------
421    
422     %package -n %{libqtcore_d}
423     Summary: Devel files needed to build apps based on QtCore
424     Group: Development/KDE and Qt
425     Requires(pre): %{name}-common = %{version}
426     Requires: %{name}-common-devel = %{version}-%{release}
427     Requires: %{libqtcore} = %{version}
428     Provides: libqtcore6-devel = %{version}
429     Provides: libqt6core-devel = %{version}
430     Provides: qt6core-devel = %{version}
431     Provides: qtcore6-devel = %{version}
432    
433     Provides: qt6core-private-devel = %{version}
434     Provides: qtcore6-private-devel = %{version}
435    
436     %description -n %{libqtcore_d}
437     Devel files needed to build apps based on QtCore.
438    
439     %files -n %{libqtcore_d}
440     %{_qt6_libdir}/libQt6Core.prl
441     %{_qt6_libdir}/libQt6Core.so
442     %{_qt6_libdir}/cmake/Qt6Core/
443     %{_qt6_libdir}/cmake/Qt6/Qt6Config.cmake
444     %{_qt6_libdir}/cmake/Qt6/Qt6ConfigVersion.cmake
445     %{_qt6_includedir}/QtCore/
446     %{_qt6_datadir}/modules/Core.json
447 daviddavid 1722416 %{_qt6_libdir}/cmake/Qt6CoreTools/
448     %{_qt6_libdir}/metatypes/qt6core_relwithdebinfo_metatypes.json
449 neoclust 1700725
450     #------------------------------------------------------------------------------
451    
452     %package -n %{libqtconcurrent}
453     Summary: Qt%{qtmajor} Concurrent Library
454     Group: System/Libraries
455     Requires(pre): %{name}-common = %{version}
456    
457     %description -n %{libqtconcurrent}
458 daviddavid 1722416 Qt%{qtmajor} Concurrent Component Library.
459 neoclust 1700725
460     %files -n %{libqtconcurrent}
461     %{_qt6_libdir}/libQt6Concurrent.so.%{qtmajor}{,.*}
462    
463     #------------------------------------------------------------------------------
464    
465     %package -n %{libqtconcurrent_d}
466     Summary: Devel files needed to build apps based on QtConcurrent
467     Group: Development/KDE and Qt
468     Requires(pre): %{name}-common = %{version}
469     Requires: %{name}-common-devel = %{version}-%{release}
470     Requires: %{libqtconcurrent} = %{version}
471     Provides: libqtconcurrent6-devel = %{version}
472     Provides: libqt6concurrent-devel = %{version}
473     Provides: qt6concurrent-devel = %{version}
474     Provides: qtconcurrent6-devel = %{version}
475    
476     %description -n %{libqtconcurrent_d}
477     Devel files needed to build apps based on QtConcurrent.
478    
479     %files -n %{libqtconcurrent_d}
480     %{_qt6_libdir}/libQt6Concurrent.so
481     %{_qt6_libdir}/libQt6Concurrent.prl
482     %{_qt6_libdir}/cmake/Qt6Concurrent/
483     %{_qt6_includedir}/QtConcurrent/
484     %{_qt6_datadir}/modules/Concurrent.json
485    
486     #------------------------------------------------------------------------------
487    
488     %package -n %{libqteglfskmsgbmsupport}
489     Summary: Qt%{qtmajor} EglFsKmsGbmSupport Library
490     Group: System/Libraries
491     Requires(pre): %{name}-common = %{version}
492    
493     %description -n %{libqteglfskmsgbmsupport}
494 daviddavid 1722416 Qt%{qtmajor} EglFsKmsGbmSupport Component Library.
495 neoclust 1700725
496     %files -n %{libqteglfskmsgbmsupport}
497     %{_qt6_libdir}/libQt6EglFsKmsGbmSupport.so.%{qtmajor}{,.*}
498    
499     #------------------------------------------------------------------------------
500    
501     %package -n %{libqteglfskmsgbmsupport_d}
502     Summary: Devel files needed to build apps based on QtConcurrent
503     Group: Development/KDE and Qt
504     Requires(pre): %{name}-common = %{version}
505     Requires: %{name}-common-devel = %{version}-%{release}
506 daviddavid 1722416 Requires: %{libqteglfskmsgbmsupport} = %{version}
507 neoclust 1700725 Provides: libqteglfskmsgbmsupport6-devel = %{version}
508 daviddavid 1722416 Provides: libqt6eglfskmsgbmsupport-devel = %{version}
509 neoclust 1700725 Provides: qt6eglfskmsgbmsupport-devel = %{version}
510     Provides: qteglfskmsgbmsupport6-devel = %{version}
511    
512     %description -n %{libqteglfskmsgbmsupport_d}
513     Devel files needed to build apps based on QtConcurrent.
514    
515     %files -n %{libqteglfskmsgbmsupport_d}
516     %{_qt6_libdir}/libQt6EglFsKmsGbmSupport.so
517     %{_qt6_libdir}/libQt6EglFsKmsGbmSupport.prl
518     %{_qt6_libdir}/cmake/Qt6EglFsKmsGbmSupport/
519     %{_qt6_includedir}/QtEglFsKmsGbmSupport/
520     %{_qt6_datadir}/modules/EglFsKmsGbmSupport.json
521    
522     #------------------------------------------------------------------------------
523 daviddavid 1722415
524 neoclust 1700725 %package -n %{libqtdbus}
525     Summary: Qt%{qtmajor} DBus Library
526     Group: System/Libraries
527     Requires(pre): %{name}-common = %{version}
528    
529     %description -n %{libqtdbus}
530 daviddavid 1722416 Qt%{qtmajor} DBus Component Library.
531 neoclust 1700725
532     %files -n %{libqtdbus}
533     %{_qt6_libdir}/libQt6DBus.so.%{qtmajor}{,.*}
534    
535     #------------------------------------------------------------------------------
536    
537     %package -n %{libqtdbus_d}
538     Summary: Devel files needed to build apps based on QtDBus
539     Group: Development/KDE and Qt
540     Requires(pre): %{name}-common = %{version}
541     Requires: %{name}-common-devel = %{version}-%{release}
542     Requires: %{libqtdbus} = %{version}
543     Provides: libqtdbus6-devel = %{version}
544     Provides: libqt6dbus-devel = %{version}
545     Provides: qt6dbus-devel = %{version}
546     Provides: qtdbus6-devel = %{version}
547    
548     Provides: qt6dbus-private-devel = %{version}
549     Provides: qtdbus6-private-devel = %{version}
550    
551     %description -n %{libqtdbus_d}
552     Devel files needed to build apps based on QtDBus.
553    
554     %files -n %{libqtdbus_d}
555     %{_qt6_libdir}/libQt6DBus.prl
556     %{_qt6_libdir}/libQt6DBus.so
557     %{_qt6_libdir}/cmake/Qt6DBus/
558     %{_qt6_includedir}/QtDBus/
559     %{_qt6_datadir}/modules/DBus.json
560 daviddavid 1722416 %{_qt6_libdir}/cmake/Qt6DBusTools/
561 neoclust 1700725
562     #------------------------------------------------------------------------------
563    
564     %package -n %{libqteglfsdeviceintegration}
565     Summary: Qt%{qtmajor} EglFSDeviceIntegrations Library
566     Group: System/Libraries
567     Requires(pre): %{name}-common = %{version}
568    
569     %description -n %{libqteglfsdeviceintegration}
570 daviddavid 1722416 Qt%{qtmajor} EglFSDeviceIntegrations Component Library.
571 neoclust 1700725
572     %files -n %{libqteglfsdeviceintegration}
573     %{_qt6_libdir}/libQt6EglFSDeviceIntegration.so.%{qtmajor}{,.*}
574    
575     #------------------------------------------------------------------------------
576    
577     %package -n %{libqteglfsdeviceintegration_d}
578     Summary: Devel files needed to build apps based on EglFSDeviceIntegrations
579     Group: Development/KDE and Qt
580     Requires(pre): %{name}-common = %{version}
581     Requires: %{name}-common-devel = %{version}-%{release}
582     Requires: %{libqteglfsdeviceintegration} = %{version}
583     Provides: libqteglfsdeviceintegration6-devel = %{version}
584     Provides: libqt6eglfsdeviceintegration-devel = %{version}
585     Provides: qteglfsdeviceintegration6-devel = %{version}
586     Provides: qt6eglfsdeviceintegration-devel = %{version}
587    
588     %description -n %{libqteglfsdeviceintegration_d}
589     Devel files needed to build apps based on QtEglFSDeviceIntegrations.
590    
591     %files -n %{libqteglfsdeviceintegration_d}
592     %{_qt6_includedir}/QtEglFSDeviceIntegration/
593     %{_qt6_libdir}/libQt6EglFSDeviceIntegration.prl
594     %{_qt6_libdir}/libQt6EglFSDeviceIntegration.so
595     %{_qt6_libdir}/cmake/Qt6EglFSDeviceIntegration/
596     %{_qt6_datadir}/modules/EglFSDeviceIntegration.json
597    
598     #------------------------------------------------------------------------------
599    
600     %package -n %{libqteglfskmssupport}
601     Summary: Qt%{qtmajor} EglFsKmsSupport Library
602     Group: System/Libraries
603     Requires(pre): %{name}-common = %{version}
604    
605     %description -n %{libqteglfskmssupport}
606 daviddavid 1722416 Qt%{qtmajor} EglFsKmsSupport Component Library.
607 neoclust 1700725
608     %files -n %{libqteglfskmssupport}
609     %{_qt6_libdir}/libQt6EglFsKmsSupport.so.%{qtmajor}{,.*}
610    
611     #------------------------------------------------------------------------------
612    
613     %package -n %{libqteglfskmssupport_d}
614     Summary: Devel files needed to build apps based on EglFsKmsSupport
615     Group: Development/KDE and Qt
616     Requires(pre): %{name}-common = %{version}
617     Requires: %{name}-common-devel = %{version}-%{release}
618     Requires: %{libqteglfskmssupport} = %{version}
619     Provides: libqteglfskmssupport6-devel = %{version}
620     Provides: libqt6eglfskmssupport-devel = %{version}
621     Provides: qteglfskmssupport6-devel = %{version}
622     Provides: qt6eglfskmssupport-devel = %{version}
623    
624     %description -n %{libqteglfskmssupport_d}
625     Devel files needed to build apps based on QtEglFsKmsSupport.
626    
627     %files -n %{libqteglfskmssupport_d}
628     %{_qt6_libdir}/libQt6EglFsKmsSupport.prl
629     %{_qt6_libdir}/libQt6EglFsKmsSupport.so
630     %{_qt6_libdir}/cmake/Qt6EglFsKmsSupport/
631     %{_qt6_includedir}/QtEglFsKmsSupport/
632     %{_qt6_datadir}/modules/EglFsKmsSupport.json
633    
634     #------------------------------------------------------------------------------
635    
636     %package -n %{libqtgui}
637     Summary: Qt%{qtmajor} GUI Library
638     Group: System/Libraries
639     Requires(pre): %{name}-common = %{version}
640    
641     %description -n %{libqtgui}
642 daviddavid 1722416 Qt%{qtmajor} GUI Component Library.
643 neoclust 1700725
644     The QtGui module extends QtCore with GUI functionality.
645    
646     %files -n %{libqtgui}
647     %{_qt6_libdir}/libQt6Gui.so.%{qtmajor}{,.*}
648    
649     #------------------------------------------------------------------------------
650    
651     %package -n %{libqtgui_d}
652     Summary: Devel files needed to build apps based on QtGui
653     Group: Development/KDE and Qt
654     Requires(pre): %{name}-common = %{version}
655     Requires: %{name}-common = %{version}-%{release}
656     Requires: %{name}-common-devel = %{version}-%{release}
657     #(nl) see : https://bugreports.qt-project.org/browse/QTBUG-39859
658     Requires: pkgconfig(egl)
659     Requires: pkgconfig(vulkan)
660     Requires: %{libqtgui} = %{version}
661     # referenced by Qt6Gui cmake files
662     Requires: %{libqtxcbqpa_d} = %{version}-%{release}
663     Requires: %{libqteglfsdeviceintegration_d} = %{version}-%{release}
664     %if ! 0%{?build_bootstrap}
665     Requires: qtwayland6
666     %endif
667    
668     Provides: libqtgui6-devel = %{version}
669     Provides: libqt6gui-devel = %{version}
670     Provides: qtgui6-devel = %{version}
671     Provides: qt6gui-devel = %{version}
672    
673 daviddavid 1722416 Provides: qtgui6-private-devel = %{version}
674 neoclust 1700725 Provides: qt6gui-private-devel = %{version}
675    
676     %description -n %{libqtgui_d}
677     Devel files needed to build apps based on QtGui.
678    
679     %files -n %{libqtgui_d}
680     %{_qt6_libdir}/libQt6Gui.prl
681     %{_qt6_libdir}/libQt6Gui.so
682     %{_qt6_libdir}/cmake/Qt6Gui/
683     %{_qt6_includedir}/QtGui/
684     %{_qt6_datadir}/modules/Gui.json
685 daviddavid 1722416 %{_qt6_libdir}/cmake/Qt6GuiTools/
686     %{_qt6_libdir}/metatypes/qt6gui_relwithdebinfo_metatypes.json
687 neoclust 1700725
688     #------------------------------------------------------------------------------
689    
690     %package -n %{libqtnetwork}
691     Summary: Qt%{qtmajor} Network Library
692     Group: System/Libraries
693     Requires(pre): %{name}-common = %{version}
694    
695     %description -n %{libqtnetwork}
696 daviddavid 1722416 Qt%{qtmajor} Network Component Library.
697 neoclust 1700725
698     The QtNetwork module provides classes to make network programming easier
699     and portable.
700    
701     %files -n %{libqtnetwork}
702     %{_qt6_libdir}/libQt6Network.so.%{qtmajor}{,.*}
703    
704     #------------------------------------------------------------------------------
705    
706     %package -n %{libqtnetwork_d}
707     Summary: Devel files needed to build apps based on QtNetwork
708     Group: Development/KDE and Qt
709     Requires(pre): %{name}-common = %{version}
710     Requires: %{name}-common-devel = %{version}-%{release}
711     Requires: %{libqtnetwork} = %{version}
712     Requires: pkgconfig(openssl) >= 1.1
713     Provides: libqtnetwork6-devel = %{version}
714     Provides: libqt6network-devel = %{version}
715     Provides: qtnetwork6-devel = %{version}
716     Provides: qt6network-devel = %{version}
717    
718 daviddavid 1722416 Provides: qtnetwork6-private-devel = %{version}
719 neoclust 1700725 Provides: qt6network-private-devel = %{version}
720    
721     %description -n %{libqtnetwork_d}
722     Devel files needed to build apps based on QtNetwork.
723    
724     %files -n %{libqtnetwork_d}
725     %{_qt6_libdir}/libQt6Network.prl
726     %{_qt6_libdir}/libQt6Network.so
727     %{_qt6_libdir}/cmake/Qt6Network/
728     %{_qt6_includedir}/QtNetwork/
729     %{_qt6_datadir}/modules/Network.json
730    
731     #------------------------------------------------------------------------------
732    
733     %package -n %{libqtopengl}
734     Summary: Qt%{qtmajor} OpenGL Library
735     Group: System/Libraries
736     Requires(pre): %{name}-common = %{version}
737    
738     %description -n %{libqtopengl}
739 daviddavid 1722416 Qt%{qtmajor} OpenGL Component Library.
740 neoclust 1700725
741     The QtOpenGL module offers classes that make it easy to use OpenGL in
742     Qt applications.
743    
744     %files -n %{libqtopengl}
745     %{_qt6_libdir}/libQt6OpenGL.so.%{qtmajor}{,.*}
746    
747     #------------------------------------------------------------------------------
748    
749     %package -n %{libqtopengl_d}
750     Summary: Devel files needed to build apps based on QtOpenGL
751     Group: Development/KDE and Qt
752     Requires(pre): %{name}-common = %{version}
753     Requires: %{name}-common-devel = %{version}-%{release}
754     Requires: %{libqtopengl} = %{version}
755     Provides: libqtopengl6-devel = %{version}
756     Provides: libqt6opengl-devel = %{version}
757     Provides: qtopengl6-devel = %{version}
758     Provides: qt6opengl-devel = %{version}
759    
760     Provides: qtopengl6-private-devel = %{version}
761     Provides: qt6opengl-private-devel = %{version}
762    
763     %description -n %{libqtopengl_d}
764     Devel files needed to build apps based on QtOpenGL.
765    
766     %files -n %{libqtopengl_d}
767     %{_qt6_libdir}/libQt6OpenGL.prl
768     %{_qt6_libdir}/libQt6OpenGL.so
769     %{_qt6_libdir}/cmake/Qt6OpenGL/
770     %{_qt6_includedir}/QtOpenGL/
771     %{_qt6_datadir}/modules/OpenGL.json
772    
773     #------------------------------------------------------------------------------
774    
775 daviddavid 1722416 %package -n %{libqtopenglwidgets}
776     Summary: Qt%{qtmajor} OpenGL Widgets Library
777 neoclust 1700725 Group: System/Libraries
778     Requires(pre): %{name}-common = %{version}
779    
780 daviddavid 1722416 %description -n %{libqtopenglwidgets}
781     Qt%{qtmajor} OpenGL Widgets Component Library.
782 neoclust 1700725
783 daviddavid 1722416 The QtOpenGLWidgets module offers classes that make it easy to use
784     OpenGLWidgets in Qt applications.
785 neoclust 1700725
786 daviddavid 1722416 %files -n %{libqtopenglwidgets}
787 neoclust 1700725 %{_qt6_libdir}/libQt6OpenGLWidgets.so.%{qtmajor}{,.*}
788    
789     #------------------------------------------------------------------------------
790    
791 daviddavid 1722416 %package -n %{libqtopenglwidgets_d}
792     Summary: Devel files needed to build apps based on QtOpenGLWidgets
793 neoclust 1700725 Group: Development/KDE and Qt
794     Requires(pre): %{name}-common = %{version}
795     Requires: %{name}-common-devel = %{version}-%{release}
796 daviddavid 1722416 Requires: %{libqtopenglwidgets} = %{version}
797 neoclust 1700725 Provides: libqtopenglwidgets6-devel = %{version}
798     Provides: libqt6openglwidgets-devel = %{version}
799     Provides: qtopenglwidgets6-devel = %{version}
800     Provides: qt6openglwidgets-devel = %{version}
801    
802     Provides: qtopenglwidgets6-private-devel = %{version}
803     Provides: qt6openglwidgets-private-devel = %{version}
804    
805 daviddavid 1722416 %description -n %{libqtopenglwidgets_d}
806     Devel files needed to build apps based on QtOpenGLWidgets.
807 neoclust 1700725
808 daviddavid 1722416 %files -n %{libqtopenglwidgets_d}
809     %{_qt6_includedir}/QtOpenGLWidgets/
810 neoclust 1700725 %{_qt6_libdir}/libQt6OpenGLWidgets.prl
811     %{_qt6_libdir}/libQt6OpenGLWidgets.so
812     %{_qt6_datadir}/modules/OpenGLWidgets.json
813 daviddavid 1722416 %{_qt6_libdir}/cmake/Qt6OpenGLWidgets/
814 neoclust 1700725
815     #------------------------------------------------------------------------------
816    
817     %package -n %{libqtprintsupport}
818     Summary: Qt%{qtmajor} PrintSupport Library
819     Group: System/Libraries
820     Requires(pre): %{name}-common = %{version}
821    
822     %description -n %{libqtprintsupport}
823 daviddavid 1722416 Qt%{qtmajor} PrintSupport Component Library.
824 neoclust 1700725
825     %files -n %{libqtprintsupport}
826     %{_qt6_libdir}/libQt6PrintSupport.so.%{qtmajor}{,.*}
827    
828     #------------------------------------------------------------------------------
829    
830     %package -n %{libqtprintsupport_d}
831     Summary: Devel files needed to build apps based on QtPrintSupport
832     Group: Development/KDE and Qt
833     Requires(pre): %{name}-common = %{version}
834     Requires: %{name}-common-devel = %{version}-%{release}
835     Requires: %{libqtprintsupport} = %{version}
836     Provides: libqtprintsupport6-devel = %{version}
837     Provides: libqt6printsupport-devel = %{version}
838     Provides: qtprintsupport6-devel = %{version}
839     Provides: qt6printsupport-devel = %{version}
840    
841     Provides: qtprintsupport6-private-devel = %{version}
842     Provides: qt6printsupport-private-devel = %{version}
843    
844     %description -n %{libqtprintsupport_d}
845     Devel files needed to build apps based on QtPrintSupport.
846    
847     %files -n %{libqtprintsupport_d}
848     %{_qt6_libdir}/libQt6PrintSupport.so
849     %{_qt6_libdir}/libQt6PrintSupport.prl
850     %{_qt6_libdir}/cmake/Qt6PrintSupport/
851     %{_qt6_includedir}/QtPrintSupport/
852     %{_qt6_datadir}/modules/PrintSupport.json
853    
854     #------------------------------------------------------------------------------
855    
856     %package -n %{libqtsql}
857     Summary: Qt%{qtmajor} SQL Library
858     Group: System/Libraries
859     Requires(pre): %{name}-common = %{version}
860     %if ! %without sqlite
861     Requires: %{_lib}qt6-database-plugin-sqlite = %{version}
862     %endif
863     %if ! %without ibase
864     Requires: %{_lib}qt6-database-plugin-ibase = %{version}
865     %endif
866    
867     %description -n %{libqtsql}
868 daviddavid 1722416 Qt%{qtmajor} SQL Component Library.
869 neoclust 1700725
870     %files -n %{libqtsql}
871     %{_qt6_libdir}/libQt6Sql.so.%{qtmajor}{,.*}
872    
873     #------------------------------------------------------------------------------
874    
875     %package -n %{libqtsql_d}
876     Summary: Devel files needed to build apps based on QtSql
877     Group: Development/KDE and Qt
878     Requires(pre): %{name}-common = %{version}
879     Requires: %{name}-common-devel = %{version}-%{release}
880     Requires: %{libqtsql} = %{version}
881     %if ! %without odbc
882     Requires: qtbase6-database-plugin-odbc
883     %endif
884     %if ! %without tds
885     Requires: qtbase6-database-plugin-tds
886     %endif
887     %if ! %without mysql
888     Requires: qtbase6-database-plugin-mysql
889     %endif
890     %if ! %without postgres
891     Requires: qtbase6-database-plugin-pgsql
892     %endif
893     %if ! %without sqlite
894     Requires: qtbase6-database-plugin-sqlite
895     %endif
896     %if ! %without ibase
897     Requires: qtbase6-database-plugin-ibase
898     %endif
899     Provides: libqtsql6-devel = %{version}
900     Provides: libqt6sql-devel = %{version}
901     Provides: qt6sql-devel = %{version}
902     Provides: qtsql6-devel = %{version}
903    
904     Provides: libqtsql6-private-devel = %{version}
905     Provides: libqt6sql-private-devel = %{version}
906     Provides: qt6sql-private-devel = %{version}
907     Provides: qtsql6-private-devel = %{version}
908    
909     %description -n %{libqtsql_d}
910     Devel files needed to build apps based on QtSql.
911    
912     %files -n %{libqtsql_d}
913     %{_qt6_libdir}/libQt6Sql.prl
914     %{_qt6_libdir}/libQt6Sql.so
915     %{_qt6_libdir}/cmake/Qt6Sql/
916     %{_qt6_includedir}/QtSql/
917     %{_qt6_datadir}/modules/Sql.json
918    
919     #------------------------------------------------------------------------------
920    
921     %package -n %{libqttest}
922     Summary: Qt%{qtmajor} Test Library
923     Group: System/Libraries
924     Requires(pre): %{name}-common = %{version}
925    
926     %description -n %{libqttest}
927 daviddavid 1722416 Qt%{qtmajor} Test Component Library.
928 neoclust 1700725
929     The QtTest module provides classes for unit testing Qt applications and
930     libraries.
931    
932     %files -n %{libqttest}
933     %{_qt6_libdir}/libQt6Test.so.%{qtmajor}{,.*}
934    
935     #------------------------------------------------------------------------------
936    
937     %package -n %{libqttest_d}
938     Summary: Devel files needed to build apps based on QtTest
939     Group: Development/KDE and Qt
940 daviddavid 1722416 Requires(pre): %{name}-common = %{version}
941 neoclust 1700725 Requires: %{name}-common-devel = %{version}-%{release}
942     Requires: %{libqttest} = %{version}
943     Provides: libqttest6-devel = %{version}
944     Provides: libqt6test-devel = %{version}
945     Provides: qttest6-devel = %{version}
946     Provides: qt6test-devel = %{version}
947    
948     Provides: qttest6-private-devel = %{version}
949     Provides: qt6test-private-devel = %{version}
950    
951     Requires: qtwidgets6-devel = %{version}-%{release}
952    
953     %description -n %{libqttest_d}
954     Devel files needed to build apps based on QtTest.
955    
956     %files -n %{libqttest_d}
957     %{_qt6_libdir}/libQt6Test.prl
958     %{_qt6_libdir}/libQt6Test.so
959     %{_qt6_libdir}/cmake/Qt6Test/
960     %{_qt6_includedir}/QtTest/
961     %{_qt6_datadir}/modules/Test.json
962    
963     #------------------------------------------------------------------------------
964    
965     %package -n %{libqtwidgets}
966     Summary: Qt%{qtmajor} Widgets Library
967     Group: System/Libraries
968     Requires(pre): %{name}-common = %{version}
969    
970     %description -n %{libqtwidgets}
971 daviddavid 1722416 Qt%{qtmajor} Widgets Component Library.
972 neoclust 1700725
973     %files -n %{libqtwidgets}
974     %{_qt6_libdir}/libQt6Widgets.so.%{qtmajor}{,.*}
975    
976     #------------------------------------------------------------------------------
977    
978     %package -n %{libqtwidgets_d}
979     Summary: Devel files needed to build apps based on QtWidgets
980     Group: Development/KDE and Qt
981     Requires(pre): %{name}-common = %{version}
982     Requires: %{name}-common-devel = %{version}-%{release}
983     Requires: %{libqtwidgets} = %{version}
984     Provides: libqtwidgets6-devel = %{version}
985     Provides: libqt6widgets-devel = %{version}
986     Provides: qtwidgets6-devel = %{version}
987     Provides: qt6widgets-devel = %{version}
988    
989     Provides: qtwidgets6-private-devel = %{version}
990     Provides: qt6widgets-private-devel = %{version}
991    
992     %description -n %{libqtwidgets_d}
993     Devel files needed to build apps based on QtWidgets.
994    
995     %files -n %{libqtwidgets_d}
996     %{_qt6_libdir}/libQt6Widgets.so
997     %{_qt6_libdir}/libQt6Widgets.prl
998     %{_qt6_libdir}/cmake/Qt6Widgets/
999     %{_qt6_includedir}/QtWidgets/
1000     %{_qt6_datadir}/modules/Widgets.json
1001 daviddavid 1722416 %{_qt6_libdir}/metatypes/qt6widgets_relwithdebinfo_metatypes.json
1002     %{_qt6_libdir}/cmake/Qt6WidgetsTools/
1003 neoclust 1700725
1004     #------------------------------------------------------------------------------
1005    
1006     %package -n %{libqtxcbqpa}
1007     Summary: Qt%{qtmajor} XcbQpa Library
1008     Group: System/Libraries
1009     Requires(pre): %{name}-common = %{version}
1010    
1011     %description -n %{libqtxcbqpa}
1012 daviddavid 1722416 Qt%{qtmajor} XcbQpa Component Library.
1013 neoclust 1700725
1014     %files -n %{libqtxcbqpa}
1015     %{_qt6_libdir}/libQt6XcbQpa.so.%{qtmajor}{,.*}
1016    
1017     #------------------------------------------------------------------------------
1018    
1019     %package -n %{libqtxcbqpa_d}
1020     Summary: Devel files needed to build apps based on QtXcbQpa
1021     Group: Development/KDE and Qt
1022     Requires(pre): %{name}-common = %{version}
1023     Requires: %{name}-common-devel = %{version}-%{release}
1024     Requires: %{libqtxcbqpa} = %{version}
1025     Provides: libqtxcbqpa6-devel = %{version}
1026     Provides: libqt6xcbqpa-devel = %{version}
1027     Provides: qtxcbqpa6-devel = %{version}
1028     Provides: qt6xcbqpa-devel = %{version}
1029    
1030     %description -n %{libqtxcbqpa_d}
1031     Devel files needed to build apps based on QtXcbQpa.
1032    
1033     %files -n %{libqtxcbqpa_d}
1034     %{_qt6_libdir}/libQt6XcbQpa.prl
1035     %{_qt6_libdir}/libQt6XcbQpa.so
1036     %{_qt6_libdir}/cmake/Qt6XcbQpa/
1037     %{_qt6_datadir}/modules/XcbQpa.json
1038    
1039     #------------------------------------------------------------------------------
1040    
1041     %package -n %{libqtxml}
1042     Summary: Qt%{qtmajor} XML Library
1043     Group: System/Libraries
1044     Requires(pre): %{name}-common = %{version}
1045    
1046     %description -n %{libqtxml}
1047 daviddavid 1722416 Qt%{qtmajor} XML Component Library.
1048 neoclust 1700725
1049     The QtXml module provides a stream reader and writer for XML documents,
1050     and C++ implementations of SAX and DOM.
1051    
1052     %files -n %{libqtxml}
1053     %{_qt6_libdir}/libQt6Xml.so.%{qtmajor}{,.*}
1054    
1055     #------------------------------------------------------------------------------
1056    
1057     %package -n %{libqtxml_d}
1058     Summary: Devel files needed to build apps based on QtXml
1059     Group: Development/KDE and Qt
1060     Requires(pre): %{name}-common = %{version}
1061     Requires: %{name}-common-devel = %{version}-%{release}
1062     Requires: %{libqtxml} = %{version}
1063     Provides: libqtxml6-devel = %{version}
1064     Provides: libqt6xml-devel = %{version}
1065     Provides: qtxml6-devel = %{version}
1066     Provides: qt6xml-devel = %{version}
1067    
1068     %description -n %{libqtxml_d}
1069     Devel files needed to build apps based on QtXml.
1070    
1071     %files -n %{libqtxml_d}
1072     %{_qt6_libdir}/libQt6Xml.prl
1073     %{_qt6_libdir}/libQt6Xml.so
1074     %{_qt6_libdir}/cmake/Qt6Xml/
1075     %{_qt6_includedir}/QtXml/
1076     %{_qt6_datadir}/modules/Xml.json
1077    
1078     #------------------------------------------------------------------------------
1079    
1080     %package -n %{libqtdevel}
1081     Summary: Development files for the Qt%{qtmajor} GUI toolkit
1082     Group: Development/KDE and Qt
1083     Requires(pre): %{name}-common = %{version}
1084     Provides: qt6-devel = %{version}-%{release}
1085     Provides: qtbase6-devel = %{version}-%{release}
1086     Provides: libqtbase6-devel = %{version}-%{release}
1087     Provides: libqt6-devel = %{version}-%{release}
1088    
1089     Requires: %{name}-common-devel = %{version}-%{release}
1090     Requires: %{libqtcore_d} = %{version}-%{release}
1091     Requires: %{libqtconcurrent_d} = %{version}-%{release}
1092 daviddavid 1722416 Requires: %{libqteglfskmsgbmsupport_d} = %{version}-%{release}
1093 neoclust 1700725 Requires: %{libqtdbus_d} = %{version}-%{release}
1094     Requires: %{libqteglfsdeviceintegration_d} = %{version}-%{release}
1095     Requires: %{libqteglfskmssupport_d} = %{version}-%{release}
1096     Requires: %{libqtgui_d} = %{version}-%{release}
1097     Requires: %{libqtnetwork_d} = %{version}-%{release}
1098     Requires: %{libqtopengl_d} = %{version}-%{release}
1099 daviddavid 1722416 Requires: %{libqtopenglwidgets_d} = %{version}-%{release}
1100 neoclust 1700725 Requires: %{libqtprintsupport_d} = %{version}-%{release}
1101     Requires: %{libqtsql_d} = %{version}-%{release}
1102     Requires: %{libqttest_d} = %{version}-%{release}
1103     Requires: %{libqtwidgets_d} = %{version}-%{release}
1104 daviddavid 1722416 Requires: %{libqtxcbqpa_d} = %{version}-%{release}
1105 neoclust 1700725 Requires: %{libqtxml_d} = %{version}-%{release}
1106    
1107     %description -n %{libqtdevel}
1108     The %{libqtdevel} package contains the files necessary to develop
1109     applications using the Qt GUI toolkit: the header files, the Qt
1110     meta object compiler, and the static libraries. See the address
1111     http://qt-project.org/ for more information about Qt%{qtmajor}.
1112    
1113     %files -n %{libqtdevel}
1114    
1115     #------------------------------------------------------------------------------
1116     # SUPPORT STATIC LIBRARIES
1117     #------------------------------------------------------------------------------
1118    
1119     %package -n %{libqtdevicediscoverysupport_d}
1120     Summary: Devel files needed to build apps based on DeviceDiscoverySupport
1121     Group: Development/KDE and Qt
1122     Requires(pre): %{name}-common = %{version}
1123     Requires: %{name}-common-devel = %{version}-%{release}
1124     Provides: libqtdevicediscoverysupport6-devel = %{version}
1125     Provides: libqt6devicediscoverysupport-devel = %{version}
1126     Provides: qtdevicediscoverysupport6-devel = %{version}
1127     Provides: qt6devicediscoverysupport-devel = %{version}
1128    
1129     %description -n %{libqtdevicediscoverysupport_d}
1130     Devel files needed to build apps based on QtDeviceDiscoverySupport.
1131    
1132     %files -n %{libqtdevicediscoverysupport_d}
1133     %{_qt6_libdir}/libQt6DeviceDiscoverySupport.a
1134     %{_qt6_libdir}/libQt6DeviceDiscoverySupport.prl
1135     %{_qt6_libdir}/cmake/Qt6DeviceDiscoverySupport/
1136     %{_qt6_includedir}/QtDeviceDiscoverySupport/
1137     %{_qt6_datadir}/modules/DeviceDiscoverySupport.json
1138    
1139     #------------------------------------------------------------------------------
1140    
1141     %package -n %{libqtfbsupport_d}
1142     Summary: Devel files needed to build apps based on FbSupport
1143     Group: Development/KDE and Qt
1144     Requires(pre): %{name}-common = %{version}
1145     Requires: %{name}-common-devel = %{version}-%{release}
1146     Provides: libqtfbsupport6-devel = %{version}
1147     Provides: libqt6fbsupport-devel = %{version}
1148     Provides: qtfbsupport6-devel = %{version}
1149     Provides: qt6fbsupport-devel = %{version}
1150    
1151     %description -n %{libqtfbsupport_d}
1152     Devel files needed to build apps based on QtFbSupport.
1153    
1154     %files -n %{libqtfbsupport_d}
1155     %{_qt6_libdir}/libQt6FbSupport.a
1156     %{_qt6_libdir}/libQt6FbSupport.prl
1157     %{_qt6_libdir}/cmake/Qt6FbSupport/
1158     %{_qt6_includedir}/QtFbSupport/
1159 daviddavid 1722416 %{_qt6_datadir}/modules/FbSupport.json
1160 neoclust 1700725
1161     #------------------------------------------------------------------------------
1162    
1163     %package -n %{libqtinputsupport_d}
1164     Summary: Devel files needed to build apps based on InputSupport
1165     Group: Development/KDE and Qt
1166     Requires(pre): %{name}-common = %{version}
1167     Requires: %{name}-common-devel = %{version}-%{release}
1168     Provides: libqtinputsupport6-devel = %{version}
1169     Provides: libqt6inputsupport-devel = %{version}
1170     Provides: qtinputsupport6-devel = %{version}
1171     Provides: qt6inputsupport-devel = %{version}
1172    
1173     %description -n %{libqtinputsupport_d}
1174     Devel files needed to build apps based on QtInputSupport.
1175    
1176     %files -n %{libqtinputsupport_d}
1177     %{_qt6_libdir}/libQt6InputSupport.a
1178     %{_qt6_libdir}/libQt6InputSupport.prl
1179     %{_qt6_libdir}/cmake/Qt6InputSupport/
1180     %{_qt6_includedir}/QtInputSupport/
1181     %{_qt6_datadir}/modules/InputSupport.json
1182    
1183     #------------------------------------------------------------------------------
1184    
1185     %package -n %{libqtkmssupport_d}
1186     Summary: Devel files needed to build apps based on KmsSupport
1187     Group: Development/KDE and Qt
1188     Requires(pre): %{name}-common = %{version}
1189     Requires: %{name}-common-devel = %{version}-%{release}
1190     Provides: libqtkmssupport6-devel = %{version}
1191     Provides: libqt6kmssupport-devel = %{version}
1192     Provides: qtkmssupport6-devel = %{version}
1193     Provides: qt6kmssupport-devel = %{version}
1194    
1195     %description -n %{libqtkmssupport_d}
1196     Devel files needed to build apps based on QtKmsSupport.
1197    
1198     %files -n %{libqtkmssupport_d}
1199     %{_qt6_libdir}/libQt6KmsSupport.a
1200     %{_qt6_libdir}/libQt6KmsSupport.prl
1201     %{_qt6_libdir}/cmake/Qt6KmsSupport/
1202     %{_qt6_includedir}/QtKmsSupport/
1203     %{_qt6_datadir}/modules/KmsSupport.json
1204    
1205     #------------------------------------------------------------------------------
1206     # DATABASE PLUGINS
1207     #------------------------------------------------------------------------------
1208    
1209     %if ! %without odbc
1210    
1211     %package -n %{_lib}qt6-database-plugin-odbc
1212     Summary: Qt%{qtmajor} Database ODBC Database Plugin
1213     Group: Databases
1214     BuildRequires: unixODBC-devel
1215    
1216     Provides: qt6-database-plugin-odbc = %{version}-%{release}
1217     Provides: qtbase6-database-plugin-odbc = %{version}-%{release}
1218    
1219     %description -n %{_lib}qt6-database-plugin-odbc
1220     The QODBC driver allows you to connect to an ODBC (Open Database
1221     Connectivity) driver manager and access the available data sources.
1222    
1223     %files -n %{_lib}qt6-database-plugin-odbc
1224     %{_qt6_plugindir}/sqldrivers/libqsqlodbc.so
1225    
1226     %endif
1227    
1228     #------------------------------------------------------------------------------
1229    
1230     %if ! %without mysql
1231    
1232     %package -n %{_lib}qt6-database-plugin-mysql
1233     Summary: Qt%{qtmajor} MYSQL Database Plugin
1234     Group: Databases
1235     BuildRequires: mysql-devel
1236    
1237     Provides: qt6-database-plugin-mysql = %{version}-%{release}
1238     Provides: qtbase6-database-plugin-mysql = %{version}-%{release}
1239    
1240     %description -n %{_lib}qt6-database-plugin-mysql
1241     Database plugin for mysql Qt support.
1242    
1243     %files -n %{_lib}qt6-database-plugin-mysql
1244     %{_qt6_plugindir}/sqldrivers/libqsqlmysql.so
1245    
1246     %endif
1247    
1248     #------------------------------------------------------------------------------
1249    
1250     %if ! %without sqlite
1251    
1252     %package -n %{_lib}qt6-database-plugin-sqlite
1253     Summary: Qt%{qtmajor} SQLITE Database Plugin
1254     Group: Databases
1255     BuildRequires: pkgconfig(sqlite3)
1256    
1257     Provides: qt6-database-plugin-sqlite = %{version}-%{release}
1258     Provides: qtbase6-database-plugin-sqlite = %{version}-%{release}
1259    
1260     %description -n %{_lib}qt6-database-plugin-sqlite
1261     The Qt SQLite plugin makes it possible to access SQLite databases.
1262    
1263     %files -n %{_lib}qt6-database-plugin-sqlite
1264     %{_qt6_plugindir}/sqldrivers/libqsqlite.so
1265     %endif
1266    
1267     #------------------------------------------------------------------------------
1268    
1269     %if ! %without tds
1270    
1271     %package -n %{_lib}qt6-database-plugin-tds
1272     Summary: Qt%{qtmajor} FREETDS Database Plugin
1273     Group: Databases
1274     BuildRequires: freetds-devel
1275    
1276     Provides: qt6-database-plugin-tds = %{version}-%{release}
1277     Provides: qtbase6-database-plugin-tds = %{version}-%{release}
1278    
1279     %description -n %{_lib}qt6-database-plugin-tds
1280     Database plugin for freetds Qt support.
1281    
1282     %files -n %{_lib}qt6-database-plugin-tds
1283 daviddavid 1722416 %{_qt6_plugindir}/sqldrivers/libqsqltds.so
1284 neoclust 1700725
1285     %endif
1286    
1287     #------------------------------------------------------------------------------
1288    
1289     %if ! %without ibase
1290    
1291     %package -n %{_lib}qt6-database-plugin-ibase
1292     Summary: Qt%{qtmajor} Interbase Database Plugin
1293     Group: Databases
1294     BuildRequires: firebird-devel
1295     BuildRequires: pkgconfig(fbclient)
1296    
1297     Provides: qt6-database-plugin-ibase = %{version}-%{release}
1298     Provides: qtbase6-database-plugin-ibase = %{version}-%{release}
1299    
1300     %description -n %{_lib}qt6-database-plugin-ibase
1301     Database plugin for interbase Qt support.
1302    
1303     %files -n %{_lib}qt6-database-plugin-ibase
1304 daviddavid 1722416 %{_qt6_plugindir}/sqldrivers/libqsqlibase.so
1305 neoclust 1700725
1306     %endif
1307    
1308     #------------------------------------------------------------------------------
1309    
1310     %if ! %without postgres
1311    
1312     %package -n %{_lib}qt6-database-plugin-pgsql
1313     Summary: Qt%{qtmajor} PGSQL Database Plugin
1314     Group: Databases
1315     BuildRequires: postgresql-devel
1316     BuildRequires: libpq-devel
1317    
1318     Provides: qt6-database-plugin-pgsql = %{version}-%{release}
1319     Provides: qtbase6-database-plugin-pgsql = %{version}-%{release}
1320    
1321     %description -n %{_lib}qt6-database-plugin-pgsql
1322     Database plugin for pgsql Qt support.
1323    
1324     %files -n %{_lib}qt6-database-plugin-pgsql
1325     %{_qt6_plugindir}/sqldrivers/libqsqlpsql.so
1326    
1327     %endif
1328    
1329     #------------------------------------------------------------------------------
1330    
1331     %prep
1332     %setup -q -n qtbase-everywhere-src-%{qtversion}
1333     %autopatch -p1
1334     # Unlike Fedora, we don't modify the installed mkspecs to contain our flags,
1335     # which would have the side effect that plain 'qmake' would use them as well
1336     # (i.e. even when not building an rpm), which is not really wanted. Our
1337     # packages are built with %%qmake_qt6 (qt6.macros) which already overrides the
1338     # flags, so altering qmake default configuration for that is unnecessary.
1339     # Since the Qt configure script doesn't support defining custom flags, we
1340     # still have to temporarily override the flags below - they are restored in
1341     # %%install. -Anssi
1342     cp mkspecs/linux-g++/qmake.conf mkspecs/linux-g++/qmake.conf.upstream
1343     cat >> mkspecs/linux-g++/qmake.conf <<EOF
1344     QMAKE_CFLAGS = %{optflags}
1345     QMAKE_CXXFLAGS = %{optflags}
1346     QMAKE_LFLAGS = %{ldflags}
1347     QMAKE_STRIP =
1348     # Note that setting QMAKE_LFLAGS_PLUGIN here would do no good, as it would
1349     # just get appended to $QMAKE_LFLAGS instead of replacing it.
1350     EOF
1351    
1352     sed -e "s|^QMAKE_CFLAGS_RELEASE .*$|QMAKE_CFLAGS_RELEASE += %{optflags} -fno-strict-aliasing -DPIC -fPIC| " -e 's|^QMAKE_CXXFLAGS .*|& -std=gnu++0x|' -i mkspecs/common/gcc-base.conf mkspecs/common/gcc-base-unix.conf
1353    
1354 daviddavid 1722416 sed -i 's|libmd4c|md4c|' src/gui/CMakeLists.txt
1355 neoclust 1700725
1356     %build
1357     export QTDIR=`/bin/pwd`
1358     export PATH="$PWD/bin:$PWD/qtrepotools/bin:$PATH"
1359     # Don't include headers or link with /usr/X11R6/{include,lib}
1360     perl -pi -e 's@/X11R6/@/@' mkspecs/linux-*/qmake.conf mkspecs/common/linux.conf
1361    
1362     #------------------------------------------------------------------------------
1363    
1364 daviddavid 1722416 ## FIXME/TODO:
1365     # * for %%ix86, add sse2 enabled builds for Qt6Gui, Qt6Core, Qt6Network, see also:
1366     # http://anonscm.debian.org/cgit/pkg-kde/qt/qtbase.git/tree/debian/rules (234-249)
1367    
1368 neoclust 1700725 # -no-pch: do not use pre compiled headers (in order to be able to rebuild the gui submodule)
1369     # -no-feature-relocatable is needed to support relocated prefix etc.,
1370     # see QTBUG-78948 and QTBUG-82589 (mga#26200)
1371    
1372     %cmake_qt6 \
1373 daviddavid 1722415 -DQT_FEATURE_accessibility=ON \
1374     -DQT_FEATURE_fontconfig=ON \
1375     -DQT_FEATURE_glib=ON \
1376     -DQT_FEATURE_sse2=%{?no_sse2:OFF}%{!?no_sse2:ON} \
1377     -DQT_FEATURE_icu=ON \
1378     -DQT_FEATURE_enable_new_dtags=ON \
1379 daviddavid 1722416 -DQT_FEATURE_cups=%{?with_cups:ON}%{!?with_cups:OFF} \
1380     -DQT_FEATURE_journald=%{?with_journald:ON}%{!?with_journald:OFF} \
1381 daviddavid 1722415 -DQT_FEATURE_openssl_linked=ON \
1382     -DQT_FEATURE_separate_debug_info=OFF \
1383     -DQT_FEATURE_reduce_relocations=OFF \
1384     -DQT_FEATURE_relocatable=OFF \
1385     -DQT_FEATURE_system_jpeg=ON \
1386     -DQT_FEATURE_system_png=ON \
1387     -DQT_FEATURE_system_zlib=ON \
1388 daviddavid 1722416 -DQT_FEATURE_system_textmarkdownreader=ON \
1389     -DQT_FEATURE_dbus_linked=%{?with_dbus_linked:ON}%{!?with_dbus_linked:OFF} \
1390     -DQT_FEATURE_system_pcre2=%{?with_pcre:ON}%{!?with_pcre:OFF} \
1391     -DQT_FEATURE_system_sqlite=%{?with_sqlite:ON}%{!?with_sqlite:OFF} \
1392     -DQT_FEATURE_sql_odbc=%{?with_odbc:ON}%{!?with_odbc:OFF} \
1393     -DQT_FEATURE_sql_mysql=%{?with_mysql:ON}%{!?with_mysql:OFF} \
1394     -DQT_FEATURE_sql_psql=%{?with_postgres:ON}%{!?with_postgres:OFF} \
1395     -DQT_FEATURE_sql_sqlite=%{?with_sqlite:ON}%{!?with_sqlite:OFF} \
1396     -DQT_FEATURE_sql_tds=%{?with_tds:ON}%{!?with_tds:OFF} \
1397     -DQT_FEATURE_sql_ibase=%{?with_ibase:ON}%{!?with_ibase:OFF} \
1398     -DQT_FEATURE_use_gold_linker=%{?with_use_gold_linker:ON}%{!?with_use_gold_linker:OFF} \
1399 daviddavid 1722415 -DBUILD_SHARED_LIBS=ON \
1400 daviddavid 1722416 -DQT_BUILD_EXAMPLES=%{?with_examples:ON}%{!?with_examples:OFF} \
1401     -DQT_BUILD_TESTS=%{?with_tests:ON}%{!?with_tests:OFF} \
1402 daviddavid 1722415 -DQT_QMAKE_TARGET_MKSPEC=%{platform}
1403 neoclust 1700725
1404     RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
1405    
1406     ################## Build of QtBase ########################################
1407    
1408     %cmake_build -j $RPM_BUILD_NCPUS
1409    
1410     ################## Build of Docs ########################################
1411     %if %{build_docs}
1412     # HACK to avoid multilib conflicts in noarch content
1413     # see also https://bugreports.qt-project.org/browse/QTBUG-42071
1414     QT_HASH_SEED=0; export QT_HASH_SEED
1415    
1416     %__make docs
1417     %endif
1418    
1419     %install
1420     %cmake_install
1421 daviddavid 1722415
1422 neoclust 1700725 # create/own dirs
1423     mkdir -p %{buildroot}{%{_qt6_archdatadir}/mkspecs/modules,%{_qt6_importdir},%{_qt6_libexecdir},%{_qt6_plugindir}/{designer,iconengines,script,styles},%{_qt6_translationdir}}
1424     mkdir -p %{buildroot}%{_sysconfdir}/xdg/QtProject
1425    
1426     # symlink files to {_bindir}, add -qt6 postfix to not conflict
1427     mkdir %{buildroot}%{_bindir}
1428     pushd %{buildroot}%{_qt6_bindir}
1429     for i in * ; do
1430     case "${i}" in
1431 daviddavid 1722416 qdbuscpp2xml|qdbusxml2cpp)
1432     ln -v ${i} %{buildroot}%{_bindir}/${i}-qt6
1433 neoclust 1700725 ;;
1434     *)
1435     ln -v ${i} %{buildroot}%{_bindir}/${i}
1436     ;;
1437     esac
1438     done
1439     popd
1440    
1441 daviddavid 1722416 # hardlink files to {_bindir}, add -qt6 postfix to not conflict
1442     pushd %{buildroot}%{_qt6_libdir}
1443     for i in * ; do
1444     case "${i}" in
1445     moc|qlalr|qvkgen|qmake|rcc|tracegen|uic)
1446     ln -v ${i} %{buildroot}%{_libdir}/${i}-qt6
1447     ;;
1448     esac
1449     done
1450     popd
1451    
1452 neoclust 1700725 %if %{build_docs}
1453     %make_install install_docs INSTALL_ROOT=%{buildroot}
1454     %endif
1455    
1456     install -m644 -p -D %{SOURCE1} %{buildroot}%{_qt6_datadir}/qtlogging.ini
1457    
1458     install -d %{buildroot}%{_qt6_docdir}
1459     install -d %{buildroot}%{_sysconfdir}
1460     install -d %{buildroot}%{_sysconfdir}/profile.d
1461    
1462     # Fix mkspec link
1463     pushd %{buildroot}%{_qt6_archdatadir}/mkspecs
1464     rm -f default
1465     ln -sf %{_qt6_archdatadir}/mkspecs/linux-g++ default
1466     popd
1467    
1468     # Restore qmake.conf to the upstream version which was backed up in %%prep
1469     mv %{buildroot}%{_qt6_archdatadir}/mkspecs/linux-g++/qmake.conf.upstream %{buildroot}%{_qt6_archdatadir}/mkspecs/linux-g++/qmake.conf
1470    
1471     # Fix all buildroot paths
1472     find %{buildroot}%{_qt6_libdir} -type f -name '*prl' -exec perl -pi -e "s, -L%{_builddir}/\S+,,g" {} \;
1473     find %{buildroot}%{_qt6_libdir} -type f -name '*prl' -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;
1474     find %{buildroot}%{_qt6_libdir} -type f -name '*la' -print -exec perl -pi -e "s, -L%{_builddir}/?\S+,,g" {} \;
1475     find %{buildroot}%{_qt6_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" {} \;
1476     find %{buildroot}%{_qt6_archdatadir}/mkspecs -name 'qmake.conf' -exec chmod -x -- {} \;
1477     find %{buildroot}%{_qt6_archdatadir}/mkspecs -name Info.plist.app -exec chmod -x -- {} \;
1478    
1479     # Install rpm macros
1480 daviddavid 1722416 #mkdir -p %%{buildroot}%%{_sysconfdir}/rpm/macros.d
1481     #install -m 0644 %%{SOURCE2} %%{buildroot}%%{_sysconfdir}/rpm/macros.d
1482 neoclust 1700725
1483     # Profiles
1484     cat > %{buildroot}%{_sysconfdir}/profile.d/60qt6.sh << EOF
1485     #!/bin/bash
1486 daviddavid 1722416 QTDIR6="%{_qt6_archdatadir}" ; export QTDIR6 ;
1487 neoclust 1700725
1488     [ -z \$QT6DOCDIR ] && export QT6DOCDIR=%{_qt6_docdir}
1489    
1490     if [ -z \$(echo \$PATH | grep "%{_qt6_bindir}") ]; then
1491     PATH=\${PATH}:%{_qt6_bindir}
1492     export PATH
1493     fi
1494     EOF
1495    
1496     cat > %{buildroot}%{_sysconfdir}/profile.d/60qt6.csh << EOF
1497     #!/bin/csh
1498     setenv QTDIR6 %{_qt6_archdatadir}
1499     if ( ! \$?QT6DOCDIR ) setenv QT6DOCDIR %{_qt6_docdir}
1500     set path = (\$path \$QTDIR6/bin)
1501    
1502     EOF
1503    
1504     # Taken from OpenSUSE
1505     # syncqt is installed in both %%_qt6_bindir and %%_qt6_libdir
1506     # QtSyncQtHelpers.cmake needs the libexec one...and qmake the other one.
1507     # Creating a symlink is not necessary
1508     ln -s %{_libdir}/syncqt.pl %{buildroot}%{_qt6_bindir}/syncqt.pl
1509    
1510 daviddavid 1722416 rm %{buildroot}%{_bindir}/qt-cmake-private-install.cmake
1511 neoclust 1700725
1512 daviddavid 1722415 # Use better location for some new scripts in qtbase-6.0.1
1513 daviddavid 1722416 mv %{buildroot}%{_qt6_libdir}/android_emulator_launcher.sh %{buildroot}%{_qt6_bindir}/android_emulator_launcher.sh
1514     mv %{buildroot}%{_qt6_libdir}/ensure_pro_file.cmake %{buildroot}%{_qt6_libdir}/cmake/Qt6/ensure_pro_file.cmake
1515 daviddavid 1722415
1516 daviddavid 1722416 # Thanks OpenSuse
1517     # Static library created by an example
1518     rm %{buildroot}%{_libdir}/libpnp_basictools.a
1519 daviddavid 1722415
1520 daviddavid 1722416
1521 neoclust 1700725 # .la and .a files, die, die, die.
1522     rm -f %{buildroot}%{_qt6_libdir}/lib*.la
1523 daviddavid 1722415 # .a files are needed by qttools6
1524 neoclust 1700725 #rm -f %%{buildroot}%%{_qt6_libdir}/lib*.a

  ViewVC Help
Powered by ViewVC 1.1.30