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