]>
Commit | Line | Data |
---|---|---|
7def3493 JB |
1 | # Note on packaging .cmake files for plugins: |
2 | # Base Qt5${component}Config.cmake file includes all existing Qt5${component}_*Plugin.cmake | |
3 | # files, which trigger check for presence of plugin module in filesystem. | |
4 | # Thus, for plugins separated into subpackages, we package plugins .cmake file | |
5 | # together with module, and the rest of .cmake files in appropriate -devel subpackage. | |
6 | # | |
51df396b | 7 | # Conditional build: |
9452387a | 8 | %bcond_with static_libs # static libraries [incomplete support in .spec] |
eb55fca2 | 9 | %bcond_with bootstrap # disable features to able to build without installed qt5 |
766e4ec6 | 10 | # -- build targets |
b52c2d71 | 11 | %bcond_without doc # Documentation |
766e4ec6 | 12 | %bcond_without qm # QM translations |
51df396b WF |
13 | # -- features |
14 | %bcond_without cups # CUPS printing support | |
9452387a | 15 | %bcond_without directfb # DirectFB platform support |
ce510087 | 16 | %bcond_without egl # EGL (EGLFS, minimal EGL) platform support |
51df396b | 17 | %bcond_without gtk # GTK+ theme integration |
b846d334 | 18 | %bcond_without kerberos5 # KRB5 GSSAPI Support |
ce510087 | 19 | %bcond_without kms # KMS platform support |
d19f6c9e | 20 | %bcond_without libinput # libinput support |
51df396b | 21 | %bcond_without pch # pch (pre-compiled headers) in qmake |
e59a9f90 | 22 | %bcond_without statx # build without statx() |
7d197c9f | 23 | %bcond_with systemd # logging to journald |
9452387a | 24 | %bcond_without tslib # tslib support |
51df396b | 25 | # -- databases |
9452387a | 26 | %bcond_without freetds # TDS (Sybase/MS SQL) plugin |
51df396b WF |
27 | %bcond_without mysql # MySQL plugin |
28 | %bcond_without odbc # unixODBC plugin | |
29 | %bcond_without pgsql # PostgreSQL plugin | |
9452387a | 30 | %bcond_without sqlite2 # SQLite2 plugin |
51df396b | 31 | %bcond_without sqlite3 # SQLite3 plugin |
51df396b | 32 | %bcond_without ibase # ibase (InterBase/Firebird) plugin |
9452387a | 33 | %bcond_with db2 # DB2 support |
7d197c9f | 34 | %bcond_with oci # OCI (Oracle) support |
51df396b | 35 | # -- SIMD CPU instructions |
51df396b WF |
36 | %bcond_with sse2 # use SSE2 instructions |
37 | %bcond_with sse3 # use SSE3 instructions (since: Intel middle Pentium4, AMD Athlon64) | |
38 | %bcond_with ssse3 # use SSSE3 instructions (Intel since Core2, Via Nano) | |
39 | %bcond_with sse41 # use SSE4.1 instructions (Intel since middle Core2) | |
40 | %bcond_with sse42 # use SSE4.2 instructions (the same) | |
9452387a JB |
41 | %bcond_with avx # use AVX instructions (Intel since Sandy Bridge, AMD since Bulldozer) |
42 | %bcond_with avx2 # use AVX2 instructions (Intel since Haswell) | |
51df396b | 43 | |
0227441b | 44 | %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha ppc |
51df396b WF |
45 | %undefine with_ibase |
46 | %endif | |
47 | %ifarch athlon | |
48 | %define with_3dnow 1 | |
49 | %endif | |
0227441b | 50 | %ifarch athlon pentium3 pentium4 %{x8664} x32 |
51df396b WF |
51 | %define with_mmx 1 |
52 | %endif | |
0227441b | 53 | %ifarch pentium4 %{x8664} x32 |
51df396b WF |
54 | %define with_sse2 1 |
55 | %endif | |
d04df14a JP |
56 | # QTBUG-36129 |
57 | %ifnarch %{arm} aarch64 | |
58 | %define with_red_reloc 1 | |
59 | %endif | |
51df396b | 60 | |
eb55fca2 | 61 | %if %{with bootstrap} |
b52c2d71 | 62 | %undefine with_doc |
eb55fca2 ER |
63 | %undefine with_qm |
64 | %endif | |
65 | ||
a48a8244 | 66 | %define icu_abi 72 |
51df396b WF |
67 | %define next_icu_abi %(echo $((%{icu_abi} + 1))) |
68 | ||
69 | %define orgname qtbase | |
9452387a JB |
70 | Summary: Qt5 - base components |
71 | Summary(pl.UTF-8): Biblioteka Qt5 - podstawowe komponenty | |
51df396b | 72 | Name: qt5-%{orgname} |
cc4c7bbd | 73 | Version: 5.15.9 |
bf22aa0a | 74 | Release: 3 |
b2c7a0e5 | 75 | License: LGPL v3 or GPL v2 or GPL v3 or commercial |
51df396b | 76 | Group: X11/Libraries |
56aacf30 | 77 | Source0: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-opensource-src-%{version}.tar.xz |
cc4c7bbd | 78 | # Source0-md5: ca2d962c59755ea5f4eb3562ab60287c |
56aacf30 | 79 | Source1: https://download.qt.io/official_releases/qt/5.15/%{version}/submodules/qttranslations-everywhere-opensource-src-%{version}.tar.xz |
cc4c7bbd | 80 | # Source1-md5: af998d4bc7ab3484c392520c12d5f3a3 |
f97107f4 | 81 | Patch0: %{name}-system_cacerts.patch |
5aa3866f | 82 | Patch1: parallel-install.patch |
29df2ae6 | 83 | Patch2: egl-x11.patch |
fec77059 | 84 | Patch3: CVE-2023-32763-qtbase-5.15.diff |
bf22aa0a | 85 | Patch4: CVE-2023-32762-qtbase-5.15.diff |
b2c7a0e5 | 86 | URL: https://www.qt.io/ |
9452387a | 87 | %{?with_directfb:BuildRequires: DirectFB-devel} |
ce510087 | 88 | BuildRequires: EGL-devel |
51df396b | 89 | %{?with_ibase:BuildRequires: Firebird-devel} |
ce510087 | 90 | %{?with_kms:BuildRequires: Mesa-libgbm-devel} |
51df396b | 91 | BuildRequires: OpenGL-devel |
ce510087 | 92 | %{?with_kms:BuildRequires: OpenGLESv2-devel} |
767ddd0b | 93 | BuildRequires: Vulkan-Loader-devel |
2ed6963f | 94 | BuildRequires: at-spi2-core-devel |
7d197c9f | 95 | %{?with_cups:BuildRequires: cups-devel >= 1.4} |
9452387a | 96 | BuildRequires: dbus-devel >= 1.2 |
2ed6963f | 97 | BuildRequires: double-conversion-devel |
51df396b | 98 | BuildRequires: fontconfig-devel |
9452387a | 99 | %{?with_freetds:BuildRequires: freetds-devel} |
7a00ba1b | 100 | BuildRequires: freetype-devel >= 2.2.0 |
51df396b | 101 | %{?with_pch:BuildRequires: gcc >= 5:4.0} |
5b8dc449 | 102 | BuildRequires: gdb |
51df396b | 103 | BuildRequires: glib2-devel >= 2.0.0 |
f4f3c424 JP |
104 | %{?with_gtk:BuildRequires: gtk+3-devel >= 3.6} |
105 | BuildRequires: harfbuzz-devel >= 1.6.0 | |
b846d334 | 106 | %{?with_kerberos5:BuildRequires: heimdal-devel} |
ce510087 | 107 | %{?with_kms:BuildRequires: libdrm-devel} |
51df396b | 108 | # see dependency on libicu version below |
51df396b | 109 | BuildRequires: libicu-devel < %{next_icu_abi} |
1600b17a | 110 | BuildRequires: libicu-devel >= %{icu_abi} |
d19f6c9e | 111 | %{?with_libinput:BuildRequires: libinput-devel} |
51df396b | 112 | BuildRequires: libjpeg-devel |
51df396b | 113 | BuildRequires: libpng-devel >= 2:1.0.8 |
767ddd0b | 114 | BuildRequires: libstdc++-devel >= 6:4.7 |
f4f3c424 JP |
115 | BuildRequires: libxcb-devel >= 1.12 |
116 | BuildRequires: mtdev-devel | |
51df396b | 117 | %{?with_mysql:BuildRequires: mysql-devel} |
b846d334 | 118 | BuildRequires: openssl-devel >= 1.1.1 |
7d197c9f | 119 | %{?with_oci:BuildRequires: oracle-instantclient-devel} |
b846d334 | 120 | BuildRequires: pcre2-16-devel >= 10.20 |
51df396b | 121 | BuildRequires: pkgconfig |
51df396b | 122 | %{?with_pgsql:BuildRequires: postgresql-devel} |
766e4ec6 | 123 | %{?with_qm:BuildRequires: qt5-linguist >= 5.2} |
767ddd0b | 124 | %{?with_doc:BuildRequires: qt5-assistant >= 5.9} |
838c1313 | 125 | BuildRequires: rpm-build >= 4.6 |
49c69c79 | 126 | BuildRequires: rpmbuild(macros) >= 1.752 |
51df396b | 127 | BuildRequires: sed >= 4.0 |
9452387a | 128 | %{?with_sqlite2:BuildRequires: sqlite-devel} |
51df396b | 129 | %{?with_sqlite3:BuildRequires: sqlite3-devel} |
7d197c9f | 130 | %{?with_systemd:BuildRequires: systemd-devel} |
1600b17a | 131 | BuildRequires: tar >= 1:1.22 |
9452387a | 132 | %{?with_tslib:BuildRequires: tslib-devel} |
5b8dc449 | 133 | BuildRequires: udev-devel |
51df396b | 134 | %{?with_odbc:BuildRequires: unixODBC-devel >= 2.3.0} |
f4f3c424 JP |
135 | BuildRequires: wayland-devel |
136 | BuildRequires: xcb-util-image-devel >= 0.3.9 | |
137 | BuildRequires: xcb-util-keysyms-devel >= 0.3.9 | |
138 | BuildRequires: xcb-util-renderutil-devel >= 0.3.9 | |
139 | BuildRequires: xcb-util-wm-devel >= 0.3.9 | |
140 | BuildRequires: xorg-lib-libICE-devel | |
51df396b | 141 | BuildRequires: xorg-lib-libSM-devel |
9452387a | 142 | BuildRequires: xorg-lib-libX11-devel |
51df396b WF |
143 | BuildRequires: xorg-lib-libXcursor-devel |
144 | BuildRequires: xorg-lib-libXext-devel | |
145 | BuildRequires: xorg-lib-libXfixes-devel | |
146 | BuildRequires: xorg-lib-libXi-devel | |
147 | BuildRequires: xorg-lib-libXinerama-devel | |
148 | BuildRequires: xorg-lib-libXrandr-devel | |
f4f3c424 JP |
149 | BuildRequires: xorg-lib-libXrender-devel >= 0.6 |
150 | BuildRequires: xorg-lib-libxkbcommon-devel >= 0.5.0 | |
151 | BuildRequires: xorg-lib-libxkbcommon-x11-devel >= 0.5.0 | |
1600b17a | 152 | BuildRequires: xz |
7a00ba1b | 153 | BuildRequires: zlib-devel >= 1.0.8 |
2ed6963f | 154 | BuildRequires: zstd-devel >= 1.3 |
51df396b WF |
155 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
156 | ||
51df396b | 157 | %define specflags -fno-strict-aliasing |
b52c2d71 | 158 | %define filterout -flto |
51df396b | 159 | |
9452387a | 160 | %define qt5dir %{_libdir}/qt5 |
51df396b WF |
161 | |
162 | %description | |
1600b17a ER |
163 | Qt is a software toolkit for developing applications. |
164 | ||
9452387a JB |
165 | This package contains base components, like Core, Network or Xml. |
166 | ||
167 | %description -l pl.UTF-8 | |
168 | Qt to programowy toolkit do tworzenia aplikacji. | |
169 | ||
170 | Ten pakiet zawiera podstawowe komponenty, takie jak Core, Network czy | |
171 | Xml. | |
51df396b | 172 | |
f97107f4 JR |
173 | %package -n Qt5AccessibilitySupport-devel |
174 | Summary: Qt5 AccessibilitySupport library - development files | |
175 | Summary(pl.UTF-8): Biblioteka Qt5 AccessibilitySupport - pliki programistyczne | |
176 | Group: Development/Libraries | |
177 | # for (subset of) Qt5Core headers | |
178 | Requires: Qt5Core-devel = %{version}-%{release} | |
7a00ba1b | 179 | Requires: zlib-devel >= 1.0.8 |
f97107f4 JR |
180 | |
181 | %description -n Qt5AccessibilitySupport-devel | |
182 | Qt5 AccessibilitySupport library - development files. | |
183 | ||
184 | %description -n Qt5AccessibilitySupport-devel -l pl.UTF-8 | |
185 | Biblioteka Qt5 AccessibilitySupport - pliki programistyczne. | |
186 | ||
eb485fb3 JB |
187 | %package -n Qt5Bootstrap-devel |
188 | Summary: Qt5 Bootstrap library - development files | |
189 | Summary(pl.UTF-8): Biblioteka Qt5 Bootstrap - pliki programistyczne | |
190 | Group: Development/Libraries | |
58f72d3f WF |
191 | # for (subset of) Qt5Core headers |
192 | Requires: Qt5Core-devel = %{version}-%{release} | |
7a00ba1b | 193 | Requires: zlib-devel >= 1.0.8 |
eb485fb3 JB |
194 | |
195 | %description -n Qt5Bootstrap-devel | |
196 | Qt5 Bootstrap library (minimal part of Qt5 Core) - development files. | |
197 | ||
198 | %description -n Qt5Bootstrap-devel -l pl.UTF-8 | |
199 | Biblioteka Qt5 Bootstrap (minimalna część Qt5 Core) - pliki | |
200 | programistyczne. | |
201 | ||
202 | %package -n Qt5Concurrent | |
203 | Summary: Qt5 Concurrent library | |
204 | Summary(pl.UTF-8): Biblioteka Qt5 Concurrent | |
205 | Group: Libraries | |
206 | Requires: Qt5Core = %{version}-%{release} | |
207 | ||
208 | %description -n Qt5Concurrent | |
209 | The Qt5 Concurrent library provides high-level APIs that make it | |
210 | possible to write multi-threaded programs without using low-level | |
211 | threading primitives. | |
212 | ||
213 | %description -n Qt5Concurrent -l pl.UTF-8 | |
214 | Biblioteka Qt5 Concurrent udostępnia wysokopoziomowe API umożliwiające | |
215 | pisanie wielowątkowych programów bez wykorzystywania niskopoziomowych | |
216 | elementów związanych z wątkami. | |
217 | ||
218 | %package -n Qt5Concurrent-devel | |
219 | Summary: Qt5 Concurrent library - development files | |
220 | Summary(pl.UTF-8): Biblioteka Qt5 Concurrent - pliki programistyczne | |
221 | Group: Development/Libraries | |
222 | Requires: Qt5Concurrent = %{version}-%{release} | |
223 | Requires: Qt5Core-devel = %{version}-%{release} | |
224 | ||
225 | %description -n Qt5Concurrent-devel | |
226 | Header files for Qt5 Concurrent library. | |
227 | ||
228 | %description -n Qt5Concurrent-devel -l pl.UTF-8 | |
229 | Pliki nagłówkowe biblioteki Qt5 Concurrent. | |
230 | ||
231 | %package -n Qt5Core | |
232 | Summary: Qt5 Core library | |
233 | Summary(pl.UTF-8): Biblioteka Qt5 Core | |
234 | Group: Libraries | |
b846d334 | 235 | Requires: pcre2-16 >= 10.20 |
7a00ba1b | 236 | Requires: zlib >= 1.0.8 |
2ed6963f | 237 | Requires: zstd >= 1.3 |
fdb3380e | 238 | Obsoletes: qt5-qtbase < 5.2.0-1 |
eb485fb3 JB |
239 | |
240 | %description -n Qt5Core | |
241 | Qt5 Core library provides core non-GUI functionality. | |
242 | ||
243 | %description -n Qt5Core -l pl.UTF-8 | |
244 | Biblioteka Qt5 Core zawiera podstawową funkcjonalność nie związaną z | |
245 | graficznym interfejsem użytkownika (GUI). | |
246 | ||
247 | %package -n Qt5Core-devel | |
248 | Summary: Qt5 Core library - development files | |
249 | Summary(pl.UTF-8): Biblioteka Qt5 Core - pliki programistyczne | |
250 | Group: Development/Libraries | |
251 | Requires: Qt5Core = %{version}-%{release} | |
eb485fb3 | 252 | Requires: libicu-devel |
767ddd0b | 253 | Requires: libstdc++-devel >= 6:4.7 |
b846d334 | 254 | Requires: pcre2-16-devel >= 10.20 |
12def292 | 255 | Requires: qt5-build = %{version}-%{release} |
5e3523b1 | 256 | Requires: qt5-qmake = %{version}-%{release} |
7a00ba1b | 257 | Requires: zlib-devel >= 1.0.8 |
fdb3380e | 258 | Obsoletes: qt5-qtbase-devel < 5.2.0-1 |
eb485fb3 JB |
259 | |
260 | %description -n Qt5Core-devel | |
261 | Header files for Qt5 Core library. | |
262 | ||
263 | %description -n Qt5Core-devel -l pl.UTF-8 | |
264 | Pliki nagłówkowe biblioteki Qt5 Core. | |
265 | ||
266 | %package -n Qt5DBus | |
267 | Summary: Qt5 DBus library | |
268 | Summary(pl.UTF-8): Biblioteka Qt5 DBus | |
269 | Group: Libraries | |
270 | Requires: Qt5Core = %{version}-%{release} | |
271 | Requires: dbus-libs >= 1.2 | |
272 | ||
273 | %description -n Qt5DBus | |
274 | The Qt5 D-Bus library is a Unix-only library that you can use to | |
275 | perform Inter-Process Communication using the D-Bus protocol. | |
276 | ||
277 | %description -n Qt5DBus -l pl.UTF-8 | |
278 | Biblioteka Qt5 D-Bus to wyłącznie uniksowa biblioteka pozwalająca na | |
279 | komunikację międzyprocesową (IPC) przy użyciu protokołu D-Bus. | |
280 | ||
281 | %package -n Qt5DBus-devel | |
282 | Summary: Qt5 DBus library - development files | |
283 | Summary(pl.UTF-8): Biblioteka Qt5 DBus - pliki programistyczne | |
284 | Group: Development/Libraries | |
285 | Requires: Qt5Core-devel = %{version}-%{release} | |
286 | Requires: Qt5DBus = %{version}-%{release} | |
287 | Requires: dbus-devel >= 1.2 | |
288 | ||
289 | %description -n Qt5DBus-devel | |
290 | Header files for Qt5 DBus library. | |
291 | ||
292 | %description -n Qt5DBus-devel -l pl.UTF-8 | |
293 | Pliki nagłówkowe biblioteki Qt5 DBus. | |
294 | ||
f97107f4 JR |
295 | %package -n Qt5DeviceDiscoverySupport-devel |
296 | Summary: Qt5 DeviceDiscoverySupport library - development files | |
297 | Summary(pl.UTF-8): Biblioteka Qt5 DeviceDiscoverySupport - pliki programistyczne | |
298 | Group: Development/Libraries | |
299 | # for (subset of) Qt5Core headers | |
300 | Requires: Qt5Core-devel = %{version}-%{release} | |
301 | ||
302 | %description -n Qt5DeviceDiscoverySupport-devel | |
303 | Qt5 DeviceDiscoverySupport library - development files. | |
304 | ||
305 | %description -n Qt5DeviceDiscoverySupport-devel -l pl.UTF-8 | |
306 | Biblioteka Qt5 DeviceDiscoverySupport - pliki programistyczne. | |
307 | ||
f478e3eb AM |
308 | %package -n Qt5EdidSupport-devel |
309 | Summary: Qt5 EdidSupport library - development files | |
310 | Summary(pl.UTF-8): Biblioteka Qt5 EdidSupport - pliki programistyczne | |
311 | Group: Development/Libraries | |
312 | # for (subset of) Qt5Core headers | |
313 | Requires: Qt5Core-devel = %{version}-%{release} | |
314 | ||
315 | %description -n Qt5EdidSupport-devel | |
f7e00f7a | 316 | Qt5 EdidSupport library - development files. |
f478e3eb AM |
317 | |
318 | %description -n Qt5EdidSupport-devel -l pl.UTF-8 | |
f7e00f7a | 319 | Biblioteka Qt5 EdidSupport - pliki programistyczne. |
f478e3eb | 320 | |
f97107f4 JR |
321 | %package -n Qt5EglSupport-devel |
322 | Summary: Qt5 EglSupport library - development files | |
323 | Summary(pl.UTF-8): Biblioteka Qt5 EglSupport - pliki programistyczne | |
324 | Group: Development/Libraries | |
325 | # for (subset of) Qt5Core headers | |
326 | Requires: Qt5Core-devel = %{version}-%{release} | |
327 | ||
328 | %description -n Qt5EglSupport-devel | |
329 | Qt5 EglSupport library - development files. | |
330 | ||
331 | %description -n Qt5EglSupport-devel -l pl.UTF-8 | |
332 | Biblioteka Qt5 EglSupport - pliki programistyczne. | |
333 | ||
334 | %package -n Qt5EventDispatcherSupport-devel | |
335 | Summary: Qt5 EventDispatcherSupport library - development files | |
336 | Summary(pl.UTF-8): Biblioteka Qt5 EventDispatcherSupport - pliki programistyczne | |
337 | Group: Development/Libraries | |
338 | # for (subset of) Qt5Core headers | |
339 | Requires: Qt5Core-devel = %{version}-%{release} | |
94b655ed | 340 | Requires: glib2-devel >= 2.0 |
f97107f4 JR |
341 | |
342 | %description -n Qt5EventDispatcherSupport-devel | |
343 | Qt5 EventDispatcherSupport library - development files. | |
344 | ||
345 | %description -n Qt5EventDispatcherSupport-devel -l pl.UTF-8 | |
346 | Biblioteka Qt5 EventDispatcherSupport - pliki programistyczne. | |
347 | ||
348 | %package -n Qt5FbSupport-devel | |
349 | Summary: Qt5 FbSupport library - development files | |
350 | Summary(pl.UTF-8): Biblioteka Qt5 FbSupport - pliki programistyczne | |
351 | Group: Development/Libraries | |
352 | # for (subset of) Qt5Core headers | |
353 | Requires: Qt5Core-devel = %{version}-%{release} | |
354 | ||
355 | %description -n Qt5FbSupport-devel | |
356 | Qt5 FbSupport library - development files. | |
357 | ||
358 | %description -n Qt5FbSupport-devel -l pl.UTF-8 | |
359 | Biblioteka Qt5 FbSupport - pliki programistyczne. | |
360 | ||
361 | %package -n Qt5FontDatabaseSupport-devel | |
362 | Summary: Qt5 FontDatabaseSupport library - development files | |
363 | Summary(pl.UTF-8): Biblioteka Qt5 FontDatabaseSupport - pliki programistyczne | |
364 | Group: Development/Libraries | |
365 | # for (subset of) Qt5Core headers | |
366 | Requires: Qt5Core-devel = %{version}-%{release} | |
367 | ||
368 | %description -n Qt5FontDatabaseSupport-devel | |
369 | Qt5 FontDatabaseSupport library - development files. | |
370 | ||
371 | %description -n Qt5FontDatabaseSupport-devel -l pl.UTF-8 | |
372 | Biblioteka Qt5 FontDatabaseSupport - pliki programistyczne. | |
373 | ||
374 | %package -n Qt5GlxSupport-devel | |
375 | Summary: Qt5 GlxSupport library - development files | |
376 | Summary(pl.UTF-8): Biblioteka Qt5 GlxSupport - pliki programistyczne | |
377 | Group: Development/Libraries | |
378 | # for (subset of) Qt5Core headers | |
379 | Requires: Qt5Core-devel = %{version}-%{release} | |
380 | ||
381 | %description -n Qt5GlxSupport-devel | |
382 | Qt5 GlxSupport library - development files. | |
383 | ||
384 | %description -n Qt5GlxSupport-devel -l pl.UTF-8 | |
385 | Biblioteka Qt5 GlxSupport - pliki programistyczne. | |
386 | ||
eb485fb3 JB |
387 | %package -n Qt5Gui |
388 | Summary: Qt5 Gui library | |
389 | Summary(pl.UTF-8): Biblioteka Qt5 Gui | |
390 | Group: Libraries | |
391 | Requires: Qt5Core = %{version}-%{release} | |
d19f6c9e | 392 | # for ibus platforminputcontext plugin |
07c22e07 | 393 | Requires: Qt5DBus = %{version}-%{release} |
a33ed680 JB |
394 | # for compose platforminputcontext plugin |
395 | Requires: xorg-lib-libxkbcommon >= 0.4.1 | |
b31a0b27 | 396 | Suggests: Qt5Gui-platform-xcb |
eb485fb3 JB |
397 | |
398 | %description -n Qt5Gui | |
399 | The Qt5 GUI library provides the basic enablers for graphical | |
400 | applications written with Qt 5. | |
401 | ||
402 | %description -n Qt5Gui -l pl | |
403 | Biblioteka Qt5 Gui udostępnia podstawową funkcjonalność dla | |
404 | graficznych aplikacji napisanych z użyciem Qt 5. | |
405 | ||
d19f6c9e JB |
406 | %package -n Qt5Gui-generic-libinput |
407 | Summary: Qt5 Gui generic input plugin for libinput | |
408 | Summary(pl.UTF-8): Ogólna wtyczka wejścia Qt5 Gui z libinput | |
409 | Group: Libraries | |
410 | Requires: Qt5Gui = %{version}-%{release} | |
411 | ||
412 | %description -n Qt5Gui-generic-libinput | |
413 | Qt5 Gui generic input plugin to get mouse, keyboard and touch events | |
414 | via libinput. | |
415 | ||
416 | %description -n Qt5Gui-generic-libinput -l pl.UTF-8 | |
417 | Ogólna wtyczka wejścia Qt5 Gui do pobierania zdarzeń myszy, klawiatury | |
418 | i dotykowych poprzez libinput. | |
419 | ||
07c22e07 JB |
420 | %package -n Qt5Gui-generic-tslib |
421 | Summary: Qt5 Gui generic input plugin for TSlib (touchscreen panel events) | |
422 | Summary(pl.UTF-8): Ogólna wtyczka wejścia Qt5 Gui z TSlib (zdarzeń z paneli dotykowych) | |
423 | Group: Libraries | |
424 | Requires: Qt5Gui = %{version}-%{release} | |
425 | ||
426 | %description -n Qt5Gui-generic-tslib | |
427 | Qt5 Gui generic input plugin for TSlib (touchscreen panel events). | |
428 | ||
429 | %description -n Qt5Gui-generic-tslib -l pl.UTF-8 | |
430 | Ogólna wtyczka wejścia Qt5 Gui z TSlib (zdarzeń z paneli dotykowych). | |
431 | ||
d19f6c9e JB |
432 | %package -n Qt5Gui-generic-tuiotouch |
433 | Summary: Qt5 Gui generic input plugin for TuioTouch | |
434 | Summary(pl.UTF-8): Ogólna wtyczka wejścia Qt5 Gui z TuioTouch | |
435 | Group: Libraries | |
436 | Requires: Qt5Gui = %{version}-%{release} | |
437 | Requires: Qt5Network = %{version}-%{release} | |
438 | ||
439 | %description -n Qt5Gui-generic-tuiotouch | |
440 | Qt5 Gui generic input plugin for TuioTouch. | |
441 | ||
442 | %description -n Qt5Gui-generic-tuiotouch -l pl.UTF-8 | |
443 | Ogólna wtyczka wejścia Qt5 Gui z TuioTouch. | |
444 | ||
07c22e07 JB |
445 | %package -n Qt5Gui-platform-directfb |
446 | Summary: Qt5 Gui platform plugin for DirectFB | |
447 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui dla DirectFB | |
448 | Group: Libraries | |
449 | Requires: Qt5Gui = %{version}-%{release} | |
450 | ||
451 | %description -n Qt5Gui-platform-directfb | |
452 | Qt5 Gui platform plugin for DirectFB. | |
453 | ||
454 | %description -n Qt5Gui-platform-directfb -l pl.UTF-8 | |
455 | Wtyczka platformy Qt5 Gui dla DirectFB. | |
456 | ||
d19f6c9e JB |
457 | %package -n Qt5Gui-platform-egl |
458 | Summary: Qt5 Gui platform plugin for minimal EGL | |
459 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui dla minimalnego EGL | |
07c22e07 JB |
460 | Group: Libraries |
461 | Requires: Qt5Gui = %{version}-%{release} | |
462 | ||
d19f6c9e JB |
463 | %description -n Qt5Gui-platform-egl |
464 | Qt5 Gui platform plugin for minimal EGL. | |
07c22e07 | 465 | |
d19f6c9e JB |
466 | %description -n Qt5Gui-platform-egl -l pl.UTF-8 |
467 | Wtyczki platformy Qt5 Gui dla minimalnego EGL. | |
07c22e07 | 468 | |
d19f6c9e JB |
469 | %package -n Qt5Gui-platform-eglfs |
470 | Summary: Qt5 Gui platform plugin and library for EglFs integration layer | |
471 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui oraz biblioteka warstwy integracyjnej EglFs | |
07c22e07 JB |
472 | Group: Libraries |
473 | Requires: Qt5Gui = %{version}-%{release} | |
474 | ||
d19f6c9e JB |
475 | %description -n Qt5Gui-platform-eglfs |
476 | Qt5 Gui platform plugin and library for EglFs integration layer. | |
07c22e07 | 477 | |
d19f6c9e JB |
478 | %description -n Qt5Gui-platform-eglfs -l pl.UTF-8 |
479 | Wtyczka platformy Qt5 Gui oraz biblioteka warstwy integracyjnej EglFs. | |
480 | ||
481 | %package -n Qt5Gui-platform-eglfs-devel | |
482 | Summary: Development files for Qt5 EglFs integration layer | |
483 | Summary(pl.UTF-8): Pliki programistyczne warstwy integracyjnej Qt5 EglFs | |
484 | Group: Development/Libraries | |
485 | Requires: Qt5Gui-platform-eglfs = %{version}-%{release} | |
486 | ||
487 | %description -n Qt5Gui-platform-eglfs-devel | |
488 | Development files for Qt5 EglFs integration layer. | |
489 | ||
490 | %description -n Qt5Gui-platform-eglfs-devel -l pl.UTF-8 | |
491 | Pliki programistyczne warstwy integracyjnej Qt5 EglFs. | |
492 | ||
493 | %package -n Qt5Gui-platform-eglfs-kms | |
494 | Summary: Qt5 EglFs integration plugin for KMS | |
495 | Summary(pl.UTF-8): Wtyczka integracji Qt5 EglFs dla KMS | |
496 | Group: Libraries | |
497 | Requires: Qt5Gui-platform-eglfs = %{version}-%{release} | |
498 | Obsoletes: Qt5Gui-platform-kms < 5.5 | |
499 | ||
500 | %description -n Qt5Gui-platform-eglfs-kms | |
501 | Qt5 EglFs integration plugin for KMS. | |
502 | ||
503 | %description -n Qt5Gui-platform-eglfs-kms -l pl.UTF-8 | |
504 | Wtyczka integracji Qt5 EglFs dla KMS. | |
505 | ||
f97107f4 JR |
506 | %package -n Qt5Gui-platform-eglfs-kms-devel |
507 | Summary: Development files for Qt5 EglFs integration plugin for KMS | |
508 | Summary(pl.UTF-8): Pliki programistyczne dla wtyczki integracji Qt5 EglFs dla KMS | |
509 | Group: Libraries | |
510 | Requires: Qt5Gui-platform-eglfs = %{version}-%{release} | |
511 | Obsoletes: Qt5Gui-platform-kms < 5.5 | |
512 | ||
513 | %description -n Qt5Gui-platform-eglfs-kms-devel | |
514 | Qt5 EglFs integration plugin for KMS - development files. | |
515 | ||
516 | %description -n Qt5Gui-platform-eglfs-kms-devel -l pl.UTF-8 | |
517 | Wtyczka integracji Qt5 EglFs dla KMS - pliki programistyczne. | |
518 | ||
d19f6c9e JB |
519 | %package -n Qt5Gui-platform-eglfs-x11 |
520 | Summary: Qt5 EglFs integration plugin for X11 | |
521 | Summary(pl.UTF-8): Wtyczka integracji Qt5 EglFs dla X11 | |
522 | Group: Libraries | |
523 | Requires: Qt5Gui-platform-eglfs = %{version}-%{release} | |
524 | ||
525 | %description -n Qt5Gui-platform-eglfs-x11 | |
526 | Qt5 EglFs integration plugin for X11. | |
527 | ||
528 | %description -n Qt5Gui-platform-eglfs-x11 -l pl.UTF-8 | |
529 | Wtyczka integracji Qt5 EglFs dla X11. | |
530 | ||
252a9ecd JB |
531 | %package -n Qt5Gui-platform-linuxfb |
532 | Summary: Qt5 Gui platform plugin for Linux FrameBuffer | |
533 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui dla linuksowego framebuffera | |
534 | Group: Libraries | |
535 | Requires: Qt5Gui = %{version}-%{release} | |
536 | ||
537 | %description -n Qt5Gui-platform-linuxfb | |
538 | Qt5 Gui platform plugin for Linux FrameBuffer. | |
539 | ||
540 | %description -n Qt5Gui-platform-linuxfb -l pl.UTF-8 | |
541 | Wtyczki platformy Qt5 Gui dla linuxksowego framebuffera. | |
542 | ||
543 | %package -n Qt5Gui-platform-vnc | |
544 | Summary: Qt5 Gui platform plugin and library for VNC integration layer | |
545 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui oraz biblioteka warstwy integracyjnej VNC | |
546 | Group: Libraries | |
547 | Requires: Qt5DBus = %{version}-%{release} | |
548 | Requires: Qt5Gui = %{version}-%{release} | |
549 | ||
550 | %description -n Qt5Gui-platform-vnc | |
551 | Qt5 Gui platform plugin and library for VNC integration layer. | |
552 | ||
553 | %description -n Qt5Gui-platform-vnc -l pl.UTF-8 | |
554 | Wtyczka platformy Qt5 Gui oraz biblioteka warstwy integracyjnej VNC. | |
555 | ||
556 | %package -n Qt5Gui-platform-vnc-devel | |
557 | Summary: Development files for Qt5 VNC integration layer | |
558 | Summary(pl.UTF-8): Pliki programistyczne warstwy integracyjnej Qt5 VNC | |
559 | Group: Development/Libraries | |
560 | ||
561 | %description -n Qt5Gui-platform-vnc-devel | |
562 | Development files for Qt5 VNC integration layer. | |
563 | ||
564 | %description -n Qt5Gui-platform-vnc-devel -l pl.UTF-8 | |
565 | Pliki programistyczne warstwy integracyjnej Qt5 VNC. | |
566 | ||
d19f6c9e JB |
567 | %package -n Qt5Gui-platform-xcb |
568 | Summary: Qt5 Gui platform plugin and library for XcbQpa integration layer | |
569 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui oraz biblioteka warstwy integracyjnej XcbQpa | |
570 | Group: Libraries | |
571 | Requires: Qt5DBus = %{version}-%{release} | |
572 | Requires: Qt5Gui = %{version}-%{release} | |
573 | Requires: libxcb >= 1.10 | |
574 | Requires: xorg-lib-libxkbcommon-x11 >= 0.4.1 | |
575 | ||
576 | %description -n Qt5Gui-platform-xcb | |
577 | Qt5 Gui platform plugin and library for XcbQpa integration layer. | |
578 | ||
579 | %description -n Qt5Gui-platform-xcb -l pl.UTF-8 | |
580 | Wtyczka platformy Qt5 Gui oraz biblioteka warstwy integracyjnej | |
581 | XcbQpa. | |
582 | ||
583 | %package -n Qt5Gui-platform-xcb-devel | |
584 | Summary: Development files for Qt5 XcbQpa integration layer | |
585 | Summary(pl.UTF-8): Pliki programistyczne warstwy integracyjnej Qt5 XcbQpa | |
586 | Group: Development/Libraries | |
587 | Requires: Qt5Gui-platform-eglfs = %{version}-%{release} | |
588 | ||
589 | %description -n Qt5Gui-platform-xcb-devel | |
590 | Development files for Qt5 XcbQpa integration layer. | |
591 | ||
592 | %description -n Qt5Gui-platform-xcb-devel -l pl.UTF-8 | |
593 | Pliki programistyczne warstwy integracyjnej Qt5 XcbQpa. | |
594 | ||
595 | %package -n Qt5Gui-platform-xcb-egl | |
596 | Summary: Qt5 XcbQpa integration plugin for EGL | |
597 | Summary(pl.UTF-8): Wtyczka integracji Qt5 XcbQpa dla EGL | |
598 | Group: Libraries | |
599 | Requires: Qt5Gui-platform-xcb = %{version}-%{release} | |
600 | ||
601 | %description -n Qt5Gui-platform-xcb-egl | |
602 | Qt5 XcbQpa integration plugin for EGL. | |
603 | ||
604 | %description -n Qt5Gui-platform-xcb-egl -l pl.UTF-8 | |
605 | Wtyczka integracji Qt5 XcbQpa dla EGL. | |
606 | ||
607 | %package -n Qt5Gui-platform-xcb-glx | |
608 | Summary: Qt5 XcbQpa integration plugin for GLX | |
609 | Summary(pl.UTF-8): Wtyczka integracji Qt5 XcbQpa dla GLX | |
610 | Group: Libraries | |
611 | Requires: Qt5Gui-platform-xcb = %{version}-%{release} | |
612 | ||
613 | %description -n Qt5Gui-platform-xcb-glx | |
614 | Qt5 XcbQpa integration plugin for GLX. | |
615 | ||
616 | %description -n Qt5Gui-platform-xcb-glx -l pl.UTF-8 | |
617 | Wtyczka integracji Qt5 XcbQpa dla GLX. | |
07c22e07 | 618 | |
f97107f4 JR |
619 | %package -n Qt5Gui-platformtheme-gtk3 |
620 | Summary: Qt5 Gui platform theme plugin for GTK+ 3.x | |
621 | Summary(pl.UTF-8): Wtyczka motywów platform Qt5 Gui dla GTK+ 3.x | |
07c22e07 JB |
622 | Group: Libraries |
623 | Requires: Qt5Gui = %{version}-%{release} | |
a6843360 | 624 | Obsoletes: Qt5Gui-platformtheme-gtk2 < 5.8 |
07c22e07 | 625 | |
f97107f4 JR |
626 | %description -n Qt5Gui-platformtheme-gtk3 |
627 | Qt5 Gui platform theme plugin for GTK+ 3.x. | |
07c22e07 | 628 | |
f97107f4 JR |
629 | %description -n Qt5Gui-platformtheme-gtk3 -l pl.UTF-8 |
630 | Wtyczka motywów platform Qt5 Gui dla GTK+ 3.x. | |
07c22e07 | 631 | |
1879bb15 JP |
632 | %package -n Qt5Gui-platformtheme-xdgdesktopportal |
633 | Summary: Qt5 Gui platform theme plugin for xdg-desktop-portal | |
634 | Summary(pl.UTF-8): Wtyczka motywów platform Qt5 Gui dla xdg-desktop-portal | |
f478e3eb AM |
635 | Group: Libraries |
636 | Requires: Qt5Gui = %{version}-%{release} | |
b846d334 | 637 | Requires: harfbuzz >= 1.6.0 |
1879bb15 | 638 | Obsoletes: Qt5Gui-platformtheme-flatpak < 5.12.1 |
f478e3eb | 639 | |
1879bb15 JP |
640 | %description -n Qt5Gui-platformtheme-xdgdesktopportal |
641 | Qt5 Gui platform theme plugin for xdg-desktop-portal. | |
f478e3eb | 642 | |
1879bb15 JP |
643 | %description -n Qt5Gui-platformtheme-xdgdesktopportal -l pl.UTF-8 |
644 | Wtyczka motywów platform Qt5 Gui dla xdg-desktop-portal. | |
f478e3eb | 645 | |
eb485fb3 JB |
646 | %package -n Qt5Gui-devel |
647 | Summary: Qt5 Gui library - development files | |
648 | Summary(pl.UTF-8): Biblioteka Qt5 Gui - pliki programistyczne | |
649 | Group: Development/Libraries | |
650 | Requires: OpenGL-devel | |
651 | Requires: Qt5Core-devel = %{version}-%{release} | |
652 | Requires: Qt5Gui = %{version}-%{release} | |
653 | Requires: libpng-devel | |
7dfa6db4 | 654 | Requires: Vulkan-Loader-devel |
eb485fb3 JB |
655 | |
656 | %description -n Qt5Gui-devel | |
657 | Header files for Qt5 Gui library. | |
658 | ||
659 | %description -n Qt5Gui-devel -l pl.UTF-8 | |
660 | Pliki nagłówkowe biblioteki Qt5 Gui. | |
661 | ||
f97107f4 JR |
662 | %package -n Qt5InputSupport-devel |
663 | Summary: Qt5 InputSupport library - development files | |
664 | Summary(pl.UTF-8): Biblioteka Qt5 InputSupport - pliki programistyczne | |
665 | Group: Development/Libraries | |
666 | # for (subset of) Qt5Core headers | |
667 | Requires: Qt5Core-devel = %{version}-%{release} | |
668 | ||
669 | %description -n Qt5InputSupport-devel | |
670 | Qt5 InputSupport library - development files. | |
671 | ||
672 | %description -n Qt5InputSupport-devel -l pl.UTF-8 | |
673 | Biblioteka Qt5 InputSupport - pliki programistyczne. | |
674 | ||
f478e3eb AM |
675 | %package -n Qt5KmsSupport-devel |
676 | Summary: Qt5 KmsSupport library - development files | |
677 | Summary(pl.UTF-8): Biblioteka Qt5 KmsSupport - pliki programistyczne | |
678 | Group: Development/Libraries | |
679 | # for (subset of) Qt5Core headers | |
680 | Requires: Qt5Core-devel = %{version}-%{release} | |
681 | ||
682 | %description -n Qt5KmsSupport-devel | |
f7e00f7a | 683 | Qt5 KmsSupport library - development files. |
f478e3eb AM |
684 | |
685 | %description -n Qt5KmsSupport-devel -l pl.UTF-8 | |
f7e00f7a | 686 | Biblioteka Qt5 KmsSupport - pliki programistyczne. |
f478e3eb | 687 | |
eb485fb3 JB |
688 | %package -n Qt5Network |
689 | Summary: Qt5 Network library | |
690 | Summary(pl.UTF-8): Biblioteka Qt5 Network | |
691 | Group: Libraries | |
692 | Requires: Qt5Core = %{version}-%{release} | |
07c22e07 JB |
693 | # for bearer plugins (qconnman, qnm): |
694 | Requires: Qt5DBus = %{version}-%{release} | |
f97107f4 | 695 | %requires_ge_to openssl openssl-devel |
eb485fb3 JB |
696 | |
697 | %description -n Qt5Network | |
698 | The Qt5 Network library provides classes to make network programming | |
699 | easier and portable. | |
700 | ||
701 | %description -n Qt5Network -l pl.UTF-8 | |
702 | Biblioteka Qt5 Network udostępnia klasy czyniące programowanie | |
703 | sieciowe łatwiejszym i przenośnym. | |
704 | ||
705 | %package -n Qt5Network-devel | |
706 | Summary: Qt5 Network library - development files | |
707 | Summary(pl.UTF-8): Biblioteka Qt5 Network - pliki programistyczne | |
708 | Group: Development/Libraries | |
709 | Requires: Qt5Core-devel = %{version}-%{release} | |
710 | Requires: Qt5Network = %{version}-%{release} | |
b846d334 | 711 | %requires_ge openssl-devel |
eb485fb3 JB |
712 | |
713 | %description -n Qt5Network-devel | |
714 | Header files for Qt5 Network library. | |
715 | ||
716 | %description -n Qt5Network-devel -l pl.UTF-8 | |
717 | Pliki nagłówkowe biblioteki Qt5 Network. | |
718 | ||
719 | %package -n Qt5OpenGL | |
720 | Summary: Qt5 OpenGL library | |
721 | Summary(pl.UTF-8): Biblioteka Qt5 OpenGL | |
722 | Group: Libraries | |
723 | Requires: Qt5Core = %{version}-%{release} | |
724 | Requires: Qt5Gui = %{version}-%{release} | |
725 | Requires: Qt5Widgets = %{version}-%{release} | |
726 | ||
727 | %description -n Qt5OpenGL | |
728 | The Qt5 OpenGL library offers classes that make it easy to use OpenGL | |
729 | in Qt 5 applications. | |
730 | ||
731 | %description -n Qt5OpenGL -l pl.UTF-8 | |
732 | Biblioteka Qt5 OpenGL oferuje klasy ułatwiające wykorzystywanie | |
733 | OpenGL-a w aplikacjach Qt 5. | |
734 | ||
735 | %package -n Qt5OpenGL-devel | |
736 | Summary: Qt5 OpenGL library - development files | |
737 | Summary(pl.UTF-8): Biblioteka Qt5 OpenGL - pliki programistyczne | |
738 | Group: Development/Libraries | |
739 | Requires: OpenGL-devel | |
740 | Requires: Qt5Core-devel = %{version}-%{release} | |
741 | Requires: Qt5Gui-devel = %{version}-%{release} | |
742 | Requires: Qt5OpenGL = %{version}-%{release} | |
743 | Requires: Qt5Widgets-devel = %{version}-%{release} | |
744 | ||
745 | %description -n Qt5OpenGL-devel | |
746 | Header files for Qt5 OpenGL library. | |
747 | ||
748 | %description -n Qt5OpenGL-devel -l pl.UTF-8 | |
749 | Pliki nagłówkowe biblioteki Qt5 OpenGL. | |
750 | ||
751 | %package -n Qt5OpenGLExtensions-devel | |
752 | Summary: Qt5 OpenGLExtensions library - development files | |
753 | Summary(pl.UTF-8): Biblioteka Qt5 OpenGLExtensions - pliki programistyczne | |
754 | Group: Development/Libraries | |
755 | Requires: OpenGL-devel | |
756 | Requires: Qt5Core-devel = %{version}-%{release} | |
757 | Requires: Qt5Gui-devel = %{version}-%{release} | |
758 | ||
759 | %description -n Qt5OpenGLExtensions-devel | |
760 | Qt5 OpenGLExtensions library (development files). | |
761 | ||
762 | %description -n Qt5OpenGLExtensions-devel -l pl.UTF-8 | |
763 | Biblioteka Qt5 OpenGL Extensions - obsługa rozszerzeń OpenGL (pliki | |
764 | programistyczne). | |
765 | ||
f97107f4 JR |
766 | %package -n Qt5ServiceSupport-devel |
767 | Summary: Qt5 ServiceSupport library - development files | |
768 | Summary(pl.UTF-8): Biblioteka Qt5 ServiceSupport - pliki programistyczne | |
769 | Group: Development/Libraries | |
770 | # for (subset of) Qt5Core headers | |
771 | Requires: Qt5Core-devel = %{version}-%{release} | |
772 | ||
773 | %description -n Qt5ServiceSupport-devel | |
774 | Qt5 ServiceSupport library - development files. | |
775 | ||
776 | %description -n Qt5ServiceSupport-devel -l pl.UTF-8 | |
777 | Biblioteka Qt5 ServiceSupport - pliki programistyczne. | |
778 | ||
779 | %package -n Qt5PlatformCompositorSupport-devel | |
780 | Summary: Qt5 PlatformCompositorSupport library - development files | |
781 | Summary(pl.UTF-8): Biblioteka Qt5 PlatformCompositorSupport - pliki programistyczne | |
74712d58 JR |
782 | Group: X11/Development/Libraries |
783 | Requires: OpenGL-devel | |
784 | Requires: Qt5Core-devel = %{version}-%{release} | |
785 | Requires: Qt5DBus-devel = %{version}-%{release} | |
786 | Requires: Qt5Gui-devel = %{version}-%{release} | |
787 | Requires: fontconfig-devel | |
7a00ba1b | 788 | Requires: freetype-devel >= 2.2.0 |
f478e3eb | 789 | Requires: udev-devel |
74712d58 | 790 | Requires: xorg-lib-libX11-devel |
74712d58 | 791 | Requires: xorg-lib-libXext-devel |
f478e3eb | 792 | Requires: xorg-lib-libXrender-devel |
6dbfb7a2 | 793 | Obsoletes: Qt5PlatformSupport-devel < 5.8.0 |
74712d58 | 794 | |
f97107f4 JR |
795 | %description -n Qt5PlatformCompositorSupport-devel |
796 | Qt5 PlatformCompositorSupport library (development files). | |
74712d58 | 797 | |
f97107f4 JR |
798 | %description -n Qt5PlatformCompositorSupport-devel -l pl.UTF-8 |
799 | Biblioteka Qt5 PlatformCompositorSupport - obsługa platformy (pliki | |
74712d58 JR |
800 | programistyczne). |
801 | ||
eb485fb3 JB |
802 | %package -n Qt5PrintSupport |
803 | Summary: Qt5 PrintSupport library | |
804 | Summary(pl.UTF-8): Biblioteka Qt5 PrintSupport | |
805 | Group: Libraries | |
806 | Requires: Qt5Core = %{version}-%{release} | |
807 | Requires: Qt5Gui = %{version}-%{release} | |
808 | Requires: Qt5Widgets = %{version}-%{release} | |
7d197c9f | 809 | %{?with_cups:Requires: cups-lib >= 1.4} |
eb485fb3 JB |
810 | |
811 | %description -n Qt5PrintSupport | |
812 | The Qt5 PrintSupport library provides classes to make printing easier | |
813 | and portable. | |
814 | ||
815 | %description -n Qt5PrintSupport -l pl.UTF-8 | |
816 | Biblioteka Qt5 PrintSupport udostępnia klasy czyniące drukowanie | |
817 | łatwiejszym i bardziej przenośnym. | |
818 | ||
819 | %package -n Qt5PrintSupport-devel | |
820 | Summary: Qt5 PrintSupport library - development files | |
821 | Summary(pl.UTF-8): Biblioteka Qt5 PrintSupport - pliki programistyczne | |
822 | Group: Development/Libraries | |
823 | Requires: OpenGL-devel | |
824 | Requires: Qt5Core-devel = %{version}-%{release} | |
825 | Requires: Qt5Gui-devel = %{version}-%{release} | |
826 | Requires: Qt5PrintSupport = %{version}-%{release} | |
827 | Requires: Qt5Widgets-devel = %{version}-%{release} | |
828 | ||
829 | %description -n Qt5PrintSupport-devel | |
830 | Header files for Qt5 PrintSupport library. | |
831 | ||
832 | %description -n Qt5PrintSupport-devel -l pl.UTF-8 | |
833 | Pliki nagłówkowe biblioteki Qt5 PrintSupport. | |
834 | ||
f97107f4 JR |
835 | %package -n Qt5ThemeSupport-devel |
836 | Summary: Qt5 ThemeSupport library - development files | |
837 | Summary(pl.UTF-8): Biblioteka Qt5 ThemeSupport - pliki programistyczne | |
838 | Group: Development/Libraries | |
839 | # for (subset of) Qt5Core headers | |
840 | Requires: Qt5Core-devel = %{version}-%{release} | |
841 | ||
842 | %description -n Qt5ThemeSupport-devel | |
843 | Qt5 ThemeSupport library - development files. | |
844 | ||
845 | %description -n Qt5ThemeSupport-devel -l pl.UTF-8 | |
846 | Biblioteka Qt5 ThemeSupport - pliki programistyczne. | |
847 | ||
eb485fb3 JB |
848 | %package -n Qt5Sql |
849 | Summary: Qt5 Sql library | |
850 | Summary(pl.UTF-8): Biblioteka Qt5 Sql | |
851 | Group: Libraries | |
852 | Requires: Qt5Core = %{version}-%{release} | |
853 | ||
854 | %description -n Qt5Sql | |
855 | The Qt5 Sql library provides a driver layer, SQL API layer, and a user | |
856 | interface layer for SQL databases. | |
857 | ||
858 | %description -n Qt5Sql -l pl.UTF-8 | |
859 | Biblioteka Qt5 Sql udostępnia warstwę sterowników, warstwę API SQL | |
860 | oraz warstwę interfejsu użytkownika dla baz danych SQL. | |
861 | ||
862 | %package -n Qt5Sql-devel | |
863 | Summary: Qt5 Sql library - development files | |
864 | Summary(pl.UTF-8): Biblioteka Qt5 Sql - pliki programistyczne | |
865 | Group: Development/Libraries | |
866 | Requires: Qt5Core-devel = %{version}-%{release} | |
867 | Requires: Qt5Sql = %{version}-%{release} | |
868 | ||
869 | %description -n Qt5Sql-devel | |
870 | Header files for Qt5 Sql library. | |
871 | ||
872 | %description -n Qt5Sql-devel -l pl.UTF-8 | |
873 | Pliki nagłówkowe biblioteki Qt5 Sql. | |
51df396b | 874 | |
07c22e07 JB |
875 | %package -n Qt5Sql-sqldriver-db2 |
876 | Summary: Qt5 Sql driver for IBM DB2 database | |
877 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych IBM DB2 | |
878 | Group: Libraries | |
879 | Requires: Qt5Sql = %{version}-%{release} | |
880 | ||
881 | %description -n Qt5Sql-sqldriver-db2 | |
882 | Qt5 Sql driver for IBM DB2 database. | |
883 | ||
884 | %description -n Qt5Sql-sqldriver-db2 -l pl.UTF-8 | |
885 | Sterownik Qt5 Sql dla bazy danych IBM DB2. | |
886 | ||
887 | %package -n Qt5Sql-sqldriver-ibase | |
888 | Summary: Qt5 Sql driver for Firebird/InterBase database | |
889 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych Firebird/InterBase | |
890 | Group: Libraries | |
891 | Requires: Qt5Sql = %{version}-%{release} | |
892 | ||
893 | %description -n Qt5Sql-sqldriver-ibase | |
894 | Qt5 Sql driver for Firebird/InterBase database. | |
895 | ||
896 | %description -n Qt5Sql-sqldriver-ibase -l pl.UTF-8 | |
897 | Sterownik Qt5 Sql dla bazy danych Firebird/InterBase. | |
898 | ||
899 | %package -n Qt5Sql-sqldriver-sqlite3 | |
900 | Summary: Qt5 Sql driver for SQLite 3.x database | |
901 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych SQLite 3.x | |
902 | Group: Libraries | |
903 | Requires: Qt5Sql = %{version}-%{release} | |
904 | ||
905 | %description -n Qt5Sql-sqldriver-sqlite3 | |
906 | Qt5 Sql driver for SQLite 3.x database. | |
907 | ||
908 | %description -n Qt5Sql-sqldriver-sqlite3 -l pl.UTF-8 | |
909 | Sterownik Qt5 Sql dla bazy danych SQLite 3.x. | |
910 | ||
911 | %package -n Qt5Sql-sqldriver-sqlite2 | |
912 | Summary: Qt5 Sql driver for SQLite 2.x database | |
913 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych SQLite 2.x | |
914 | Group: Libraries | |
915 | Requires: Qt5Sql = %{version}-%{release} | |
916 | ||
917 | %description -n Qt5Sql-sqldriver-sqlite2 | |
918 | Qt5 Sql driver for SQLite 2.x database. | |
919 | ||
920 | %description -n Qt5Sql-sqldriver-sqlite2 -l pl.UTF-8 | |
921 | Sterownik Qt5 Sql dla bazy danych SQLite 2.x. | |
922 | ||
923 | %package -n Qt5Sql-sqldriver-mysql | |
924 | Summary: Qt5 Sql driver for MySQL database | |
925 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych MySQL | |
926 | Group: Libraries | |
927 | Requires: Qt5Sql = %{version}-%{release} | |
928 | ||
929 | %description -n Qt5Sql-sqldriver-mysql | |
930 | Qt5 Sql driver for MySQL database. | |
931 | ||
932 | %description -n Qt5Sql-sqldriver-mysql -l pl.UTF-8 | |
933 | Sterownik Qt5 Sql dla bazy danych MySQL. | |
934 | ||
935 | %package -n Qt5Sql-sqldriver-oci | |
936 | Summary: Qt5 Sql driver for Oracle database (using OCI interface) | |
937 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych Oracle (wykorzystujący interfejs OCI) | |
938 | Group: Libraries | |
939 | Requires: Qt5Sql = %{version}-%{release} | |
940 | ||
941 | %description -n Qt5Sql-sqldriver-oci | |
942 | Qt5 Sql driver for Oracle database (using OCI interface). | |
943 | ||
944 | %description -n Qt5Sql-sqldriver-oci -l pl.UTF-8 | |
945 | Sterownik Qt5 Sql dla bazy danych Oracle (wykorzystujący interfejs | |
946 | OCI). | |
947 | ||
948 | %package -n Qt5Sql-sqldriver-odbc | |
949 | Summary: Qt5 Sql driver for ODBC databases | |
950 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla baz danych ODBC | |
951 | Group: Libraries | |
952 | Requires: Qt5Sql = %{version}-%{release} | |
953 | ||
954 | %description -n Qt5Sql-sqldriver-odbc | |
955 | Qt5 Sql driver for ODBC databases. | |
956 | ||
957 | %description -n Qt5Sql-sqldriver-odbc -l pl.UTF-8 | |
958 | Sterownik Qt5 Sql dla baz danych ODBC. | |
959 | ||
960 | %package -n Qt5Sql-sqldriver-pgsql | |
961 | Summary: Qt5 Sql driver for PostgreSQL database | |
962 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych PostgreSQL | |
963 | Group: Libraries | |
964 | Requires: Qt5Sql = %{version}-%{release} | |
965 | ||
966 | %description -n Qt5Sql-sqldriver-pgsql | |
967 | Qt5 Sql driver for PostgreSQL database. | |
968 | ||
969 | %description -n Qt5Sql-sqldriver-pgsql -l pl.UTF-8 | |
970 | Sterownik Qt5 Sql dla bazy danych PostgreSQL. | |
971 | ||
972 | %package -n Qt5Sql-sqldriver-tds | |
973 | Summary: Qt5 Sql driver for Sybase/MS SQL database (using TDS interface) | |
974 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych Sybase/MS SQL (wykorzystujący interfejs TDS) | |
975 | Group: Libraries | |
976 | Requires: Qt5Sql = %{version}-%{release} | |
977 | ||
978 | %description -n Qt5Sql-sqldriver-tds | |
979 | Qt5 Sql driver for Sybase/MS SQL database (using TDS interface). | |
980 | ||
981 | %description -n Qt5Sql-sqldriver-tds -l pl.UTF-8 | |
982 | Sterownik Qt5 Sql dla bazy danych Sybase/MS SQL (wykorzystujący | |
983 | interfejs TDS). | |
984 | ||
eb485fb3 JB |
985 | %package -n Qt5Test |
986 | Summary: Qt5 Test library | |
987 | Summary(pl.UTF-8): Biblioteka Qt5 Test | |
988 | Group: Libraries | |
989 | Requires: Qt5Core = %{version}-%{release} | |
9452387a | 990 | |
eb485fb3 JB |
991 | %description -n Qt5Test |
992 | The Qt5 Test library provides classes for unit testing Qt 5 | |
993 | applications and libraries. | |
994 | ||
995 | %description -n Qt5Test -l pl.UTF-8 | |
996 | Biblioteka Qt5 Test udostępnia klasy do testów jednostkowych aplikacji | |
997 | oraz bibliotek Qt 5. | |
998 | ||
999 | %package -n Qt5Test-devel | |
1000 | Summary: Qt5 Test library - development files | |
1001 | Summary(pl.UTF-8): Biblioteka Qt5 Test - pliki programistyczne | |
1002 | Group: Development/Libraries | |
1003 | Requires: Qt5Core-devel = %{version}-%{release} | |
1004 | Requires: Qt5Test = %{version}-%{release} | |
1005 | ||
1006 | %description -n Qt5Test-devel | |
1007 | Header files for Qt5 Test library. | |
1008 | ||
1009 | %description -n Qt5Test-devel -l pl.UTF-8 | |
1010 | Pliki nagłówkowe biblioteki Qt5 Test. | |
1011 | ||
1879bb15 JP |
1012 | %package -n Qt5VulkanSupport-devel |
1013 | Summary: Qt5 VulkanSupport library - development files | |
1014 | Summary(pl.UTF-8): Biblioteka Qt5 VulkanSupport - pliki programistyczne | |
1015 | Group: Development/Libraries | |
1016 | # for (subset of) Qt5Core headers | |
1017 | Requires: Qt5Core-devel = %{version}-%{release} | |
1018 | ||
1019 | %description -n Qt5VulkanSupport-devel | |
1020 | Qt5 VulkanSupport library - development files. | |
1021 | ||
1022 | %description -n Qt5VulkanSupport-devel -l pl.UTF-8 | |
1023 | Biblioteka Qt5 VulkanSupport - pliki programistyczne. | |
1024 | ||
eb485fb3 JB |
1025 | %package -n Qt5Widgets |
1026 | Summary: Qt5 Widgets library | |
1027 | Summary(pl.UTF-8): Biblioteka Qt5 Widgets | |
1028 | Group: X11/Libraries | |
1029 | Requires: Qt5Core = %{version}-%{release} | |
1030 | Requires: Qt5Gui = %{version}-%{release} | |
1031 | ||
1032 | %description -n Qt5Widgets | |
1033 | The Qt5 Widgets library extends Qt 5 GUI with C++ widget | |
0227441b | 1034 | functionality. |
eb485fb3 JB |
1035 | |
1036 | %description -n Qt5Widgets -l pl.UTF-8 | |
1037 | Biblioteka Qt5 Widgets rozszerza graficzny interfejs Qt 5 o | |
0227441b | 1038 | funkcjonalność widgetów C++. |
eb485fb3 JB |
1039 | |
1040 | %package -n Qt5Widgets-devel | |
1041 | Summary: Qt5 Widgets library - development files | |
1042 | Summary(pl.UTF-8): Biblioteka Qt5 Widgets - pliki programistyczne | |
1043 | Group: X11/Development/Libraries | |
1044 | Requires: OpenGL-devel | |
1045 | Requires: Qt5Core-devel = %{version}-%{release} | |
1046 | Requires: Qt5Gui-devel = %{version}-%{release} | |
1047 | Requires: Qt5Widgets = %{version}-%{release} | |
1048 | Requires: xorg-lib-libX11-devel | |
1049 | Requires: xorg-lib-libXext-devel | |
1050 | ||
1051 | %description -n Qt5Widgets-devel | |
1052 | Header files for Qt5 Widgets library. | |
1053 | ||
1054 | %description -n Qt5Widgets-devel -l pl.UTF-8 | |
1055 | Pliki nagłówkowe biblioteki Qt5 Widgets. | |
1056 | ||
5c55b161 JP |
1057 | %package -n Qt5XkbCommonSupport-devel |
1058 | Summary: Qt5 XkbCommonSupport library - development files | |
1059 | Summary(pl.UTF-8): Biblioteka Qt5 XkbCommonSupport - pliki programistyczne | |
1060 | Group: Development/Libraries | |
1061 | # for (subset of) Qt5Core headers | |
1062 | Requires: Qt5Core-devel = %{version}-%{release} | |
1063 | ||
1064 | %description -n Qt5XkbCommonSupport-devel | |
1065 | Qt5 XkbCommonSupport library - development files. | |
1066 | ||
1067 | %description -n Qt5XkbCommonSupport-devel -l pl.UTF-8 | |
1068 | Biblioteka Qt5 XkbCommonSupport - pliki programistyczne. | |
1069 | ||
eb485fb3 JB |
1070 | %package -n Qt5Xml |
1071 | Summary: Qt5 Xml library | |
1072 | Summary(pl.UTF-8): Biblioteka Qt5 Xml | |
1073 | Group: Libraries | |
1074 | Requires: Qt5Core = %{version}-%{release} | |
1075 | ||
1076 | %description -n Qt5Xml | |
1077 | The Qt5 Xml library provides C++ implementations of the SAX and DOM | |
1078 | standards for XML. | |
1079 | ||
1080 | %description -n Qt5Xml -l pl.UTF-8 | |
1081 | Biblioteka Qt5 Xml udostępnia implementację w C++ standardów SAX oraz | |
1082 | DOM dla formatu XML. | |
1083 | ||
1084 | %package -n Qt5Xml-devel | |
1085 | Summary: Qt5 Xml library - development files | |
1086 | Summary(pl.UTF-8): Biblioteka Qt5 Xml - pliki programistyczne | |
1087 | Group: Development/Libraries | |
1088 | Requires: Qt5Core-devel = %{version}-%{release} | |
1089 | Requires: Qt5Xml = %{version}-%{release} | |
1090 | ||
1091 | %description -n Qt5Xml-devel | |
1092 | Header files for Qt5 Xml library. | |
1093 | ||
1094 | %description -n Qt5Xml-devel -l pl.UTF-8 | |
1095 | Pliki nagłówkowe biblioteki Qt5 Xml. | |
51df396b | 1096 | |
66205aa8 JB |
1097 | %package -n qt5-doc-common |
1098 | Summary: Common part of Qt5 documentation | |
1099 | Summary(pl.UTF-8): Część wspólna dokumentacji do Qt5 | |
1100 | Group: Documentation | |
0b943ffe | 1101 | BuildArch: noarch |
66205aa8 JB |
1102 | |
1103 | %description -n qt5-doc-common | |
1104 | Common part of Qt5 documentation, global for all components. | |
1105 | ||
1106 | %description -n qt5-doc-common -l pl.UTF-8 | |
1107 | Część wspólna dokumentacji do Qt5 ("global", dla wszystkich | |
1108 | elementów). | |
1109 | ||
b52c2d71 BS |
1110 | %package doc |
1111 | Summary: Qt5 application framework base components documentation in HTML format | |
1112 | Summary(pl.UTF-8): Dokumentacja podstawowych komponentów szkieletu aplikacji Qt5 w formacie HTML | |
1113 | Group: Documentation | |
1114 | Requires: qt5-doc-common = %{version}-%{release} | |
0b943ffe | 1115 | BuildArch: noarch |
b52c2d71 BS |
1116 | |
1117 | %description doc | |
49c69c79 JB |
1118 | Qt5 application framework base components documentation in HTML |
1119 | format. | |
b52c2d71 BS |
1120 | |
1121 | %description doc -l pl.UTF-8 | |
49c69c79 JB |
1122 | Dokumentacja podstawowych komponentów szkieletu aplikacji Qt5 w |
1123 | formacie HTML. | |
b52c2d71 BS |
1124 | |
1125 | %package doc-qch | |
1126 | Summary: Qt5 application framework base components documentation in QCH format | |
1127 | Summary(pl.UTF-8): Dokumentacja podstawowych komponentów szkieletu aplikacji Qt5 w formacie QCH | |
1128 | Group: Documentation | |
1129 | Requires: qt5-doc-common = %{version}-%{release} | |
0b943ffe | 1130 | BuildArch: noarch |
b52c2d71 BS |
1131 | |
1132 | %description doc-qch | |
1133 | Qt5 application framework base components documentation in QCH format. | |
1134 | ||
1135 | %description doc-qch -l pl.UTF-8 | |
49c69c79 JB |
1136 | Dokumentacja podstawowych komponentów szkieletu aplikacji Qt5 w |
1137 | formacie QCH. | |
b52c2d71 | 1138 | |
51df396b | 1139 | %package examples |
9452387a JB |
1140 | Summary: Examples for Qt5 application framework base components |
1141 | Summary(pl.UTF-8): Przykłady do podstawowych komponentów szkieletu aplikacji Qt5 | |
51df396b | 1142 | Group: X11/Development/Libraries |
0b943ffe | 1143 | BuildArch: noarch |
51df396b WF |
1144 | |
1145 | %description examples | |
9452387a JB |
1146 | Examples for Qt5 application framework base components. |
1147 | ||
1148 | %description examples -l pl.UTF-8 | |
1149 | Przykłady do podstawowych komponentów szkieletu aplikacji Qt5. | |
1150 | ||
1151 | %package -n qt5-build | |
1152 | Summary: Qt5 build tools | |
839172f5 | 1153 | Summary(pl.UTF-8): Narzędzia do budowania dla Qt5 |
9452387a | 1154 | Group: Development/Tools |
9452387a JB |
1155 | |
1156 | %description -n qt5-build | |
1157 | This package includes the Qt resource compiler (rcc), meta objects | |
1158 | compiler (moc), user interface compiler (uic) etc. | |
1159 | ||
1160 | %description -n qt5-build -l pl.UTF-8 | |
1161 | Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator | |
1162 | metaobiektów (moc), kompilator interfejsów użytkownika (uic) i podobne | |
1163 | narzędzia. | |
1164 | ||
1165 | %package -n qt5-qmake | |
1166 | Summary: Qt5 makefile generator | |
1167 | Summary(pl.UTF-8): Generator plików makefile dla aplikacji Qt5 | |
1168 | Group: Development/Tools | |
1169 | ||
1170 | %description -n qt5-qmake | |
1171 | Qt5 makefile generator. | |
1172 | ||
1173 | %description -n qt5-qmake -l pl.UTF-8 | |
1174 | Generator plików makefile dla aplikacji Qt5. | |
51df396b WF |
1175 | |
1176 | %prep | |
f478e3eb | 1177 | %setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1} |
7d197c9f | 1178 | %patch0 -p1 |
5aa3866f | 1179 | %patch1 -p1 |
29df2ae6 | 1180 | %patch2 -p1 |
fec77059 | 1181 | %patch3 -p1 |
bf22aa0a | 1182 | %patch4 -p1 |
51df396b | 1183 | |
eb485fb3 | 1184 | %{__sed} -i -e 's,usr/X11R6/,usr/,g' mkspecs/linux-g++-64/qmake.conf |
51df396b WF |
1185 | |
1186 | # change QMAKE FLAGS to build | |
1187 | %{__sed} -i -e ' | |
9452387a JB |
1188 | s|^\(QMAKE_CC *\)=.*gcc|\1= %{__cc}|; |
1189 | s|^\(QMAKE_CXX *\)=.*g++|\1= %{__cxx}|; | |
1190 | s|^QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO .*|QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -g %{rpmcppflags} %{rpmcflags}|; | |
1191 | s|^QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO .*|QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -g %{rpmcppflags} %{rpmcxxflags}|; | |
51df396b | 1192 | ' mkspecs/common/g++-base.conf |
51df396b | 1193 | %{__sed} -i -e ' |
9452387a JB |
1194 | s|^\(QMAKE_CFLAGS_RELEASE *\)+=.*|\1+= %{rpmcppflags} %{rpmcflags}|; |
1195 | s|^\(QMAKE_CXXFLAGS_RELEASE *\)+=.*|\1+= %{rpmcppflags} %{rpmcxxflags}|; | |
1196 | s|^\(QMAKE_CFLAGS_DEBUG *\)+=.*|\1+= %{debugcflags}|; | |
1197 | s|^\(QMAKE_CXXFLAGS_DEBUG *\)+=.*|\1+= %{debugcflags}|; | |
1198 | s|^\(QMAKE_LFLAGS *\)+=.*|\1+= %{rpmldflags}|; | |
1199 | ' mkspecs/common/gcc-base.conf | |
51df396b | 1200 | |
9452387a | 1201 | # define QMAKE_STRIP to true, so we get useful -debuginfo pkgs |
51df396b | 1202 | %{__sed} -i -e ' |
9452387a | 1203 | s|^\(QMAKE_STRIP *\)=.*|\1= :|; |
51df396b WF |
1204 | ' mkspecs/common/linux.conf |
1205 | ||
81400f2e | 1206 | %{__sed} -i -e '1{ |
cc4c7bbd | 1207 | s,^#!.*bin/env python3$,#!%{__python3}, |
81400f2e JP |
1208 | s,^#!.*bin/env perl,#!%{__perl}, |
1209 | }' \ | |
1210 | bin/fixqt4headers.pl \ | |
1211 | bin/syncqt.pl \ | |
1212 | mkspecs/features/uikit/devices.py | |
1213 | ||
51df396b WF |
1214 | %build |
1215 | # pass OPTFLAGS to build qmake itself with optimization | |
1216 | export OPTFLAGS="%{rpmcflags}" | |
1217 | export PATH=$PWD/bin:$PATH | |
1218 | ||
9452387a | 1219 | # DEFAULT OPTIONS FOR ALL BUILDS |
51df396b WF |
1220 | COMMONOPT=" \ |
1221 | -confirm-license \ | |
1222 | -opensource \ | |
1223 | -verbose \ | |
9452387a JB |
1224 | %{?debug:-debug} \ |
1225 | %{!?debug:-release} \ | |
1226 | -prefix %{qt5dir} \ | |
1227 | -bindir %{qt5dir}/bin \ | |
51df396b WF |
1228 | -docdir %{_docdir}/qt5-doc \ |
1229 | -headerdir %{_includedir}/qt5 \ | |
1230 | -libdir %{_libdir} \ | |
9452387a | 1231 | -plugindir %{qt5dir}/plugins \ |
51df396b | 1232 | -datadir %{_datadir}/qt5 \ |
51df396b WF |
1233 | -sysconfdir %{_sysconfdir}/qt5 \ |
1234 | -examplesdir %{_examplesdir}/qt5 \ | |
9452387a JB |
1235 | %if %{with mysql} |
1236 | -I/usr/include/mysql \ | |
1237 | %endif | |
1238 | %if %{with pgsql} | |
1239 | -I/usr/include/postgresql/server \ | |
1240 | %endif | |
1241 | -%{!?with_cups:no-}cups \ | |
1242 | -%{!?with_directfb:no-}directfb \ | |
1243 | -dbus-linked \ | |
1244 | -fontconfig \ | |
51df396b | 1245 | -glib \ |
f97107f4 | 1246 | -%{!?with_gtk:no-}gtk \ |
9452387a | 1247 | -icu \ |
7d197c9f | 1248 | %{?with_systemd:-journald} \ |
28b1aeff | 1249 | -no-compile-examples \ |
ce510087 | 1250 | %{!?with_egl:-no-eglfs} \ |
fc41f21c | 1251 | %{!?with_statx:-no-feature-statx} \ |
ce510087 | 1252 | %{!?with_kms:-no-kms} \ |
d19f6c9e | 1253 | %{!?with_libinput:-no-libinput} \ |
51df396b | 1254 | -no-rpath \ |
9452387a | 1255 | -no-separate-debug-info \ |
51df396b WF |
1256 | %{!?with_sse2:-no-sse2} \ |
1257 | %{!?with_sse3:-no-sse3} \ | |
1258 | %{!?with_ssse3:-no-ssse3} \ | |
1259 | %{!?with_sse41:-no-sse4.1} \ | |
1260 | %{!?with_sse42:-no-sse4.2} \ | |
1261 | %{!?with_avx:-no-avx} \ | |
9452387a | 1262 | %{!?with_avx2:-no-avx2} \ |
1c3ffb5e | 1263 | -no-use-gold-linker \ |
9452387a JB |
1264 | -openssl-linked \ |
1265 | -optimized-qmake \ | |
1266 | -%{!?with_pch:no-}pch \ | |
d04df14a | 1267 | %{?with_red_reloc:-reduce-relocations} \ |
9452387a | 1268 | -sm \ |
b846d334 | 1269 | -system-doubleconversion \ |
51df396b | 1270 | -system-freetype \ |
b846d334 | 1271 | -system-harfbuzz \ |
51df396b WF |
1272 | -system-libjpeg \ |
1273 | -system-libpng \ | |
1274 | -system-pcre \ | |
9452387a | 1275 | -system-sqlite \ |
51df396b | 1276 | -system-zlib \ |
9452387a | 1277 | %{?with_tslib:-tslib} \ |
b846d334 | 1278 | -xcb \ |
1879bb15 | 1279 | -xkbcommon \ |
f97107f4 JR |
1280 | %{!?with_db2:-no}-sql-db2 \ |
1281 | %{!?with_ibase:-no}-sql-ibase \ | |
1282 | %{!?with_mysql:-no}-sql-mysql \ | |
1283 | %{!?with_oci:-no}-sql-oci \ | |
1284 | %{!?with_odbc:-no}-sql-odbc \ | |
1285 | %{!?with_pgsql:-no}-sql-psql \ | |
1286 | %{!?with_sqlite2:-no}-sql-sqlite2 \ | |
1287 | %{!?with_sqlite3:-no}-sql-sqlite \ | |
1288 | %{!?with_freetds:-no}-sql-tds \ | |
1289 | " | |
51df396b | 1290 | |
9452387a | 1291 | # STATIC |
51df396b | 1292 | %if %{with static_libs} |
f97107f4 | 1293 | ./configure $COMMONOPT -static |
51df396b WF |
1294 | |
1295 | %{__make} -C src | |
51df396b WF |
1296 | if [ ! -d staticlib ]; then |
1297 | mkdir staticlib | |
1298 | cp -a lib/*.a staticlib | |
1299 | fi | |
1300 | %{__make} distclean | |
1301 | %endif | |
51df396b | 1302 | |
9452387a | 1303 | # SHARED |
f97107f4 | 1304 | ./configure $COMMONOPT -shared |
51df396b WF |
1305 | |
1306 | %{__make} | |
b52c2d71 BS |
1307 | %if %{with doc} |
1308 | # use just built qdoc instead of requiring already installed qt5-build | |
1309 | wd="$(pwd)" | |
1310 | %{__sed} -i -e 's|%{qt5dir}/bin/qdoc|LD_LIBRARY_PATH='${wd}'/lib$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} '${wd}'/bin/qdoc|' src/*/Makefile | |
1311 | %{__make} docs | |
1312 | %endif | |
9452387a | 1313 | |
766e4ec6 JB |
1314 | %if %{with qm} |
1315 | export QMAKEPATH=$(pwd) | |
f478e3eb | 1316 | cd qttranslations-everywhere-src-%{version} |
766e4ec6 JB |
1317 | ../bin/qmake |
1318 | %{__make} | |
1319 | cd .. | |
1320 | %endif | |
1321 | ||
51df396b WF |
1322 | %install |
1323 | rm -rf $RPM_BUILD_ROOT | |
081e0976 | 1324 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/qt5,%{_bindir},%{_pkgconfigdir},%{qt5dir}/libexec} |
51df396b | 1325 | |
257917ad | 1326 | # for QtSolutions (qtlockedfile, qtsingleapplication, etc) |
839172f5 | 1327 | install -d $RPM_BUILD_ROOT%{_includedir}/qt5/QtSolutions |
257917ad | 1328 | |
51df396b WF |
1329 | %{__make} install \ |
1330 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
1331 | ||
b52c2d71 BS |
1332 | %if %{with doc} |
1333 | %{__make} install_docs \ | |
1334 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
1335 | %endif | |
1336 | ||
766e4ec6 | 1337 | %if %{with qm} |
f478e3eb | 1338 | %{__make} -C qttranslations-everywhere-src-%{version} install \ |
766e4ec6 JB |
1339 | INSTALL_ROOT=$RPM_BUILD_ROOT |
1340 | # keep only qt and qtbase | |
1879bb15 | 1341 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/qt5/translations/{assistant,designer,linguist,qt_help,qtconnectivity,qtdeclarative,qtlocation,qtmultimedia,qtquickcontrols,qtquickcontrols2,qtscript,qtserialport,qtwebengine,qtwebsockets,qtxmlpatterns}_*.qm |
766e4ec6 JB |
1342 | %else |
1343 | install -d $RPM_BUILD_ROOT%{_datadir}/qt5/translations | |
1344 | %endif | |
1345 | ||
25fb21af JB |
1346 | # external plugins loaded from qtbase libs |
1347 | install -d $RPM_BUILD_ROOT%{qt5dir}/plugins/iconengines | |
1348 | ||
9452387a JB |
1349 | # kill unnecessary -L%{_libdir} from *.la, *.prl, *.pc |
1350 | %{__sed} -i -e "s,-L%{_libdir} \?,,g" \ | |
1351 | $RPM_BUILD_ROOT%{_libdir}/*.{la,prl} \ | |
1352 | $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
51df396b | 1353 | |
9452387a | 1354 | # useless symlinks |
f478e3eb | 1355 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.so.5.?? |
9452387a JB |
1356 | # actually drop *.la, follow policy of not packaging them when *.pc exist |
1357 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.la | |
51df396b | 1358 | |
9452387a | 1359 | # symlinks in system bin dir |
51df396b | 1360 | cd $RPM_BUILD_ROOT%{_bindir} |
51df396b WF |
1361 | ln -sf ../%{_lib}/qt5/bin/moc moc-qt5 |
1362 | ln -sf ../%{_lib}/qt5/bin/qmake qmake-qt5 | |
51df396b WF |
1363 | ln -sf ../%{_lib}/qt5/bin/uic uic-qt5 |
1364 | ln -sf ../%{_lib}/qt5/bin/rcc rcc-qt5 | |
51df396b WF |
1365 | ln -sf ../%{_lib}/qt5/bin/qdbuscpp2xml qdbuscpp2xml-qt5 |
1366 | ln -sf ../%{_lib}/qt5/bin/qdbusxml2cpp qdbusxml2cpp-qt5 | |
1367 | ln -sf ../%{_lib}/qt5/bin/qdoc qdoc-qt5 | |
a33ed680 | 1368 | ln -sf ../%{_lib}/qt5/bin/qlalr qlalr-qt5 |
51df396b WF |
1369 | cd - |
1370 | ||
1371 | # Prepare some files list | |
1372 | ifecho() { | |
66205aa8 | 1373 | r="$RPM_BUILD_ROOT$2" |
51df396b WF |
1374 | if [ -d "$r" ]; then |
1375 | echo "%%dir $2" >> $1.files | |
1376 | elif [ -x "$r" ] ; then | |
1377 | echo "%%attr(755,root,root) $2" >> $1.files | |
1378 | elif [ -f "$r" ]; then | |
1379 | echo "$2" >> $1.files | |
1380 | else | |
1381 | echo "Error generation $1 files list!" | |
1382 | echo "$r: no such file or directory!" | |
1383 | return 1 | |
1384 | fi | |
1385 | } | |
66205aa8 JB |
1386 | ifecho_tree() { |
1387 | ifecho $1 $2 | |
1388 | for f in `find $RPM_BUILD_ROOT$2 -printf "%%P "`; do | |
1389 | ifecho $1 $2/$f | |
1390 | done | |
1391 | } | |
51df396b WF |
1392 | |
1393 | echo "%defattr(644,root,root,755)" > examples.files | |
0227441b | 1394 | ifecho_tree examples %{_examplesdir}/qt5/corelib |
66205aa8 | 1395 | ifecho_tree examples %{_examplesdir}/qt5/dbus |
66205aa8 | 1396 | ifecho_tree examples %{_examplesdir}/qt5/gui |
66205aa8 JB |
1397 | ifecho_tree examples %{_examplesdir}/qt5/network |
1398 | ifecho_tree examples %{_examplesdir}/qt5/opengl | |
1399 | ifecho_tree examples %{_examplesdir}/qt5/qpa | |
1400 | ifecho_tree examples %{_examplesdir}/qt5/qtconcurrent | |
1401 | ifecho_tree examples %{_examplesdir}/qt5/qtestlib | |
1402 | ifecho_tree examples %{_examplesdir}/qt5/sql | |
1879bb15 | 1403 | ifecho_tree examples %{_examplesdir}/qt5/vulkan |
66205aa8 JB |
1404 | ifecho_tree examples %{_examplesdir}/qt5/widgets |
1405 | ifecho_tree examples %{_examplesdir}/qt5/xml | |
51df396b | 1406 | |
f97107f4 | 1407 | # find_lang --with-qm supports only PLD qt3/qt4 specific %{_localedir}/*/LC_MESSAGES layout |
766e4ec6 JB |
1408 | find_qt5_qm() |
1409 | { | |
1410 | name="$1" | |
1411 | find $RPM_BUILD_ROOT%{_datadir}/qt5/translations -name "${name}_*.qm" | \ | |
1412 | sed -e "s:^$RPM_BUILD_ROOT::" \ | |
1413 | -e 's:\(.*/'$name'_\)\([a-z][a-z][a-z]\?\)\(_[A-Z][A-Z]\)\?\(\.qm\)$:%lang(\2\3) \1\2\3\4:' | |
1414 | } | |
1415 | ||
1416 | echo '%defattr(644,root,root,755)' > qtbase.lang | |
1417 | %if %{with qm} | |
1418 | find_qt5_qm qt >> qtbase.lang | |
1419 | find_qt5_qm qtbase >> qtbase.lang | |
1420 | %endif | |
1421 | ||
47b26767 JP |
1422 | install -d $RPM_BUILD_ROOT%{qt5dir}/plugins/styles |
1423 | ||
51df396b WF |
1424 | %clean |
1425 | rm -rf $RPM_BUILD_ROOT | |
1426 | ||
eb485fb3 JB |
1427 | %post -n Qt5Concurrent -p /sbin/ldconfig |
1428 | %postun -n Qt5Concurrent -p /sbin/ldconfig | |
1429 | ||
1430 | %post -n Qt5Core -p /sbin/ldconfig | |
1431 | %postun -n Qt5Core -p /sbin/ldconfig | |
51df396b | 1432 | |
eb485fb3 JB |
1433 | %post -n Qt5DBus -p /sbin/ldconfig |
1434 | %postun -n Qt5DBus -p /sbin/ldconfig | |
1435 | ||
1436 | %post -n Qt5Gui -p /sbin/ldconfig | |
1437 | %postun -n Qt5Gui -p /sbin/ldconfig | |
1438 | ||
d19f6c9e JB |
1439 | %post -n Qt5Gui-platform-eglfs -p /sbin/ldconfig |
1440 | %postun -n Qt5Gui-platform-eglfs -p /sbin/ldconfig | |
1441 | ||
f97107f4 JR |
1442 | %post -n Qt5Gui-platform-eglfs-kms -p /sbin/ldconfig |
1443 | %postun -n Qt5Gui-platform-eglfs-kms -p /sbin/ldconfig | |
1444 | ||
d19f6c9e JB |
1445 | %post -n Qt5Gui-platform-xcb -p /sbin/ldconfig |
1446 | %postun -n Qt5Gui-platform-xcb -p /sbin/ldconfig | |
1447 | ||
eb485fb3 JB |
1448 | %post -n Qt5Network -p /sbin/ldconfig |
1449 | %postun -n Qt5Network -p /sbin/ldconfig | |
1450 | ||
1451 | %post -n Qt5OpenGL -p /sbin/ldconfig | |
1452 | %postun -n Qt5OpenGL -p /sbin/ldconfig | |
1453 | ||
1454 | %post -n Qt5PrintSupport -p /sbin/ldconfig | |
1455 | %postun -n Qt5PrintSupport -p /sbin/ldconfig | |
1456 | ||
1457 | %post -n Qt5Sql -p /sbin/ldconfig | |
1458 | %postun -n Qt5Sql -p /sbin/ldconfig | |
1459 | ||
1460 | %post -n Qt5Test -p /sbin/ldconfig | |
1461 | %postun -n Qt5Test -p /sbin/ldconfig | |
1462 | ||
1463 | %post -n Qt5Widgets -p /sbin/ldconfig | |
1464 | %postun -n Qt5Widgets -p /sbin/ldconfig | |
1465 | ||
1466 | %post -n Qt5Xml -p /sbin/ldconfig | |
1467 | %postun -n Qt5Xml -p /sbin/ldconfig | |
1468 | ||
f97107f4 JR |
1469 | %files -n Qt5AccessibilitySupport-devel |
1470 | %defattr(644,root,root,755) | |
1471 | %{_includedir}/qt5/QtAccessibilitySupport | |
1472 | %{_includedir}/qt5/QtLinuxAccessibilitySupport | |
1473 | %{_libdir}/libQt5AccessibilitySupport.a | |
1474 | %{_libdir}/libQt5AccessibilitySupport.prl | |
1475 | %{_libdir}/libQt5LinuxAccessibilitySupport.a | |
1476 | %{_libdir}/libQt5LinuxAccessibilitySupport.prl | |
74b487f1 JP |
1477 | %{_libdir}/cmake/Qt5AccessibilitySupport |
1478 | %{_libdir}/cmake/Qt5LinuxAccessibilitySupport | |
f97107f4 JR |
1479 | %{qt5dir}/mkspecs/modules/qt_lib_accessibility_support_private.pri |
1480 | %{qt5dir}/mkspecs/modules/qt_lib_linuxaccessibility_support_private.pri | |
1481 | ||
eb485fb3 JB |
1482 | %files -n Qt5Bootstrap-devel |
1483 | %defattr(644,root,root,755) | |
1484 | # static-only | |
1485 | %{_libdir}/libQt5Bootstrap.a | |
1486 | %{_libdir}/libQt5Bootstrap.prl | |
66205aa8 | 1487 | %{qt5dir}/mkspecs/modules/qt_lib_bootstrap_private.pri |
eb485fb3 JB |
1488 | |
1489 | %files -n Qt5Concurrent | |
51df396b | 1490 | %defattr(644,root,root,755) |
9452387a JB |
1491 | %attr(755,root,root) %{_libdir}/libQt5Concurrent.so.*.*.* |
1492 | %attr(755,root,root) %ghost %{_libdir}/libQt5Concurrent.so.5 | |
eb485fb3 JB |
1493 | |
1494 | %files -n Qt5Concurrent-devel | |
1495 | %defattr(644,root,root,755) | |
1496 | %attr(755,root,root) %{_libdir}/libQt5Concurrent.so | |
1497 | %{_libdir}/libQt5Concurrent.prl | |
1498 | %{_includedir}/qt5/QtConcurrent | |
1499 | %{_pkgconfigdir}/Qt5Concurrent.pc | |
1500 | %{_libdir}/cmake/Qt5Concurrent | |
66205aa8 JB |
1501 | %{qt5dir}/mkspecs/modules/qt_lib_concurrent.pri |
1502 | %{qt5dir}/mkspecs/modules/qt_lib_concurrent_private.pri | |
eb485fb3 | 1503 | |
766e4ec6 | 1504 | %files -n Qt5Core -f qtbase.lang |
eb485fb3 | 1505 | %defattr(644,root,root,755) |
ed5efd12 | 1506 | %doc dist/{README,changes-*} |
9452387a JB |
1507 | %attr(755,root,root) %{_libdir}/libQt5Core.so.*.*.* |
1508 | %attr(755,root,root) %ghost %{_libdir}/libQt5Core.so.5 | |
f97107f4 | 1509 | %dir %{_sysconfdir}/qt5 |
9452387a JB |
1510 | %dir %{qt5dir} |
1511 | %dir %{qt5dir}/bin | |
081e0976 | 1512 | %dir %{qt5dir}/libexec |
66205aa8 JB |
1513 | %dir %{qt5dir}/mkspecs |
1514 | %dir %{qt5dir}/mkspecs/modules | |
9452387a | 1515 | %dir %{qt5dir}/plugins |
766e4ec6 JB |
1516 | %dir %{_datadir}/qt5 |
1517 | %dir %{_datadir}/qt5/translations | |
eb485fb3 JB |
1518 | |
1519 | %files -n Qt5Core-devel | |
1520 | %defattr(644,root,root,755) | |
1521 | %attr(755,root,root) %{_libdir}/libQt5Core.so | |
1522 | %{_libdir}/libQt5Core.prl | |
b846d334 JP |
1523 | %dir %{_libdir}/metatypes |
1524 | %{_libdir}/metatypes/qt5core_metatypes.json | |
eb485fb3 | 1525 | %dir %{_includedir}/qt5 |
257917ad | 1526 | %dir %{_includedir}/qt5/QtSolutions |
eb485fb3 JB |
1527 | %{_includedir}/qt5/QtCore |
1528 | %{_pkgconfigdir}/Qt5Core.pc | |
1529 | %{_libdir}/cmake/Qt5 | |
1530 | %{_libdir}/cmake/Qt5Core | |
66205aa8 JB |
1531 | %{qt5dir}/mkspecs/modules/qt_lib_core.pri |
1532 | %{qt5dir}/mkspecs/modules/qt_lib_core_private.pri | |
9a2ae009 | 1533 | %attr(755,root,root) %{qt5dir}/bin/tracegen |
eb485fb3 JB |
1534 | |
1535 | %files -n Qt5DBus | |
1536 | %defattr(644,root,root,755) | |
1537 | %attr(755,root,root) %{_libdir}/libQt5DBus.so.*.*.* | |
1538 | %attr(755,root,root) %ghost %{_libdir}/libQt5DBus.so.5 | |
1539 | ||
1540 | %files -n Qt5DBus-devel | |
1541 | %defattr(644,root,root,755) | |
1542 | %attr(755,root,root) %{_libdir}/libQt5DBus.so | |
1543 | %{_libdir}/libQt5DBus.prl | |
1544 | %{_includedir}/qt5/QtDBus | |
1545 | %{_pkgconfigdir}/Qt5DBus.pc | |
1546 | %{_libdir}/cmake/Qt5DBus | |
66205aa8 JB |
1547 | %{qt5dir}/mkspecs/modules/qt_lib_dbus.pri |
1548 | %{qt5dir}/mkspecs/modules/qt_lib_dbus_private.pri | |
eb485fb3 | 1549 | |
f97107f4 JR |
1550 | %files -n Qt5DeviceDiscoverySupport-devel |
1551 | %defattr(644,root,root,755) | |
1552 | %{_includedir}/qt5/QtDeviceDiscoverySupport | |
1553 | %{_libdir}/libQt5DeviceDiscoverySupport.a | |
1554 | %{_libdir}/libQt5DeviceDiscoverySupport.prl | |
74b487f1 | 1555 | %{_libdir}/cmake/Qt5DeviceDiscoverySupport |
f97107f4 JR |
1556 | %{qt5dir}/mkspecs/modules/qt_lib_devicediscovery_support_private.pri |
1557 | ||
f478e3eb AM |
1558 | %files -n Qt5EdidSupport-devel |
1559 | %defattr(644,root,root,755) | |
1560 | %{_includedir}/qt5/QtEdidSupport | |
1561 | %{_libdir}/libQt5EdidSupport.a | |
1562 | %{_libdir}/libQt5EdidSupport.prl | |
74b487f1 | 1563 | %{_libdir}/cmake/Qt5EdidSupport |
f478e3eb AM |
1564 | %{qt5dir}/mkspecs/modules/qt_lib_edid_support_private.pri |
1565 | ||
f97107f4 JR |
1566 | %files -n Qt5EglSupport-devel |
1567 | %defattr(644,root,root,755) | |
1568 | %{_includedir}/qt5/QtEglSupport | |
1569 | %{_libdir}/libQt5EglSupport.a | |
1570 | %{_libdir}/libQt5EglSupport.prl | |
74b487f1 | 1571 | %{_libdir}/cmake/Qt5EglSupport |
f97107f4 JR |
1572 | %{qt5dir}/mkspecs/modules/qt_lib_egl_support_private.pri |
1573 | ||
1574 | %files -n Qt5EventDispatcherSupport-devel | |
1575 | %defattr(644,root,root,755) | |
1576 | %{_includedir}/qt5/QtEventDispatcherSupport | |
1577 | %{_libdir}/libQt5EventDispatcherSupport.a | |
1578 | %{_libdir}/libQt5EventDispatcherSupport.prl | |
74b487f1 | 1579 | %{_libdir}/cmake/Qt5EventDispatcherSupport |
f97107f4 JR |
1580 | %{qt5dir}/mkspecs/modules/qt_lib_eventdispatcher_support_private.pri |
1581 | ||
1582 | %files -n Qt5FbSupport-devel | |
1583 | %defattr(644,root,root,755) | |
1584 | %{_includedir}/qt5/QtFbSupport | |
1585 | %{_libdir}/libQt5FbSupport.a | |
1586 | %{_libdir}/libQt5FbSupport.prl | |
74b487f1 | 1587 | %{_libdir}/cmake/Qt5FbSupport |
f97107f4 JR |
1588 | %{qt5dir}/mkspecs/modules/qt_lib_fb_support_private.pri |
1589 | ||
1590 | %files -n Qt5FontDatabaseSupport-devel | |
1591 | %defattr(644,root,root,755) | |
1592 | %{_includedir}/qt5/QtFontDatabaseSupport | |
1593 | %{_libdir}/libQt5FontDatabaseSupport.a | |
1594 | %{_libdir}/libQt5FontDatabaseSupport.prl | |
74b487f1 | 1595 | %{_libdir}/cmake/Qt5FontDatabaseSupport |
f97107f4 JR |
1596 | %{qt5dir}/mkspecs/modules/qt_lib_fontdatabase_support_private.pri |
1597 | ||
1598 | %files -n Qt5GlxSupport-devel | |
1599 | %defattr(644,root,root,755) | |
1600 | %{_includedir}/qt5/QtGlxSupport | |
1601 | %{_libdir}/libQt5GlxSupport.a | |
1602 | %{_libdir}/libQt5GlxSupport.prl | |
74b487f1 | 1603 | %{_libdir}/cmake/Qt5GlxSupport |
f97107f4 JR |
1604 | %{qt5dir}/mkspecs/modules/qt_lib_glx_support_private.pri |
1605 | ||
eb485fb3 JB |
1606 | %files -n Qt5Gui |
1607 | %defattr(644,root,root,755) | |
1608 | %attr(755,root,root) %{_libdir}/libQt5Gui.so.*.*.* | |
1609 | %attr(755,root,root) %ghost %{_libdir}/libQt5Gui.so.5 | |
49014eb2 | 1610 | # loaded from src/gui/kernel/qgenericpluginfactory.cpp |
9452387a | 1611 | %dir %{qt5dir}/plugins/generic |
0bac8e29 | 1612 | # R: udev-libs (by all qevdev* plugins) |
9452387a JB |
1613 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevkeyboardplugin.so |
1614 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevmouseplugin.so | |
1615 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevtabletplugin.so | |
1616 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevtouchplugin.so | |
25fb21af JB |
1617 | # loaded from src/gui/image/qicon.cpp |
1618 | %dir %{qt5dir}/plugins/iconengines | |
49014eb2 | 1619 | # loaded from src/gui/image/qimage{reader,writer}.cpp |
9452387a JB |
1620 | %dir %{qt5dir}/plugins/imageformats |
1621 | %attr(755,root,root) %{qt5dir}/plugins/imageformats/libqgif.so | |
1622 | %attr(755,root,root) %{qt5dir}/plugins/imageformats/libqico.so | |
0bac8e29 | 1623 | # R: libjpeg |
9452387a | 1624 | %attr(755,root,root) %{qt5dir}/plugins/imageformats/libqjpeg.so |
49014eb2 | 1625 | # loaded from src/gui/kernel/qplatforminputcontextfactory.cpp |
9452387a | 1626 | %dir %{qt5dir}/plugins/platforminputcontexts |
0bac8e29 | 1627 | # R: libxkbcommon |
9452387a | 1628 | %attr(755,root,root) %{qt5dir}/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so |
0bac8e29 | 1629 | # R: Qt5DBus |
9452387a | 1630 | %attr(755,root,root) %{qt5dir}/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so |
49014eb2 | 1631 | # loaded from src/gui/kernel/qplatformintegrationfactory.cpp |
9452387a | 1632 | %dir %{qt5dir}/plugins/platforms |
252a9ecd | 1633 | # R: fontconfig freetype |
9452387a | 1634 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqminimal.so |
252a9ecd | 1635 | # R: OpenGL freetype libX11 libXrender |
9452387a | 1636 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqoffscreen.so |
49014eb2 | 1637 | # loaded from src/gui/kernel/qplatformthemefactory.cpp |
9452387a | 1638 | %dir %{qt5dir}/plugins/platformthemes |
7def3493 JB |
1639 | # common for base -devel and plugin-specific files |
1640 | %dir %{_libdir}/cmake/Qt5Gui | |
07c22e07 | 1641 | |
d19f6c9e JB |
1642 | %if %{with libinput} |
1643 | %files -n Qt5Gui-generic-libinput | |
1644 | %defattr(644,root,root,755) | |
1645 | # R: libinput libxkbcommon udev | |
1646 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqlibinputplugin.so | |
1647 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QLibInputPlugin.cmake | |
1648 | %endif | |
1649 | ||
07c22e07 JB |
1650 | %if %{with tslib} |
1651 | %files -n Qt5Gui-generic-tslib | |
1652 | %defattr(644,root,root,755) | |
1653 | # R: tslib | |
1654 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqtslibplugin.so | |
7def3493 | 1655 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QTsLibPlugin.cmake |
07c22e07 JB |
1656 | %endif |
1657 | ||
d19f6c9e JB |
1658 | %files -n Qt5Gui-generic-tuiotouch |
1659 | %defattr(644,root,root,755) | |
1660 | # R: Qt5Network | |
1661 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqtuiotouchplugin.so | |
1662 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QTuioTouchPlugin.cmake | |
1663 | ||
07c22e07 JB |
1664 | %if %{with directfb} |
1665 | %files -n Qt5Gui-platform-directfb | |
1666 | %defattr(644,root,root,755) | |
1667 | # R: DirectFB fontconfig freetype | |
1668 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqdirectfb.so | |
7def3493 | 1669 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QDirectFbIntegrationPlugin.cmake |
07c22e07 JB |
1670 | %endif |
1671 | ||
d19f6c9e JB |
1672 | %if %{with egl} |
1673 | %files -n Qt5Gui-platform-egl | |
07c22e07 | 1674 | %defattr(644,root,root,755) |
d19f6c9e JB |
1675 | # R: egl fontconfig freetype |
1676 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqminimalegl.so | |
1677 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QMinimalEglIntegrationPlugin.cmake | |
07c22e07 JB |
1678 | %endif |
1679 | ||
d19f6c9e | 1680 | %files -n Qt5Gui-platform-eglfs |
07c22e07 | 1681 | %defattr(644,root,root,755) |
d19f6c9e | 1682 | # R: Qt5Gui Qt5Core EGL GL ts fontconfig freetype glib2 udev mtdev |
f97107f4 JR |
1683 | %attr(755,root,root) %{_libdir}/libQt5EglFSDeviceIntegration.so.*.*.* |
1684 | %attr(755,root,root) %ghost %{_libdir}/libQt5EglFSDeviceIntegration.so.5 | |
07c22e07 JB |
1685 | # R: egl fontconfig freetype (for two following) |
1686 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqeglfs.so | |
7def3493 | 1687 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSIntegrationPlugin.cmake |
f478e3eb | 1688 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSEmulatorIntegrationPlugin.cmake |
d19f6c9e JB |
1689 | # loaded from src/plugins/platforms/eglfs/qeglfsdeviceintegration.cpp |
1690 | %dir %{qt5dir}/plugins/egldeviceintegrations | |
f478e3eb | 1691 | %attr(755,root,root) %{qt5dir}/plugins/egldeviceintegrations/libqeglfs-emu-integration.so |
d19f6c9e JB |
1692 | |
1693 | %files -n Qt5Gui-platform-eglfs-devel | |
1694 | %defattr(644,root,root,755) | |
f97107f4 JR |
1695 | %{_includedir}/qt5/QtEglFSDeviceIntegration |
1696 | %attr(755,root,root) %{_libdir}/libQt5EglFSDeviceIntegration.so | |
74b487f1 | 1697 | %{_libdir}/cmake/Qt5EglFSDeviceIntegration |
f97107f4 JR |
1698 | %{_libdir}/libQt5EglFSDeviceIntegration.prl |
1699 | %{qt5dir}/mkspecs/modules/qt_lib_eglfsdeviceintegration_private.pri | |
d19f6c9e JB |
1700 | |
1701 | %if %{with kms} | |
1702 | %files -n Qt5Gui-platform-eglfs-kms | |
1703 | %defattr(644,root,root,755) | |
1704 | # R: gl egl libdrm libgbm udev | |
f97107f4 JR |
1705 | %attr(755,root,root) %{_libdir}/libQt5EglFsKmsSupport.so.*.*.* |
1706 | %attr(755,root,root) %ghost %{_libdir}/libQt5EglFsKmsSupport.so.5 | |
d19f6c9e | 1707 | %attr(755,root,root) %{qt5dir}/plugins/egldeviceintegrations/libqeglfs-kms-integration.so |
f97107f4 JR |
1708 | %attr(755,root,root) %{qt5dir}/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so |
1709 | ||
1710 | %files -n Qt5Gui-platform-eglfs-kms-devel | |
1711 | %defattr(644,root,root,755) | |
1712 | %attr(755,root,root) %{_libdir}/libQt5EglFsKmsSupport.so | |
1713 | %{_libdir}/libQt5EglFsKmsSupport.prl | |
74b487f1 | 1714 | %{_libdir}/cmake/Qt5EglFsKmsSupport |
f97107f4 JR |
1715 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSKmsEglDeviceIntegrationPlugin.cmake |
1716 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSKmsGbmIntegrationPlugin.cmake | |
1717 | %{qt5dir}/mkspecs/modules/qt_lib_eglfs_kms_support_private.pri | |
07c22e07 JB |
1718 | %endif |
1719 | ||
d19f6c9e JB |
1720 | %files -n Qt5Gui-platform-eglfs-x11 |
1721 | %defattr(644,root,root,755) | |
1722 | # R: libX11 libxcb | |
1723 | %attr(755,root,root) %{qt5dir}/plugins/egldeviceintegrations/libqeglfs-x11-integration.so | |
1724 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEglFSX11IntegrationPlugin.cmake | |
1725 | ||
252a9ecd JB |
1726 | %files -n Qt5Gui-platform-linuxfb |
1727 | %defattr(644,root,root,755) | |
1728 | # R: fontconfig freetype libinput tslib udev-libs | |
1729 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqlinuxfb.so | |
1730 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QLinuxFbIntegrationPlugin.cmake | |
1731 | ||
1732 | %files -n Qt5Gui-platform-vnc | |
1733 | %defattr(644,root,root,755) | |
1734 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqvnc.so | |
1735 | ||
1736 | %files -n Qt5Gui-platform-vnc-devel | |
1737 | %defattr(644,root,root,755) | |
1738 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QVncIntegrationPlugin.cmake | |
1739 | ||
d19f6c9e JB |
1740 | %files -n Qt5Gui-platform-xcb |
1741 | %defattr(644,root,root,755) | |
1742 | # R: Qt5DBus xorg* xcb* libxkbcommon-x11 fontconfig freetype | |
1743 | %attr(755,root,root) %{_libdir}/libQt5XcbQpa.so.*.*.* | |
1744 | %attr(755,root,root) %ghost %{_libdir}/libQt5XcbQpa.so.5 | |
1745 | # R: Qt5DBus xcb-* xorg* | |
1746 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqxcb.so | |
1747 | # loaded from src/plugins/platforms/xcb/gl_integrations/qxcbglintegrationfactory.cpp | |
1748 | %dir %{qt5dir}/plugins/xcbglintegrations | |
2cdc3d34 | 1749 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QXcbIntegrationPlugin.cmake |
d19f6c9e JB |
1750 | |
1751 | %files -n Qt5Gui-platform-xcb-devel | |
1752 | %defattr(644,root,root,755) | |
1753 | %attr(755,root,root) %{_libdir}/libQt5XcbQpa.so | |
1754 | %{_libdir}/libQt5XcbQpa.prl | |
74b487f1 | 1755 | %{_libdir}/cmake/Qt5XcbQpa |
d19f6c9e JB |
1756 | %{qt5dir}/mkspecs/modules/qt_lib_xcb_qpa_lib_private.pri |
1757 | ||
1758 | %files -n Qt5Gui-platform-xcb-egl | |
1759 | %defattr(644,root,root,755) | |
1760 | %attr(755,root,root) %{qt5dir}/plugins/xcbglintegrations/libqxcb-egl-integration.so | |
1761 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QXcbEglIntegrationPlugin.cmake | |
1762 | ||
1763 | %files -n Qt5Gui-platform-xcb-glx | |
1764 | %defattr(644,root,root,755) | |
1765 | %attr(755,root,root) %{qt5dir}/plugins/xcbglintegrations/libqxcb-glx-integration.so | |
1766 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QXcbGlxIntegrationPlugin.cmake | |
1767 | ||
9452387a | 1768 | %if %{with gtk} |
f97107f4 | 1769 | %files -n Qt5Gui-platformtheme-gtk3 |
07c22e07 | 1770 | %defattr(644,root,root,755) |
f478e3eb | 1771 | # R: gtk+3 |
f97107f4 JR |
1772 | %attr(755,root,root) %{qt5dir}/plugins/platformthemes/libqgtk3.so |
1773 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QGtk3ThemePlugin.cmake | |
9452387a | 1774 | %endif |
eb485fb3 | 1775 | |
1879bb15 | 1776 | %files -n Qt5Gui-platformtheme-xdgdesktopportal |
f478e3eb | 1777 | %defattr(644,root,root,755) |
1879bb15 JP |
1778 | %attr(755,root,root) %{qt5dir}/plugins/platformthemes/libqxdgdesktopportal.so |
1779 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QXdgDesktopPortalThemePlugin.cmake | |
f478e3eb | 1780 | |
eb485fb3 JB |
1781 | %files -n Qt5Gui-devel |
1782 | %defattr(644,root,root,755) | |
f478e3eb | 1783 | %attr(755,root,root) %{qt5dir}/bin/qvkgen |
eb485fb3 JB |
1784 | %attr(755,root,root) %{_libdir}/libQt5Gui.so |
1785 | %{_libdir}/libQt5Gui.prl | |
b846d334 | 1786 | %{_libdir}/metatypes/qt5gui_metatypes.json |
eb485fb3 | 1787 | %{_includedir}/qt5/QtGui |
0227441b | 1788 | %{_includedir}/qt5/QtPlatformHeaders |
eb485fb3 | 1789 | %{_pkgconfigdir}/Qt5Gui.pc |
7def3493 JB |
1790 | %{_libdir}/cmake/Qt5Gui/Qt5GuiConfig*.cmake |
1791 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevKeyboardPlugin.cmake | |
1792 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevMousePlugin.cmake | |
1793 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevTabletPlugin.cmake | |
1794 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QEvdevTouchScreenPlugin.cmake | |
1795 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QGifPlugin.cmake | |
1796 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QICOPlugin.cmake | |
1797 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QJpegPlugin.cmake | |
1798 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QComposePlatformInputContextPlugin.cmake | |
1799 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QIbusPlatformInputContextPlugin.cmake | |
7def3493 JB |
1800 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QMinimalIntegrationPlugin.cmake |
1801 | %{_libdir}/cmake/Qt5Gui/Qt5Gui_QOffscreenIntegrationPlugin.cmake | |
66205aa8 JB |
1802 | %{qt5dir}/mkspecs/modules/qt_lib_gui.pri |
1803 | %{qt5dir}/mkspecs/modules/qt_lib_gui_private.pri | |
eb485fb3 | 1804 | |
f97107f4 JR |
1805 | %files -n Qt5InputSupport-devel |
1806 | %defattr(644,root,root,755) | |
1807 | %{_includedir}/qt5/QtInputSupport | |
1808 | %{_libdir}/libQt5InputSupport.a | |
1809 | %{_libdir}/libQt5InputSupport.prl | |
74b487f1 | 1810 | %{_libdir}/cmake/Qt5InputSupport |
f97107f4 JR |
1811 | %{qt5dir}/mkspecs/modules/qt_lib_input_support_private.pri |
1812 | ||
f478e3eb AM |
1813 | %files -n Qt5KmsSupport-devel |
1814 | %defattr(644,root,root,755) | |
1815 | %{_includedir}/qt5/QtKmsSupport | |
1816 | %{_libdir}/libQt5KmsSupport.a | |
1817 | %{_libdir}/libQt5KmsSupport.prl | |
74b487f1 | 1818 | %{_libdir}/cmake/Qt5KmsSupport |
f478e3eb AM |
1819 | %{qt5dir}/mkspecs/modules/qt_lib_kms_support_private.pri |
1820 | ||
eb485fb3 JB |
1821 | %files -n Qt5Network |
1822 | %defattr(644,root,root,755) | |
1823 | %attr(755,root,root) %{_libdir}/libQt5Network.so.*.*.* | |
1824 | %attr(755,root,root) %ghost %{_libdir}/libQt5Network.so.5 | |
1825 | # loaded from src/network/bearer/qnetworkconfigmanager_p.cpp | |
1826 | %dir %{qt5dir}/plugins/bearer | |
0bac8e29 | 1827 | # R: Qt5DBus |
eb485fb3 JB |
1828 | %attr(755,root,root) %{qt5dir}/plugins/bearer/libqconnmanbearer.so |
1829 | %attr(755,root,root) %{qt5dir}/plugins/bearer/libqgenericbearer.so | |
0bac8e29 | 1830 | # R: Qt5DBus |
eb485fb3 JB |
1831 | %attr(755,root,root) %{qt5dir}/plugins/bearer/libqnmbearer.so |
1832 | ||
1833 | %files -n Qt5Network-devel | |
1834 | %defattr(644,root,root,755) | |
1835 | %attr(755,root,root) %{_libdir}/libQt5Network.so | |
1836 | %{_libdir}/libQt5Network.prl | |
1837 | %{_includedir}/qt5/QtNetwork | |
1838 | %{_pkgconfigdir}/Qt5Network.pc | |
7def3493 JB |
1839 | %dir %{_libdir}/cmake/Qt5Network |
1840 | %{_libdir}/cmake/Qt5Network/Qt5NetworkConfig*.cmake | |
1841 | %{_libdir}/cmake/Qt5Network/Qt5Network_QConnmanEnginePlugin.cmake | |
1842 | %{_libdir}/cmake/Qt5Network/Qt5Network_QGenericEnginePlugin.cmake | |
1843 | %{_libdir}/cmake/Qt5Network/Qt5Network_QNetworkManagerEnginePlugin.cmake | |
66205aa8 JB |
1844 | %{qt5dir}/mkspecs/modules/qt_lib_network.pri |
1845 | %{qt5dir}/mkspecs/modules/qt_lib_network_private.pri | |
eb485fb3 JB |
1846 | |
1847 | %files -n Qt5OpenGL | |
1848 | %defattr(644,root,root,755) | |
1849 | %attr(755,root,root) %{_libdir}/libQt5OpenGL.so.*.*.* | |
1850 | %attr(755,root,root) %ghost %{_libdir}/libQt5OpenGL.so.5 | |
1851 | ||
1852 | %files -n Qt5OpenGL-devel | |
1853 | %defattr(644,root,root,755) | |
1854 | %attr(755,root,root) %{_libdir}/libQt5OpenGL.so | |
1855 | %{_libdir}/libQt5OpenGL.prl | |
1856 | %{_includedir}/qt5/QtOpenGL | |
1857 | %{_pkgconfigdir}/Qt5OpenGL.pc | |
1858 | %{_libdir}/cmake/Qt5OpenGL | |
66205aa8 JB |
1859 | %{qt5dir}/mkspecs/modules/qt_lib_opengl.pri |
1860 | %{qt5dir}/mkspecs/modules/qt_lib_opengl_private.pri | |
eb485fb3 JB |
1861 | |
1862 | %files -n Qt5OpenGLExtensions-devel | |
1863 | %defattr(644,root,root,755) | |
1864 | # static-only | |
1865 | %{_libdir}/libQt5OpenGLExtensions.a | |
1866 | %{_libdir}/libQt5OpenGLExtensions.prl | |
1867 | %{_includedir}/qt5/QtOpenGLExtensions | |
1868 | %{_pkgconfigdir}/Qt5OpenGLExtensions.pc | |
1869 | %{_libdir}/cmake/Qt5OpenGLExtensions | |
66205aa8 JB |
1870 | %{qt5dir}/mkspecs/modules/qt_lib_openglextensions.pri |
1871 | %{qt5dir}/mkspecs/modules/qt_lib_openglextensions_private.pri | |
eb485fb3 | 1872 | |
f97107f4 | 1873 | %files -n Qt5PlatformCompositorSupport-devel |
74712d58 | 1874 | %defattr(644,root,root,755) |
f97107f4 JR |
1875 | %{_includedir}/qt5/QtPlatformCompositorSupport |
1876 | %{_libdir}/libQt5PlatformCompositorSupport.a | |
1877 | %{_libdir}/libQt5PlatformCompositorSupport.prl | |
74b487f1 | 1878 | %{_libdir}/cmake/Qt5PlatformCompositorSupport |
f97107f4 | 1879 | %{qt5dir}/mkspecs/modules/qt_lib_platformcompositor_support_private.pri |
74712d58 | 1880 | |
eb485fb3 JB |
1881 | %files -n Qt5PrintSupport |
1882 | %defattr(644,root,root,755) | |
1883 | %attr(755,root,root) %{_libdir}/libQt5PrintSupport.so.*.*.* | |
1884 | %attr(755,root,root) %ghost %{_libdir}/libQt5PrintSupport.so.5 | |
49014eb2 | 1885 | # loaded from src/printsupport/kernel/qplatformprintplugin.cpp |
9452387a JB |
1886 | %dir %{qt5dir}/plugins/printsupport |
1887 | %if %{with cups} | |
1888 | %attr(755,root,root) %{qt5dir}/plugins/printsupport/libcupsprintersupport.so | |
1889 | %endif | |
eb485fb3 JB |
1890 | |
1891 | %files -n Qt5PrintSupport-devel | |
1892 | %defattr(644,root,root,755) | |
1893 | %attr(755,root,root) %{_libdir}/libQt5PrintSupport.so | |
1894 | %{_libdir}/libQt5PrintSupport.prl | |
1895 | %{_includedir}/qt5/QtPrintSupport | |
1896 | %{_pkgconfigdir}/Qt5PrintSupport.pc | |
7def3493 JB |
1897 | %dir %{_libdir}/cmake/Qt5PrintSupport |
1898 | %{_libdir}/cmake/Qt5PrintSupport/Qt5PrintSupportConfig*.cmake | |
1899 | %if %{with cups} | |
1900 | %{_libdir}/cmake/Qt5PrintSupport/Qt5PrintSupport_QCupsPrinterSupportPlugin.cmake | |
1901 | %endif | |
66205aa8 JB |
1902 | %{qt5dir}/mkspecs/modules/qt_lib_printsupport.pri |
1903 | %{qt5dir}/mkspecs/modules/qt_lib_printsupport_private.pri | |
eb485fb3 | 1904 | |
f97107f4 JR |
1905 | %files -n Qt5ServiceSupport-devel |
1906 | %defattr(644,root,root,755) | |
1907 | %{_includedir}/qt5/QtServiceSupport | |
1908 | %{_libdir}/libQt5ServiceSupport.a | |
1909 | %{_libdir}/libQt5ServiceSupport.prl | |
74b487f1 | 1910 | %{_libdir}/cmake/Qt5ServiceSupport |
f97107f4 JR |
1911 | %{qt5dir}/mkspecs/modules/qt_lib_service_support_private.pri |
1912 | ||
eb485fb3 JB |
1913 | %files -n Qt5Sql |
1914 | %defattr(644,root,root,755) | |
1915 | %attr(755,root,root) %{_libdir}/libQt5Sql.so.*.*.* | |
1916 | %attr(755,root,root) %ghost %{_libdir}/libQt5Sql.so.5 | |
49014eb2 | 1917 | # loaded from src/sql/kernel/qsqldatabase.cpp |
9452387a | 1918 | %dir %{qt5dir}/plugins/sqldrivers |
7def3493 JB |
1919 | # common for base -devel and plugin-specific files |
1920 | %dir %{_libdir}/cmake/Qt5Sql | |
07c22e07 | 1921 | |
9452387a | 1922 | %if %{with db2} |
07c22e07 JB |
1923 | %files -n Qt5Sql-sqldriver-db2 |
1924 | %defattr(644,root,root,755) | |
0bac8e29 | 1925 | # R: (proprietary) DB2 libs |
9452387a | 1926 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqldb2.so |
7def3493 | 1927 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QDB2DriverPlugin.cmake |
9452387a | 1928 | %endif |
07c22e07 | 1929 | |
9452387a | 1930 | %if %{with ibase} |
07c22e07 JB |
1931 | %files -n Qt5Sql-sqldriver-ibase |
1932 | %defattr(644,root,root,755) | |
0bac8e29 | 1933 | # R: Firebird-lib |
9452387a | 1934 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlibase.so |
7def3493 | 1935 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QIBaseDriverPlugin.cmake |
9452387a | 1936 | %endif |
07c22e07 | 1937 | |
9452387a | 1938 | %if %{with sqlite3} |
07c22e07 JB |
1939 | %files -n Qt5Sql-sqldriver-sqlite3 |
1940 | %defattr(644,root,root,755) | |
0bac8e29 | 1941 | # R: sqlite3 |
9452387a | 1942 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlite.so |
7def3493 | 1943 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QSQLiteDriverPlugin.cmake |
9452387a | 1944 | %endif |
07c22e07 | 1945 | |
9452387a | 1946 | %if %{with sqlite2} |
07c22e07 JB |
1947 | %files -n Qt5Sql-sqldriver-sqlite2 |
1948 | %defattr(644,root,root,755) | |
0bac8e29 | 1949 | # R: sqlite >= 2 |
9452387a | 1950 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlite2.so |
7def3493 | 1951 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QSQLite2DriverPlugin.cmake |
9452387a | 1952 | %endif |
07c22e07 | 1953 | |
9452387a | 1954 | %if %{with mysql} |
07c22e07 JB |
1955 | %files -n Qt5Sql-sqldriver-mysql |
1956 | %defattr(644,root,root,755) | |
0bac8e29 | 1957 | # R: mysql-libs |
9452387a | 1958 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlmysql.so |
7def3493 | 1959 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QMYSQLDriverPlugin.cmake |
9452387a | 1960 | %endif |
07c22e07 | 1961 | |
7d197c9f | 1962 | %if %{with oci} |
07c22e07 JB |
1963 | %files -n Qt5Sql-sqldriver-oci |
1964 | %defattr(644,root,root,755) | |
0bac8e29 | 1965 | # R: (proprietary) Oracle libs |
9452387a | 1966 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqloci.so |
7def3493 | 1967 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QOCIDriverPlugin.cmake |
9452387a | 1968 | %endif |
07c22e07 | 1969 | |
9452387a | 1970 | %if %{with odbc} |
07c22e07 JB |
1971 | %files -n Qt5Sql-sqldriver-odbc |
1972 | %defattr(644,root,root,755) | |
0bac8e29 | 1973 | # R: unixODBC |
9452387a | 1974 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlodbc.so |
7def3493 | 1975 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QODBCDriverPlugin.cmake |
9452387a | 1976 | %endif |
07c22e07 | 1977 | |
9452387a | 1978 | %if %{with pgsql} |
07c22e07 JB |
1979 | %files -n Qt5Sql-sqldriver-pgsql |
1980 | %defattr(644,root,root,755) | |
0bac8e29 | 1981 | # R: postgresql-libs |
9452387a | 1982 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlpsql.so |
7def3493 | 1983 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QPSQLDriverPlugin.cmake |
9452387a | 1984 | %endif |
07c22e07 | 1985 | |
9452387a | 1986 | %if %{with freetds} |
07c22e07 JB |
1987 | %files -n Qt5Sql-sqldriver-tds |
1988 | %defattr(644,root,root,755) | |
0bac8e29 | 1989 | # R: freetds |
9452387a | 1990 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqltds.so |
7def3493 | 1991 | %{_libdir}/cmake/Qt5Sql/Qt5Sql_QTDSDriverPlugin.cmake |
9452387a | 1992 | %endif |
51df396b | 1993 | |
eb485fb3 | 1994 | %files -n Qt5Sql-devel |
51df396b | 1995 | %defattr(644,root,root,755) |
51df396b | 1996 | %attr(755,root,root) %{_libdir}/libQt5Sql.so |
51df396b | 1997 | %{_libdir}/libQt5Sql.prl |
9452387a | 1998 | %{_includedir}/qt5/QtSql |
9452387a | 1999 | %{_pkgconfigdir}/Qt5Sql.pc |
7def3493 | 2000 | %{_libdir}/cmake/Qt5Sql/Qt5SqlConfig*.cmake |
66205aa8 JB |
2001 | %{qt5dir}/mkspecs/modules/qt_lib_sql.pri |
2002 | %{qt5dir}/mkspecs/modules/qt_lib_sql_private.pri | |
eb485fb3 JB |
2003 | |
2004 | %files -n Qt5Test | |
2005 | %defattr(644,root,root,755) | |
2006 | %attr(755,root,root) %{_libdir}/libQt5Test.so.*.*.* | |
2007 | %attr(755,root,root) %ghost %{_libdir}/libQt5Test.so.5 | |
2008 | ||
2009 | %files -n Qt5Test-devel | |
2010 | %defattr(644,root,root,755) | |
2011 | %attr(755,root,root) %{_libdir}/libQt5Test.so | |
2012 | %{_libdir}/libQt5Test.prl | |
2013 | %{_includedir}/qt5/QtTest | |
2014 | %{_pkgconfigdir}/Qt5Test.pc | |
51df396b | 2015 | %{_libdir}/cmake/Qt5Test |
66205aa8 JB |
2016 | %{qt5dir}/mkspecs/modules/qt_lib_testlib.pri |
2017 | %{qt5dir}/mkspecs/modules/qt_lib_testlib_private.pri | |
eb485fb3 | 2018 | |
f97107f4 JR |
2019 | %files -n Qt5ThemeSupport-devel |
2020 | %defattr(644,root,root,755) | |
2021 | %{_includedir}/qt5/QtThemeSupport | |
2022 | %{_libdir}/libQt5ThemeSupport.a | |
2023 | %{_libdir}/libQt5ThemeSupport.prl | |
74b487f1 | 2024 | %{_libdir}/cmake/Qt5ThemeSupport |
f97107f4 JR |
2025 | %{qt5dir}/mkspecs/modules/qt_lib_theme_support_private.pri |
2026 | ||
1879bb15 JP |
2027 | %files -n Qt5VulkanSupport-devel |
2028 | %defattr(644,root,root,755) | |
2029 | %{_includedir}/qt5/QtVulkanSupport | |
2030 | %{_libdir}/libQt5VulkanSupport.a | |
2031 | %{_libdir}/libQt5VulkanSupport.prl | |
74b487f1 | 2032 | %{_libdir}/cmake/Qt5VulkanSupport |
1879bb15 JP |
2033 | %{qt5dir}/mkspecs/modules/qt_lib_vulkan_support_private.pri |
2034 | ||
eb485fb3 JB |
2035 | %files -n Qt5Widgets |
2036 | %defattr(644,root,root,755) | |
2037 | %attr(755,root,root) %{_libdir}/libQt5Widgets.so.*.*.* | |
2038 | %attr(755,root,root) %ghost %{_libdir}/libQt5Widgets.so.5 | |
47b26767 | 2039 | %dir %{qt5dir}/plugins/styles |
eb485fb3 JB |
2040 | |
2041 | %files -n Qt5Widgets-devel | |
2042 | %defattr(644,root,root,755) | |
2043 | %attr(755,root,root) %{_libdir}/libQt5Widgets.so | |
2044 | %{_libdir}/libQt5Widgets.prl | |
b846d334 | 2045 | %{_libdir}/metatypes/qt5widgets_metatypes.json |
eb485fb3 JB |
2046 | %{_includedir}/qt5/QtWidgets |
2047 | %{_pkgconfigdir}/Qt5Widgets.pc | |
7def3493 JB |
2048 | %dir %{_libdir}/cmake/Qt5Widgets |
2049 | %{_libdir}/cmake/Qt5Widgets/Qt5WidgetsConfig*.cmake | |
2050 | %{_libdir}/cmake/Qt5Widgets/Qt5WidgetsMacros.cmake | |
66205aa8 JB |
2051 | %{qt5dir}/mkspecs/modules/qt_lib_widgets.pri |
2052 | %{qt5dir}/mkspecs/modules/qt_lib_widgets_private.pri | |
eb485fb3 | 2053 | |
5c55b161 JP |
2054 | %files -n Qt5XkbCommonSupport-devel |
2055 | %defattr(644,root,root,755) | |
2056 | %{_includedir}/qt5/QtXkbCommonSupport | |
2057 | %{_libdir}/libQt5XkbCommonSupport.a | |
2058 | %{_libdir}/libQt5XkbCommonSupport.prl | |
74b487f1 | 2059 | %{_libdir}/cmake/Qt5XkbCommonSupport |
5c55b161 JP |
2060 | %{qt5dir}/mkspecs/modules/qt_lib_xkbcommon_support_private.pri |
2061 | ||
eb485fb3 JB |
2062 | %files -n Qt5Xml |
2063 | %defattr(644,root,root,755) | |
2064 | %attr(755,root,root) %{_libdir}/libQt5Xml.so.*.*.* | |
2065 | %attr(755,root,root) %ghost %{_libdir}/libQt5Xml.so.5 | |
2066 | ||
2067 | %files -n Qt5Xml-devel | |
2068 | %defattr(644,root,root,755) | |
2069 | %attr(755,root,root) %{_libdir}/libQt5Xml.so | |
2070 | %{_libdir}/libQt5Xml.prl | |
2071 | %{_includedir}/qt5/QtXml | |
2072 | %{_pkgconfigdir}/Qt5Xml.pc | |
51df396b | 2073 | %{_libdir}/cmake/Qt5Xml |
66205aa8 JB |
2074 | %{qt5dir}/mkspecs/modules/qt_lib_xml.pri |
2075 | %{qt5dir}/mkspecs/modules/qt_lib_xml_private.pri | |
2076 | ||
2077 | %files -n qt5-doc-common | |
2078 | %defattr(644,root,root,755) | |
2079 | %dir %{_docdir}/qt5-doc | |
74b487f1 | 2080 | %{_docdir}/qt5-doc/config |
66205aa8 | 2081 | %{_docdir}/qt5-doc/global |
51df396b | 2082 | |
b52c2d71 BS |
2083 | %if %{with doc} |
2084 | %files doc | |
2085 | %defattr(644,root,root,755) | |
2086 | %{_docdir}/qt5-doc/qmake | |
2087 | %{_docdir}/qt5-doc/qtconcurrent | |
2088 | %{_docdir}/qt5-doc/qtcore | |
2089 | %{_docdir}/qt5-doc/qtdbus | |
2090 | %{_docdir}/qt5-doc/qtgui | |
2091 | %{_docdir}/qt5-doc/qtnetwork | |
2092 | %{_docdir}/qt5-doc/qtopengl | |
2093 | %{_docdir}/qt5-doc/qtplatformheaders | |
2094 | %{_docdir}/qt5-doc/qtprintsupport | |
2095 | %{_docdir}/qt5-doc/qtsql | |
2096 | %{_docdir}/qt5-doc/qttestlib | |
2097 | %{_docdir}/qt5-doc/qtwidgets | |
2098 | %{_docdir}/qt5-doc/qtxml | |
2099 | ||
2100 | %files doc-qch | |
2101 | %defattr(644,root,root,755) | |
2102 | %{_docdir}/qt5-doc/qmake.qch | |
2103 | %{_docdir}/qt5-doc/qtconcurrent.qch | |
2104 | %{_docdir}/qt5-doc/qtcore.qch | |
2105 | %{_docdir}/qt5-doc/qtdbus.qch | |
2106 | %{_docdir}/qt5-doc/qtgui.qch | |
2107 | %{_docdir}/qt5-doc/qtnetwork.qch | |
2108 | %{_docdir}/qt5-doc/qtopengl.qch | |
2109 | %{_docdir}/qt5-doc/qtplatformheaders.qch | |
2110 | %{_docdir}/qt5-doc/qtprintsupport.qch | |
2111 | %{_docdir}/qt5-doc/qtsql.qch | |
2112 | %{_docdir}/qt5-doc/qttestlib.qch | |
2113 | %{_docdir}/qt5-doc/qtwidgets.qch | |
2114 | %{_docdir}/qt5-doc/qtxml.qch | |
2115 | %endif | |
2116 | ||
51df396b | 2117 | %files examples -f examples.files |
f97107f4 | 2118 | %defattr(644,root,root,755) |
66205aa8 JB |
2119 | %dir %{_examplesdir}/qt5 |
2120 | %doc %{_examplesdir}/qt5/README | |
2121 | %{_examplesdir}/qt5/examples.pro | |
9452387a JB |
2122 | |
2123 | %files -n qt5-build | |
2124 | %defattr(644,root,root,755) | |
9452387a JB |
2125 | %attr(755,root,root) %{_bindir}/moc-qt5 |
2126 | %attr(755,root,root) %{_bindir}/qdbuscpp2xml-qt5 | |
2127 | %attr(755,root,root) %{_bindir}/qdbusxml2cpp-qt5 | |
2128 | %attr(755,root,root) %{_bindir}/qdoc-qt5 | |
a33ed680 | 2129 | %attr(755,root,root) %{_bindir}/qlalr-qt5 |
9452387a JB |
2130 | %attr(755,root,root) %{_bindir}/rcc-qt5 |
2131 | %attr(755,root,root) %{_bindir}/uic-qt5 | |
f97107f4 | 2132 | %attr(755,root,root) %{qt5dir}/bin/fixqt4headers.pl |
9452387a JB |
2133 | %attr(755,root,root) %{qt5dir}/bin/moc |
2134 | %attr(755,root,root) %{qt5dir}/bin/qdbuscpp2xml | |
2135 | %attr(755,root,root) %{qt5dir}/bin/qdbusxml2cpp | |
a33ed680 | 2136 | %attr(755,root,root) %{qt5dir}/bin/qlalr |
9452387a JB |
2137 | %attr(755,root,root) %{qt5dir}/bin/rcc |
2138 | %attr(755,root,root) %{qt5dir}/bin/syncqt.pl | |
2139 | %attr(755,root,root) %{qt5dir}/bin/uic | |
2140 | ||
2141 | %files -n qt5-qmake | |
2142 | %defattr(644,root,root,755) | |
2143 | %attr(755,root,root) %{_bindir}/qmake-qt5 | |
2144 | %attr(755,root,root) %{qt5dir}/bin/qmake | |
66205aa8 JB |
2145 | %{qt5dir}/mkspecs/aix-* |
2146 | %{qt5dir}/mkspecs/android-* | |
66205aa8 | 2147 | %{qt5dir}/mkspecs/common |
f478e3eb | 2148 | %{qt5dir}/mkspecs/dummy |
66205aa8 JB |
2149 | %{qt5dir}/mkspecs/cygwin-* |
2150 | %{qt5dir}/mkspecs/darwin-* | |
2151 | %{qt5dir}/mkspecs/devices | |
2152 | %{qt5dir}/mkspecs/features | |
2153 | %{qt5dir}/mkspecs/freebsd-* | |
d19f6c9e | 2154 | %{qt5dir}/mkspecs/haiku-* |
66205aa8 JB |
2155 | %{qt5dir}/mkspecs/hpuxi-* |
2156 | %{qt5dir}/mkspecs/hurd-* | |
f97107f4 | 2157 | %{qt5dir}/mkspecs/integrity-armv7* |
f478e3eb | 2158 | %{qt5dir}/mkspecs/integrity-armv8* |
f97107f4 | 2159 | %{qt5dir}/mkspecs/integrity-x86 |
66205aa8 JB |
2160 | %{qt5dir}/mkspecs/linux-* |
2161 | %{qt5dir}/mkspecs/lynxos-* | |
2162 | %{qt5dir}/mkspecs/macx-* | |
2163 | %{qt5dir}/mkspecs/netbsd-* | |
2164 | %{qt5dir}/mkspecs/openbsd-* | |
2165 | %{qt5dir}/mkspecs/qnx-* | |
66205aa8 | 2166 | %{qt5dir}/mkspecs/solaris-* |
66205aa8 | 2167 | %{qt5dir}/mkspecs/unsupported |
767ddd0b | 2168 | %{qt5dir}/mkspecs/wasm-emscripten |
66205aa8 | 2169 | %{qt5dir}/mkspecs/win32-* |
66205aa8 JB |
2170 | %{qt5dir}/mkspecs/winrt-* |
2171 | %{qt5dir}/mkspecs/*.pri |