]> git.pld-linux.org Git - packages/qt4.git/blob - qt4.spec
afe4d51eee4d8dc9bab4cb906a070cfabbe5f73f
[packages/qt4.git] / qt4.spec
1 #
2 # TODO:
3 #       - more cleanups
4 #       - check if translations are available
5 #       - check Qt ui tool
6 #
7 # Conditional build:
8 %bcond_without  static_libs     # don't build static libraries
9 # -- features
10 %bcond_without  cups            # CUPS printing support
11 %bcond_with     nas             # NAS audio support
12 %bcond_without  gtk             # GTK+ theme integration
13 %bcond_without  pch             # pch (pre-compiled headers) in qmake
14 %bcond_without  system_phonon   # phonon libraries from phonon.spec intead of qt4.spec
15 %bcond_with     wkhtml          # WKHTMLTOPDF patch (affects QtGui ABI)
16 %bcond_with     openvg          # OpenVG support
17 # -- databases
18 %bcond_without  mysql           # MySQL plugin
19 %bcond_without  odbc            # unixODBC plugin
20 %bcond_without  pgsql           # PostgreSQL plugin
21 %bcond_without  sqlite3         # SQLite3 plugin
22 %bcond_without  sqlite          # SQLite2 plugin
23 %bcond_without  ibase           # ibase (InterBase/Firebird) plugin
24 # -- SIMD CPU instructions
25 %bcond_with     mmx             # use MMX instructions
26 %bcond_with     3dnow           # use 3Dnow instructions
27 %bcond_with     sse             # use SSE instructions in gui/painting module
28 %bcond_with     sse2            # use SSE2 instructions
29 %bcond_with     sse3            # use SSE3 instructions (since: Intel middle Pentium4, AMD Athlon64)
30 %bcond_with     ssse3           # use SSSE3 instructions (Intel since Core2, Via Nano)
31 %bcond_with     sse41           # use SSE4.1 instructions (Intel since middle Core2)
32 %bcond_with     sse42           # use SSE4.2 instructions (the same)
33 %bcond_with     avx             # use AVX instructions (future Intel x86 CPUs only)
34
35 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
36 %undefine       with_ibase
37 %endif
38 %ifarch athlon
39 %define         with_3dnow      1
40 %endif
41 %ifarch athlon pentium3 pentium4 %{x8664}
42 %define         with_mmx        1
43 %endif
44 %ifarch pentium3 pentium4 %{x8664}
45 %define         with_sse        1
46 %endif
47 %ifarch pentium4 %{x8664}
48 %define         with_sse2       1
49 %endif
50 # any SQL
51 %define         _withsql        1
52 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
53
54 %define         icu_abi         54
55 %define         next_icu_abi    %(echo $((%{icu_abi} + 1)))
56
57 Summary:        The Qt GUI application framework
58 Summary(es.UTF-8):      Biblioteca para ejecutar aplicaciones GUI Qt
59 Summary(pl.UTF-8):      Biblioteka Qt do tworzenia GUI
60 Summary(pt_BR.UTF-8):   Estrutura para rodar aplicações GUI Qt
61 Name:           qt4
62 Version:        4.8.7
63 Release:        1
64 License:        LGPL v2.1 or GPL v3.0
65 Group:          X11/Libraries
66 Source0:        http://download.qt-project.org/official_releases/qt/4.8/%{version}/qt-everywhere-opensource-src-%{version}.tar.gz
67 # Source0-md5:  d990ee66bf7ab0c785589776f35ba6ad
68 Source2:        %{name}-qtconfig.desktop
69 Source3:        %{name}-designer.desktop
70 Source4:        %{name}-assistant.desktop
71 Source5:        %{name}-linguist.desktop
72
73 # git clone git://gitorious.org/+kde-developers/qt/kde-qt.git
74 # git checkout -b 4.7.1-patched origin/4.7.1-patched
75 # git diff v4.7.1..4.7.1-patched > ~/rpm/packages/qt4/qt4-kde-git.patch
76 Patch100:       %{name}-kde-git.patch
77
78 Patch0:         %{name}-tools.patch
79 Patch1:         %{name}-qt_copy.patch
80 Patch2:         %{name}-buildsystem.patch
81 Patch3:         %{name}-locale.patch
82 Patch5:         %{name}-support-cflags-with-commas.patch
83 Patch6:         %{name}-build-lib-static.patch
84 Patch7:         %{name}-x11_fonts.patch
85 Patch8:         %{name}-ibase.patch
86 Patch9:         qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
87 Patch10:        webkit-no_Werror.patch
88 Patch11:        %{name}-wkhtml.patch
89 Patch12:        fix-crash-in-assistant.patch
90 Patch13:        improve-cups-support.patch
91 Patch14:        x32.patch
92 # backported from Qt5 (essentially)
93 # http://bugzilla.redhat.com/702493
94 # https://bugreports.qt-project.org/browse/QTBUG-5545
95 Patch15:        qt-everywhere-opensource-src-4.8.4-qgtkstyle_disable_gtk_theme_check.patch
96 Patch16:        qt-everywhere-opensource-src-4.8.3-QTBUG-4862.patch
97 Patch17:        l-qclipboard_delay.patch
98 Patch18:        l-qclipboard_fix_recursive.patch
99 Patch19:        qtcore-4.8.5-honor-ExcludeSocketNotifiers-in-glib-event-loop.patch
100
101 Patch27:        moc-boost-workaround.patch
102 URL:            http://qt-project.org/
103 %{?with_ibase:BuildRequires:    Firebird-devel}
104 %{?with_openvg:BuildRequires:   Mesa-libOpenVG-devel}
105 BuildRequires:  OpenGL-GLU-devel
106 BuildRequires:  OpenGL-devel
107 BuildRequires:  alsa-lib-devel
108 %{?with_cups:BuildRequires:     cups-devel}
109 BuildRequires:  dbus-devel >= 0.93
110 BuildRequires:  fontconfig-devel
111 BuildRequires:  freetds-devel
112 BuildRequires:  freetype-devel >= 2.1.3
113 %{?with_pch:BuildRequires:      gcc >= 5:4.0}
114 BuildRequires:  glib2-devel >= 2.0.0
115 BuildRequires:  gstreamer0.10-plugins-base-devel
116 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.10}
117 # see dependency on libicu version below
118 BuildRequires:  libicu-devel >= %{icu_abi}
119 BuildRequires:  libicu-devel < %{next_icu_abi}
120 BuildRequires:  libjpeg-devel
121 BuildRequires:  libmng-devel >= 1.0.0
122 BuildRequires:  libpng-devel >= 2:1.0.8
123 BuildRequires:  libstdc++-devel
124 %{?with_mysql:BuildRequires:    mysql-devel}
125 %{?with_nas:BuildRequires:      nas-devel}
126 BuildRequires:  pkgconfig
127 %{?with_pgsql:BuildRequires:    postgresql-backend-devel}
128 %{?with_pgsql:BuildRequires:    postgresql-devel}
129 BuildRequires:  pulseaudio-devel >= 0.9.10
130 BuildRequires:  rpmbuild(macros) >= 1.654
131 BuildRequires:  rsync
132 BuildRequires:  sed >= 4.0
133 %{?with_sqlite:BuildRequires:   sqlite-devel}
134 %{?with_sqlite3:BuildRequires:  sqlite3-devel}
135 %{?with_odbc:BuildRequires:     unixODBC-devel >= 2.3.0}
136 BuildRequires:  xorg-lib-libSM-devel
137 BuildRequires:  xorg-lib-libXcursor-devel
138 BuildRequires:  xorg-lib-libXext-devel
139 BuildRequires:  xorg-lib-libXfixes-devel
140 BuildRequires:  xorg-lib-libXi-devel
141 BuildRequires:  xorg-lib-libXinerama-devel
142 BuildRequires:  xorg-lib-libXrandr-devel
143 BuildRequires:  xorg-lib-libXrender-devel
144 BuildRequires:  xorg-lib-libXtst-devel
145 BuildRequires:  xorg-lib-libXv-devel
146 BuildRequires:  zlib-devel
147 Obsoletes:      qt-extensions
148 Obsoletes:      qt-utils
149 Conflicts:      kdelibs <= 8:3.2-0.030602.1
150 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
151
152 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
153 %define         _noautostrip    '.*_debug\\.so*'
154
155 %define         specflags       -fno-strict-aliasing
156
157 %define         _qtdir          %{_libdir}/qt4
158
159 %description
160 Qt is a complete C++ application development framework, which includes
161 a class library and tools for multiplatform development and
162 internationalization. Using Qt, a single source code tree can build
163 applications that run natively on different platforms (Windows,
164 Unix/Linux, Mac OS X, embedded Linux).
165
166 Qt has a rich set of standard widgets, and lets you write custom
167 controls. It encapsulates four different platform-specific APIs, and
168 the APIs for file-handling, networking, process-handling, threading,
169 database access, etc. Qt now also has Motif migration oraz Netscape
170 LiveConnect plugin.
171
172 %description -l es.UTF-8
173 Contiene las bibliotecas compartidas necesarias para ejecutar
174 aplicaciones Qt, bien como los archivos README.
175
176 %description -l pl.UTF-8
177 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
178 języku C++, w którego skład wchodzi biblioteka z klasami oraz
179 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
180 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
181 różnych platformach (Windows, Unix/Linux, Mac OS X).
182
183 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
184 pozwala również na pisanie własnych elementów. Łączy w sposób
185 niewidoczny dla programisty interfejsy programowania różnych systemów,
186 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
187 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
188 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
189 wykorzystaniem Netscape LiveConnect.
190
191 %package -n Qt3Support
192 Summary:        Qt3 compatibility library
193 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3
194 Group:          X11/Libraries
195 Requires:       QtCore = %{version}-%{release}
196 Requires:       QtGui = %{version}-%{release}
197 Requires:       QtNetwork = %{version}-%{release}
198 Requires:       QtSql = %{version}-%{release}
199 Requires:       QtXml = %{version}-%{release}
200
201 %description -n Qt3Support
202 Qt3 compatibility library.
203
204 %description -n Qt3Support -l pl.UTF-8
205 Biblioteka kompatybilności z Qt3.
206
207 %package -n Qt3Support-devel
208 Summary:        Qt3 compatibility library - development files
209 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3 - pliki programistyczne
210 Group:          X11/Development/Libraries
211 Requires:       Qt3Support = %{version}-%{release}
212 Requires:       QtCore-devel = %{version}-%{release}
213 Requires:       QtGui-devel = %{version}-%{release}
214 Requires:       QtNetwork-devel = %{version}-%{release}
215 Requires:       QtSql-devel = %{version}-%{release}
216
217 %description -n Qt3Support-devel
218 Qt3 compatibility library - development files.
219
220 %description -n Qt3Support-devel -l pl.UTF-8
221 Biblioteka kompatybilności z Qt3 - pliki programistyczne.
222
223 %package -n Qt3Support-static
224 Summary:        Qt3 compatibility library - static libraries
225 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3 - biblioteki statyczne
226 Group:          X11/Development/Libraries
227 Requires:       Qt3Support-devel = %{version}-%{release}
228
229 %description -n Qt3Support-static
230 Qt3 compatibility library - static libraries.
231
232 %description -n Qt3Support-static -l pl.UTF-8
233 Biblioteka kompatybilności z Qt3 - biblioteki statyczne.
234
235 %package -n QtCLucene
236 Summary:        QtCLucene full text search library wrapper
237 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego
238 Group:          X11/Libraries
239 Requires:       QtCore = %{version}-%{release}
240
241 %description -n QtCLucene
242 QtCLucene full text search library wrapper.
243
244 %description -n QtCLucene -l pl.UTF-8
245 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego.
246
247 %package -n QtCLucene-devel
248 Summary:        QtCLucene full text search library wrapper - development files
249 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki programistyczne
250 Group:          X11/Development/Libraries
251 Requires:       QtCLucene = %{version}-%{release}
252 Requires:       QtCore-devel = %{version}-%{release}
253
254 %description -n QtCLucene-devel
255 QtCLucene full text search library wrapper - development files.
256
257 %description -n QtCLucene-devel -l pl.UTF-8
258 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki
259 programistyczne.
260
261 %package -n QtCLucene-static
262 Summary:        QtCLucene full text search library wrapper - static library
263 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - biblioteka statyczna
264 Group:          X11/Development/Libraries
265 Requires:       QtCLucene-devel = %{version}-%{release}
266
267 %description -n QtCLucene-static
268 QtCLucene full text search library wrapper - static library.
269
270 %description -n QtCLucene-static -l pl.UTF-8
271 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego -
272 biblioteka statyczna.
273
274 %package -n QtCore
275 Summary:        Qt core classes used by other modules
276 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły
277 Group:          X11/Libraries
278 %requires_eq_to libicu libicu-devel
279 # be sure to depend on proper arch.
280 %ifarch %{x8664} ppc64 sparc64 s390x
281 Requires:       libicui18n.so.%{icu_abi}()(64bit)
282 %else
283 %ifarch x32
284 Requires:       libicui18n.so.%{icu_abi}()(x32bit)
285 %else
286 Requires:       libicui18n.so.%{icu_abi}
287 %endif
288 %endif
289 Obsoletes:      QtAssistant
290
291 %description -n QtCore
292 Qt core classes used by other modules.
293
294 %description -n QtCore -l pl.UTF-8
295 Podstawowe klasy Qt używane przez inne moduły.
296
297 %package -n QtCore-devel
298 Summary:        Qt core classes used by other modules - development files
299 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły - pliki programistyczne
300 Group:          X11/Development/Libraries
301 Requires:       QtCore = %{version}-%{release}
302 Requires:       glib2-devel
303 Requires:       libstdc++-devel
304 Requires:       zlib-devel
305 Obsoletes:      QtAssistant-devel
306
307 %description -n QtCore-devel
308 Qt core classes used by other modules - development files.
309
310 %description -n QtCore-devel -l pl.UTF-8
311 Podstawowe klasy Qt używane przez inne moduły - pliki programistyczne.
312
313 %package -n QtCore-static
314 Summary:        Qt core classes used by other modules - static libraries
315 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły - biblioteki statyczne
316 Group:          X11/Development/Libraries
317 Requires:       QtCore-devel = %{version}-%{release}
318 Obsoletes:      QtAssistant-static
319
320 %description -n QtCore-static
321 Qt core classes used by other modules - static libraries.
322
323 %description -n QtCore-static -l pl.UTF-8
324 Podstawowe klasy Qt używane przez inne moduły - biblioteki statyczne.
325
326 %package -n QtDBus
327 Summary:        Qt classes for D-BUS support
328 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS
329 Group:          X11/Libraries
330 Requires:       QtCore = %{version}-%{release}
331 Requires:       QtXml = %{version}-%{release}
332 # only for libqtscriptdbus plugin
333 Requires:       QtGui = %{version}-%{release}
334 Requires:       QtScript = %{version}-%{release}
335
336 %description -n QtDBus
337 This module provides Qt classes for D-BUS support. D-BUS is an
338 Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
339 mechanism originally developed for Linux to replace existing and
340 competing IPC solutions with one unified protocol.
341
342 %description -n QtDBus -l pl.UTF-8
343 Ten moduł udostępnia klasy Qt do obsługi D-BUS. D-BUS to mechanizm
344 komunikacji między procesowej (IPC - Inter-Process Communication) i
345 zdalnego wywoływania procedur (RPC - Remote Procedure Calling)
346 stworzony początkowo dla Linuksa, aby zastąpić istniejące i
347 konkurujące ze sobą rozwiązania IPC jednym, ujednoliconym protokołem.
348
349 %package -n QtDBus-devel
350 Summary:        Qt classes for D-BUS support - development files
351 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS - pliki programistyczne
352 Group:          X11/Development/Libraries
353 Requires:       QtDBus = %{version}-%{release}
354 Requires:       QtXml-devel = %{version}-%{release}
355
356 %description -n QtDBus-devel
357 Qt classes for D-BUS support - development files.
358
359 %description -n QtDBus-devel -l pl.UTF-8
360 Klasy Qt do obsługi D-BUS - pliki programistyczne.
361
362 %package -n QtDBus-static
363 Summary:        Qt classes for D-BUS support - static libraries
364 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS - biblioteki statyczne
365 Group:          X11/Development/Libraries
366 Requires:       QtDBus-devel = %{version}-%{release}
367
368 %description -n QtDBus-static
369 Qt classes for D-BUS support - static libraries.
370
371 %description -n QtDBus-static -l pl.UTF-8
372 Klasy Qt do obsługi D-BUS - biblioteki statyczne.
373
374 %package -n QtDeclarative
375 Summary:        QtDeclarative - QML language engine library
376 Summary(pl.UTF-8):      QtDeclarative - biblioteka języka QML
377 Group:          X11/Libraries
378 Requires:       QtCore = %{version}-%{release}
379 Requires:       QtGui = %{version}-%{release}
380 Requires:       QtNetwork = %{version}-%{release}
381 Requires:       QtOpenGL = %{version}-%{release}
382 Requires:       QtScript = %{version}-%{release}
383 Requires:       QtSql = %{version}-%{release}
384 Requires:       QtSvg = %{version}-%{release}
385 Requires:       QtXmlPatterns = %{version}-%{release}
386 # for qmlwebkitplugin plugin
387 Requires:       QtWebKit = %{version}-%{release}
388
389 %description -n QtDeclarative
390 QtDeclarative is the QML language engine library. QML is a declarative
391 language oriented on JavaScript.
392
393 %description -n QtDeclarative -l pl.UTF-8
394 QtDeclarative to biblioteka języka QML. QML jest deklaratywnym
395 językiem zorientowanym na JavaScript.
396
397 %package -n QtDeclarative-devel
398 Summary:        Development files for QtDeclarative - QML language engine library
399 Summary(pl.UTF-8):      Pliki programistyczne QtDeclarative - biblioteki języka QML
400 Group:          X11/Development/Libraries
401 Requires:       QtDeclarative = %{version}-%{release}
402 Requires:       QtGui-devel = %{version}-%{release}
403 Requires:       QtNetwork-devel = %{version}-%{release}
404 Requires:       QtScript-devel = %{version}-%{release}
405
406 %description -n QtDeclarative-devel
407 Development files for QtDeclarative - QML language engine library.
408
409 %description -n QtDeclarative-devel -l pl.UTF-8
410 Pliki programistyczne QtDeclarative - biblioteki języka QML.
411
412 %package -n QtDeclarative-static
413 Summary:        Static version of QtDeclarative - QML language engine library
414 Summary(pl.UTF-8):      Statycza wersja QtDeclarative - biblioteki języka QML
415 Group:          X11/Development/Libraries
416 Requires:       QtDeclarative-devel = %{version}-%{release}
417
418 %description -n QtDeclarative-static
419 Static version of QtDeclarative - QML language engine library.
420
421 %description -n QtDeclarative-static -l pl.UTF-8
422 Statycza wersja QtDeclarative - biblioteki języka QML.
423
424 %package -n QtDesigner
425 Summary:        Classes for extending Qt Designer
426 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera
427 Group:          X11/Libraries
428 Requires:       QtGui = %{version}-%{release}
429 Requires:       QtNetwork = %{version}-%{release}
430 Requires:       QtScript = %{version}-%{release}
431 Requires:       QtXml = %{version}-%{release}
432 # for plugins
433 Requires:       Qt3Support = %{version}-%{release}
434 Requires:       QtDBus = %{version}-%{release}
435 Requires:       QtDeclarative = %{version}-%{release}
436 Requires:       QtOpenGL = %{version}-%{release}
437 Requires:       QtSql = %{version}-%{release}
438 Requires:       QtSvg = %{version}-%{release}
439 Requires:       QtWebKit = %{version}-%{release}
440 Requires:       QtXmlPatterns = %{version}-%{release}
441 Obsoletes:      qt4-designer-libs
442
443 %description -n QtDesigner
444 This module provides classes that allow you to create your own custom
445 widget plugins for Qt Designer, and classes that enable you to access
446 Qt Designer's components.
447
448 %description -n QtDesigner -l pl.UTF-8
449 Ten moduł dostarcza klasy, które pozwalają tworzyć własne wtyczki dla
450 Qt Designera oraz klasy, które umożliwiają dostęp do jego komponentów.
451
452 %package -n QtDesigner-devel
453 Summary:        Classes for extending Qt Designer - development files
454 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera - pliki programistyczne
455 Group:          X11/Development/Libraries
456 Requires:       QtDesigner = %{version}-%{release}
457 Requires:       QtGui-devel = %{version}-%{release}
458 Requires:       QtScript-devel = %{version}-%{release}
459 Requires:       QtXml-devel = %{version}-%{release}
460
461 %description -n QtDesigner-devel
462 Classes for extending Qt Designer - development files.
463
464 %description -n QtDesigner-devel -l pl.UTF-8
465 Klasy do rozbudowy Qt Designera - pliki programistyczne.
466
467 %package -n QtDesigner-static
468 Summary:        Classes for extending Qt Designer - static libraries
469 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera - biblioteki statyczne
470 Group:          X11/Development/Libraries
471 Requires:       QtDesigner-devel = %{version}-%{release}
472
473 %description -n QtDesigner-static
474 Classes for extending Qt Designer - static libraries.
475
476 %description -n QtDesigner-static -l pl.UTF-8
477 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
478
479 %package -n QtGui
480 Summary:        Qt Graphical User Interface components
481 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt
482 Group:          X11/Libraries
483 Requires:       QtCore = %{version}-%{release}
484 # for qtracegraphicssystem plugin
485 Requires:       QtNetwork = %{version}-%{release}
486
487 %description -n QtGui
488 Qt Graphical User Interface components.
489
490 %description -n QtGui -l pl.UTF-8
491 Komponenty graficznego interfejsu użytkownika Qt.
492
493 %package -n QtGui-devel
494 Summary:        Qt Graphical User Interface components - development files
495 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt - pliki programistyczne
496 Group:          X11/Development/Libraries
497 Requires:       QtCore-devel = %{version}-%{release}
498 Requires:       QtGui = %{version}-%{release}
499 Requires:       fontconfig-devel
500 Requires:       freetype-devel >= 2.1.3
501 Requires:       libpng-devel >= 2:1.0.8
502 Requires:       xorg-lib-libSM-devel
503 Requires:       xorg-lib-libXcursor-devel
504 Requires:       xorg-lib-libXext-devel
505 Requires:       xorg-lib-libXfixes-devel
506 Requires:       xorg-lib-libXi-devel
507 Requires:       xorg-lib-libXinerama-devel
508 Requires:       xorg-lib-libXrandr-devel
509 Requires:       xorg-lib-libXrender-devel
510
511 %description -n QtGui-devel
512 Qt Graphical User Interface components - development files.
513
514 %description -n QtGui-devel -l pl.UTF-8
515 Komponenty graficznego interfejsu użytkownika Qt - pliki
516 programistyczne.
517
518 %package -n QtGui-static
519 Summary:        Qt Graphical User Interface components - static libraries
520 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt - biblioteki statyczne
521 Group:          X11/Development/Libraries
522 Requires:       QtGui-devel = %{version}-%{release}
523
524 %description -n QtGui-static
525 Qt Graphical User Interface components - static libraries.
526
527 %description -n QtGui-static -l pl.UTF-8
528 Komponenty graficznego interfejsu użytkownika Qt - biblioteki
529 statyczne.
530
531 %package -n QtHelp
532 Summary:        Qt classes for integrating online documentation in applications
533 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach
534 Group:          X11/Libraries
535 Requires:       QtCLucene = %{version}-%{release}
536 Requires:       QtGui = %{version}-%{release}
537 Requires:       QtNetwork = %{version}-%{release}
538 Requires:       QtSql = %{version}-%{release}
539 Requires:       QtXml = %{version}-%{release}
540
541 %description -n QtHelp
542 QtHelp module includes tools for generating and viewing Qt help files.
543 In addition it provides classes for accessing help contents
544 programatically to be able to integrate online help into Qt
545 applications.
546
547 %description -n QtHelp -l pl.UTF-8
548 Moduł QtHelp zawiera narzędzia do generowania i przeglądania plików
549 pomocy Qt. Oprócz tego udostępnia klasy pozwalające na programowy
550 dostęp do zawartości dokumentacji w celu integracji pomocy w
551 aplikacjach Qt.
552
553 %package -n QtHelp-devel
554 Summary:        Qt classes for integrating online documentation in applications - development files
555 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach - pliki programistyczne
556 Group:          X11/Development/Libraries
557 Requires:       QtCLucene-devel = %{version}-%{release}
558 Requires:       QtGui-devel = %{version}-%{release}
559 Requires:       QtHelp = %{version}-%{release}
560 Requires:       QtSql-devel = %{version}-%{release}
561 Requires:       QtXml-devel = %{version}-%{release}
562
563 %description -n QtHelp-devel
564 Qt classes for integrating online documentation in applications -
565 development files.
566
567 %description -n QtHelp-devel -l pl.UTF-8
568 Klasy Qt do integracji dokumentacji w aplikacjach - pliki
569 programistyczne.
570
571 %package -n QtHelp-static
572 Summary:        Qt classes for integrating online documentation in applications - static library
573 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach - biblioteka statyczna
574 Group:          X11/Development/Libraries
575 Requires:       QtHelp-devel = %{version}-%{release}
576
577 %description -n QtHelp-static
578 Qt classes for integrating online documentation in applications -
579 static library.
580
581 %description -n QtHelp-static -l pl.UTF-8
582 Klasy Qt do integracji dokumentacji w aplikacjach - biblioteka
583 statyczna.
584
585 %package -n QtMultimedia
586 Summary:        Qt classes for multimedia programming
587 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów
588 Group:          X11/Libraries
589 Requires:       QtCore = %{version}-%{release}
590 Requires:       QtGui = %{version}-%{release}
591
592 %description -n QtMultimedia
593 Qt classes for multimedia programming.
594
595 %description -n QtMultimedia -l pl.UTF-8
596 Klasy Qt do programowania multimediów.
597
598 %package -n QtMultimedia-devel
599 Summary:        Qt classes for multimedia programming - development files
600 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów - pliki programistyczne
601 Group:          X11/Development/Libraries
602 Requires:       QtCore-devel = %{version}-%{release}
603 Requires:       QtMultimedia = %{version}-%{release}
604
605 %description -n QtMultimedia-devel
606 Qt classes for multimedia programming - development files.
607
608 %description -n QtMultimedia-devel -l pl.UTF-8
609 Klasy Qt do programowania multimediów - pliki programistyczne.
610
611 %package -n QtMultimedia-static
612 Summary:        Qt classes for multimedia programming - static libraries
613 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów - biblioteki statyczne
614 Group:          X11/Development/Libraries
615 Requires:       QtMultimedia-devel = %{version}-%{release}
616
617 %description -n QtMultimedia-static
618 Qt classes for multimedia programming - static libraries.
619
620 %description -n QtMultimedia-static -l pl.UTF-8
621 Klasy Qt do programowania multimediów - biblioteki statyczne.
622
623 %package -n QtNetwork
624 Summary:        Qt classes for network programming
625 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego
626 Group:          X11/Libraries
627 Requires:       QtCore = %{version}-%{release}
628 # the rest for qnmbearer plugin
629 Requires:       QtDBus = %{version}-%{release}
630 Requires:       QtXml = %{version}-%{release}
631
632 %description -n QtNetwork
633 Qt classes for network programming.
634
635 %description -n QtNetwork -l pl.UTF-8
636 Klasy Qt do programowania sieciowego.
637
638 %package -n QtNetwork-devel
639 Summary:        Qt classes for network programming - development files
640 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego - pliki programistyczne
641 Group:          X11/Development/Libraries
642 Requires:       QtCore-devel = %{version}-%{release}
643 Requires:       QtNetwork = %{version}-%{release}
644
645 %description -n QtNetwork-devel
646 Qt classes for network programming - development files.
647
648 %description -n QtNetwork-devel -l pl.UTF-8
649 Klasy Qt do programowania sieciowego - pliki programistyczne.
650
651 %package -n QtNetwork-static
652 Summary:        Qt classes for network programming - static libraries
653 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego - biblioteki statyczne
654 Group:          X11/Development/Libraries
655 Requires:       QtNetwork-devel = %{version}-%{release}
656
657 %description -n QtNetwork-static
658 Qt classes for network programming - static libraries.
659
660 %description -n QtNetwork-static -l pl.UTF-8
661 Klasy Qt do programowania sieciowego - biblioteki statyczne.
662
663 %package -n QtOpenGL
664 Summary:        Qt OpenGL support classes
665 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL
666 Group:          X11/Libraries
667 Requires:       QtCore = %{version}-%{release}
668 Requires:       QtGui = %{version}-%{release}
669
670 %description -n QtOpenGL
671 Qt OpenGL support classes.
672
673 %description -n QtOpenGL -l pl.UTF-8
674 Klasy Qt wspomagające OpenGL.
675
676 %package -n QtOpenGL-devel
677 Summary:        Qt OpenGL support classes - development files
678 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL - pliki programistyczne
679 Group:          X11/Development/Libraries
680 Requires:       OpenGL-GLU-devel
681 Requires:       QtCore-devel = %{version}-%{release}
682 Requires:       QtGui-devel = %{version}-%{release}
683 Requires:       QtOpenGL = %{version}-%{release}
684
685 %description -n QtOpenGL-devel
686 Qt OpenGL support classes - development files.
687
688 %description -n QtOpenGL-devel -l pl.UTF-8
689 Klasy Qt wspomagające OpenGL - pliki programistyczne.
690
691 %package -n QtOpenGL-static
692 Summary:        Qt OpenGL support classes - static libraries
693 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL - biblioteki statyczne
694 Group:          X11/Development/Libraries
695 Requires:       QtOpenGL-devel = %{version}-%{release}
696
697 %description -n QtOpenGL-static
698 Qt OpenGL support classes - static libraries.
699
700 %description -n QtOpenGL-static -l pl.UTF-8
701 Klasy Qt wspomagające OpenGL - biblioteki statyczne.
702
703 %package -n QtOpenVG
704 Summary:        Qt OpenVG support classes
705 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG
706 Group:          X11/Libraries
707 Requires:       QtCore = %{version}-%{release}
708 Requires:       QtGui = %{version}-%{release}
709
710 %description -n QtOpenVG
711 Qt OpenVG support classes.
712
713 %description -n QtOpenVG -l pl.UTF-8
714 Klasy Qt wspomagające OpenVG.
715
716 %package -n QtOpenVG-devel
717 Summary:        Qt OpenVG support classes - development files
718 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG - pliki programistyczne
719 Group:          X11/Development/Libraries
720 Requires:       Mesa-libOpenVG-devel
721 Requires:       QtCore-devel = %{version}-%{release}
722 Requires:       QtGui-devel = %{version}-%{release}
723
724 %description -n QtOpenVG-devel
725 Qt OpenVG support classes - development files.
726
727 %description -n QtOpenVG-devel -l pl.UTF-8
728 Klasy Qt wspomagające OpenVG - pliki programistyczne.
729
730 %package -n QtOpenVG-static
731 Summary:        Qt OpenVG support classes - static libraries
732 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG - biblioteki statyczne
733 Group:          X11/Development/Libraries
734 Requires:       QtOpenVG-devel = %{version}-%{release}
735
736 %description -n QtOpenVG-static
737 Qt OpenVG support classes - static libraries.
738
739 %description -n QtOpenVG-static -l pl.UTF-8
740 Klasy Qt wspomagające OpenVG - biblioteki statyczne.
741
742 %package -n QtScript
743 Summary:        Qt classes for scripting applications
744 Summary(pl.UTF-8):      Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach
745 Group:          X11/Development/Libraries
746 Requires:       QtCore = %{version}-%{release}
747
748 %description -n QtScript
749 The QtScript module provides Qt classes to handle scripts inside
750 applications.
751
752 %description -n QtScript -l pl.UTF-8
753 Ten moduł dostarcza klasy Qt obsługujące języki skryptowe wewnątrz
754 aplikacji.
755
756 %package -n QtScript-devel
757 Summary:        Qt classes for scripting applications - development files
758 Summary(pl.UTF-8):      Klasy Qt do obsługi skryptów wewnątrz aplikacji - pliki programistyczne
759 Group:          X11/Development/Libraries
760 Requires:       QtCore-devel = %{version}-%{release}
761 Requires:       QtScript = %{version}-%{release}
762
763 %description -n QtScript-devel
764 Qt classes for scriptin applications - development files.
765
766 %description -n QtScript-devel -l pl.UTF-8
767 Klasy Qt do obsługi skryptów wewnątrz aplikacji - pliki
768 programistyczne.
769
770 %package -n QtScript-static
771 Summary:        Qt classes for scripting applications - static library
772 Summary(pl.UTF-8):      Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach - biblioteka statyczna
773 Group:          X11/Development/Libraries
774 Requires:       QtScript-devel = %{version}-%{release}
775
776 %description -n QtScript-static
777 Qt classes for scripting applications - static library.
778
779 %description -n QtScript-static -l pl.UTF-8
780 Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach - biblioteka
781 statyczna.
782
783 %package -n QtScriptTools
784 Summary:        QtScriptTools - additional components for applications that use QtScript
785 Summary(pl.UTF-8):      QtScriptTools - dodatkowe komponenty dla aplikacji wykorzystujących QtScript
786 Group:          X11/Development/Libraries
787 Requires:       QtCore = %{version}-%{release}
788 Requires:       QtGui = %{version}-%{release}
789 Requires:       QtScript = %{version}-%{release}
790
791 %description -n QtScriptTools
792 The QtScriptTools module provides additional components for
793 applications that use QtScript.
794
795 %description -n QtScriptTools -l pl.UTF-8
796 Moduł QtScriptTools dostarcza dodatkowe komponenty dla aplikacji
797 wykorzystujących QtScript.
798
799 %package -n QtScriptTools-devel
800 Summary:        Development files for QtScriptTools components
801 Summary(pl.UTF-8):      Pliki programistyczne komponentów QtScriptTools
802 Group:          X11/Development/Libraries
803 Requires:       QtCore-devel = %{version}-%{release}
804 Requires:       QtGui-devel = %{version}-%{release}
805 Requires:       QtScript-devel = %{version}-%{release}
806 Requires:       QtScriptTools = %{version}-%{release}
807
808 %description -n QtScriptTools-devel
809 Development files for QtScriptTools components.
810
811 %description -n QtScriptTools-devel -l pl.UTF-8
812 Pliki programistyczne komponentów QtScriptTools.
813
814 %package -n QtScriptTools-static
815 Summary:        QtScriptTools components - static library
816 Summary(pl.UTF-8):      Komponenty QtScriptTools - biblioteka statyczna
817 Group:          X11/Development/Libraries
818 Requires:       QtScriptTools-devel = %{version}-%{release}
819
820 %description -n QtScriptTools-static
821 Static version of QtScriptTools library, providing additional
822 components for applications that use QtScript.
823
824 %description -n QtScriptTools-static -l pl.UTF-8
825 Statyczna biblioteka QtScriptTools, dostarczająca dodatkowe komponenty
826 dla aplikacji wykorzystujących QtScript.
827
828 %package -n QtSql
829 Summary:        Qt classes for database integration using SQL
830 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL
831 Group:          X11/Libraries
832 Requires:       QtCore = %{version}-%{release}
833
834 %description -n QtSql
835 Qt classes for database integration using SQL.
836
837 %description -n QtSql -l pl.UTF-8
838 Klasy Qt do integracji z bazami danych przy użyciu SQL.
839
840 %package -n QtSql-devel
841 Summary:        Qt classes for database integration using SQL - development files
842 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL - pliki programistyczne
843 Group:          X11/Development/Libraries
844 Requires:       QtCore-devel = %{version}-%{release}
845 Requires:       QtSql = %{version}-%{release}
846
847 %description -n QtSql-devel
848 Qt classes for database integration using SQL - development files.
849
850 %description -n QtSql-devel -l pl.UTF-8
851 Klasy Qt do integracji z bazami danych przy użyciu SQL - pliki
852 programistyczne.
853
854 %package -n QtSql-static
855 Summary:        Qt classes for database integration using SQL - static libraries
856 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL - biblioteki statyczne
857 Group:          X11/Development/Libraries
858 Requires:       QtSql-devel = %{version}-%{release}
859
860 %description -n QtSql-static
861 Qt classes for database integration using SQL - static libraries.
862
863 %description -n QtSql-static -l pl.UTF-8
864 Klasy Qt do integracji z bazami danych przy użyciu SQL - biblioteki
865 statyczne. programistyczne.
866
867 %package -n QtSql-ibase
868 Summary:        Database plugin for InterBase/Firebird Qt support
869 Summary(pl.UTF-8):      Wtyczka InterBase/Firebird do Qt
870 Summary(pt_BR.UTF-8):   Plugin de suporte a InterBase/Firebird para Qt
871 Group:          X11/Libraries
872 Requires:       QtSql = %{version}-%{release}
873 Provides:       QtSql-backend = %{version}-%{release}
874
875 %description -n QtSql-ibase
876 This package contains a plugin for accessing Interbase/Firebird
877 database via the QSql classes.
878
879 %description -n QtSql-ibase -l pl.UTF-8
880 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
881 danych Interbase/Firebird poprzez klasy QSql.
882
883 %description -n QtSql-ibase -l pt_BR.UTF-8
884 Plugin de suporte a InterBase/Firebird para Qt.
885
886 %package -n QtSql-mysql
887 Summary:        Database plugin for MySQL Qt support
888 Summary(pl.UTF-8):      Wtyczka MySQL do Qt
889 Summary(pt_BR.UTF-8):   Plugin de suporte a MySQL para Qt
890 Group:          X11/Libraries
891 Requires:       QtSql = %{version}-%{release}
892 Provides:       QtSql-backend = %{version}-%{release}
893
894 %description -n QtSql-mysql
895 This package contains a plugin for accessing MySQL database via the
896 QSql classes.
897
898 %description -n QtSql-mysql -l pl.UTF-8
899 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
900 danych MySQL poprzez klasy QSql.
901
902 %description -n QtSql-mysql -l pt_BR.UTF-8
903 Plugin de suporte a MySQL para Qt.
904
905 %package -n QtSql-odbc
906 Summary:        Database plugin for ODBC Qt support
907 Summary(pl.UTF-8):      Wtyczka ODBC do Qt
908 Summary(pt_BR.UTF-8):   Plugin de suporte a ODBC para Qt
909 Group:          X11/Libraries
910 Requires:       QtSql = %{version}-%{release}
911 Provides:       QtSql-backend = %{version}-%{release}
912
913 %description -n QtSql-odbc
914 This package contains a plugin for accessing unixODBC services via the
915 QSql classes.
916
917 %description -n QtSql-odbc -l pl.UTF-8
918 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z usług
919 unixODBC poprzez klasy QSql.
920
921 %description -n QtSql-odbc -l pt_BR.UTF-8
922 Plugin de suporte a ODBC para Qt.
923
924 %package -n QtSql-pgsql
925 Summary:        Database plugin for PostgreSQL Qt support
926 Summary(pl.UTF-8):      Wtyczka PostgreSQL do Qt
927 Summary(pt_BR.UTF-8):   Plugin de suporte a PostgreSQL para Qt
928 Group:          X11/Libraries
929 Requires:       QtSql = %{version}-%{release}
930 Provides:       QtSql-backend = %{version}-%{release}
931
932 %description -n QtSql-pgsql
933 This package contains a plugin for accessing PostgreSQL database via
934 the QSql classes.
935
936 %description -n QtSql-pgsql -l pl.UTF-8
937 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
938 danych PostgreSQL poprzez klasy QSql.
939
940 %description -n QtSql-pgsql -l es.UTF-8
941 Plugin de suporte a PostgreSQL para Qt.
942
943 %package -n QtSql-sqlite
944 Summary:        Database plugin for SQLite 2.x Qt support
945 Summary(pl.UTF-8):      Wtyczka SQLite 2.x do Qt
946 Summary(pt_BR.UTF-8):   Plugin de suporte a SQLite 2.x para Qt
947 Group:          X11/Libraries
948 Requires:       QtSql = %{version}-%{release}
949 Provides:       QtSql-backend = %{version}-%{release}
950
951 %description -n QtSql-sqlite
952 This package contains a plugin for using the SQLite 2.x library (which
953 allows to acces virtually any SQL database) via the QSql classes.
954
955 %description -n QtSql-sqlite -l pl.UTF-8
956 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
957 danych SQLite 2.x poprzez klasy QSql.
958
959 %description -n QtSql-sqlite -l pt_BR.UTF-8
960 Plugin de suporte a SQLite 2.x para Qt.
961
962 %package -n QtSql-sqlite3
963 Summary:        Database plugin for SQLite3 Qt support
964 Summary(pl.UTF-8):      Wtyczka SQLite3 do Qt
965 Summary(pt_BR.UTF-8):   Plugin de suporte a SQLite3 para Qt
966 Group:          X11/Libraries
967 Requires:       QtSql = %{version}-%{release}
968 Provides:       QtSql-backend = %{version}-%{release}
969
970 %description -n QtSql-sqlite3
971 This package contains a plugin for using the SQLite3 library (which
972 allows to acces virtually any SQL database) via the QSql classes.
973
974 %description -n QtSql-sqlite3 -l pl.UTF-8
975 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
976 danych SQLite3 poprzez klasy QSql.
977
978 %description -n QtSql-sqlite3 -l pt_BR.UTF-8
979 Plugin de suporte a SQLite3 para Qt.
980
981 %package -n QtSql-tds
982 Summary:        Database plugin for TDS Qt support
983 Summary(pl.UTF-8):      Wtyczka TDS do Qt
984 Summary(pt_BR.UTF-8):   Plugin de suporte a TDS para Qt
985 Group:          X11/Libraries
986 Requires:       QtSql = %{version}-%{release}
987 Provides:       QtSql-backend = %{version}-%{release}
988
989 %description -n QtSql-tds
990 This package contains a plugin for accessing TDS database via the QSql
991 classes.
992
993 %description -n QtSql-tds -l pl.UTF-8
994 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
995 danych TDS poprzez klasy QSql.
996
997 %description -n QtSql-tds -l pt_BR.UTF-8
998 Plugin de suporte a TDS para Qt.
999
1000 %package -n QtSvg
1001 Summary:        Qt SVG support
1002 Summary(pl.UTF-8):      Wsparcie Qt dla SVG
1003 Group:          X11/Libraries
1004 Requires:       QtCore = %{version}-%{release}
1005 Requires:       QtGui = %{version}-%{release}
1006 # for svg plugins
1007 Requires:       QtXml = %{version}-%{release}
1008
1009 %description -n QtSvg
1010 Qt SVG support.
1011
1012 %description -n QtSvg -l pl.UTF-8
1013 Wsparcie Qt dla SVG.
1014
1015 %package -n QtSvg-devel
1016 Summary:        Qt SVG support - development files
1017 Summary(pl.UTF-8):      Wsparcie Qt dla SVG - pliki programistyczne
1018 Group:          X11/Development/Libraries
1019 Requires:       QtGui-devel = %{version}-%{release}
1020 Requires:       QtSvg = %{version}-%{release}
1021
1022 %description -n QtSvg-devel
1023 Qt SVG support - development files.
1024
1025 %description -n QtSvg-devel -l pl.UTF-8
1026 Wsparcie Qt dla SVG - pliki programistyczne.
1027
1028 %package -n QtSvg-static
1029 Summary:        Qt SVG support - static libraries
1030 Summary(pl.UTF-8):      Wsparcie Qt dla SVG - biblioteki statyczne
1031 Group:          X11/Development/Libraries
1032 Requires:       QtSvg-devel = %{version}-%{release}
1033
1034 %description -n QtSvg-static
1035 Qt SVG support - static libraries.
1036
1037 %description -n QtSvg-static -l pl.UTF-8
1038 Wsparcie Qt dla SVG - biblioteki statyczne.
1039
1040 %package -n QtTest
1041 Summary:        Qt test framework
1042 Summary(pl.UTF-8):      Szkielet testów Qt
1043 Group:          X11/Libraries
1044 Requires:       QtCore = %{version}-%{release}
1045
1046 %description -n QtTest
1047 Qt test framework.
1048
1049 %description -n QtTest -l pl.UTF-8
1050 Szkielet testów Qt.
1051
1052 %package -n QtTest-devel
1053 Summary:        Qt test framework - development files
1054 Summary(pl.UTF-8):      Szkielet testów Qt - pliki programistyczne
1055 Group:          X11/Development/Libraries
1056 Requires:       QtCore-devel = %{version}-%{release}
1057 Requires:       QtTest = %{version}-%{release}
1058
1059 %description -n QtTest-devel
1060 Qt test framework - development files.
1061
1062 %description -n QtTest-devel -l pl.UTF-8
1063 Szkielet testów Qt - pliki programistyczne.
1064
1065 %package -n QtTest-static
1066 Summary:        Qt test framework - static libraries
1067 Summary(pl.UTF-8):      Szkielet testów Qt - biblioteki statyczne
1068 Group:          X11/Development/Libraries
1069 Requires:       QtTest-devel = %{version}-%{release}
1070
1071 %description -n QtTest-static
1072 Qt test framework - static libraries.
1073
1074 %description -n QtTest-static -l pl.UTF-8
1075 Szkielet testów Qt - biblioteki statyczne.
1076
1077 %package -n QtUiTools
1078 Summary:        Classes for handling Qt Designer forms in applications
1079 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach
1080 Group:          X11/Libraries
1081 Requires:       QtGui = %{version}-%{release}
1082 Requires:       QtXml = %{version}-%{release}
1083
1084 %description -n QtUiTools
1085 The QtUiTools module provides classes to handle forms created with Qt
1086 Designer.
1087
1088 %description -n QtUiTools -l pl.UTF-8
1089 Moduł QtUiTools udostępnia klasy do obsługi formularzy tworzonych przy
1090 użyciu Qt Designera.
1091
1092 %package -n QtUiTools-devel
1093 Summary:        Classes for handling Qt Designer forms in applications - development files
1094 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki programistyczne
1095 Group:          X11/Development/Libraries
1096 Requires:       QtGui-devel = %{version}-%{release}
1097 Requires:       QtUiTools = %{version}-%{release}
1098 Requires:       QtXml-devel = %{version}-%{release}
1099
1100 %description -n QtUiTools-devel
1101 Classes for handling Qt Designer forms in applications - development
1102 files.
1103
1104 %description -n QtUiTools-devel -l pl.UTF-8
1105 Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki
1106 programistyczne.
1107
1108 %package -n QtUiTools-static
1109 Summary:        Classes for handling Qt Designer forms in applications - static library
1110 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka statyczna
1111 Group:          X11/Development/Libraries
1112 Requires:       QtUiTools-devel = %{version}-%{release}
1113
1114 %description -n QtUiTools-static
1115 Classes for handling Qt Designer forms in applications - static
1116 library.
1117
1118 %description -n QtUiTools-static -l pl.UTF-8
1119 Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka
1120 statyczna.
1121
1122 %package -n QtWebKit
1123 Summary:        Qt classes for rendering HTML, XHTML and SVG documents
1124 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG
1125 Group:          X11/Libraries
1126 Requires:       QtDBus = %{version}-%{release}
1127 Requires:       QtGui = %{version}-%{release}
1128 Requires:       QtNetwork = %{version}-%{release}
1129 Requires:       QtXml = %{version}-%{release}
1130
1131 %description -n QtWebKit
1132 QtWebKit provides a Web browser engine that makes it easy to embed
1133 content from the World Wide Web into your Qt application. At the same
1134 time Web content can be enhanced with native controls. QtWebKit
1135 provides facilities for rendering of HyperText Markup Language (HTML),
1136 Extensible HyperText Markup Language (XHTML) and Scalable Vector
1137 Graphics (SVG) documents, styled using Cascading Style Sheets (CSS)
1138 and scripted with JavaScript.
1139
1140 %description -n QtWebKit -l pl.UTF-8
1141 QtWebKit udostępnia silnik przeglądarki WWW ułatwiający osadzanie
1142 treści ze stron WWW w aplikacjach Qt. Jednocześnie treść WWW może być
1143 rozszerzana o natywne kontrolki. QtWebKit zapewnia renderowanie
1144 dokumentów w językach HTML (HyperText Markup Language), XHTML
1145 (Extensible HyperText Markup Language) i SVG (Scalable Vector
1146 Graphics) z obsługą styli CSS (Cascading Style Sheets) i skryptów w
1147 języku JavaScript.
1148
1149 %package -n QtWebKit-devel
1150 Summary:        Qt classes for rendering HTML, XHTML and SVG documents - development files
1151 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - pliki programistyczne
1152 Group:          X11/Development/Libraries
1153 Requires:       QtGui-devel = %{version}-%{release}
1154 Requires:       QtNetwork-devel = %{version}-%{release}
1155 Requires:       QtScript-devel = %{version}-%{release}
1156 Requires:       QtWebKit = %{version}-%{release}
1157 %if %{with system_phonon}
1158 Requires:       phonon-devel
1159 %else
1160 Requires:       qt4-phonon-devel = %{version}-%{release}
1161 %endif
1162
1163 %description -n QtWebKit-devel
1164 Qt classes for rendering HTML, XHTML and SVG documents - development
1165 files.
1166
1167 %description -n QtWebKit-devel -l pl.UTF-8
1168 Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - pliki
1169 programistyczne.
1170
1171 %package -n QtWebKit-static
1172 Summary:        Qt classes for rendering HTML, XHTML and SVG documents - static library
1173 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - biblioteka statyczna
1174 Group:          X11/Development/Libraries
1175 Requires:       QtWebKit-devel = %{version}-%{release}
1176
1177 %description -n QtWebKit-static
1178 Qt classes for rendering HTML, XHTML and SVG documents - static
1179 library.
1180
1181 %description -n QtWebKit-static -l pl.UTF-8
1182 Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - biblioteka
1183 statyczna.
1184
1185 %package -n QtXml
1186 Summary:        Qt classes for handling XML
1187 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a
1188 Group:          X11/Libraries
1189 Requires:       QtCore = %{version}-%{release}
1190
1191 %description -n QtXml
1192 Qt classes for handling XML.
1193
1194 %description -n QtXml -l pl.UTF-8
1195 Klasy Qt do obsługi XML-a.
1196
1197 %package -n QtXml-devel
1198 Summary:        Qt classes for handling XML - development files
1199 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a - pliki programistyczne
1200 Group:          X11/Development/Libraries
1201 Requires:       QtCore-devel = %{version}-%{release}
1202 Requires:       QtXml = %{version}-%{release}
1203
1204 %description -n QtXml-devel
1205 Qt classes for handling XML - development files.
1206
1207 %description -n QtXml-devel -l pl.UTF-8
1208 Klasy Qt do obsługi XML-a - pliki programistyczne.
1209
1210 %package -n QtXml-static
1211 Summary:        Qt classes for handling XML - static libraries
1212 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a - biblioteki statyczne
1213 Group:          X11/Development/Libraries
1214 Requires:       QtXml-devel = %{version}-%{release}
1215
1216 %description -n QtXml-static
1217 Qt classes for handling XML - static libraries.
1218
1219 %description -n QtXml-static -l pl.UTF-8
1220 Klasy Qt do obsługi XML-a - biblioteki statyczne.
1221
1222 %package -n QtXmlPatterns
1223 Summary:        QtXmlPatterns XQuery engine
1224 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns
1225 Group:          X11/Libraries
1226 Requires:       QtCore = %{version}-%{release}
1227 Requires:       QtNetwork = %{version}-%{release}
1228
1229 %description -n QtXmlPatterns
1230 QtXmlPatterns XQuery engine.
1231
1232 %description -n QtXmlPatterns -l pl.UTF-8
1233 Silnik zapytań XQuery QtXmlPatterns.
1234
1235 %package -n QtXmlPatterns-devel
1236 Summary:        QtXmlPatterns XQuery engine - development files
1237 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns - pliki programistyczne
1238 Group:          X11/Development/Libraries
1239 Requires:       QtNetwork-devel = %{version}-%{release}
1240 Requires:       QtXmlPatterns = %{version}-%{release}
1241
1242 %description -n QtXmlPatterns-devel
1243 QtXmlPatterns XQuery engine - development files.
1244
1245 %description -n QtXmlPatterns-devel -l pl.UTF-8
1246 Silnik zapytań XQuery QtXmlPatterns - pliki programistyczne.
1247
1248 %package -n QtXmlPatterns-static
1249 Summary:        QtXmlPatterns XQuery engine - static library
1250 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns - biblioteka statyczna
1251 Group:          X11/Development/Libraries
1252 Requires:       QtXmlPatterns-devel = %{version}-%{release}
1253
1254 %description -n QtXmlPatterns-static
1255 QtXmlPatterns XQuery engine - static library.
1256
1257 %description -n QtXmlPatterns-static -l pl.UTF-8
1258 Silnik zapytań XQuery QtXmlPatterns - biblioteka statyczna.
1259
1260 %package assistant
1261 Summary:        Qt documentation browser
1262 Summary(pl.UTF-8):      Przeglądarka dokumentacji Qt
1263 Group:          X11/Development/Tools
1264 Requires:       QtGui = %{version}-%{release}
1265 Requires:       QtHelp = %{version}-%{release}
1266 Requires:       QtNetwork = %{version}-%{release}
1267 Requires:       QtSql = %{version}-%{release}
1268 Requires:       QtSql-sqlite3 = %{version}-%{release}
1269 Requires:       QtWebKit = %{version}-%{release}
1270 Requires:       QtXml = %{version}-%{release}
1271 Requires:       hicolor-icon-theme
1272
1273 %description assistant
1274 Qt Assistant is a tool for browsing on-line documentation with
1275 indexing, bookmarks and full-text search.
1276
1277 %description assistant -l pl.UTF-8
1278 Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością
1279 indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania.
1280
1281 %package build
1282 Summary:        Build tools for Qt4
1283 Summary(pl.UTF-8):      Narzędzia do budowania dla Qt4
1284 Group:          X11/Development/Tools
1285 Requires:       QtCore = %{version}-%{release}
1286 Requires:       QtGui = %{version}-%{release}
1287 Requires:       QtXml = %{version}-%{release}
1288
1289 %description build
1290 This package includes the Qt resource compiler (rcc), meta objects
1291 compiler (moc), user interface compiler (uic) and qt3to4 include names
1292 converter.
1293
1294 %description build -l pl.UTF-8
1295 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
1296 metaobiektów (moc), kompilator interfejsów użytkownika (uic) oraz
1297 konwerter nazw plików nagłówkowych qt3to4.
1298
1299 %package designer
1300 Summary:        IDE used for GUI designing with Qt library
1301 Summary(pl.UTF-8):      IDE służące do projektowania GUI za pomocą biblioteki Qt
1302 Group:          X11/Applications
1303 Requires:       QtDesigner = %{version}-%{release}
1304
1305 %description designer
1306 An advanced tool used for GUI designing with Qt library.
1307
1308 %description designer -l pl.UTF-8
1309 Zaawansowane narzędzie służące do projektowania interfejsu graficznego
1310 za pomocą biblioteki Qt.
1311
1312 %package devel-private
1313 Summary:        Private Qt headers files
1314 Group:          X11/Development/Libraries
1315 Requires:       QtCore-devel = %{version}-%{release}
1316 Requires:       QtDeclarative-devel = %{version}-%{release}
1317 Requires:       QtGui-devel = %{version}-%{release}
1318 Requires:       QtScript-devel = %{version}-%{release}
1319
1320 %description devel-private
1321 Private Qt headers files - for calibre
1322
1323 %package linguist
1324 Summary:        Translation helper for Qt
1325 Summary(pl.UTF-8):      Aplikacja ułatwiająca tłumaczenie aplikacji opartych o Qt
1326 Group:          X11/Development/Tools
1327 Requires:       QtUiTools = %{version}-%{release}
1328 Requires:       hicolor-icon-theme
1329
1330 %description linguist
1331 This program provides an interface that shortens and helps systematize
1332 the process of translating GUIs. Qt Linguist takes all of the text of
1333 a UI that will be shown to the user, and presents it to a human
1334 translator in a simple window. When one UI text is translated, the
1335 program automatically progresses to the next, until they are all
1336 completed.
1337
1338 %description linguist -l pl.UTF-8
1339 Ten program oferuje interfejs znacznie przyśpieszający proces
1340 tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty
1341 przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie.
1342 Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do
1343 następnego, aż wszystkie będą przetłumaczone.
1344
1345 %package phonon
1346 Summary:        Cross-platform multimedia framework
1347 Summary(pl.UTF-8):      Wieloplatformowy szkielet multimedialny
1348 Group:          X11/Development/Tools
1349 Obsoletes:      phonon
1350
1351 %description phonon
1352 Phonon is a cross-platform multimedia framework that enables the use
1353 of audio and video content in Qt applications.
1354
1355 %description phonon -l pl.UTF-8
1356 Phonon to wieloplatformowy szkielet multimedialny pozwalający na
1357 wykorzystywanie treści dźwiękowych i filmowych w aplikacjach Qt.
1358
1359 %package phonon-devel
1360 Summary:        Cross-platform multimedia framework - development files
1361 Summary(pl.UTF-8):      Wieloplatformowy szkielet multimedialny - pliki programistyczne
1362 Group:          X11/Development/Libraries
1363 Requires:       QtCore-devel = %{version}-%{release}
1364 Requires:       QtDBus-devel = %{version}-%{release}
1365 Requires:       QtGui-devel = %{version}-%{release}
1366 Requires:       qt4-phonon = %{version}-%{release}
1367 Obsoletes:      phonon-devel
1368
1369 %description phonon-devel
1370 Cross-platform multimedia framework - development files.
1371
1372 %description phonon-devel -l pl.UTF-8
1373 Wieloplatformowy szkielet multimedialny - pliki programistyczne.
1374
1375 %package qmake
1376 Summary:        Qt makefile generator
1377 Summary(pl.UTF-8):      Generator plików makefile dla aplikacji Qt
1378 Group:          X11/Development/Tools
1379
1380 %description qmake
1381 A powerful makefile generator. It can create makefiles on any platform
1382 from a simple .pro definitions file.
1383
1384 %description qmake -l pl.UTF-8
1385 Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile
1386 na każdej platformi na podstawie łatwego w przygotowaniu pliku .pro.
1387
1388 %package qtconfig
1389 Summary:        Qt widgets configuration tool
1390 Summary(pl.UTF-8):      Narzędzie do konfigurowania widgetów Qt
1391 Group:          X11/Applications
1392 Requires:       Qt3Support = %{version}-%{release}
1393 Requires:       QtDBus = %{version}-%{release}
1394 Requires:       QtGui = %{version}-%{release}
1395 Requires:       QtNetwork = %{version}-%{release}
1396 Requires:       QtSql = %{version}-%{release}
1397 Requires:       QtXml = %{version}-%{release}
1398 Requires:       desktop-file-utils
1399
1400 %description qtconfig
1401 A tool for configuring look and behavior of Qt widgets.
1402
1403 %description qtconfig -l pl.UTF-8
1404 Narzędie do konfiguracji wyglądu i zachowania widgetów Qt.
1405
1406 %package -n qvfb
1407 Summary:        Qt Virtual framebuffer
1408 Summary(pl.UTF-8):      Wirtualny framebuffer dla Qt
1409 Group:          X11/Development/Libraries
1410 Requires:       QtGui = %{version}-%{release}
1411 Requires:       QtOpenGL = %{version}-%{release}
1412
1413 %description -n qvfb
1414 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
1415 window.
1416
1417 %description -n qvfb -l pl.UTF-8
1418 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
1419 okienku X.
1420
1421 %package demos
1422 Summary:        Demos of new Qt4 features
1423 Summary(pl.UTF-8):      Programy demonstrujące nowe możliwości Qt4
1424 Group:          X11/Development/Libraries
1425 Requires:       QtDeclarative = %{version}-%{release}
1426 Requires:       QtGui = %{version}-%{release}
1427 Requires:       QtHelp = %{version}-%{release}
1428 Requires:       QtNetwork = %{version}-%{release}
1429 Requires:       QtOpenGL = %{version}-%{release}
1430 Requires:       QtScript = %{version}-%{release}
1431 Requires:       QtSql = %{version}-%{release}
1432 Requires:       QtSvg = %{version}-%{release}
1433 Requires:       QtXml = %{version}-%{release}
1434 Requires:       QtXmlPatterns = %{version}-%{release}
1435
1436 %description demos
1437 Demos are spiders that fly.
1438
1439 %description demos -l pl.UTF-8
1440 Dema to latające pająki.
1441
1442 %package doc
1443 Summary:        Qt Documentation in HTML format
1444 Summary(pl.UTF-8):      Dokumentacja Qt w formacie HTML
1445 Group:          X11/Development/Libraries
1446 Suggests:       %{name}-assistant = %{version}-%{release}
1447 %if "%{_rpmversion}" >= "5"
1448 BuildArch:      noarch
1449 %endif
1450
1451 %description doc
1452 Qt documentation in HTML format.
1453
1454 %description doc -l pl.UTF-8
1455 Dokumentacja qt w formacie HTML.
1456
1457 %package examples
1458 Summary:        Example programs bundled with Qt
1459 Summary(pl.UTF-8):      Ćwiczenia i przykłady do Qt
1460 Summary(pt_BR.UTF-8):   Programas exemplo desenvolvidos com o Qt
1461 Group:          X11/Development/Libraries
1462 # no *-devel deps, allow to look at the examples without compiling
1463
1464 %description examples
1465 Example programs bundled with Qt version.
1466
1467 %description examples -l pl.UTF-8
1468 Ćwiczenia/przykłady dołączone do Qt.
1469
1470 %description examples -l pt_BR.UTF-8
1471 Programas exemplo para o Qt versão.
1472
1473 %prep
1474 %setup -q -n qt-everywhere-opensource-src-%{version}
1475
1476 %patch100 -p1
1477
1478 %patch0 -p1
1479 %patch1 -p0
1480 %patch2 -p1
1481 %patch3 -p1
1482 %patch5 -p1
1483 %patch6 -p1
1484 %patch7 -p1
1485 %patch8 -p1
1486 %patch9 -p1
1487 %patch10 -p1
1488 %{?with_wkhtml:%patch11 -p1}
1489 %patch12 -p1
1490 %patch13 -p1
1491 %patch14 -p1
1492 %patch15 -p1
1493 %patch16 -p1
1494 %patch17 -p0
1495 %patch18 -p0
1496 %patch19 -p1
1497
1498 %patch27 -p1
1499
1500 %{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \
1501         mkspecs/common/linux.conf
1502
1503 # change QMAKE FLAGS to build
1504 %{__sed} -i -e '
1505         s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|;
1506         s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|;
1507         s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|;
1508         s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|;
1509         s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcflags}|;
1510         s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcxxflags}|;
1511         s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|;
1512         s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|;
1513         ' mkspecs/common/g++-base.conf
1514
1515 %{__sed} -i -e '
1516         s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT       = %{_includedir}/qt4|;
1517         ' mkspecs/common/linux.conf
1518
1519 # No -L/usr/lib.
1520 %{__sed} -i -e '
1521         s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT       =|;
1522         ' mkspecs/common/linux.conf
1523
1524 # undefine QMAKE_STRIP, so we get useful -debuginfo pkgs
1525 %{__sed} -i -e '
1526         s|^QMAKE_STRIP.*=.*|QMAKE_STRIP             =|;
1527         ' mkspecs/common/linux.conf
1528
1529 # disable webkit tests, broken build
1530 rm -r src/3rdparty/webkit/Source/WebKit/qt/tests
1531
1532 %build
1533 # pass OPTFLAGS to build qmake itself with optimization
1534 export OPTFLAGS="%{rpmcflags}"
1535 export PATH=$PWD/bin:$PATH
1536
1537 ##################################
1538 # DEFAULT OPTIONS FOR ALL BUILDS #
1539 ##################################
1540
1541 COMMONOPT=" \
1542         -confirm-license \
1543         -opensource \
1544         -buildkey pld \
1545         -verbose \
1546         -prefix %{_qtdir} \
1547         -bindir %{_qtdir}/bin \
1548         -docdir %{_docdir}/%{name}-doc \
1549         -headerdir %{_includedir}/qt4 \
1550         -libdir %{_libdir} \
1551         -plugindir %{_qtdir}/plugins \
1552         -datadir %{_datadir}/qt4 \
1553         -translationdir %{_localedir}/ \
1554         -sysconfdir %{_sysconfdir}/qt4 \
1555         -examplesdir %{_examplesdir}/qt4 \
1556         -demosdir %{_examplesdir}/qt4-demos \
1557         -optimized-qmake \
1558         -fast \
1559         -glib \
1560         %{!?with_gtk:-no-gtkstyle} \
1561         -%{!?with_pch:no-}pch \
1562         -no-rpath \
1563         %{!?with_mmx:-no-mmx} \
1564         %{!?with_3dnow:-no-3dnow} \
1565         %{!?with_sse:-no-sse} \
1566         %{!?with_sse2:-no-sse2} \
1567         %{!?with_sse3:-no-sse3} \
1568         %{!?with_ssse3:-no-ssse3} \
1569         %{!?with_sse41:-no-sse4.1} \
1570         %{!?with_sse42:-no-sse4.2} \
1571         %{!?with_avx:-no-avx} \
1572         -qdbus \
1573         -dbus-linked \
1574         -reduce-relocations \
1575         -system-libjpeg \
1576         -system-libmng \
1577         -system-libpng \
1578         -system-libtiff \
1579         -system-zlib \
1580         -openssl-linked \
1581         -exceptions \
1582         -largefile \
1583         -I/usr/include/postgresql/server \
1584         -I/usr/include/mysql \
1585         %{?with_cups:-cups} \
1586         %{?with_nas:-system-nas-sound} \
1587         %{?debug:-debug} \
1588         %{!?debug:-release} \
1589         -%{!?with_openvg:no-}openvg \
1590         -qt3support \
1591         -fontconfig \
1592         -largefile \
1593         -iconv \
1594         -icu \
1595         -no-separate-debug-info \
1596         -xfixes \
1597         -nis \
1598         -sm \
1599         -stl \
1600         -xcursor \
1601         -xinput \
1602         -xinerama \
1603         -xrandr \
1604         -xkb \
1605         -xrender \
1606         -xshape \
1607         -xmlpatterns \
1608         -continue"
1609
1610 ##################################
1611 #       STATIC MULTI-THREAD      #
1612 ##################################
1613
1614 %if %{with static_libs}
1615 OPT=" \
1616         -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
1617         -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
1618         -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
1619         -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
1620         -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
1621         -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
1622         -static"
1623
1624 ./configure $COMMONOPT $OPT
1625
1626 %{__make} -C src
1627 %{__make} -C tools/assistant/lib
1628 %{__make} -C tools/designer
1629 if [ ! -d staticlib ]; then
1630         mkdir staticlib
1631         cp -a lib/*.a staticlib
1632 fi
1633 %{__make} distclean
1634 %endif
1635
1636 ##################################
1637 #       SHARED MULTI-THREAD      #
1638 ##################################
1639
1640 OPT=" \
1641         -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
1642         -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
1643         -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
1644         -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
1645         -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
1646         -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase \
1647         -shared"
1648
1649 ./configure $COMMONOPT $OPT
1650
1651 %{__make}
1652 %{__make} \
1653         sub-tools-all-ordered \
1654         sub-demos-all-ordered \
1655         sub-examples-all-ordered
1656
1657 %install
1658 rm -rf $RPM_BUILD_ROOT
1659 install -d $RPM_BUILD_ROOT{/etc/{env.d,qt4},%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1660 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1661 install -d $RPM_BUILD_ROOT%{_qtdir}/imports/org
1662
1663 # for QtSolutions (qtlockedfile, qtsingleapplication, etc)
1664 install -d $RPM_BUILD_ROOT%{_includedir}/qt4/QtSolutions
1665
1666 echo '#QT_GRAPHICSSYSTEM=raster' > $RPM_BUILD_ROOT/etc/env.d/QT_GRAPHICSSYSTEM
1667
1668 %{__make} install \
1669         INSTALL_ROOT=$RPM_BUILD_ROOT
1670
1671 # for qt-creator sth is messed up in the Makefile, nothing for make install
1672 install bin/qdoc3 $RPM_BUILD_ROOT%{_qtdir}/bin/qdoc3
1673
1674 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1675 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl}
1676 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
1677 %{__sed} -i -e '
1678         s|moc_location=.*|moc_location=%{_bindir}/moc-qt4|;
1679         s|uic_location=.*|uic_location=%{_bindir}/uic-qt4|;
1680         ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
1681
1682 # libQtWebKit.la contains '-ljscore' and '-lwebcore', they come
1683 # from src/3rdparty/webkit/{JavaScriptCore,WebCore}} but those libs aren't installed
1684 %{__sed} -i -e "s,-lwebcore,,g;s,-ljscore,,g;" $RPM_BUILD_ROOT%{_libdir}/libQtWebKit.la
1685
1686 # install tools
1687 install bin/findtr      $RPM_BUILD_ROOT%{_qtdir}/bin
1688
1689 cd $RPM_BUILD_ROOT%{_bindir}
1690 ln -sf ../%{_lib}/qt4/bin/assistant assistant-qt4
1691 ln -sf ../%{_lib}/qt4/bin/designer designer-qt4
1692 ln -sf ../%{_lib}/qt4/bin/findtr findtr-qt4
1693 ln -sf ../%{_lib}/qt4/bin/linguist linguist-qt4
1694 ln -sf ../%{_lib}/qt4/bin/lrelease lrelease-qt4
1695 ln -sf ../%{_lib}/qt4/bin/lupdate lupdate-qt4
1696 ln -sf ../%{_lib}/qt4/bin/moc moc-qt4
1697 ln -sf ../%{_lib}/qt4/bin/qmake qmake-qt4
1698 ln -sf ../%{_lib}/qt4/bin/qtconfig qtconfig-qt4
1699 ln -sf ../%{_lib}/qt4/bin/uic uic-qt4
1700 ln -sf ../%{_lib}/qt4/bin/qdoc3 .
1701 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1702 ln -sf ../%{_lib}/qt4/bin/rcc .
1703 ln -sf ../%{_lib}/qt4/bin/uic3 .
1704 ln -sf ../%{_lib}/qt4/bin/pixeltool .
1705 ln -sf ../%{_lib}/qt4/bin/qcollectiongenerator .
1706 ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml .
1707 ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp .
1708 ln -sf ../%{_lib}/qt4/bin/qhelpconverter .
1709 ln -sf ../%{_lib}/qt4/bin/qhelpgenerator .
1710 ln -sf ../%{_lib}/qt4/bin/qmlviewer .
1711 ln -sf ../%{_lib}/qt4/bin/qmlplugindump .
1712 ln -sf ../%{_lib}/qt4/bin/qttracereplay .
1713 ln -sf ../%{_lib}/qt4/bin/qvfb .
1714 ln -sf ../%{_lib}/qt4/bin/xmlpatternsvalidator .
1715 cd -
1716
1717 # multilib
1718 mv $RPM_BUILD_ROOT%{_qtdir}/bin/{qdbus,qdbusviewer} $RPM_BUILD_ROOT%{_bindir}
1719 ln -sf %{_bindir}/qdbus $RPM_BUILD_ROOT%{_qtdir}/bin/qdbus
1720 ln -sf %{_bindir}/qdbusviewer $RPM_BUILD_ROOT%{_qtdir}/bin/qdbusviewer
1721
1722 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/qtconfig-qt4.desktop
1723 install tools/qtconfig/images/appicon.png \
1724         $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig-qt4.png
1725
1726 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}/linguist-qt4.desktop
1727 for f in tools/linguist/linguist/images/icons/linguist-*-32.png; do
1728         size=$(echo $(basename ${f}) | cut -d- -f2)
1729         install -D $f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${size}x${size}/apps/linguist-qt4.png
1730 done
1731
1732 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/assistant-qt4.desktop
1733 install -D tools/assistant/tools/assistant/images/assistant.png \
1734         $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/assistant-qt4.png
1735 install -D tools/assistant/tools/assistant/images/assistant-128.png \
1736         $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/assistant-qt4.png
1737
1738 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer-qt4.desktop
1739 install tools/designer/src/designer/images/designer.png \
1740         $RPM_BUILD_ROOT%{_pixmapsdir}/designer-qt4.png
1741
1742 %if %{with static_libs}
1743 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1744 %endif
1745
1746 #
1747 # Locale
1748 #
1749 for f in translations/*.ts ; do
1750         LD_LIBRARY_PATH=lib bin/lrelease $f -qm translations/$(basename $f .ts).qm
1751 done
1752
1753 %{__rm} $RPM_BUILD_ROOT%{_localedir}/*.qm
1754 for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm; do
1755         [ ! -f $file ] && continue
1756         case "$file" in
1757                 *untranslated*)
1758                         continue;
1759                         ;;
1760         esac
1761         eval "`echo $file | sed -r 's:.*/([a-zA-Z]+(_[a-zA-Z]{3,}){0,1})_(((ja)_jp)|([a-z]{2}_[A-Z]{2,})|([a-z]{2}))\.qm$:MOD=\1 ; lang=\5\6\7:'`"
1762         [ "$lang" == "iw" ] && lang=he
1763         MOD=qt4-$MOD
1764         [ "$MOD" == "qt4-qt" ] && MOD=qt4
1765         install -d $RPM_BUILD_ROOT%{_localedir}/$lang/LC_MESSAGES
1766         cp $file $RPM_BUILD_ROOT%{_localedir}/$lang/LC_MESSAGES/$MOD.qm
1767 done
1768
1769 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1770 # QtCore must be the last
1771 for f in ../Qt{3Support,DBus,Declarative,Designer,Gui,Help,Network,OpenGL,Script,Sql,Svg,Test,UiTools,WebKit,Xml,XmlPatterns,Core}/*; do
1772         if [ ! -d $f ]; then
1773                 ln -sf $f `basename $f`
1774         fi
1775 done
1776 cd -
1777
1778 # Ship doc & qmake stuff
1779 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1780
1781 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1782         HAVEDEBUG=`echo $f | grep _debug | wc -l`
1783         MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1784         MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1785         DEFS="-D_REENTRANT"
1786
1787         if [ "$MODULE2" == "3SUPPORT" ]; then
1788                 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1789         else
1790                 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1791         fi
1792         [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1793
1794         sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1795 done
1796
1797 # Ship private headers - ugly hack to build calibre
1798 install -d $RPM_BUILD_ROOT%{_includedir}/qt4/private
1799 rsync -aR include/QtCore/private \
1800           include/QtDeclarative/private \
1801           include/QtGui/private \
1802           include/QtScript/private \
1803           $RPM_BUILD_ROOT%{_includedir}/qt4/private
1804 rsync -aR src/corelib/*/*_p.h \
1805           src/declarative/*/*_p.h \
1806           src/gui/*/*_p.h \
1807           src/script/*/*_p.h \
1808           $RPM_BUILD_ROOT%{_includedir}/qt4/private
1809
1810
1811 # Prepare some files list
1812 ifecho() {
1813         RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1814         [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set
1815         r=`echo $RESULT | awk '{ print $1 }'`
1816
1817         if [ -d "$r" ]; then
1818                 echo "%%dir $2" >> $1.files
1819         elif [ -x "$r" ] ; then
1820                 echo "%%attr(755,root,root) $2" >> $1.files
1821         elif [ -f "$r" ]; then
1822                 echo "$2" >> $1.files
1823         else
1824                 echo "Error generation $1 files list!"
1825                 echo "$r: no such file or direcotry!"
1826                 return 1
1827         fi
1828 }
1829
1830 mkdevfl() {
1831         set -x
1832         MODULE=$1; shift
1833         echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1834         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1835         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1836         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1837         ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1838         if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1839                 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1840         fi
1841         for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`; do
1842                 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1843                 if [ -a "$RPM_BUILD_ROOT%{_includedir}/qt4/Qt/$f" ]; then
1844                         ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1845                 fi
1846         done
1847         for f in $@; do ifecho $MODULE-devel $f; done
1848 }
1849
1850 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1851 mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
1852 mkdevfl QtDeclarative
1853 mkdevfl QtGui
1854 mkdevfl QtMultimedia
1855 mkdevfl QtNetwork
1856 mkdevfl QtOpenGL
1857 %{?with_openvg:mkdevfl QtOpenVG}
1858 mkdevfl QtScript
1859 mkdevfl QtScriptTools
1860 mkdevfl QtSql
1861 mkdevfl QtSvg
1862 mkdevfl QtTest
1863 mkdevfl QtHelp
1864 mkdevfl QtWebKit
1865 mkdevfl QtCLucene
1866 mkdevfl QtXml
1867 mkdevfl QtXmlPatterns
1868 mkdevfl Qt3Support
1869 mkdevfl phonon
1870
1871 # without *.la *.pc etc.
1872 mkdevfl QtDesigner || /bin/true
1873 mkdevfl QtUiTools || /bin/true
1874
1875 # without glob (exclude QtScriptTools* QtXmlPatterns*)
1876 %{__sed} -i 's,QtScript\*,QtScript,g' QtScript-devel.files
1877 %{__sed} -i 's,QtXml\*,QtXml,g' QtXml-devel.files
1878 # no duplication between QtCore-devel and QtXml-devel
1879 %{__sed} -i 's,%{_includedir}/qt4/Qt/QXmlStream.*,,g' QtCore-devel.files
1880 %{__sed} -i 's,%{_includedir}/qt4/Qt/qxmlstream\.h,,g' QtCore-devel.files
1881
1882 echo "%defattr(644,root,root,755)" > examples.files
1883 ifecho examples %{_examplesdir}/qt4
1884 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`; do
1885         ifecho examples %{_examplesdir}/qt4/$f
1886 done
1887
1888 echo "%defattr(644,root,root,755)" > demos.files
1889 ifecho demos "%{_examplesdir}/qt4-demos"
1890 ifecho demos "%{_qtdir}/bin/qtdemo"
1891 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`; do
1892         ifecho demos %{_examplesdir}/qt4-demos/$f
1893 done
1894
1895 %if %{with system_phonon}
1896 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libphonon.so* \
1897         $RPM_BUILD_ROOT%{_libdir}/libphonon.{la,prl} \
1898         $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/phonon_backend/libphonon_gstreamer.so \
1899         $RPM_BUILD_ROOT%{_pkgconfigdir}/phonon.pc
1900 %{__rm} -r $RPM_BUILD_ROOT%{_includedir}/qt4/phonon
1901 %if %{with static_libs}
1902 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libphonon.a
1903 %endif
1904 %endif
1905
1906 %clean
1907 rm -rf $RPM_BUILD_ROOT
1908
1909 %post   -n Qt3Support   -p /sbin/ldconfig
1910 %postun -n Qt3Support   -p /sbin/ldconfig
1911
1912 %post   -n QtCLucene    -p /sbin/ldconfig
1913 %postun -n QtCLucene    -p /sbin/ldconfig
1914
1915 %post   -n QtCore       -p /sbin/ldconfig
1916 %postun -n QtCore       -p /sbin/ldconfig
1917
1918 %post   -n QtDBus       -p /sbin/ldconfig
1919 %postun -n QtDBus       -p /sbin/ldconfig
1920
1921 %post   -n QtDeclarative        -p /sbin/ldconfig
1922 %postun -n QtDeclarative        -p /sbin/ldconfig
1923
1924 %post   -n QtDesigner   -p /sbin/ldconfig
1925 %postun -n QtDesigner   -p /sbin/ldconfig
1926
1927 %post   -n QtGui        -p /sbin/ldconfig
1928 %postun -n QtGui        -p /sbin/ldconfig
1929
1930 %post   -n QtHelp       -p /sbin/ldconfig
1931 %postun -n QtHelp       -p /sbin/ldconfig
1932
1933 %post   -n QtMultimedia -p /sbin/ldconfig
1934 %postun -n QtMultimedia -p /sbin/ldconfig
1935
1936 %post   -n QtNetwork    -p /sbin/ldconfig
1937 %postun -n QtNetwork    -p /sbin/ldconfig
1938
1939 %post   -n QtOpenGL     -p /sbin/ldconfig
1940 %postun -n QtOpenGL     -p /sbin/ldconfig
1941
1942 %post   -n QtOpenVG     -p /sbin/ldconfig
1943 %postun -n QtOpenVG     -p /sbin/ldconfig
1944
1945 %post   -n QtScript     -p /sbin/ldconfig
1946 %postun -n QtScript     -p /sbin/ldconfig
1947
1948 %post   -n QtScriptTools        -p /sbin/ldconfig
1949 %postun -n QtScriptTools        -p /sbin/ldconfig
1950
1951 %post   -n QtSql        -p /sbin/ldconfig
1952 %postun -n QtSql        -p /sbin/ldconfig
1953
1954 %post   -n QtSvg        -p /sbin/ldconfig
1955 %postun -n QtSvg        -p /sbin/ldconfig
1956
1957 %post   -n QtTest       -p /sbin/ldconfig
1958 %postun -n QtTest       -p /sbin/ldconfig
1959
1960 %post   -n QtUiTools    -p /sbin/ldconfig
1961 %postun -n QtUiTools    -p /sbin/ldconfig
1962
1963 %post   -n QtWebKit     -p /sbin/ldconfig
1964 %postun -n QtWebKit     -p /sbin/ldconfig
1965
1966 %post   -n QtXml        -p /sbin/ldconfig
1967 %postun -n QtXml        -p /sbin/ldconfig
1968
1969 %post   -n QtXmlPatterns        -p /sbin/ldconfig
1970 %postun -n QtXmlPatterns        -p /sbin/ldconfig
1971
1972 %post assistant
1973 %update_icon_cache hicolor
1974
1975 %postun assistant
1976 %update_icon_cache hicolor
1977
1978 %post linguist
1979 %update_icon_cache hicolor
1980
1981 %postun linguist
1982 %update_icon_cache hicolor
1983
1984 %post   phonon          -p /sbin/ldconfig
1985 %postun phonon          -p /sbin/ldconfig
1986
1987 %post qtconfig
1988 %update_desktop_database
1989
1990 %files -n Qt3Support
1991 %defattr(644,root,root,755)
1992 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1993 %attr(755,root,root) %ghost %{_libdir}/libQt3Support.so.4
1994 %attr(755,root,root) %{_qtdir}/plugins/accessible/libqtaccessiblecompatwidgets.so
1995
1996 %files -n QtCLucene
1997 %defattr(644,root,root,755)
1998 %attr(755,root,root) %{_libdir}/libQtCLucene.so.*.*
1999 %attr(755,root,root) %ghost %{_libdir}/libQtCLucene.so.4
2000
2001 %files -n QtCore
2002 %defattr(644,root,root,755)
2003 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
2004 %attr(755,root,root) %ghost %{_libdir}/libQtCore.so.4
2005 %dir /etc/qt4
2006 %dir %{_qtdir}
2007 %dir %{_qtdir}/bin
2008 %dir %{_qtdir}/plugins
2009 %dir %{_qtdir}/plugins/codecs
2010 %attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
2011 # two following are used only by foreign packages, not QtCore
2012 %dir %{_qtdir}/plugins/crypto
2013 %dir %{_qtdir}/plugins/network
2014 %dir %{_datadir}/qt4
2015 %lang(ar) %{_localedir}/ar/LC_MESSAGES/qt4.qm
2016 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4.qm
2017 %lang(da) %{_localedir}/da/LC_MESSAGES/qt4.qm
2018 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4.qm
2019 %lang(es) %{_localedir}/es/LC_MESSAGES/qt4.qm
2020 %lang(fa) %{_localedir}/fa/LC_MESSAGES/qt4.qm
2021 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4.qm
2022 %lang(gl) %{_localedir}/gl/LC_MESSAGES/qt4.qm
2023 %lang(he) %{_localedir}/he/LC_MESSAGES/qt4.qm
2024 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4.qm
2025 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4.qm
2026 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4.qm
2027 %lang(lt) %{_localedir}/lt/LC_MESSAGES/qt4.qm
2028 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4.qm
2029 %lang(pt) %{_localedir}/pt/LC_MESSAGES/qt4.qm
2030 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4.qm
2031 %lang(sk) %{_localedir}/sk/LC_MESSAGES/qt4.qm
2032 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4.qm
2033 %lang(sv) %{_localedir}/sv/LC_MESSAGES/qt4.qm
2034 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4.qm
2035 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4.qm
2036 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4.qm
2037
2038 %files -n QtDBus
2039 %defattr(644,root,root,755)
2040 %attr(755,root,root) %{_bindir}/qdbus
2041 %attr(755,root,root) %{_bindir}/qdbusviewer
2042 %attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
2043 %attr(755,root,root) %ghost %{_libdir}/libQtDBus.so.4
2044 %attr(755,root,root) %{_qtdir}/bin/qdbus
2045 %attr(755,root,root) %{_qtdir}/bin/qdbusviewer
2046 # ?? is this the proper place?
2047 %attr(755,root,root) %{_qtdir}/plugins/script/libqtscriptdbus.so
2048
2049 %files -n QtDeclarative
2050 %defattr(644,root,root,755)
2051 %attr(755,root,root) %{_bindir}/qmlviewer
2052 %attr(755,root,root) %{_bindir}/qmlplugindump
2053 %attr(755,root,root) %{_qtdir}/bin/qmlviewer
2054 %attr(755,root,root) %{_qtdir}/bin/qmlplugindump
2055 %attr(755,root,root) %{_libdir}/libQtDeclarative.so.*.*
2056 %attr(755,root,root) %ghost %{_libdir}/libQtDeclarative.so.4
2057 %dir %{_qtdir}/imports
2058 %dir %{_qtdir}/imports/Qt
2059 %dir %{_qtdir}/imports/Qt/labs
2060 %dir %{_qtdir}/imports/Qt/labs/folderlistmodel
2061 %dir %{_qtdir}/imports/Qt/labs/gestures
2062 %dir %{_qtdir}/imports/Qt/labs/particles
2063 %dir %{_qtdir}/imports/Qt/labs/shaders
2064 %attr(755,root,root) %{_qtdir}/imports/Qt/labs/*/*.so
2065 %{_qtdir}/imports/Qt/labs/*/qmldir
2066 %dir %{_qtdir}/imports/QtWebKit
2067 %attr(755,root,root) %{_qtdir}/imports/QtWebKit/*.so
2068 %{_qtdir}/imports/QtWebKit/qmldir
2069 %dir %{_qtdir}/imports/org
2070 %dir %{_qtdir}/plugins/qmltooling
2071 %attr(755,root,root) %{_qtdir}/plugins/qmltooling/libqmldbg_tcp.so
2072 %attr(755,root,root) %{_qtdir}/plugins/qmltooling/libqmldbg_inspector.so
2073
2074 %files -n QtDesigner
2075 %defattr(644,root,root,755)
2076 %attr(755,root,root) %{_libdir}/libQtDesigner.so.*.*
2077 %attr(755,root,root) %ghost %{_libdir}/libQtDesigner.so.4
2078 %attr(755,root,root) %{_libdir}/libQtDesignerComponents.so.*.*
2079 %attr(755,root,root) %ghost %{_libdir}/libQtDesignerComponents.so.4
2080 %dir %{_qtdir}/plugins/designer
2081 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
2082
2083 %files -n QtGui
2084 %defattr(644,root,root,755)
2085 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/QT_GRAPHICSSYSTEM
2086 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
2087 %attr(755,root,root) %ghost %{_libdir}/libQtGui.so.4
2088 %dir %{_qtdir}/plugins/accessible
2089 %attr(755,root,root) %{_qtdir}/plugins/accessible/libqtaccessiblewidgets.so
2090 %dir %{_qtdir}/plugins/graphicssystems
2091 %attr(755,root,root) %{_qtdir}/plugins/graphicssystems/libqtracegraphicssystem.so
2092 %dir %{_qtdir}/plugins/iconengines
2093 %dir %{_qtdir}/plugins/imageformats
2094 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqgif.so
2095 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqico.so
2096 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqjpeg.so
2097 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqmng.so
2098 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqtga.so
2099 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqtiff.so
2100 %dir %{_qtdir}/plugins/inputmethods
2101 %attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
2102
2103 %files -n QtHelp
2104 %defattr(644,root,root,755)
2105 %attr(755,root,root) %{_bindir}/qhelpconverter
2106 %attr(755,root,root) %{_bindir}/qhelpgenerator
2107 %attr(755,root,root) %{_libdir}/libQtHelp.so.*.*
2108 %attr(755,root,root) %ghost %{_libdir}/libQtHelp.so.4
2109 %attr(755,root,root) %{_qtdir}/bin/qhelpconverter
2110 %attr(755,root,root) %{_qtdir}/bin/qhelpgenerator
2111 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-qt_help.qm
2112 %lang(da) %{_localedir}/da/LC_MESSAGES/qt4-qt_help.qm
2113 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-qt_help.qm
2114 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-qt_help.qm
2115 %lang(gl) %{_localedir}/gl/LC_MESSAGES/qt4-qt_help.qm
2116 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-qt_help.qm
2117 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-qt_help.qm
2118 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-qt_help.qm
2119 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-qt_help.qm
2120 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-qt_help.qm
2121 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-qt_help.qm
2122 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-qt_help.qm
2123 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-qt_help.qm
2124 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-qt_help.qm
2125
2126 %files -n QtMultimedia
2127 %defattr(644,root,root,755)
2128 %attr(755,root,root) %{_libdir}/libQtMultimedia.so.*.*
2129 %attr(755,root,root) %ghost %{_libdir}/libQtMultimedia.so.4
2130
2131 %files -n QtNetwork
2132 %defattr(644,root,root,755)
2133 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
2134 %attr(755,root,root) %ghost %{_libdir}/libQtNetwork.so.4
2135 %dir %{_qtdir}/plugins/bearer
2136 %attr(755,root,root) %{_qtdir}/plugins/bearer/*.so
2137
2138 %files -n QtOpenGL
2139 %defattr(644,root,root,755)
2140 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
2141 %attr(755,root,root) %ghost %{_libdir}/libQtOpenGL.so.4
2142 %attr(755,root,root) %{_qtdir}/plugins/graphicssystems/libqglgraphicssystem.so
2143
2144 %if %{with openvg}
2145 %files -n QtOpenVG
2146 %defattr(644,root,root,755)
2147 %attr(755,root,root) %{_libdir}/libQtOpenVG.so.*.*
2148 %attr(755,root,root) %ghost %{_libdir}/libQtOpenVG.so.4
2149 %endif
2150
2151 %files -n QtScript
2152 %defattr(644,root,root,755)
2153 %attr(755,root,root) %{_libdir}/libQtScript.so.*.*
2154 %attr(755,root,root) %ghost %{_libdir}/libQtScript.so.4
2155 %dir %{_qtdir}/plugins/script
2156
2157 %files -n QtScriptTools
2158 %defattr(644,root,root,755)
2159 %attr(755,root,root) %{_libdir}/libQtScriptTools.so.*.*
2160 %attr(755,root,root) %ghost %{_libdir}/libQtScriptTools.so.4
2161
2162 %files -n QtSql
2163 %defattr(644,root,root,755)
2164 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
2165 %attr(755,root,root) %ghost %{_libdir}/libQtSql.so.4
2166 %dir %{_qtdir}/plugins/sqldrivers
2167
2168 %if %{with mysql}
2169 %files -n QtSql-mysql
2170 %defattr(644,root,root,755)
2171 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql.so
2172 %endif
2173
2174 %if %{with pgsql}
2175 %files -n QtSql-pgsql
2176 %defattr(644,root,root,755)
2177 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql.so
2178 %endif
2179
2180 %if %{with sqlite}
2181 %files -n QtSql-sqlite
2182 %defattr(644,root,root,755)
2183 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2.so
2184 %endif
2185
2186 %if %{with sqlite3}
2187 %files -n QtSql-sqlite3
2188 %defattr(644,root,root,755)
2189 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite.so
2190 %endif
2191
2192 %if %{with ibase}
2193 %files -n QtSql-ibase
2194 %defattr(644,root,root,755)
2195 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase.so
2196 %endif
2197
2198 %if %{with odbc}
2199 %files -n QtSql-odbc
2200 %defattr(644,root,root,755)
2201 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc.so
2202 %endif
2203
2204 %files -n QtSql-tds
2205 %defattr(644,root,root,755)
2206 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqltds.so
2207
2208 %files -n QtSvg
2209 %defattr(644,root,root,755)
2210 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
2211 %attr(755,root,root) %ghost %{_libdir}/libQtSvg.so.4
2212 %attr(755,root,root) %{_qtdir}/plugins/iconengines/libqsvgicon.so
2213 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqsvg.so
2214
2215 %files -n QtTest
2216 %defattr(644,root,root,755)
2217 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
2218 %attr(755,root,root) %ghost %{_libdir}/libQtTest.so.4
2219
2220 %files -n QtUiTools
2221 %defattr(644,root,root,755)
2222 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
2223 %attr(755,root,root) %ghost %{_libdir}/libQtUiTools.so.4
2224
2225 %files -n QtWebKit
2226 %defattr(644,root,root,755)
2227 %attr(755,root,root) %{_libdir}/libQtWebKit.so.*.*
2228 %attr(755,root,root) %ghost %{_libdir}/libQtWebKit.so.4
2229
2230 %files -n QtXml
2231 %defattr(644,root,root,755)
2232 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
2233 %attr(755,root,root) %ghost %{_libdir}/libQtXml.so.4
2234
2235 %files -n QtXmlPatterns
2236 %defattr(644,root,root,755)
2237 %attr(755,root,root) %{_qtdir}/bin/xmlpatterns
2238 %attr(755,root,root) %{_qtdir}/bin/xmlpatternsvalidator
2239 %attr(755,root,root) %{_bindir}/xmlpatternsvalidator
2240 %attr(755,root,root) %{_libdir}/libQtXmlPatterns.so.*.*
2241 %attr(755,root,root) %ghost %{_libdir}/libQtXmlPatterns.so.4
2242
2243 %files assistant
2244 %defattr(644,root,root,755)
2245 %attr(755,root,root) %{_bindir}/assistant-qt4
2246 %attr(755,root,root) %{_bindir}/pixeltool
2247 %attr(755,root,root) %{_bindir}/qcollectiongenerator
2248 %attr(755,root,root) %{_qtdir}/bin/assistant
2249 %attr(755,root,root) %{_qtdir}/bin/pixeltool
2250 %attr(755,root,root) %{_qtdir}/bin/qcollectiongenerator
2251 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-assistant.qm
2252 %lang(da) %{_localedir}/da/LC_MESSAGES/qt4-assistant.qm
2253 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-assistant.qm
2254 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-assistant.qm
2255 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-assistant.qm
2256 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-assistant.qm
2257 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-assistant.qm
2258 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-assistant.qm
2259 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-assistant.qm
2260 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-assistant.qm
2261 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-assistant.qm
2262 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-assistant.qm
2263 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-assistant.qm
2264 %{_desktopdir}/assistant-qt4.desktop
2265 %{_iconsdir}/hicolor/*/apps/assistant-qt4.png
2266
2267 %files build
2268 %defattr(644,root,root,755)
2269 %attr(755,root,root) %{_bindir}/moc-qt4
2270 %attr(755,root,root) %{_bindir}/qdoc3
2271 %attr(755,root,root) %{_bindir}/qt3to4
2272 %attr(755,root,root) %{_bindir}/rcc
2273 %attr(755,root,root) %{_bindir}/uic-qt4
2274 %attr(755,root,root) %{_qtdir}/bin/moc
2275 %attr(755,root,root) %{_qtdir}/bin/qdoc3
2276 %attr(755,root,root) %{_qtdir}/bin/qt3to4
2277 %attr(755,root,root) %{_qtdir}/bin/rcc
2278 %attr(755,root,root) %{_qtdir}/bin/uic
2279 #find better place?
2280 %attr(755,root,root) %{_bindir}/qttracereplay
2281 %attr(755,root,root) %{_qtdir}/bin/qttracereplay
2282 %{_datadir}/qt4/q3porting.xml
2283
2284 %files designer
2285 %defattr(644,root,root,755)
2286 %attr(755,root,root) %{_bindir}/designer-qt4
2287 %attr(755,root,root) %{_qtdir}/bin/designer
2288 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-designer.qm
2289 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-designer.qm
2290 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-designer.qm
2291 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-designer.qm
2292 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-designer.qm
2293 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-designer.qm
2294 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-designer.qm
2295 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-designer.qm
2296 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-designer.qm
2297 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-designer.qm
2298 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-designer.qm
2299 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-designer.qm
2300 %{_desktopdir}/designer-qt4.desktop
2301 %{_pixmapsdir}/designer-qt4.png
2302
2303 %files devel-private
2304 %defattr(644,root,root,755)
2305 %{_includedir}/qt4/private
2306
2307 %files linguist
2308 %defattr(644,root,root,755)
2309 %attr(755,root,root) %{_bindir}/findtr-qt4
2310 %attr(755,root,root) %{_bindir}/linguist-qt4
2311 %attr(755,root,root) %{_bindir}/lrelease-qt4
2312 %attr(755,root,root) %{_bindir}/lupdate-qt4
2313 %attr(755,root,root) %{_qtdir}/bin/findtr
2314 %attr(755,root,root) %{_qtdir}/bin/linguist
2315 %attr(755,root,root) %{_qtdir}/bin/lconvert
2316 %attr(755,root,root) %{_qtdir}/bin/lrelease
2317 %attr(755,root,root) %{_qtdir}/bin/lupdate
2318 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-linguist.qm
2319 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-linguist.qm
2320 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-linguist.qm
2321 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-linguist.qm
2322 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-linguist.qm
2323 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-linguist.qm
2324 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-linguist.qm
2325 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-linguist.qm
2326 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-linguist.qm
2327 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-linguist.qm
2328 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-linguist.qm
2329 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-linguist.qm
2330 %{_datadir}/qt4/phrasebooks
2331 %{_desktopdir}/linguist-qt4.desktop
2332 %{_iconsdir}/hicolor/*/apps/linguist-qt4.png
2333
2334 %if %{without system_phonon}
2335 %files phonon
2336 %defattr(644,root,root,755)
2337 %attr(755,root,root) %{_libdir}/libphonon.so.*.*
2338 %attr(755,root,root) %ghost %{_libdir}/libphonon.so.4
2339 %dir %{_qtdir}/plugins/phonon_backend
2340 %attr(755,root,root) %{_qtdir}/plugins/phonon_backend/libphonon_gstreamer.so
2341 %endif
2342
2343 %files qmake
2344 %defattr(644,root,root,755)
2345 %attr(755,root,root) %{_bindir}/qmake-qt4
2346 %attr(755,root,root) %{_qtdir}/bin/qmake
2347 %{_datadir}/qt4/mkspecs
2348 %{_qtdir}/mkspecs
2349
2350 %files qtconfig
2351 %defattr(644,root,root,755)
2352 %attr(755,root,root) %{_bindir}/qtconfig-qt4
2353 %attr(755,root,root) %{_qtdir}/bin/qtconfig
2354 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-qtconfig.qm
2355 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-qtconfig.qm
2356 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-qtconfig.qm
2357 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-qtconfig.qm
2358 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-qtconfig.qm
2359 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-qtconfig.qm
2360 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-qtconfig.qm
2361 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-qtconfig.qm
2362 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-qtconfig.qm
2363 %{_desktopdir}/qtconfig-qt4.desktop
2364 %{_pixmapsdir}/qtconfig-qt4.png
2365
2366 %files -n qvfb
2367 %defattr(644,root,root,755)
2368 %attr(755,root,root) %{_bindir}/qvfb
2369 %attr(755,root,root) %{_qtdir}/bin/qvfb
2370 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-qvfb.qm
2371 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-qvfb.qm
2372 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-qvfb.qm
2373 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-qvfb.qm
2374 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-qvfb.qm
2375 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-qvfb.qm
2376 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-qvfb.qm
2377 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-qvfb.qm
2378 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-qvfb.qm
2379
2380 %files doc
2381 %defattr(644,root,root,755)
2382 %{_docdir}/%{name}-doc
2383
2384 %files -n QtCLucene-devel -f QtCLucene-devel.files
2385 %defattr(644,root,root,755)
2386
2387 %files -n Qt3Support-devel -f Qt3Support-devel.files
2388 %defattr(644,root,root,755)
2389 %attr(755,root,root) %{_bindir}/uic3
2390 %attr(755,root,root) %{_qtdir}/bin/uic3
2391
2392 %files -n QtCore-devel -f QtCore-devel.files
2393 %defattr(644,root,root,755)
2394 %dir %{_includedir}/qt4/QtSolutions
2395
2396 %files -n QtDBus-devel -f QtDBus-devel.files
2397 %defattr(644,root,root,755)
2398
2399 %files -n QtDeclarative-devel -f QtDeclarative-devel.files
2400 %defattr(644,root,root,755)
2401
2402 %files -n QtDesigner-devel -f QtDesigner-devel.files
2403 %defattr(644,root,root,755)
2404
2405 %files -n QtGui-devel -f QtGui-devel.files
2406 %defattr(644,root,root,755)
2407
2408 %files -n QtHelp-devel -f QtHelp-devel.files
2409 %defattr(644,root,root,755)
2410
2411 %files -n QtMultimedia-devel -f QtMultimedia-devel.files
2412 %defattr(644,root,root,755)
2413
2414 %files -n QtNetwork-devel -f QtNetwork-devel.files
2415 %defattr(644,root,root,755)
2416
2417 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
2418 %defattr(644,root,root,755)
2419
2420 %if %{with openvg}
2421 %files -n QtOpenVG-devel -f QtOpenVG-devel.files
2422 %defattr(644,root,root,755)
2423 %endif
2424
2425 %files -n QtScript-devel -f QtScript-devel.files
2426 %defattr(644,root,root,755)
2427
2428 %files -n QtScriptTools-devel -f QtScriptTools-devel.files
2429 %defattr(644,root,root,755)
2430
2431 %files -n QtSql-devel -f QtSql-devel.files
2432 %defattr(644,root,root,755)
2433
2434 %files -n QtSvg-devel -f QtSvg-devel.files
2435 %defattr(644,root,root,755)
2436
2437 %files -n QtTest-devel -f QtTest-devel.files
2438 %defattr(644,root,root,755)
2439
2440 %files -n QtUiTools-devel -f QtUiTools-devel.files
2441 %defattr(644,root,root,755)
2442
2443 %files -n QtWebKit-devel -f QtWebKit-devel.files
2444 %defattr(644,root,root,755)
2445
2446 %files -n QtXml-devel -f QtXml-devel.files
2447 %defattr(644,root,root,755)
2448
2449 %files -n QtXmlPatterns-devel -f QtXmlPatterns-devel.files
2450 %defattr(644,root,root,755)
2451
2452 %if %{without system_phonon}
2453 %files phonon-devel -f phonon-devel.files
2454 %defattr(644,root,root,755)
2455 %endif
2456
2457 %if %{with static_libs}
2458 %files -n Qt3Support-static
2459 %defattr(644,root,root,755)
2460 %{_libdir}/libQt3Support.a
2461
2462 #%files -n QtCLucene-static
2463 #%defattr(644,root,root,755)
2464 #%{_libdir}/libQtCLucene.a
2465
2466 %files -n QtCore-static
2467 %defattr(644,root,root,755)
2468 %{_libdir}/libQtCore.a
2469
2470 %files -n QtDBus-static
2471 %defattr(644,root,root,755)
2472 %{_libdir}/libQtDBus.a
2473
2474 %files -n QtDesigner-static
2475 %defattr(644,root,root,755)
2476 %{_libdir}/libQtDesigner.a
2477 %{_libdir}/libQtDesignerComponents.a
2478
2479 %files -n QtGui-static
2480 %defattr(644,root,root,755)
2481 %{_libdir}/libQtGui.a
2482
2483 %files -n QtHelp-static
2484 %defattr(644,root,root,755)
2485 %{_libdir}/libQtHelp.a
2486
2487 %files -n QtMultimedia-static
2488 %defattr(644,root,root,755)
2489 %{_libdir}/libQtMultimedia.a
2490
2491 %files -n QtNetwork-static
2492 %defattr(644,root,root,755)
2493 %{_libdir}/libQtNetwork.a
2494
2495 %files -n QtOpenGL-static
2496 %defattr(644,root,root,755)
2497 %{_libdir}/libQtOpenGL.a
2498
2499 %if %{with openvg}
2500 %files -n QtOpenVG-static
2501 %defattr(644,root,root,755)
2502 %{_libdir}/libQtOpenVG.a
2503 %endif
2504
2505 %files -n QtScript-static
2506 %defattr(644,root,root,755)
2507 %{_libdir}/libQtScript.a
2508
2509 %files -n QtScriptTools-static
2510 %defattr(644,root,root,755)
2511 %{_libdir}/libQtScriptTools.a
2512
2513 %files -n QtSql-static
2514 %defattr(644,root,root,755)
2515 %{_libdir}/libQtSql.a
2516
2517 %files -n QtSvg-static
2518 %defattr(644,root,root,755)
2519 %{_libdir}/libQtSvg.a
2520
2521 %files -n QtTest-static
2522 %defattr(644,root,root,755)
2523 %{_libdir}/libQtTest.a
2524
2525 %files -n QtUiTools-static
2526 %defattr(644,root,root,755)
2527 %{_libdir}/libQtUiTools.a
2528
2529 %files -n QtWebKit-static
2530 %defattr(644,root,root,755)
2531 %{_libdir}/libQtWebKit.a
2532
2533 %files -n QtDeclarative-static
2534 %defattr(644,root,root,755)
2535 %{_libdir}/libQtDeclarative.a
2536
2537 %files -n QtXml-static
2538 %defattr(644,root,root,755)
2539 %{_libdir}/libQtXml.a
2540
2541 %files -n QtXmlPatterns-static
2542 %defattr(644,root,root,755)
2543 %{_libdir}/libQtXmlPatterns.a
2544 %endif
2545
2546 %files demos -f demos.files
2547 %defattr(644,root,root,755)
2548
2549 %files examples -f examples.files
2550 %defattr(644,root,root,755)
This page took 0.201171 seconds and 3 git commands to generate.