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