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