]>
Commit | Line | Data |
---|---|---|
07c22e07 JB |
1 | # TODO: separate more plugins? (think of qxcb when there are more commonly used platforms) |
2 | # | |
51df396b | 3 | # Conditional build: |
9452387a | 4 | %bcond_with static_libs # static libraries [incomplete support in .spec] |
51df396b WF |
5 | # -- features |
6 | %bcond_without cups # CUPS printing support | |
9452387a | 7 | %bcond_without directfb # DirectFB platform support |
ce510087 | 8 | %bcond_without egl # EGL (EGLFS, minimal EGL) platform support |
51df396b | 9 | %bcond_without gtk # GTK+ theme integration |
ce510087 | 10 | %bcond_without kms # KMS platform support |
51df396b | 11 | %bcond_without pch # pch (pre-compiled headers) in qmake |
7aae88f0 | 12 | %bcond_without qch # QCH documentation |
9452387a | 13 | %bcond_without tslib # tslib support |
51df396b | 14 | # -- databases |
9452387a | 15 | %bcond_without freetds # TDS (Sybase/MS SQL) plugin |
51df396b WF |
16 | %bcond_without mysql # MySQL plugin |
17 | %bcond_without odbc # unixODBC plugin | |
18 | %bcond_without pgsql # PostgreSQL plugin | |
9452387a | 19 | %bcond_without sqlite2 # SQLite2 plugin |
51df396b | 20 | %bcond_without sqlite3 # SQLite3 plugin |
51df396b | 21 | %bcond_without ibase # ibase (InterBase/Firebird) plugin |
9452387a JB |
22 | %bcond_with db2 # DB2 support |
23 | %bcond_with oracle # OCI (Oracle) support | |
51df396b | 24 | # -- SIMD CPU instructions |
51df396b WF |
25 | %bcond_with sse2 # use SSE2 instructions |
26 | %bcond_with sse3 # use SSE3 instructions (since: Intel middle Pentium4, AMD Athlon64) | |
27 | %bcond_with ssse3 # use SSSE3 instructions (Intel since Core2, Via Nano) | |
28 | %bcond_with sse41 # use SSE4.1 instructions (Intel since middle Core2) | |
29 | %bcond_with sse42 # use SSE4.2 instructions (the same) | |
9452387a JB |
30 | %bcond_with avx # use AVX instructions (Intel since Sandy Bridge, AMD since Bulldozer) |
31 | %bcond_with avx2 # use AVX2 instructions (Intel since Haswell) | |
51df396b WF |
32 | |
33 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc | |
34 | %undefine with_ibase | |
35 | %endif | |
36 | %ifarch athlon | |
37 | %define with_3dnow 1 | |
38 | %endif | |
39 | %ifarch athlon pentium3 pentium4 %{x8664} | |
40 | %define with_mmx 1 | |
41 | %endif | |
51df396b WF |
42 | %ifarch pentium4 %{x8664} |
43 | %define with_sse2 1 | |
44 | %endif | |
51df396b | 45 | |
a33ed680 | 46 | %define icu_abi 53 |
51df396b WF |
47 | %define next_icu_abi %(echo $((%{icu_abi} + 1))) |
48 | ||
49 | %define orgname qtbase | |
9452387a JB |
50 | Summary: Qt5 - base components |
51 | Summary(pl.UTF-8): Biblioteka Qt5 - podstawowe komponenty | |
51df396b | 52 | Name: qt5-%{orgname} |
a33ed680 JB |
53 | Version: 5.3.0 |
54 | Release: 1 | |
ce510087 JB |
55 | # See LGPL_EXCEPTION.txt for exception details |
56 | License: LGPL v2 with Digia Qt LGPL Exception v1.1 or GPL v3 | |
51df396b | 57 | Group: X11/Libraries |
a33ed680 JB |
58 | Source0: http://download.qt-project.org/official_releases/qt/5.3/%{version}/submodules/%{orgname}-opensource-src-%{version}.tar.xz |
59 | # Source0-md5: 4bc43a72e1b3d804171e5b52640e8d96 | |
51df396b | 60 | URL: http://qt-project.org/ |
9452387a | 61 | %{?with_directfb:BuildRequires: DirectFB-devel} |
ce510087 | 62 | BuildRequires: EGL-devel |
51df396b WF |
63 | %{?with_ibase:BuildRequires: Firebird-devel} |
64 | BuildRequires: Mesa-libOpenVG-devel | |
ce510087 | 65 | %{?with_kms:BuildRequires: Mesa-libgbm-devel} |
51df396b | 66 | BuildRequires: OpenGL-devel |
ce510087 | 67 | %{?with_kms:BuildRequires: OpenGLESv2-devel} |
51df396b | 68 | BuildRequires: alsa-lib-devel |
9452387a | 69 | %{?with_gtk:BuildRequires: atk-devel} |
51df396b | 70 | %{?with_cups:BuildRequires: cups-devel} |
9452387a | 71 | BuildRequires: dbus-devel >= 1.2 |
51df396b | 72 | BuildRequires: fontconfig-devel |
9452387a | 73 | %{?with_freetds:BuildRequires: freetds-devel} |
51df396b WF |
74 | BuildRequires: freetype-devel >= 1:2.0.0 |
75 | %{?with_pch:BuildRequires: gcc >= 5:4.0} | |
5b8dc449 | 76 | BuildRequires: gdb |
51df396b | 77 | BuildRequires: glib2-devel >= 2.0.0 |
9452387a | 78 | %{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.18} |
ce510087 | 79 | %{?with_kms:BuildRequires: libdrm-devel} |
51df396b | 80 | # see dependency on libicu version below |
51df396b | 81 | BuildRequires: libicu-devel < %{next_icu_abi} |
1600b17a | 82 | BuildRequires: libicu-devel >= %{icu_abi} |
51df396b | 83 | BuildRequires: libjpeg-devel |
51df396b WF |
84 | BuildRequires: libpng-devel >= 2:1.0.8 |
85 | BuildRequires: libstdc++-devel | |
a33ed680 | 86 | BuildRequires: libxcb-devel >= 1.10 |
51df396b | 87 | %{?with_mysql:BuildRequires: mysql-devel} |
eb485fb3 | 88 | BuildRequires: openssl-devel |
9452387a | 89 | BuildRequires: pcre16-devel >= 8.30 |
51df396b WF |
90 | BuildRequires: pkgconfig |
91 | %{?with_pgsql:BuildRequires: postgresql-backend-devel} | |
92 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
93 | BuildRequires: pulseaudio-devel >= 0.9.10 | |
7aae88f0 | 94 | %{?with_qch:BuildRequires: qt5-assistant >= 5.2} |
51df396b | 95 | BuildRequires: rpmbuild(macros) >= 1.654 |
51df396b | 96 | BuildRequires: sed >= 4.0 |
9452387a | 97 | %{?with_sqlite2:BuildRequires: sqlite-devel} |
51df396b | 98 | %{?with_sqlite3:BuildRequires: sqlite3-devel} |
1600b17a | 99 | BuildRequires: tar >= 1:1.22 |
9452387a | 100 | %{?with_tslib:BuildRequires: tslib-devel} |
5b8dc449 | 101 | BuildRequires: udev-devel |
51df396b | 102 | %{?with_odbc:BuildRequires: unixODBC-devel >= 2.3.0} |
5b8dc449 ER |
103 | BuildRequires: xcb-util-image-devel |
104 | BuildRequires: xcb-util-keysyms-devel | |
105 | BuildRequires: xcb-util-renderutil-devel | |
106 | BuildRequires: xcb-util-wm-devel | |
51df396b | 107 | BuildRequires: xorg-lib-libSM-devel |
9452387a | 108 | BuildRequires: xorg-lib-libX11-devel |
51df396b WF |
109 | BuildRequires: xorg-lib-libXcursor-devel |
110 | BuildRequires: xorg-lib-libXext-devel | |
111 | BuildRequires: xorg-lib-libXfixes-devel | |
112 | BuildRequires: xorg-lib-libXi-devel | |
113 | BuildRequires: xorg-lib-libXinerama-devel | |
114 | BuildRequires: xorg-lib-libXrandr-devel | |
115 | BuildRequires: xorg-lib-libXrender-devel | |
a33ed680 | 116 | BuildRequires: xorg-lib-libxkbcommon-devel >= 0.4.1 |
1600b17a | 117 | BuildRequires: xz |
51df396b WF |
118 | BuildRequires: zlib-devel |
119 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
120 | ||
51df396b WF |
121 | %define specflags -fno-strict-aliasing |
122 | ||
9452387a | 123 | %define qt5dir %{_libdir}/qt5 |
51df396b WF |
124 | |
125 | %description | |
1600b17a ER |
126 | Qt is a software toolkit for developing applications. |
127 | ||
9452387a JB |
128 | This package contains base components, like Core, Network or Xml. |
129 | ||
130 | %description -l pl.UTF-8 | |
131 | Qt to programowy toolkit do tworzenia aplikacji. | |
132 | ||
133 | Ten pakiet zawiera podstawowe komponenty, takie jak Core, Network czy | |
134 | Xml. | |
51df396b | 135 | |
eb485fb3 JB |
136 | %package -n Qt5Bootstrap-devel |
137 | Summary: Qt5 Bootstrap library - development files | |
138 | Summary(pl.UTF-8): Biblioteka Qt5 Bootstrap - pliki programistyczne | |
139 | Group: Development/Libraries | |
58f72d3f WF |
140 | # for (subset of) Qt5Core headers |
141 | Requires: Qt5Core-devel = %{version}-%{release} | |
eb485fb3 JB |
142 | Requires: zlib-devel |
143 | ||
144 | %description -n Qt5Bootstrap-devel | |
145 | Qt5 Bootstrap library (minimal part of Qt5 Core) - development files. | |
146 | ||
147 | %description -n Qt5Bootstrap-devel -l pl.UTF-8 | |
148 | Biblioteka Qt5 Bootstrap (minimalna część Qt5 Core) - pliki | |
149 | programistyczne. | |
150 | ||
151 | %package -n Qt5Concurrent | |
152 | Summary: Qt5 Concurrent library | |
153 | Summary(pl.UTF-8): Biblioteka Qt5 Concurrent | |
154 | Group: Libraries | |
155 | Requires: Qt5Core = %{version}-%{release} | |
156 | ||
157 | %description -n Qt5Concurrent | |
158 | The Qt5 Concurrent library provides high-level APIs that make it | |
159 | possible to write multi-threaded programs without using low-level | |
160 | threading primitives. | |
161 | ||
162 | %description -n Qt5Concurrent -l pl.UTF-8 | |
163 | Biblioteka Qt5 Concurrent udostępnia wysokopoziomowe API umożliwiające | |
164 | pisanie wielowątkowych programów bez wykorzystywania niskopoziomowych | |
165 | elementów związanych z wątkami. | |
166 | ||
167 | %package -n Qt5Concurrent-devel | |
168 | Summary: Qt5 Concurrent library - development files | |
169 | Summary(pl.UTF-8): Biblioteka Qt5 Concurrent - pliki programistyczne | |
170 | Group: Development/Libraries | |
171 | Requires: Qt5Concurrent = %{version}-%{release} | |
172 | Requires: Qt5Core-devel = %{version}-%{release} | |
173 | ||
174 | %description -n Qt5Concurrent-devel | |
175 | Header files for Qt5 Concurrent library. | |
176 | ||
177 | %description -n Qt5Concurrent-devel -l pl.UTF-8 | |
178 | Pliki nagłówkowe biblioteki Qt5 Concurrent. | |
179 | ||
180 | %package -n Qt5Core | |
181 | Summary: Qt5 Core library | |
182 | Summary(pl.UTF-8): Biblioteka Qt5 Core | |
183 | Group: Libraries | |
184 | Requires: pcre16 >= 8.30 | |
185 | Obsoletes: qt5-qtbase | |
186 | ||
187 | %description -n Qt5Core | |
188 | Qt5 Core library provides core non-GUI functionality. | |
189 | ||
190 | %description -n Qt5Core -l pl.UTF-8 | |
191 | Biblioteka Qt5 Core zawiera podstawową funkcjonalność nie związaną z | |
192 | graficznym interfejsem użytkownika (GUI). | |
193 | ||
194 | %package -n Qt5Core-devel | |
195 | Summary: Qt5 Core library - development files | |
196 | Summary(pl.UTF-8): Biblioteka Qt5 Core - pliki programistyczne | |
197 | Group: Development/Libraries | |
198 | Requires: Qt5Core = %{version}-%{release} | |
199 | Requires: glib2-devel >= 2.0 | |
200 | Requires: libicu-devel | |
201 | Requires: pcre16-devel >= 8.30 | |
202 | Requires: zlib-devel | |
203 | Obsoletes: qt5-qtbase-devel | |
204 | ||
205 | %description -n Qt5Core-devel | |
206 | Header files for Qt5 Core library. | |
207 | ||
208 | %description -n Qt5Core-devel -l pl.UTF-8 | |
209 | Pliki nagłówkowe biblioteki Qt5 Core. | |
210 | ||
211 | %package -n Qt5DBus | |
212 | Summary: Qt5 DBus library | |
213 | Summary(pl.UTF-8): Biblioteka Qt5 DBus | |
214 | Group: Libraries | |
215 | Requires: Qt5Core = %{version}-%{release} | |
216 | Requires: dbus-libs >= 1.2 | |
217 | ||
218 | %description -n Qt5DBus | |
219 | The Qt5 D-Bus library is a Unix-only library that you can use to | |
220 | perform Inter-Process Communication using the D-Bus protocol. | |
221 | ||
222 | %description -n Qt5DBus -l pl.UTF-8 | |
223 | Biblioteka Qt5 D-Bus to wyłącznie uniksowa biblioteka pozwalająca na | |
224 | komunikację międzyprocesową (IPC) przy użyciu protokołu D-Bus. | |
225 | ||
226 | %package -n Qt5DBus-devel | |
227 | Summary: Qt5 DBus library - development files | |
228 | Summary(pl.UTF-8): Biblioteka Qt5 DBus - pliki programistyczne | |
229 | Group: Development/Libraries | |
230 | Requires: Qt5Core-devel = %{version}-%{release} | |
231 | Requires: Qt5DBus = %{version}-%{release} | |
232 | Requires: dbus-devel >= 1.2 | |
233 | ||
234 | %description -n Qt5DBus-devel | |
235 | Header files for Qt5 DBus library. | |
236 | ||
237 | %description -n Qt5DBus-devel -l pl.UTF-8 | |
238 | Pliki nagłówkowe biblioteki Qt5 DBus. | |
239 | ||
240 | %package -n Qt5Gui | |
241 | Summary: Qt5 Gui library | |
242 | Summary(pl.UTF-8): Biblioteka Qt5 Gui | |
243 | Group: Libraries | |
244 | Requires: Qt5Core = %{version}-%{release} | |
07c22e07 JB |
245 | # for: |
246 | # - ibus platforminputcontext plugin | |
247 | # - qxcb platform plugin | |
248 | Requires: Qt5DBus = %{version}-%{release} | |
a33ed680 JB |
249 | # for qxcb platform plugin |
250 | Requires: libxcb >= 1.10 | |
251 | # for compose platforminputcontext plugin | |
252 | Requires: xorg-lib-libxkbcommon >= 0.4.1 | |
eb485fb3 JB |
253 | |
254 | %description -n Qt5Gui | |
255 | The Qt5 GUI library provides the basic enablers for graphical | |
256 | applications written with Qt 5. | |
257 | ||
258 | %description -n Qt5Gui -l pl | |
259 | Biblioteka Qt5 Gui udostępnia podstawową funkcjonalność dla | |
260 | graficznych aplikacji napisanych z użyciem Qt 5. | |
261 | ||
07c22e07 JB |
262 | %package -n Qt5Gui-generic-tslib |
263 | Summary: Qt5 Gui generic input plugin for TSlib (touchscreen panel events) | |
264 | Summary(pl.UTF-8): Ogólna wtyczka wejścia Qt5 Gui z TSlib (zdarzeń z paneli dotykowych) | |
265 | Group: Libraries | |
266 | Requires: Qt5Gui = %{version}-%{release} | |
267 | ||
268 | %description -n Qt5Gui-generic-tslib | |
269 | Qt5 Gui generic input plugin for TSlib (touchscreen panel events). | |
270 | ||
271 | %description -n Qt5Gui-generic-tslib -l pl.UTF-8 | |
272 | Ogólna wtyczka wejścia Qt5 Gui z TSlib (zdarzeń z paneli dotykowych). | |
273 | ||
274 | %package -n Qt5Gui-platform-directfb | |
275 | Summary: Qt5 Gui platform plugin for DirectFB | |
276 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui dla DirectFB | |
277 | Group: Libraries | |
278 | Requires: Qt5Gui = %{version}-%{release} | |
279 | ||
280 | %description -n Qt5Gui-platform-directfb | |
281 | Qt5 Gui platform plugin for DirectFB. | |
282 | ||
283 | %description -n Qt5Gui-platform-directfb -l pl.UTF-8 | |
284 | Wtyczka platformy Qt5 Gui dla DirectFB. | |
285 | ||
286 | %package -n Qt5Gui-platform-kms | |
287 | Summary: Qt5 Gui platform plugin for KMS | |
288 | Summary(pl.UTF-8): Wtyczka platformy Qt5 Gui dla KMS | |
289 | Group: Libraries | |
290 | Requires: Qt5Gui = %{version}-%{release} | |
291 | ||
292 | %description -n Qt5Gui-platform-kms | |
293 | Qt5 Gui platform plugin for KMS. | |
294 | ||
295 | %description -n Qt5Gui-platform-kms -l pl.UTF-8 | |
296 | Wtyczka platformy Qt5 Gui dla KMS. | |
297 | ||
298 | %package -n Qt5Gui-platform-egl | |
299 | Summary: Qt5 Gui platform plugins for EGL | |
300 | Summary(pl.UTF-8): Wtyczki platform Qt5 Gui dla EGL | |
301 | Group: Libraries | |
302 | Requires: Qt5Gui = %{version}-%{release} | |
303 | ||
304 | %description -n Qt5Gui-platform-egl | |
305 | Qt5 Gui platform plugins for EGL. | |
306 | ||
307 | %description -n Qt5Gui-platform-egl -l pl.UTF-8 | |
308 | Wtyczki platform Qt5 Gui dla EGL. | |
309 | ||
310 | %package -n Qt5Gui-platformtheme-gtk2 | |
311 | Summary: Qt5 Gui platform theme plugin for GTK+ 2.x | |
312 | Summary(pl.UTF-8): Wtyczka motywów platform Qt5 Gui dla GTK+ 2.x | |
313 | Group: Libraries | |
314 | Requires: Qt5Gui = %{version}-%{release} | |
315 | ||
316 | %description -n Qt5Gui-platformtheme-gtk2 | |
317 | Qt5 Gui platform theme plugin for GTK+ 2.x. | |
318 | ||
319 | %description -n Qt5Gui-platformtheme-gtk2 -l pl.UTF-8 | |
320 | Wtyczka motywów platform Qt5 Gui dla GTK+ 2.x. | |
321 | ||
eb485fb3 JB |
322 | %package -n Qt5Gui-devel |
323 | Summary: Qt5 Gui library - development files | |
324 | Summary(pl.UTF-8): Biblioteka Qt5 Gui - pliki programistyczne | |
325 | Group: Development/Libraries | |
326 | Requires: OpenGL-devel | |
327 | Requires: Qt5Core-devel = %{version}-%{release} | |
328 | Requires: Qt5Gui = %{version}-%{release} | |
0ec59eaa JR |
329 | %{?with_directfb:Requires: Qt5Gui-platform-directfb = %{version}-%{release}} |
330 | %{?with_egl:Requires: Qt5Gui-platform-egl = %{version}-%{release}} | |
331 | %{?with_kms:Requires: Qt5Gui-platform-kms = %{version}-%{release}} | |
eb485fb3 JB |
332 | Requires: libpng-devel |
333 | ||
334 | %description -n Qt5Gui-devel | |
335 | Header files for Qt5 Gui library. | |
336 | ||
337 | %description -n Qt5Gui-devel -l pl.UTF-8 | |
338 | Pliki nagłówkowe biblioteki Qt5 Gui. | |
339 | ||
340 | %package -n Qt5Network | |
341 | Summary: Qt5 Network library | |
342 | Summary(pl.UTF-8): Biblioteka Qt5 Network | |
343 | Group: Libraries | |
344 | Requires: Qt5Core = %{version}-%{release} | |
07c22e07 JB |
345 | # for bearer plugins (qconnman, qnm): |
346 | Requires: Qt5DBus = %{version}-%{release} | |
eb485fb3 JB |
347 | |
348 | %description -n Qt5Network | |
349 | The Qt5 Network library provides classes to make network programming | |
350 | easier and portable. | |
351 | ||
352 | %description -n Qt5Network -l pl.UTF-8 | |
353 | Biblioteka Qt5 Network udostępnia klasy czyniące programowanie | |
354 | sieciowe łatwiejszym i przenośnym. | |
355 | ||
356 | %package -n Qt5Network-devel | |
357 | Summary: Qt5 Network library - development files | |
358 | Summary(pl.UTF-8): Biblioteka Qt5 Network - pliki programistyczne | |
359 | Group: Development/Libraries | |
360 | Requires: Qt5Core-devel = %{version}-%{release} | |
361 | Requires: Qt5Network = %{version}-%{release} | |
362 | Requires: openssl-devel | |
363 | ||
364 | %description -n Qt5Network-devel | |
365 | Header files for Qt5 Network library. | |
366 | ||
367 | %description -n Qt5Network-devel -l pl.UTF-8 | |
368 | Pliki nagłówkowe biblioteki Qt5 Network. | |
369 | ||
370 | %package -n Qt5OpenGL | |
371 | Summary: Qt5 OpenGL library | |
372 | Summary(pl.UTF-8): Biblioteka Qt5 OpenGL | |
373 | Group: Libraries | |
374 | Requires: Qt5Core = %{version}-%{release} | |
375 | Requires: Qt5Gui = %{version}-%{release} | |
376 | Requires: Qt5Widgets = %{version}-%{release} | |
377 | ||
378 | %description -n Qt5OpenGL | |
379 | The Qt5 OpenGL library offers classes that make it easy to use OpenGL | |
380 | in Qt 5 applications. | |
381 | ||
382 | %description -n Qt5OpenGL -l pl.UTF-8 | |
383 | Biblioteka Qt5 OpenGL oferuje klasy ułatwiające wykorzystywanie | |
384 | OpenGL-a w aplikacjach Qt 5. | |
385 | ||
386 | %package -n Qt5OpenGL-devel | |
387 | Summary: Qt5 OpenGL library - development files | |
388 | Summary(pl.UTF-8): Biblioteka Qt5 OpenGL - pliki programistyczne | |
389 | Group: Development/Libraries | |
390 | Requires: OpenGL-devel | |
391 | Requires: Qt5Core-devel = %{version}-%{release} | |
392 | Requires: Qt5Gui-devel = %{version}-%{release} | |
393 | Requires: Qt5OpenGL = %{version}-%{release} | |
394 | Requires: Qt5Widgets-devel = %{version}-%{release} | |
395 | ||
396 | %description -n Qt5OpenGL-devel | |
397 | Header files for Qt5 OpenGL library. | |
398 | ||
399 | %description -n Qt5OpenGL-devel -l pl.UTF-8 | |
400 | Pliki nagłówkowe biblioteki Qt5 OpenGL. | |
401 | ||
402 | %package -n Qt5OpenGLExtensions-devel | |
403 | Summary: Qt5 OpenGLExtensions library - development files | |
404 | Summary(pl.UTF-8): Biblioteka Qt5 OpenGLExtensions - pliki programistyczne | |
405 | Group: Development/Libraries | |
406 | Requires: OpenGL-devel | |
407 | Requires: Qt5Core-devel = %{version}-%{release} | |
408 | Requires: Qt5Gui-devel = %{version}-%{release} | |
409 | ||
410 | %description -n Qt5OpenGLExtensions-devel | |
411 | Qt5 OpenGLExtensions library (development files). | |
412 | ||
413 | %description -n Qt5OpenGLExtensions-devel -l pl.UTF-8 | |
414 | Biblioteka Qt5 OpenGL Extensions - obsługa rozszerzeń OpenGL (pliki | |
415 | programistyczne). | |
416 | ||
417 | %package -n Qt5PlatformSupport-devel | |
418 | Summary: Qt5 PlatformSupport library - development files | |
419 | Summary(pl.UTF-8): Biblioteka Qt5 PlatformSupport - pliki programistyczne | |
51df396b | 420 | Group: X11/Development/Libraries |
eb485fb3 JB |
421 | Requires: OpenGL-devel |
422 | Requires: Qt5Core-devel = %{version}-%{release} | |
423 | Requires: Qt5DBus-devel = %{version}-%{release} | |
424 | Requires: Qt5Gui-devel = %{version}-%{release} | |
425 | Requires: fontconfig-devel | |
426 | Requires: freetype-devel | |
427 | Requires: xorg-lib-libX11-devel | |
428 | Requires: xorg-lib-libXrender-devel | |
429 | Requires: xorg-lib-libXext-devel | |
430 | Requires: udev-devel | |
431 | ||
432 | %description -n Qt5PlatformSupport-devel | |
433 | Qt5 PlatformSupport library (development files). | |
434 | ||
435 | %description -n Qt5OpenGLExtensions-devel -l pl.UTF-8 | |
436 | Biblioteka Qt5 PlatformSupport - obsługa platformy (pliki | |
437 | programistyczne). | |
438 | ||
439 | %package -n Qt5PrintSupport | |
440 | Summary: Qt5 PrintSupport library | |
441 | Summary(pl.UTF-8): Biblioteka Qt5 PrintSupport | |
442 | Group: Libraries | |
443 | Requires: Qt5Core = %{version}-%{release} | |
444 | Requires: Qt5Gui = %{version}-%{release} | |
445 | Requires: Qt5Widgets = %{version}-%{release} | |
446 | ||
447 | %description -n Qt5PrintSupport | |
448 | The Qt5 PrintSupport library provides classes to make printing easier | |
449 | and portable. | |
450 | ||
451 | %description -n Qt5PrintSupport -l pl.UTF-8 | |
452 | Biblioteka Qt5 PrintSupport udostępnia klasy czyniące drukowanie | |
453 | łatwiejszym i bardziej przenośnym. | |
454 | ||
455 | %package -n Qt5PrintSupport-devel | |
456 | Summary: Qt5 PrintSupport library - development files | |
457 | Summary(pl.UTF-8): Biblioteka Qt5 PrintSupport - pliki programistyczne | |
458 | Group: Development/Libraries | |
459 | Requires: OpenGL-devel | |
460 | Requires: Qt5Core-devel = %{version}-%{release} | |
461 | Requires: Qt5Gui-devel = %{version}-%{release} | |
462 | Requires: Qt5PrintSupport = %{version}-%{release} | |
463 | Requires: Qt5Widgets-devel = %{version}-%{release} | |
464 | ||
465 | %description -n Qt5PrintSupport-devel | |
466 | Header files for Qt5 PrintSupport library. | |
467 | ||
468 | %description -n Qt5PrintSupport-devel -l pl.UTF-8 | |
469 | Pliki nagłówkowe biblioteki Qt5 PrintSupport. | |
470 | ||
471 | %package -n Qt5Sql | |
472 | Summary: Qt5 Sql library | |
473 | Summary(pl.UTF-8): Biblioteka Qt5 Sql | |
474 | Group: Libraries | |
475 | Requires: Qt5Core = %{version}-%{release} | |
476 | ||
477 | %description -n Qt5Sql | |
478 | The Qt5 Sql library provides a driver layer, SQL API layer, and a user | |
479 | interface layer for SQL databases. | |
480 | ||
481 | %description -n Qt5Sql -l pl.UTF-8 | |
482 | Biblioteka Qt5 Sql udostępnia warstwę sterowników, warstwę API SQL | |
483 | oraz warstwę interfejsu użytkownika dla baz danych SQL. | |
484 | ||
485 | %package -n Qt5Sql-devel | |
486 | Summary: Qt5 Sql library - development files | |
487 | Summary(pl.UTF-8): Biblioteka Qt5 Sql - pliki programistyczne | |
488 | Group: Development/Libraries | |
489 | Requires: Qt5Core-devel = %{version}-%{release} | |
490 | Requires: Qt5Sql = %{version}-%{release} | |
491 | ||
492 | %description -n Qt5Sql-devel | |
493 | Header files for Qt5 Sql library. | |
494 | ||
495 | %description -n Qt5Sql-devel -l pl.UTF-8 | |
496 | Pliki nagłówkowe biblioteki Qt5 Sql. | |
51df396b | 497 | |
07c22e07 JB |
498 | %package -n Qt5Sql-sqldriver-db2 |
499 | Summary: Qt5 Sql driver for IBM DB2 database | |
500 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych IBM DB2 | |
501 | Group: Libraries | |
502 | Requires: Qt5Sql = %{version}-%{release} | |
503 | ||
504 | %description -n Qt5Sql-sqldriver-db2 | |
505 | Qt5 Sql driver for IBM DB2 database. | |
506 | ||
507 | %description -n Qt5Sql-sqldriver-db2 -l pl.UTF-8 | |
508 | Sterownik Qt5 Sql dla bazy danych IBM DB2. | |
509 | ||
510 | %package -n Qt5Sql-sqldriver-ibase | |
511 | Summary: Qt5 Sql driver for Firebird/InterBase database | |
512 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych Firebird/InterBase | |
513 | Group: Libraries | |
514 | Requires: Qt5Sql = %{version}-%{release} | |
515 | ||
516 | %description -n Qt5Sql-sqldriver-ibase | |
517 | Qt5 Sql driver for Firebird/InterBase database. | |
518 | ||
519 | %description -n Qt5Sql-sqldriver-ibase -l pl.UTF-8 | |
520 | Sterownik Qt5 Sql dla bazy danych Firebird/InterBase. | |
521 | ||
522 | %package -n Qt5Sql-sqldriver-sqlite3 | |
523 | Summary: Qt5 Sql driver for SQLite 3.x database | |
524 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych SQLite 3.x | |
525 | Group: Libraries | |
526 | Requires: Qt5Sql = %{version}-%{release} | |
527 | ||
528 | %description -n Qt5Sql-sqldriver-sqlite3 | |
529 | Qt5 Sql driver for SQLite 3.x database. | |
530 | ||
531 | %description -n Qt5Sql-sqldriver-sqlite3 -l pl.UTF-8 | |
532 | Sterownik Qt5 Sql dla bazy danych SQLite 3.x. | |
533 | ||
534 | %package -n Qt5Sql-sqldriver-sqlite2 | |
535 | Summary: Qt5 Sql driver for SQLite 2.x database | |
536 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych SQLite 2.x | |
537 | Group: Libraries | |
538 | Requires: Qt5Sql = %{version}-%{release} | |
539 | ||
540 | %description -n Qt5Sql-sqldriver-sqlite2 | |
541 | Qt5 Sql driver for SQLite 2.x database. | |
542 | ||
543 | %description -n Qt5Sql-sqldriver-sqlite2 -l pl.UTF-8 | |
544 | Sterownik Qt5 Sql dla bazy danych SQLite 2.x. | |
545 | ||
546 | %package -n Qt5Sql-sqldriver-mysql | |
547 | Summary: Qt5 Sql driver for MySQL database | |
548 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych MySQL | |
549 | Group: Libraries | |
550 | Requires: Qt5Sql = %{version}-%{release} | |
551 | ||
552 | %description -n Qt5Sql-sqldriver-mysql | |
553 | Qt5 Sql driver for MySQL database. | |
554 | ||
555 | %description -n Qt5Sql-sqldriver-mysql -l pl.UTF-8 | |
556 | Sterownik Qt5 Sql dla bazy danych MySQL. | |
557 | ||
558 | %package -n Qt5Sql-sqldriver-oci | |
559 | Summary: Qt5 Sql driver for Oracle database (using OCI interface) | |
560 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych Oracle (wykorzystujący interfejs OCI) | |
561 | Group: Libraries | |
562 | Requires: Qt5Sql = %{version}-%{release} | |
563 | ||
564 | %description -n Qt5Sql-sqldriver-oci | |
565 | Qt5 Sql driver for Oracle database (using OCI interface). | |
566 | ||
567 | %description -n Qt5Sql-sqldriver-oci -l pl.UTF-8 | |
568 | Sterownik Qt5 Sql dla bazy danych Oracle (wykorzystujący interfejs | |
569 | OCI). | |
570 | ||
571 | %package -n Qt5Sql-sqldriver-odbc | |
572 | Summary: Qt5 Sql driver for ODBC databases | |
573 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla baz danych ODBC | |
574 | Group: Libraries | |
575 | Requires: Qt5Sql = %{version}-%{release} | |
576 | ||
577 | %description -n Qt5Sql-sqldriver-odbc | |
578 | Qt5 Sql driver for ODBC databases. | |
579 | ||
580 | %description -n Qt5Sql-sqldriver-odbc -l pl.UTF-8 | |
581 | Sterownik Qt5 Sql dla baz danych ODBC. | |
582 | ||
583 | %package -n Qt5Sql-sqldriver-pgsql | |
584 | Summary: Qt5 Sql driver for PostgreSQL database | |
585 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych PostgreSQL | |
586 | Group: Libraries | |
587 | Requires: Qt5Sql = %{version}-%{release} | |
588 | ||
589 | %description -n Qt5Sql-sqldriver-pgsql | |
590 | Qt5 Sql driver for PostgreSQL database. | |
591 | ||
592 | %description -n Qt5Sql-sqldriver-pgsql -l pl.UTF-8 | |
593 | Sterownik Qt5 Sql dla bazy danych PostgreSQL. | |
594 | ||
595 | %package -n Qt5Sql-sqldriver-tds | |
596 | Summary: Qt5 Sql driver for Sybase/MS SQL database (using TDS interface) | |
597 | Summary(pl.UTF-8): Sterownik Qt5 Sql dla bazy danych Sybase/MS SQL (wykorzystujący interfejs TDS) | |
598 | Group: Libraries | |
599 | Requires: Qt5Sql = %{version}-%{release} | |
600 | ||
601 | %description -n Qt5Sql-sqldriver-tds | |
602 | Qt5 Sql driver for Sybase/MS SQL database (using TDS interface). | |
603 | ||
604 | %description -n Qt5Sql-sqldriver-tds -l pl.UTF-8 | |
605 | Sterownik Qt5 Sql dla bazy danych Sybase/MS SQL (wykorzystujący | |
606 | interfejs TDS). | |
607 | ||
eb485fb3 JB |
608 | %package -n Qt5Test |
609 | Summary: Qt5 Test library | |
610 | Summary(pl.UTF-8): Biblioteka Qt5 Test | |
611 | Group: Libraries | |
612 | Requires: Qt5Core = %{version}-%{release} | |
9452387a | 613 | |
eb485fb3 JB |
614 | %description -n Qt5Test |
615 | The Qt5 Test library provides classes for unit testing Qt 5 | |
616 | applications and libraries. | |
617 | ||
618 | %description -n Qt5Test -l pl.UTF-8 | |
619 | Biblioteka Qt5 Test udostępnia klasy do testów jednostkowych aplikacji | |
620 | oraz bibliotek Qt 5. | |
621 | ||
622 | %package -n Qt5Test-devel | |
623 | Summary: Qt5 Test library - development files | |
624 | Summary(pl.UTF-8): Biblioteka Qt5 Test - pliki programistyczne | |
625 | Group: Development/Libraries | |
626 | Requires: Qt5Core-devel = %{version}-%{release} | |
627 | Requires: Qt5Test = %{version}-%{release} | |
628 | ||
629 | %description -n Qt5Test-devel | |
630 | Header files for Qt5 Test library. | |
631 | ||
632 | %description -n Qt5Test-devel -l pl.UTF-8 | |
633 | Pliki nagłówkowe biblioteki Qt5 Test. | |
634 | ||
635 | %package -n Qt5Widgets | |
636 | Summary: Qt5 Widgets library | |
637 | Summary(pl.UTF-8): Biblioteka Qt5 Widgets | |
638 | Group: X11/Libraries | |
639 | Requires: Qt5Core = %{version}-%{release} | |
640 | Requires: Qt5Gui = %{version}-%{release} | |
641 | ||
642 | %description -n Qt5Widgets | |
643 | The Qt5 Widgets library extends Qt 5 GUI with C++ widget | |
07c22e07 JB |
644 | functionality. This package contains also qtaccessiblewidgets plugin |
645 | for Qt5 Gui library. | |
eb485fb3 JB |
646 | |
647 | %description -n Qt5Widgets -l pl.UTF-8 | |
648 | Biblioteka Qt5 Widgets rozszerza graficzny interfejs Qt 5 o | |
07c22e07 JB |
649 | funkcjonalność widgetów C++. Pakiet zawiera także wtyczkę |
650 | qtaccessiblewidgets dla biblioteki Qt5 Gui. | |
eb485fb3 JB |
651 | |
652 | %package -n Qt5Widgets-devel | |
653 | Summary: Qt5 Widgets library - development files | |
654 | Summary(pl.UTF-8): Biblioteka Qt5 Widgets - pliki programistyczne | |
655 | Group: X11/Development/Libraries | |
656 | Requires: OpenGL-devel | |
657 | Requires: Qt5Core-devel = %{version}-%{release} | |
658 | Requires: Qt5Gui-devel = %{version}-%{release} | |
659 | Requires: Qt5Widgets = %{version}-%{release} | |
660 | Requires: xorg-lib-libX11-devel | |
661 | Requires: xorg-lib-libXext-devel | |
662 | ||
663 | %description -n Qt5Widgets-devel | |
664 | Header files for Qt5 Widgets library. | |
665 | ||
666 | %description -n Qt5Widgets-devel -l pl.UTF-8 | |
667 | Pliki nagłówkowe biblioteki Qt5 Widgets. | |
668 | ||
669 | %package -n Qt5Xml | |
670 | Summary: Qt5 Xml library | |
671 | Summary(pl.UTF-8): Biblioteka Qt5 Xml | |
672 | Group: Libraries | |
673 | Requires: Qt5Core = %{version}-%{release} | |
674 | ||
675 | %description -n Qt5Xml | |
676 | The Qt5 Xml library provides C++ implementations of the SAX and DOM | |
677 | standards for XML. | |
678 | ||
679 | %description -n Qt5Xml -l pl.UTF-8 | |
680 | Biblioteka Qt5 Xml udostępnia implementację w C++ standardów SAX oraz | |
681 | DOM dla formatu XML. | |
682 | ||
683 | %package -n Qt5Xml-devel | |
684 | Summary: Qt5 Xml library - development files | |
685 | Summary(pl.UTF-8): Biblioteka Qt5 Xml - pliki programistyczne | |
686 | Group: Development/Libraries | |
687 | Requires: Qt5Core-devel = %{version}-%{release} | |
688 | Requires: Qt5Xml = %{version}-%{release} | |
689 | ||
690 | %description -n Qt5Xml-devel | |
691 | Header files for Qt5 Xml library. | |
692 | ||
693 | %description -n Qt5Xml-devel -l pl.UTF-8 | |
694 | Pliki nagłówkowe biblioteki Qt5 Xml. | |
51df396b | 695 | |
66205aa8 JB |
696 | %package -n qt5-doc-common |
697 | Summary: Common part of Qt5 documentation | |
698 | Summary(pl.UTF-8): Część wspólna dokumentacji do Qt5 | |
699 | Group: Documentation | |
700 | %if "%{_rpmversion}" >= "5" | |
701 | BuildArch: noarch | |
702 | %endif | |
703 | ||
704 | %description -n qt5-doc-common | |
705 | Common part of Qt5 documentation, global for all components. | |
706 | ||
707 | %description -n qt5-doc-common -l pl.UTF-8 | |
708 | Część wspólna dokumentacji do Qt5 ("global", dla wszystkich | |
709 | elementów). | |
710 | ||
b18d64cc | 711 | %package doc |
7aae88f0 JB |
712 | Summary: HTML documentation for Qt5 application framework base components |
713 | Summary(pl.UTF-8): Dokumentacja HTML do podstawowych komponentów szkieletu aplikacji Qt5 | |
b18d64cc | 714 | Group: Documentation |
66205aa8 | 715 | Requires: qt5-doc-common = %{version}-%{release} |
168d1e38 ER |
716 | %if "%{_rpmversion}" >= "5" |
717 | BuildArch: noarch | |
718 | %endif | |
b18d64cc WF |
719 | |
720 | %description doc | |
7aae88f0 | 721 | HTML documentation for Qt5 application framework base components. |
9452387a JB |
722 | |
723 | %description doc -l pl.UTF-8 | |
7aae88f0 JB |
724 | Dokumentacja HTML do podstawowych komponentów szkieletu aplikacji Qt5. |
725 | ||
726 | %package doc-qch | |
727 | Summary: QCH documentation for Qt5 application framework base components | |
728 | Summary(pl.UTF-8): Dokumentacja QCH do podstawowych komponentów szkieletu aplikacji Qt5 | |
729 | Group: Documentation | |
730 | Requires: qt5-doc-common = %{version}-%{release} | |
731 | %if "%{_rpmversion}" >= "5" | |
732 | BuildArch: noarch | |
733 | %endif | |
734 | ||
735 | %description doc-qch | |
736 | QCH documentation for Qt5 application framework base components. | |
737 | ||
738 | %description doc-qch -l pl.UTF-8 | |
739 | Dokumentacja QCH do podstawowych komponentów szkieletu aplikacji Qt5. | |
b18d64cc | 740 | |
51df396b | 741 | %package examples |
9452387a JB |
742 | Summary: Examples for Qt5 application framework base components |
743 | Summary(pl.UTF-8): Przykłady do podstawowych komponentów szkieletu aplikacji Qt5 | |
51df396b | 744 | Group: X11/Development/Libraries |
168d1e38 ER |
745 | %if "%{_rpmversion}" >= "5" |
746 | BuildArch: noarch | |
747 | %endif | |
51df396b WF |
748 | |
749 | %description examples | |
9452387a JB |
750 | Examples for Qt5 application framework base components. |
751 | ||
752 | %description examples -l pl.UTF-8 | |
753 | Przykłady do podstawowych komponentów szkieletu aplikacji Qt5. | |
754 | ||
755 | %package -n qt5-build | |
756 | Summary: Qt5 build tools | |
757 | Summary(pl.UTF-8): Narzędzia do budowania dla Qt4 | |
758 | Group: Development/Tools | |
9452387a JB |
759 | |
760 | %description -n qt5-build | |
761 | This package includes the Qt resource compiler (rcc), meta objects | |
762 | compiler (moc), user interface compiler (uic) etc. | |
763 | ||
764 | %description -n qt5-build -l pl.UTF-8 | |
765 | Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator | |
766 | metaobiektów (moc), kompilator interfejsów użytkownika (uic) i podobne | |
767 | narzędzia. | |
768 | ||
769 | %package -n qt5-qmake | |
770 | Summary: Qt5 makefile generator | |
771 | Summary(pl.UTF-8): Generator plików makefile dla aplikacji Qt5 | |
772 | Group: Development/Tools | |
773 | ||
774 | %description -n qt5-qmake | |
775 | Qt5 makefile generator. | |
776 | ||
777 | %description -n qt5-qmake -l pl.UTF-8 | |
778 | Generator plików makefile dla aplikacji Qt5. | |
51df396b WF |
779 | |
780 | %prep | |
781 | %setup -q -n %{orgname}-opensource-src-%{version} | |
782 | ||
eb485fb3 | 783 | %{__sed} -i -e 's,usr/X11R6/,usr/,g' mkspecs/linux-g++-64/qmake.conf |
51df396b WF |
784 | |
785 | # change QMAKE FLAGS to build | |
786 | %{__sed} -i -e ' | |
9452387a JB |
787 | s|^\(QMAKE_COMPILER *\)=.*gcc|\1= %{__cc}|; |
788 | s|^\(QMAKE_CC *\)=.*gcc|\1= %{__cc}|; | |
789 | s|^\(QMAKE_CXX *\)=.*g++|\1= %{__cxx}|; | |
790 | s|^QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO .*|QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -g %{rpmcppflags} %{rpmcflags}|; | |
791 | s|^QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO .*|QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -g %{rpmcppflags} %{rpmcxxflags}|; | |
51df396b | 792 | ' mkspecs/common/g++-base.conf |
51df396b | 793 | %{__sed} -i -e ' |
9452387a JB |
794 | s|^\(QMAKE_CFLAGS_RELEASE *\)+=.*|\1+= %{rpmcppflags} %{rpmcflags}|; |
795 | s|^\(QMAKE_CXXFLAGS_RELEASE *\)+=.*|\1+= %{rpmcppflags} %{rpmcxxflags}|; | |
796 | s|^\(QMAKE_CFLAGS_DEBUG *\)+=.*|\1+= %{debugcflags}|; | |
797 | s|^\(QMAKE_CXXFLAGS_DEBUG *\)+=.*|\1+= %{debugcflags}|; | |
798 | s|^\(QMAKE_LFLAGS *\)+=.*|\1+= %{rpmldflags}|; | |
799 | ' mkspecs/common/gcc-base.conf | |
51df396b | 800 | |
9452387a | 801 | # define QMAKE_STRIP to true, so we get useful -debuginfo pkgs |
51df396b | 802 | %{__sed} -i -e ' |
9452387a | 803 | s|^\(QMAKE_STRIP *\)=.*|\1= :|; |
51df396b WF |
804 | ' mkspecs/common/linux.conf |
805 | ||
806 | %build | |
807 | # pass OPTFLAGS to build qmake itself with optimization | |
808 | export OPTFLAGS="%{rpmcflags}" | |
809 | export PATH=$PWD/bin:$PATH | |
810 | ||
9452387a | 811 | # DEFAULT OPTIONS FOR ALL BUILDS |
51df396b WF |
812 | COMMONOPT=" \ |
813 | -confirm-license \ | |
814 | -opensource \ | |
815 | -verbose \ | |
9452387a JB |
816 | %{?debug:-debug} \ |
817 | %{!?debug:-release} \ | |
818 | -prefix %{qt5dir} \ | |
819 | -bindir %{qt5dir}/bin \ | |
51df396b WF |
820 | -docdir %{_docdir}/qt5-doc \ |
821 | -headerdir %{_includedir}/qt5 \ | |
822 | -libdir %{_libdir} \ | |
9452387a | 823 | -plugindir %{qt5dir}/plugins \ |
51df396b | 824 | -datadir %{_datadir}/qt5 \ |
9452387a | 825 | -translationdir %{_localedir} \ |
51df396b WF |
826 | -sysconfdir %{_sysconfdir}/qt5 \ |
827 | -examplesdir %{_examplesdir}/qt5 \ | |
9452387a JB |
828 | %if %{with mysql} |
829 | -I/usr/include/mysql \ | |
830 | %endif | |
831 | %if %{with pgsql} | |
832 | -I/usr/include/postgresql/server \ | |
833 | %endif | |
834 | -%{!?with_cups:no-}cups \ | |
835 | -%{!?with_directfb:no-}directfb \ | |
836 | -dbus-linked \ | |
837 | -fontconfig \ | |
51df396b | 838 | -glib \ |
9452387a JB |
839 | -%{!?with_gtk:no-}gtkstyle \ |
840 | -iconv \ | |
841 | -icu \ | |
842 | -largefile \ | |
843 | -nis \ | |
ce510087 JB |
844 | %{!?with_egl:-no-eglfs} \ |
845 | %{!?with_kms:-no-kms} \ | |
51df396b | 846 | -no-rpath \ |
9452387a | 847 | -no-separate-debug-info \ |
51df396b WF |
848 | %{!?with_sse2:-no-sse2} \ |
849 | %{!?with_sse3:-no-sse3} \ | |
850 | %{!?with_ssse3:-no-ssse3} \ | |
851 | %{!?with_sse41:-no-sse4.1} \ | |
852 | %{!?with_sse42:-no-sse4.2} \ | |
853 | %{!?with_avx:-no-avx} \ | |
9452387a JB |
854 | %{!?with_avx2:-no-avx2} \ |
855 | -openssl-linked \ | |
856 | -optimized-qmake \ | |
857 | -%{!?with_pch:no-}pch \ | |
51df396b | 858 | -reduce-relocations \ |
9452387a | 859 | -sm \ |
51df396b WF |
860 | -system-freetype \ |
861 | -system-libjpeg \ | |
862 | -system-libpng \ | |
863 | -system-pcre \ | |
9452387a | 864 | -system-sqlite \ |
51df396b WF |
865 | -system-xcb \ |
866 | -system-xkbcommon \ | |
867 | -system-zlib \ | |
9452387a | 868 | %{?with_tslib:-tslib} \ |
51df396b | 869 | -xcursor \ |
9452387a | 870 | -xfixes \ |
51df396b | 871 | -xinerama \ |
9452387a | 872 | -xinput2 \ |
51df396b | 873 | -xkb \ |
9452387a | 874 | -xrandr \ |
51df396b | 875 | -xrender \ |
9452387a | 876 | -xshape" |
51df396b | 877 | |
9452387a | 878 | # STATIC |
51df396b WF |
879 | %if %{with static_libs} |
880 | OPT=" \ | |
9452387a JB |
881 | --sql-db2=%{?with_db2:qt}%{!?with_db2:no} \ |
882 | --sql-ibase=%{?with_ibase:qt}%{!?with_ibase:no} \ | |
883 | --sql-mysql=%{?with_mysql:qt}%{!?with_mysql:no} \ | |
884 | --sql-oci=%{?with_oracle:qt}%{!?with_oracle:no} \ | |
885 | --sql-odbc=%{?with_odbc:qt}%{!?with_odbc:no} \ | |
886 | --sql-psql=%{?with_pgsql:qt}%{!?with_pgsql:no} \ | |
887 | --sql-sqlite2=%{?with_sqlite2:qt}%{!?with_sqlite2:no} \ | |
888 | --sql-sqlite=%{?with_sqlite3:qt}%{!?with_sqlite3:no} \ | |
889 | --sql-tds=%{?with_freetds:qt}%{!?with_freetds:no} \ | |
51df396b WF |
890 | -static" |
891 | ||
892 | ./configure $COMMONOPT $OPT | |
893 | ||
894 | %{__make} -C src | |
51df396b WF |
895 | if [ ! -d staticlib ]; then |
896 | mkdir staticlib | |
897 | cp -a lib/*.a staticlib | |
898 | fi | |
899 | %{__make} distclean | |
900 | %endif | |
51df396b | 901 | |
9452387a | 902 | # SHARED |
51df396b | 903 | OPT=" \ |
9452387a JB |
904 | --sql-db2=%{?with_db2:plugin}%{!?with_db2:no} \ |
905 | --sql-ibase=%{?with_ibase:plugin}%{!?with_ibase:no} \ | |
906 | --sql-mysql=%{?with_mysql:plugin}%{!?with_mysql:no} \ | |
907 | --sql-oci=%{?with_oracle:plugin}%{!?with_oracle:no} \ | |
908 | --sql-odbc=%{?with_odbc:plugin}%{!?with_odbc:no} \ | |
909 | --sql-psql=%{?with_pgsql:plugin}%{!?with_pgsql:no} \ | |
910 | --sql-sqlite2=%{?with_sqlite2:plugin}%{!?with_sqlite2:no} \ | |
911 | --sql-sqlite=%{?with_sqlite3:plugin}%{!?with_sqlite3:no} \ | |
912 | --sql-tds=%{?with_freetds:plugin}%{!?with_freetds:no} \ | |
51df396b WF |
913 | -shared" |
914 | ||
915 | ./configure $COMMONOPT $OPT | |
916 | ||
917 | %{__make} | |
9452387a JB |
918 | |
919 | # use just built qdoc instead of requiring already installed qt5-build | |
920 | wd="$(pwd)" | |
716869f9 | 921 | %{__sed} -i -e 's|%{qt5dir}/bin/qdoc|LD_LIBRARY_PATH='${wd}'/lib$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} '${wd}'/bin/qdoc|' src/*/Makefile qmake/Makefile.qmake-docs |
7aae88f0 JB |
922 | # build only HTML docs if without qch (which require qhelpgenerator) |
923 | %{__make} %{!?with_qch:html_}docs | |
51df396b WF |
924 | |
925 | %install | |
926 | rm -rf $RPM_BUILD_ROOT | |
9452387a | 927 | install -d $RPM_BUILD_ROOT{/etc/qt5,%{_bindir},%{_pkgconfigdir}} |
51df396b WF |
928 | |
929 | %{__make} install \ | |
930 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
931 | ||
7aae88f0 | 932 | %{__make} install_%{!?with_qch:html_}docs \ |
9452387a | 933 | INSTALL_ROOT=$RPM_BUILD_ROOT |
51df396b | 934 | |
9452387a JB |
935 | # kill unnecessary -L%{_libdir} from *.la, *.prl, *.pc |
936 | %{__sed} -i -e "s,-L%{_libdir} \?,,g" \ | |
937 | $RPM_BUILD_ROOT%{_libdir}/*.{la,prl} \ | |
938 | $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
51df396b | 939 | |
9452387a JB |
940 | # useless symlinks |
941 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.so.5.? | |
942 | # actually drop *.la, follow policy of not packaging them when *.pc exist | |
943 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libQt5*.la | |
51df396b WF |
944 | |
945 | # install tools | |
9452387a JB |
946 | install bin/findtr $RPM_BUILD_ROOT%{qt5dir}/bin |
947 | # symlinks in system bin dir | |
51df396b | 948 | cd $RPM_BUILD_ROOT%{_bindir} |
51df396b | 949 | ln -sf ../%{_lib}/qt5/bin/findtr findtr-qt5 |
51df396b WF |
950 | ln -sf ../%{_lib}/qt5/bin/moc moc-qt5 |
951 | ln -sf ../%{_lib}/qt5/bin/qmake qmake-qt5 | |
51df396b WF |
952 | ln -sf ../%{_lib}/qt5/bin/uic uic-qt5 |
953 | ln -sf ../%{_lib}/qt5/bin/rcc rcc-qt5 | |
51df396b WF |
954 | ln -sf ../%{_lib}/qt5/bin/qdbuscpp2xml qdbuscpp2xml-qt5 |
955 | ln -sf ../%{_lib}/qt5/bin/qdbusxml2cpp qdbusxml2cpp-qt5 | |
956 | ln -sf ../%{_lib}/qt5/bin/qdoc qdoc-qt5 | |
a33ed680 | 957 | ln -sf ../%{_lib}/qt5/bin/qlalr qlalr-qt5 |
51df396b WF |
958 | cd - |
959 | ||
960 | # Prepare some files list | |
961 | ifecho() { | |
66205aa8 | 962 | r="$RPM_BUILD_ROOT$2" |
51df396b WF |
963 | if [ -d "$r" ]; then |
964 | echo "%%dir $2" >> $1.files | |
965 | elif [ -x "$r" ] ; then | |
966 | echo "%%attr(755,root,root) $2" >> $1.files | |
967 | elif [ -f "$r" ]; then | |
968 | echo "$2" >> $1.files | |
969 | else | |
970 | echo "Error generation $1 files list!" | |
971 | echo "$r: no such file or directory!" | |
972 | return 1 | |
973 | fi | |
974 | } | |
66205aa8 JB |
975 | ifecho_tree() { |
976 | ifecho $1 $2 | |
977 | for f in `find $RPM_BUILD_ROOT$2 -printf "%%P "`; do | |
978 | ifecho $1 $2/$f | |
979 | done | |
980 | } | |
51df396b WF |
981 | |
982 | echo "%defattr(644,root,root,755)" > examples.files | |
66205aa8 | 983 | ifecho_tree examples %{_examplesdir}/qt5/dbus |
66205aa8 JB |
984 | ifecho_tree examples %{_examplesdir}/qt5/gui |
985 | ifecho_tree examples %{_examplesdir}/qt5/ipc | |
986 | ifecho_tree examples %{_examplesdir}/qt5/json | |
987 | ifecho_tree examples %{_examplesdir}/qt5/network | |
988 | ifecho_tree examples %{_examplesdir}/qt5/opengl | |
989 | ifecho_tree examples %{_examplesdir}/qt5/qpa | |
990 | ifecho_tree examples %{_examplesdir}/qt5/qtconcurrent | |
991 | ifecho_tree examples %{_examplesdir}/qt5/qtestlib | |
992 | ifecho_tree examples %{_examplesdir}/qt5/sql | |
993 | ifecho_tree examples %{_examplesdir}/qt5/threads | |
994 | ifecho_tree examples %{_examplesdir}/qt5/tools | |
995 | ifecho_tree examples %{_examplesdir}/qt5/touch | |
996 | ifecho_tree examples %{_examplesdir}/qt5/widgets | |
997 | ifecho_tree examples %{_examplesdir}/qt5/xml | |
51df396b WF |
998 | |
999 | %clean | |
1000 | rm -rf $RPM_BUILD_ROOT | |
1001 | ||
eb485fb3 JB |
1002 | %post -n Qt5Concurrent -p /sbin/ldconfig |
1003 | %postun -n Qt5Concurrent -p /sbin/ldconfig | |
1004 | ||
1005 | %post -n Qt5Core -p /sbin/ldconfig | |
1006 | %postun -n Qt5Core -p /sbin/ldconfig | |
51df396b | 1007 | |
eb485fb3 JB |
1008 | %post -n Qt5DBus -p /sbin/ldconfig |
1009 | %postun -n Qt5DBus -p /sbin/ldconfig | |
1010 | ||
1011 | %post -n Qt5Gui -p /sbin/ldconfig | |
1012 | %postun -n Qt5Gui -p /sbin/ldconfig | |
1013 | ||
1014 | %post -n Qt5Network -p /sbin/ldconfig | |
1015 | %postun -n Qt5Network -p /sbin/ldconfig | |
1016 | ||
1017 | %post -n Qt5OpenGL -p /sbin/ldconfig | |
1018 | %postun -n Qt5OpenGL -p /sbin/ldconfig | |
1019 | ||
1020 | %post -n Qt5PrintSupport -p /sbin/ldconfig | |
1021 | %postun -n Qt5PrintSupport -p /sbin/ldconfig | |
1022 | ||
1023 | %post -n Qt5Sql -p /sbin/ldconfig | |
1024 | %postun -n Qt5Sql -p /sbin/ldconfig | |
1025 | ||
1026 | %post -n Qt5Test -p /sbin/ldconfig | |
1027 | %postun -n Qt5Test -p /sbin/ldconfig | |
1028 | ||
1029 | %post -n Qt5Widgets -p /sbin/ldconfig | |
1030 | %postun -n Qt5Widgets -p /sbin/ldconfig | |
1031 | ||
1032 | %post -n Qt5Xml -p /sbin/ldconfig | |
1033 | %postun -n Qt5Xml -p /sbin/ldconfig | |
1034 | ||
1035 | %files -n Qt5Bootstrap-devel | |
1036 | %defattr(644,root,root,755) | |
1037 | # static-only | |
1038 | %{_libdir}/libQt5Bootstrap.a | |
1039 | %{_libdir}/libQt5Bootstrap.prl | |
1040 | %{_pkgconfigdir}/Qt5Bootstrap.pc | |
66205aa8 | 1041 | %{qt5dir}/mkspecs/modules/qt_lib_bootstrap_private.pri |
eb485fb3 JB |
1042 | |
1043 | %files -n Qt5Concurrent | |
51df396b | 1044 | %defattr(644,root,root,755) |
9452387a JB |
1045 | %attr(755,root,root) %{_libdir}/libQt5Concurrent.so.*.*.* |
1046 | %attr(755,root,root) %ghost %{_libdir}/libQt5Concurrent.so.5 | |
eb485fb3 JB |
1047 | |
1048 | %files -n Qt5Concurrent-devel | |
1049 | %defattr(644,root,root,755) | |
1050 | %attr(755,root,root) %{_libdir}/libQt5Concurrent.so | |
1051 | %{_libdir}/libQt5Concurrent.prl | |
1052 | %{_includedir}/qt5/QtConcurrent | |
1053 | %{_pkgconfigdir}/Qt5Concurrent.pc | |
1054 | %{_libdir}/cmake/Qt5Concurrent | |
66205aa8 JB |
1055 | %{qt5dir}/mkspecs/modules/qt_lib_concurrent.pri |
1056 | %{qt5dir}/mkspecs/modules/qt_lib_concurrent_private.pri | |
eb485fb3 JB |
1057 | |
1058 | %files -n Qt5Core | |
1059 | %defattr(644,root,root,755) | |
ce510087 | 1060 | %doc LGPL_EXCEPTION.txt header.* |
9452387a JB |
1061 | %attr(755,root,root) %{_libdir}/libQt5Core.so.*.*.* |
1062 | %attr(755,root,root) %ghost %{_libdir}/libQt5Core.so.5 | |
51df396b | 1063 | %dir /etc/qt5 |
9452387a JB |
1064 | %dir %{qt5dir} |
1065 | %dir %{qt5dir}/bin | |
66205aa8 JB |
1066 | %dir %{qt5dir}/mkspecs |
1067 | %dir %{qt5dir}/mkspecs/modules | |
9452387a | 1068 | %dir %{qt5dir}/plugins |
eb485fb3 JB |
1069 | |
1070 | %files -n Qt5Core-devel | |
1071 | %defattr(644,root,root,755) | |
1072 | %attr(755,root,root) %{_libdir}/libQt5Core.so | |
1073 | %{_libdir}/libQt5Core.prl | |
1074 | %dir %{_includedir}/qt5 | |
1075 | %{_includedir}/qt5/QtCore | |
1076 | %{_pkgconfigdir}/Qt5Core.pc | |
1077 | %{_libdir}/cmake/Qt5 | |
1078 | %{_libdir}/cmake/Qt5Core | |
66205aa8 JB |
1079 | %{qt5dir}/mkspecs/modules/qt_lib_core.pri |
1080 | %{qt5dir}/mkspecs/modules/qt_lib_core_private.pri | |
eb485fb3 JB |
1081 | |
1082 | %files -n Qt5DBus | |
1083 | %defattr(644,root,root,755) | |
1084 | %attr(755,root,root) %{_libdir}/libQt5DBus.so.*.*.* | |
1085 | %attr(755,root,root) %ghost %{_libdir}/libQt5DBus.so.5 | |
1086 | ||
1087 | %files -n Qt5DBus-devel | |
1088 | %defattr(644,root,root,755) | |
1089 | %attr(755,root,root) %{_libdir}/libQt5DBus.so | |
1090 | %{_libdir}/libQt5DBus.prl | |
1091 | %{_includedir}/qt5/QtDBus | |
1092 | %{_pkgconfigdir}/Qt5DBus.pc | |
1093 | %{_libdir}/cmake/Qt5DBus | |
66205aa8 JB |
1094 | %{qt5dir}/mkspecs/modules/qt_lib_dbus.pri |
1095 | %{qt5dir}/mkspecs/modules/qt_lib_dbus_private.pri | |
eb485fb3 JB |
1096 | |
1097 | %files -n Qt5Gui | |
1098 | %defattr(644,root,root,755) | |
1099 | %attr(755,root,root) %{_libdir}/libQt5Gui.so.*.*.* | |
1100 | %attr(755,root,root) %ghost %{_libdir}/libQt5Gui.so.5 | |
49014eb2 | 1101 | # loaded from src/gui/accessible/qaccessible.cpp |
9452387a | 1102 | %dir %{qt5dir}/plugins/accessible |
49014eb2 | 1103 | # loaded from src/gui/kernel/qgenericpluginfactory.cpp |
9452387a | 1104 | %dir %{qt5dir}/plugins/generic |
0bac8e29 | 1105 | # R: udev-libs (by all qevdev* plugins) |
9452387a JB |
1106 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevkeyboardplugin.so |
1107 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevmouseplugin.so | |
1108 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevtabletplugin.so | |
1109 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqevdevtouchplugin.so | |
49014eb2 | 1110 | # loaded from src/gui/image/qimage{reader,writer}.cpp |
9452387a JB |
1111 | %dir %{qt5dir}/plugins/imageformats |
1112 | %attr(755,root,root) %{qt5dir}/plugins/imageformats/libqgif.so | |
1113 | %attr(755,root,root) %{qt5dir}/plugins/imageformats/libqico.so | |
0bac8e29 | 1114 | # R: libjpeg |
9452387a | 1115 | %attr(755,root,root) %{qt5dir}/plugins/imageformats/libqjpeg.so |
49014eb2 | 1116 | # loaded from src/gui/kernel/qplatforminputcontextfactory.cpp |
9452387a | 1117 | %dir %{qt5dir}/plugins/platforminputcontexts |
0bac8e29 | 1118 | # R: libxkbcommon |
9452387a | 1119 | %attr(755,root,root) %{qt5dir}/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so |
0bac8e29 | 1120 | # R: Qt5DBus |
9452387a | 1121 | %attr(755,root,root) %{qt5dir}/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so |
49014eb2 | 1122 | # loaded from src/gui/kernel/qplatformintegrationfactory.cpp |
9452387a | 1123 | %dir %{qt5dir}/plugins/platforms |
0bac8e29 | 1124 | # R: fontconfig freetype udev-libs |
9452387a JB |
1125 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqlinuxfb.so |
1126 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqminimal.so | |
0bac8e29 | 1127 | # R: freetype libX11 libXrender |
9452387a | 1128 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqoffscreen.so |
0bac8e29 | 1129 | # R: Qt5DBus libxcb xcb-* xorg-* ... |
9452387a | 1130 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqxcb.so |
49014eb2 | 1131 | # loaded from src/gui/kernel/qplatformthemefactory.cpp |
9452387a | 1132 | %dir %{qt5dir}/plugins/platformthemes |
07c22e07 JB |
1133 | |
1134 | %if %{with tslib} | |
1135 | %files -n Qt5Gui-generic-tslib | |
1136 | %defattr(644,root,root,755) | |
1137 | # R: tslib | |
1138 | %attr(755,root,root) %{qt5dir}/plugins/generic/libqtslibplugin.so | |
1139 | %endif | |
1140 | ||
1141 | %if %{with directfb} | |
1142 | %files -n Qt5Gui-platform-directfb | |
1143 | %defattr(644,root,root,755) | |
1144 | # R: DirectFB fontconfig freetype | |
1145 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqdirectfb.so | |
1146 | %endif | |
1147 | ||
1148 | %if %{with kms} | |
07c22e07 JB |
1149 | %files -n Qt5Gui-platform-kms |
1150 | %defattr(644,root,root,755) | |
1151 | # R: EGL GLESv2 libdrm libgbm udev-libs | |
1152 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqkms.so | |
1153 | %endif | |
1154 | ||
1155 | %if %{with egl} | |
07c22e07 JB |
1156 | %files -n Qt5Gui-platform-egl |
1157 | %defattr(644,root,root,755) | |
1158 | # R: egl fontconfig freetype (for two following) | |
1159 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqeglfs.so | |
1160 | %attr(755,root,root) %{qt5dir}/plugins/platforms/libqminimalegl.so | |
1161 | %endif | |
1162 | ||
9452387a | 1163 | %if %{with gtk} |
07c22e07 JB |
1164 | %files -n Qt5Gui-platformtheme-gtk2 |
1165 | %defattr(644,root,root,755) | |
0bac8e29 | 1166 | # R: gtk+2 |
9452387a JB |
1167 | %attr(755,root,root) %{qt5dir}/plugins/platformthemes/libqgtk2.so |
1168 | %endif | |
eb485fb3 JB |
1169 | |
1170 | %files -n Qt5Gui-devel | |
1171 | %defattr(644,root,root,755) | |
1172 | %attr(755,root,root) %{_libdir}/libQt5Gui.so | |
1173 | %{_libdir}/libQt5Gui.prl | |
1174 | %{_includedir}/qt5/QtGui | |
1175 | %{_pkgconfigdir}/Qt5Gui.pc | |
1176 | %{_libdir}/cmake/Qt5Gui | |
66205aa8 JB |
1177 | %{qt5dir}/mkspecs/modules/qt_lib_gui.pri |
1178 | %{qt5dir}/mkspecs/modules/qt_lib_gui_private.pri | |
eb485fb3 JB |
1179 | |
1180 | %files -n Qt5Network | |
1181 | %defattr(644,root,root,755) | |
1182 | %attr(755,root,root) %{_libdir}/libQt5Network.so.*.*.* | |
1183 | %attr(755,root,root) %ghost %{_libdir}/libQt5Network.so.5 | |
1184 | # loaded from src/network/bearer/qnetworkconfigmanager_p.cpp | |
1185 | %dir %{qt5dir}/plugins/bearer | |
0bac8e29 | 1186 | # R: Qt5DBus |
eb485fb3 JB |
1187 | %attr(755,root,root) %{qt5dir}/plugins/bearer/libqconnmanbearer.so |
1188 | %attr(755,root,root) %{qt5dir}/plugins/bearer/libqgenericbearer.so | |
0bac8e29 | 1189 | # R: Qt5DBus |
eb485fb3 JB |
1190 | %attr(755,root,root) %{qt5dir}/plugins/bearer/libqnmbearer.so |
1191 | ||
1192 | %files -n Qt5Network-devel | |
1193 | %defattr(644,root,root,755) | |
1194 | %attr(755,root,root) %{_libdir}/libQt5Network.so | |
1195 | %{_libdir}/libQt5Network.prl | |
1196 | %{_includedir}/qt5/QtNetwork | |
1197 | %{_pkgconfigdir}/Qt5Network.pc | |
1198 | %{_libdir}/cmake/Qt5Network | |
66205aa8 JB |
1199 | %{qt5dir}/mkspecs/modules/qt_lib_network.pri |
1200 | %{qt5dir}/mkspecs/modules/qt_lib_network_private.pri | |
eb485fb3 JB |
1201 | |
1202 | %files -n Qt5OpenGL | |
1203 | %defattr(644,root,root,755) | |
1204 | %attr(755,root,root) %{_libdir}/libQt5OpenGL.so.*.*.* | |
1205 | %attr(755,root,root) %ghost %{_libdir}/libQt5OpenGL.so.5 | |
1206 | ||
1207 | %files -n Qt5OpenGL-devel | |
1208 | %defattr(644,root,root,755) | |
1209 | %attr(755,root,root) %{_libdir}/libQt5OpenGL.so | |
1210 | %{_libdir}/libQt5OpenGL.prl | |
1211 | %{_includedir}/qt5/QtOpenGL | |
1212 | %{_pkgconfigdir}/Qt5OpenGL.pc | |
1213 | %{_libdir}/cmake/Qt5OpenGL | |
66205aa8 JB |
1214 | %{qt5dir}/mkspecs/modules/qt_lib_opengl.pri |
1215 | %{qt5dir}/mkspecs/modules/qt_lib_opengl_private.pri | |
eb485fb3 JB |
1216 | |
1217 | %files -n Qt5OpenGLExtensions-devel | |
1218 | %defattr(644,root,root,755) | |
1219 | # static-only | |
1220 | %{_libdir}/libQt5OpenGLExtensions.a | |
1221 | %{_libdir}/libQt5OpenGLExtensions.prl | |
1222 | %{_includedir}/qt5/QtOpenGLExtensions | |
1223 | %{_pkgconfigdir}/Qt5OpenGLExtensions.pc | |
1224 | %{_libdir}/cmake/Qt5OpenGLExtensions | |
66205aa8 JB |
1225 | %{qt5dir}/mkspecs/modules/qt_lib_openglextensions.pri |
1226 | %{qt5dir}/mkspecs/modules/qt_lib_openglextensions_private.pri | |
eb485fb3 JB |
1227 | |
1228 | %files -n Qt5PlatformSupport-devel | |
1229 | %defattr(644,root,root,755) | |
1230 | # static-only | |
1231 | %{_libdir}/libQt5PlatformSupport.a | |
1232 | %{_libdir}/libQt5PlatformSupport.prl | |
1233 | %{_includedir}/qt5/QtPlatformSupport | |
1234 | %{_pkgconfigdir}/Qt5PlatformSupport.pc | |
66205aa8 | 1235 | %{qt5dir}/mkspecs/modules/qt_lib_platformsupport_private.pri |
eb485fb3 JB |
1236 | |
1237 | %files -n Qt5PrintSupport | |
1238 | %defattr(644,root,root,755) | |
1239 | %attr(755,root,root) %{_libdir}/libQt5PrintSupport.so.*.*.* | |
1240 | %attr(755,root,root) %ghost %{_libdir}/libQt5PrintSupport.so.5 | |
49014eb2 | 1241 | # loaded from src/printsupport/kernel/qplatformprintplugin.cpp |
9452387a JB |
1242 | %dir %{qt5dir}/plugins/printsupport |
1243 | %if %{with cups} | |
1244 | %attr(755,root,root) %{qt5dir}/plugins/printsupport/libcupsprintersupport.so | |
1245 | %endif | |
eb485fb3 JB |
1246 | |
1247 | %files -n Qt5PrintSupport-devel | |
1248 | %defattr(644,root,root,755) | |
1249 | %attr(755,root,root) %{_libdir}/libQt5PrintSupport.so | |
1250 | %{_libdir}/libQt5PrintSupport.prl | |
1251 | %{_includedir}/qt5/QtPrintSupport | |
1252 | %{_pkgconfigdir}/Qt5PrintSupport.pc | |
1253 | %{_libdir}/cmake/Qt5PrintSupport | |
66205aa8 JB |
1254 | %{qt5dir}/mkspecs/modules/qt_lib_printsupport.pri |
1255 | %{qt5dir}/mkspecs/modules/qt_lib_printsupport_private.pri | |
eb485fb3 JB |
1256 | |
1257 | %files -n Qt5Sql | |
1258 | %defattr(644,root,root,755) | |
1259 | %attr(755,root,root) %{_libdir}/libQt5Sql.so.*.*.* | |
1260 | %attr(755,root,root) %ghost %{_libdir}/libQt5Sql.so.5 | |
49014eb2 | 1261 | # loaded from src/sql/kernel/qsqldatabase.cpp |
9452387a | 1262 | %dir %{qt5dir}/plugins/sqldrivers |
07c22e07 | 1263 | |
9452387a | 1264 | %if %{with db2} |
07c22e07 JB |
1265 | %files -n Qt5Sql-sqldriver-db2 |
1266 | %defattr(644,root,root,755) | |
0bac8e29 | 1267 | # R: (proprietary) DB2 libs |
9452387a JB |
1268 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqldb2.so |
1269 | %endif | |
07c22e07 | 1270 | |
9452387a | 1271 | %if %{with ibase} |
07c22e07 JB |
1272 | %files -n Qt5Sql-sqldriver-ibase |
1273 | %defattr(644,root,root,755) | |
0bac8e29 | 1274 | # R: Firebird-lib |
9452387a JB |
1275 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlibase.so |
1276 | %endif | |
07c22e07 | 1277 | |
9452387a | 1278 | %if %{with sqlite3} |
07c22e07 JB |
1279 | %files -n Qt5Sql-sqldriver-sqlite3 |
1280 | %defattr(644,root,root,755) | |
0bac8e29 | 1281 | # R: sqlite3 |
9452387a JB |
1282 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlite.so |
1283 | %endif | |
07c22e07 | 1284 | |
9452387a | 1285 | %if %{with sqlite2} |
07c22e07 JB |
1286 | %files -n Qt5Sql-sqldriver-sqlite2 |
1287 | %defattr(644,root,root,755) | |
0bac8e29 | 1288 | # R: sqlite >= 2 |
9452387a JB |
1289 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlite2.so |
1290 | %endif | |
07c22e07 | 1291 | |
9452387a | 1292 | %if %{with mysql} |
07c22e07 JB |
1293 | %files -n Qt5Sql-sqldriver-mysql |
1294 | %defattr(644,root,root,755) | |
0bac8e29 | 1295 | # R: mysql-libs |
9452387a JB |
1296 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlmysql.so |
1297 | %endif | |
07c22e07 | 1298 | |
9452387a | 1299 | %if %{with oracle} |
07c22e07 JB |
1300 | %files -n Qt5Sql-sqldriver-oci |
1301 | %defattr(644,root,root,755) | |
0bac8e29 | 1302 | # R: (proprietary) Oracle libs |
9452387a JB |
1303 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqloci.so |
1304 | %endif | |
07c22e07 | 1305 | |
9452387a | 1306 | %if %{with odbc} |
07c22e07 JB |
1307 | %files -n Qt5Sql-sqldriver-odbc |
1308 | %defattr(644,root,root,755) | |
0bac8e29 | 1309 | # R: unixODBC |
9452387a JB |
1310 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlodbc.so |
1311 | %endif | |
07c22e07 | 1312 | |
9452387a | 1313 | %if %{with pgsql} |
07c22e07 JB |
1314 | %files -n Qt5Sql-sqldriver-pgsql |
1315 | %defattr(644,root,root,755) | |
0bac8e29 | 1316 | # R: postgresql-libs |
9452387a JB |
1317 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqlpsql.so |
1318 | %endif | |
07c22e07 | 1319 | |
9452387a | 1320 | %if %{with freetds} |
07c22e07 JB |
1321 | %files -n Qt5Sql-sqldriver-tds |
1322 | %defattr(644,root,root,755) | |
0bac8e29 | 1323 | # R: freetds |
9452387a JB |
1324 | %attr(755,root,root) %{qt5dir}/plugins/sqldrivers/libqsqltds.so |
1325 | %endif | |
51df396b | 1326 | |
eb485fb3 | 1327 | %files -n Qt5Sql-devel |
51df396b | 1328 | %defattr(644,root,root,755) |
51df396b | 1329 | %attr(755,root,root) %{_libdir}/libQt5Sql.so |
51df396b | 1330 | %{_libdir}/libQt5Sql.prl |
9452387a | 1331 | %{_includedir}/qt5/QtSql |
9452387a | 1332 | %{_pkgconfigdir}/Qt5Sql.pc |
51df396b | 1333 | %{_libdir}/cmake/Qt5Sql |
66205aa8 JB |
1334 | %{qt5dir}/mkspecs/modules/qt_lib_sql.pri |
1335 | %{qt5dir}/mkspecs/modules/qt_lib_sql_private.pri | |
eb485fb3 JB |
1336 | |
1337 | %files -n Qt5Test | |
1338 | %defattr(644,root,root,755) | |
1339 | %attr(755,root,root) %{_libdir}/libQt5Test.so.*.*.* | |
1340 | %attr(755,root,root) %ghost %{_libdir}/libQt5Test.so.5 | |
1341 | ||
1342 | %files -n Qt5Test-devel | |
1343 | %defattr(644,root,root,755) | |
1344 | %attr(755,root,root) %{_libdir}/libQt5Test.so | |
1345 | %{_libdir}/libQt5Test.prl | |
1346 | %{_includedir}/qt5/QtTest | |
1347 | %{_pkgconfigdir}/Qt5Test.pc | |
51df396b | 1348 | %{_libdir}/cmake/Qt5Test |
66205aa8 JB |
1349 | %{qt5dir}/mkspecs/modules/qt_lib_testlib.pri |
1350 | %{qt5dir}/mkspecs/modules/qt_lib_testlib_private.pri | |
eb485fb3 JB |
1351 | |
1352 | %files -n Qt5Widgets | |
1353 | %defattr(644,root,root,755) | |
1354 | %attr(755,root,root) %{_libdir}/libQt5Widgets.so.*.*.* | |
1355 | %attr(755,root,root) %ghost %{_libdir}/libQt5Widgets.so.5 | |
07c22e07 JB |
1356 | # Qt5Gui plugin which requires Qt5Widgets |
1357 | %attr(755,root,root) %{qt5dir}/plugins/accessible/libqtaccessiblewidgets.so | |
eb485fb3 JB |
1358 | |
1359 | %files -n Qt5Widgets-devel | |
1360 | %defattr(644,root,root,755) | |
1361 | %attr(755,root,root) %{_libdir}/libQt5Widgets.so | |
1362 | %{_libdir}/libQt5Widgets.prl | |
1363 | %{_includedir}/qt5/QtWidgets | |
1364 | %{_pkgconfigdir}/Qt5Widgets.pc | |
51df396b | 1365 | %{_libdir}/cmake/Qt5Widgets |
66205aa8 JB |
1366 | %{qt5dir}/mkspecs/modules/qt_lib_widgets.pri |
1367 | %{qt5dir}/mkspecs/modules/qt_lib_widgets_private.pri | |
eb485fb3 JB |
1368 | |
1369 | %files -n Qt5Xml | |
1370 | %defattr(644,root,root,755) | |
1371 | %attr(755,root,root) %{_libdir}/libQt5Xml.so.*.*.* | |
1372 | %attr(755,root,root) %ghost %{_libdir}/libQt5Xml.so.5 | |
1373 | ||
1374 | %files -n Qt5Xml-devel | |
1375 | %defattr(644,root,root,755) | |
1376 | %attr(755,root,root) %{_libdir}/libQt5Xml.so | |
1377 | %{_libdir}/libQt5Xml.prl | |
1378 | %{_includedir}/qt5/QtXml | |
1379 | %{_pkgconfigdir}/Qt5Xml.pc | |
51df396b | 1380 | %{_libdir}/cmake/Qt5Xml |
66205aa8 JB |
1381 | %{qt5dir}/mkspecs/modules/qt_lib_xml.pri |
1382 | %{qt5dir}/mkspecs/modules/qt_lib_xml_private.pri | |
1383 | ||
1384 | %files -n qt5-doc-common | |
1385 | %defattr(644,root,root,755) | |
1386 | %dir %{_docdir}/qt5-doc | |
1387 | %{_docdir}/qt5-doc/global | |
51df396b | 1388 | |
b18d64cc WF |
1389 | %files doc |
1390 | %defattr(644,root,root,755) | |
66205aa8 JB |
1391 | %{_docdir}/qt5-doc/qdoc |
1392 | %{_docdir}/qt5-doc/qmake | |
1393 | %{_docdir}/qt5-doc/qtconcurrent | |
1394 | %{_docdir}/qt5-doc/qtcore | |
1395 | %{_docdir}/qt5-doc/qtdbus | |
1396 | %{_docdir}/qt5-doc/qtgui | |
1397 | %{_docdir}/qt5-doc/qtnetwork | |
1398 | %{_docdir}/qt5-doc/qtopengl | |
1399 | %{_docdir}/qt5-doc/qtprintsupport | |
1400 | %{_docdir}/qt5-doc/qtsql | |
1401 | %{_docdir}/qt5-doc/qttestlib | |
1402 | %{_docdir}/qt5-doc/qtwidgets | |
1403 | %{_docdir}/qt5-doc/qtxml | |
b18d64cc | 1404 | |
7aae88f0 JB |
1405 | %if %{with qch} |
1406 | %files doc-qch | |
1407 | %defattr(644,root,root,755) | |
1408 | %{_docdir}/qt5-doc/qdoc.qch | |
1409 | %{_docdir}/qt5-doc/qmake.qch | |
1410 | %{_docdir}/qt5-doc/qtconcurrent.qch | |
1411 | %{_docdir}/qt5-doc/qtcore.qch | |
1412 | %{_docdir}/qt5-doc/qtdbus.qch | |
1413 | %{_docdir}/qt5-doc/qtgui.qch | |
1414 | %{_docdir}/qt5-doc/qtnetwork.qch | |
1415 | %{_docdir}/qt5-doc/qtopengl.qch | |
1416 | %{_docdir}/qt5-doc/qtprintsupport.qch | |
1417 | %{_docdir}/qt5-doc/qtsql.qch | |
1418 | %{_docdir}/qt5-doc/qttestlib.qch | |
1419 | %{_docdir}/qt5-doc/qtwidgets.qch | |
1420 | %{_docdir}/qt5-doc/qtxml.qch | |
1421 | %endif | |
1422 | ||
51df396b | 1423 | %files examples -f examples.files |
66205aa8 JB |
1424 | %dir %{_examplesdir}/qt5 |
1425 | %doc %{_examplesdir}/qt5/README | |
1426 | %{_examplesdir}/qt5/examples.pro | |
9452387a JB |
1427 | |
1428 | %files -n qt5-build | |
1429 | %defattr(644,root,root,755) | |
1430 | %attr(755,root,root) %{_bindir}/findtr-qt5 | |
1431 | %attr(755,root,root) %{_bindir}/moc-qt5 | |
1432 | %attr(755,root,root) %{_bindir}/qdbuscpp2xml-qt5 | |
1433 | %attr(755,root,root) %{_bindir}/qdbusxml2cpp-qt5 | |
1434 | %attr(755,root,root) %{_bindir}/qdoc-qt5 | |
a33ed680 | 1435 | %attr(755,root,root) %{_bindir}/qlalr-qt5 |
9452387a JB |
1436 | %attr(755,root,root) %{_bindir}/rcc-qt5 |
1437 | %attr(755,root,root) %{_bindir}/uic-qt5 | |
1438 | %attr(755,root,root) %{qt5dir}/bin/findtr | |
1439 | %attr(755,root,root) %{qt5dir}/bin/moc | |
1440 | %attr(755,root,root) %{qt5dir}/bin/qdbuscpp2xml | |
1441 | %attr(755,root,root) %{qt5dir}/bin/qdbusxml2cpp | |
1442 | %attr(755,root,root) %{qt5dir}/bin/qdoc | |
a33ed680 | 1443 | %attr(755,root,root) %{qt5dir}/bin/qlalr |
9452387a JB |
1444 | %attr(755,root,root) %{qt5dir}/bin/rcc |
1445 | %attr(755,root,root) %{qt5dir}/bin/syncqt.pl | |
1446 | %attr(755,root,root) %{qt5dir}/bin/uic | |
1447 | ||
1448 | %files -n qt5-qmake | |
1449 | %defattr(644,root,root,755) | |
1450 | %attr(755,root,root) %{_bindir}/qmake-qt5 | |
1451 | %attr(755,root,root) %{qt5dir}/bin/qmake | |
66205aa8 JB |
1452 | %{qt5dir}/mkspecs/aix-* |
1453 | %{qt5dir}/mkspecs/android-* | |
1454 | %{qt5dir}/mkspecs/blackberry-* | |
1455 | %{qt5dir}/mkspecs/common | |
1456 | %{qt5dir}/mkspecs/cygwin-* | |
1457 | %{qt5dir}/mkspecs/darwin-* | |
1458 | %{qt5dir}/mkspecs/devices | |
1459 | %{qt5dir}/mkspecs/features | |
1460 | %{qt5dir}/mkspecs/freebsd-* | |
1461 | %{qt5dir}/mkspecs/hpux-* | |
1462 | %{qt5dir}/mkspecs/hpuxi-* | |
1463 | %{qt5dir}/mkspecs/hurd-* | |
1464 | %{qt5dir}/mkspecs/irix-* | |
1465 | %{qt5dir}/mkspecs/linux-* | |
1466 | %{qt5dir}/mkspecs/lynxos-* | |
1467 | %{qt5dir}/mkspecs/macx-* | |
1468 | %{qt5dir}/mkspecs/netbsd-* | |
1469 | %{qt5dir}/mkspecs/openbsd-* | |
1470 | %{qt5dir}/mkspecs/qnx-* | |
1471 | %{qt5dir}/mkspecs/sco-* | |
1472 | %{qt5dir}/mkspecs/solaris-* | |
1473 | %{qt5dir}/mkspecs/tru64-* | |
1474 | %{qt5dir}/mkspecs/unixware-* | |
1475 | %{qt5dir}/mkspecs/unsupported | |
1476 | %{qt5dir}/mkspecs/win32-* | |
1477 | %{qt5dir}/mkspecs/wince60standard-* | |
1478 | %{qt5dir}/mkspecs/wince70embedded-* | |
1479 | %{qt5dir}/mkspecs/winphone-* | |
1480 | %{qt5dir}/mkspecs/winrt-* | |
1481 | %{qt5dir}/mkspecs/*.pri |