]> git.pld-linux.org Git - packages/qt4.git/blob - qt4.spec
- rel 4; sed rule typo
[packages/qt4.git] / qt4.spec
1 #
2 # TODO:
3 #       - figure out why it tries to link with system qt (fix and drop BuildConflicts Qt)
4 #       - more cleanups
5 #       - check if translations are available
6 #       - check Qt ui tool
7 #
8 # Conditional build:
9 %bcond_with     nas             # enable NAS audio support
10 %bcond_without  static_libs     # don't build static libraries
11 %bcond_without  cups            # disable CUPS support
12 %bcond_without  mysql           # don't build MySQL plugin
13 %bcond_without  odbc            # don't build unixODBC plugin
14 %bcond_without  pgsql           # don't build PostgreSQL plugin
15 %bcond_without  sqlite3         # don't build SQLite3 plugin
16 %bcond_without  sqlite          # don't build SQLite2 plugin
17 %bcond_without  ibase           # don't build ibase (InterBase/Firebird) plugin
18 %bcond_without  pch             # disable pch in qmake
19 %bcond_without  gtk             # don't build GTK theme integration
20 %bcond_without  system_phonon   # don't build phonon libraries
21 %bcond_with     mmx             # use MMX instructions
22 %bcond_with     3dnow           # use 3Dnow instructions
23 %bcond_with     sse             # use SSE instructions in gui/painting module
24 %bcond_with     sse2            # use SSE2 instructions
25 %bcond_with     sse3            # use SSE3 instructions (since: Intel middle Pentium4, AMD Athlon64)
26 %bcond_with     ssse3           # use SSSE3 instructions (Intel since Core2, Via Nano)
27 %bcond_with     sse41           # use SSE4.1 instructions (Intel since middle Core2)
28 %bcond_with     sse42           # use SSE4.2 instructions (the same)
29 %bcond_with     avx             # use AVX instructions (future Intel x86 CPUs only)
30 #
31 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
32 %undefine       with_ibase
33 %endif
34 %ifarch athlon
35 %define         with_3dnow      1
36 %endif
37 %ifarch athlon pentium3 pentium4 %{x8664}
38 %define         with_mmx        1
39 %endif
40 %ifarch pentium3 pentium4 %{x8664}
41 %define         with_sse        1
42 %endif
43 %ifarch pentium4 %{x8664}
44 %define         with_sse2       1
45 %endif
46 # any SQL
47 %define         _withsql        1
48 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
49 #
50 Summary:        The Qt GUI application framework
51 Summary(es.UTF-8):      Biblioteca para ejecutar aplicaciones GUI Qt
52 Summary(pl.UTF-8):      Biblioteka Qt do tworzenia GUI
53 Summary(pt_BR.UTF-8):   Estrutura para rodar aplicações GUI Qt
54 Name:           qt4
55 Version:        4.8.3
56 Release:        4
57 License:        LGPL v2.1 or GPL v3.0
58 Group:          X11/Libraries
59 Source0:        http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-%{version}.tar.gz
60 # Source0-md5:  a663b6c875f8d7caa8ac9c30e4a4ec3b
61 Source2:        %{name}-qtconfig.desktop
62 Source3:        %{name}-designer.desktop
63 Source4:        %{name}-assistant.desktop
64 Source5:        %{name}-linguist.desktop
65
66 # git clone git://gitorious.org/+kde-developers/qt/kde-qt.git
67 # git checkout -b 4.7.1-patched origin/4.7.1-patched
68 # git diff v4.7.1..4.7.1-patched > ~/rpm/packages/qt4/qt4-kde-git.patch
69 Patch100:       %{name}-kde-git.patch
70
71 Patch0:         %{name}-tools.patch
72 Patch1:         %{name}-qt_copy.patch
73 Patch2:         %{name}-buildsystem.patch
74 Patch3:         %{name}-locale.patch
75 Patch5:         %{name}-support-cflags-with-commas.patch
76 Patch6:         %{name}-build-lib-static.patch
77 Patch7:         %{name}-x11_fonts.patch
78 Patch8:         %{name}-ibase.patch
79 Patch9:         qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
80 Patch10:        webkit-no_Werror.patch
81 Patch11:        moc-boost148.patch
82 Patch12:        fix-crash-in-assistant.patch
83 Patch13:        improve-cups-support.patch
84 Patch14:        undo-fix-jit-crash-on-x86_64.patch
85 URL:            http://qt.nokia.com/
86 %{?with_ibase:BuildRequires:    Firebird-devel}
87 BuildRequires:  Mesa-libOpenVG-devel
88 BuildRequires:  OpenGL-devel
89 BuildRequires:  OpenGL-GLU-devel
90 BuildRequires:  alsa-lib-devel
91 %{?with_cups:BuildRequires:     cups-devel}
92 BuildRequires:  dbus-devel >= 0.93
93 BuildRequires:  fontconfig-devel
94 BuildRequires:  freetds-devel
95 BuildRequires:  freetype-devel >= 1:2.0.0
96 %{?with_pch:BuildRequires:      gcc >= 5:4.0}
97 BuildRequires:  glib2-devel >= 2.0.0
98 BuildRequires:  gstreamer-plugins-base-devel
99 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.10}
100 # see dependency on libicu version below
101 BuildRequires:  libicu-devel >= 49
102 BuildRequires:  libicu-devel < 50
103 BuildRequires:  libjpeg-devel
104 BuildRequires:  libmng-devel >= 1.0.0
105 BuildRequires:  libpng-devel >= 2:1.0.8
106 BuildRequires:  libstdc++-devel
107 %{?with_mysql:BuildRequires:    mysql-devel}
108 %{?with_nas:BuildRequires:      nas-devel}
109 BuildRequires:  pkgconfig
110 %{?with_pgsql:BuildRequires:    postgresql-backend-devel}
111 %{?with_pgsql:BuildRequires:    postgresql-devel}
112 BuildRequires:  pulseaudio-devel >= 0.9.10
113 BuildRequires:  rpmbuild(macros) >= 1.602
114 BuildRequires:  sed >= 4.0
115 %{?with_sqlite:BuildRequires:   sqlite-devel}
116 %{?with_sqlite3:BuildRequires:  sqlite3-devel}
117 %{?with_odbc:BuildRequires:     unixODBC-devel >= 2.3.0}
118 BuildRequires:  xorg-lib-libSM-devel
119 BuildRequires:  xorg-lib-libXcursor-devel
120 BuildRequires:  xorg-lib-libXext-devel
121 BuildRequires:  xorg-lib-libXfixes-devel
122 BuildRequires:  xorg-lib-libXi-devel
123 BuildRequires:  xorg-lib-libXinerama-devel
124 BuildRequires:  xorg-lib-libXrandr-devel
125 BuildRequires:  xorg-lib-libXrender-devel
126 BuildRequires:  xorg-lib-libXtst-devel
127 BuildRequires:  xorg-lib-libXv-devel
128 BuildRequires:  zlib-devel
129 # when building it tries to link with system qt instead of built one
130 BuildConflicts: QtCore-devel <= %{version}
131 BuildConflicts: QtScript-devel <= %{version}
132 Obsoletes:      qt-extensions
133 Obsoletes:      qt-utils
134 Conflicts:      kdelibs <= 8:3.2-0.030602.1
135 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
136
137 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
138 %define         _noautostrip    '.*_debug\\.so*'
139
140 %define         specflags       -fno-strict-aliasing
141
142 %define         _qtdir          %{_libdir}/qt4
143
144 %description
145 Qt is a complete C++ application development framework, which includes
146 a class library and tools for multiplatform development and
147 internationalization. Using Qt, a single source code tree can build
148 applications that run natively on different platforms (Windows,
149 Unix/Linux, Mac OS X, embedded Linux).
150
151 Qt has a rich set of standard widgets, and lets you write custom
152 controls. It encapsulates four different platform-specific APIs, and
153 the APIs for file-handling, networking, process-handling, threading,
154 database access, etc. Qt now also has Motif migration oraz Netscape
155 LiveConnect plugin.
156
157 %description -l es.UTF-8
158 Contiene las bibliotecas compartidas necesarias para ejecutar
159 aplicaciones Qt, bien como los archivos README.
160
161 %description -l pl.UTF-8
162 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
163 języku C++, w którego skład wchodzi biblioteka z klasami oraz
164 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
165 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
166 różnych platformach (Windows, Unix/Linux, Mac OS X).
167
168 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
169 pozwala również na pisanie własnych elementów. Łączy w sposób
170 niewidoczny dla programisty interfejsy programowania różnych systemów,
171 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
172 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
173 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
174 wykorzystaniem Netscape LiveConnect.
175
176 %package -n Qt3Support
177 Summary:        Qt3 compatibility library
178 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3
179 Group:          X11/Libraries
180 Requires:       QtCore = %{version}-%{release}
181 Requires:       QtGui = %{version}-%{release}
182 Requires:       QtNetwork = %{version}-%{release}
183 Requires:       QtSql = %{version}-%{release}
184 Requires:       QtXml = %{version}-%{release}
185
186 %description -n Qt3Support
187 Qt3 compatibility library.
188
189 %description -n Qt3Support -l pl.UTF-8
190 Biblioteka kompatybilności z Qt3.
191
192 %package -n Qt3Support-devel
193 Summary:        Qt3 compatibility library - development files
194 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3 - pliki programistyczne
195 Group:          X11/Development/Libraries
196 Requires:       Qt3Support = %{version}-%{release}
197 Requires:       QtCore-devel = %{version}-%{release}
198 Requires:       QtGui-devel = %{version}-%{release}
199 Requires:       QtNetwork-devel = %{version}-%{release}
200 Requires:       QtSql-devel = %{version}-%{release}
201
202 %description -n Qt3Support-devel
203 Qt3 compatibility library - development files.
204
205 %description -n Qt3Support-devel -l pl.UTF-8
206 Biblioteka kompatybilności z Qt3 - pliki programistyczne.
207
208 %package -n Qt3Support-static
209 Summary:        Qt3 compatibility library - static libraries
210 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3 - biblioteki statyczne
211 Group:          X11/Development/Libraries
212 Requires:       Qt3Support-devel = %{version}-%{release}
213
214 %description -n Qt3Support-static
215 Qt3 compatibility library - static libraries.
216
217 %description -n Qt3Support-static -l pl.UTF-8
218 Biblioteka kompatybilności z Qt3 - biblioteki statyczne.
219
220 %package -n QtCLucene
221 Summary:        QtCLucene full text search library wrapper
222 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego
223 Group:          X11/Libraries
224 Requires:       QtCore = %{version}-%{release}
225
226 %description -n QtCLucene
227 QtCLucene full text search library wrapper.
228
229 %description -n QtCLucene -l pl.UTF-8
230 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego.
231
232 %package -n QtCLucene-devel
233 Summary:        QtCLucene full text search library wrapper - development files
234 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki programistyczne
235 Group:          X11/Development/Libraries
236 Requires:       QtCLucene = %{version}-%{release}
237 Requires:       QtCore-devel = %{version}-%{release}
238
239 %description -n QtCLucene-devel
240 QtCLucene full text search library wrapper - development files.
241
242 %description -n QtCLucene-devel -l pl.UTF-8
243 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki
244 programistyczne.
245
246 %package -n QtCLucene-static
247 Summary:        QtCLucene full text search library wrapper - static library
248 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - biblioteka statyczna
249 Group:          X11/Development/Libraries
250 Requires:       QtCLucene-devel = %{version}-%{release}
251
252 %description -n QtCLucene-static
253 QtCLucene full text search library wrapper - static library.
254
255 %description -n QtCLucene-static -l pl.UTF-8
256 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego -
257 biblioteka statyczna.
258
259 %package -n QtCore
260 Summary:        Qt core classes used by other modules
261 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły
262 Group:          X11/Libraries
263 %requires_eq    libicu
264 # be sure to depend on proper arch.
265 %ifarch %{ix86}
266 Requires:       libicui18n.so.49
267 %endif
268 %ifarch %{x8664}
269 Requires:       libicui18n.so.49()(64bit)
270 %endif
271 Obsoletes:      QtAssistant
272
273 %description -n QtCore
274 Qt core classes used by other modules.
275
276 %description -n QtCore -l pl.UTF-8
277 Podstawowe klasy Qt używane przez inne moduły.
278
279 %package -n QtCore-devel
280 Summary:        Qt core classes used by other modules - development files
281 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły - pliki programistyczne
282 Group:          X11/Development/Libraries
283 Requires:       QtCore = %{version}-%{release}
284 Requires:       glib2-devel
285 Requires:       libstdc++-devel
286 Requires:       zlib-devel
287 Obsoletes:      QtAssistant-devel
288
289 %description -n QtCore-devel
290 Qt core classes used by other modules - development files.
291
292 %description -n QtCore-devel -l pl.UTF-8
293 Podstawowe klasy Qt używane przez inne moduły - pliki programistyczne.
294
295 %package -n QtCore-static
296 Summary:        Qt core classes used by other modules - static libraries
297 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły - biblioteki statyczne
298 Group:          X11/Development/Libraries
299 Requires:       QtCore-devel = %{version}-%{release}
300 Obsoletes:      QtAssistant-static
301
302 %description -n QtCore-static
303 Qt core classes used by other modules - static libraries.
304
305 %description -n QtCore-static -l pl.UTF-8
306 Podstawowe klasy Qt używane przez inne moduły - biblioteki statyczne.
307
308 %package -n QtDBus
309 Summary:        Qt classes for D-BUS support
310 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS
311 Group:          X11/Libraries
312 Requires:       QtCore = %{version}-%{release}
313 Requires:       QtXml = %{version}-%{release}
314 # only for libqtscriptdbus plugin
315 Requires:       QtGui = %{version}-%{release}
316 Requires:       QtScript = %{version}-%{release}
317
318 %description -n QtDBus
319 This module provides Qt classes for D-BUS support. D-BUS is an
320 Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
321 mechanism originally developed for Linux to replace existing and
322 competing IPC solutions with one unified protocol.
323
324 %description -n QtDBus -l pl.UTF-8
325 Ten moduł udostępnia klasy Qt do obsługi D-BUS. D-BUS to mechanizm
326 komunikacji między procesowej (IPC - Inter-Process Communication) i
327 zdalnego wywoływania procedur (RPC - Remote Procedure Calling)
328 stworzony początkowo dla Linuksa, aby zastąpić istniejące i
329 konkurujące ze sobą rozwiązania IPC jednym, ujednoliconym protokołem.
330
331 %package -n QtDBus-devel
332 Summary:        Qt classes for D-BUS support - development files
333 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS - pliki programistyczne
334 Group:          X11/Development/Libraries
335 Requires:       QtDBus = %{version}-%{release}
336 Requires:       QtXml-devel = %{version}-%{release}
337
338 %description -n QtDBus-devel
339 Qt classes for D-BUS support - development files.
340
341 %description -n QtDBus-devel -l pl.UTF-8
342 Klasy Qt do obsługi D-BUS - pliki programistyczne.
343
344 %package -n QtDBus-static
345 Summary:        Qt classes for D-BUS support - static libraries
346 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS - biblioteki statyczne
347 Group:          X11/Development/Libraries
348 Requires:       QtDBus-devel = %{version}-%{release}
349
350 %description -n QtDBus-static
351 Qt classes for D-BUS support - static libraries.
352
353 %description -n QtDBus-static -l pl.UTF-8
354 Klasy Qt do obsługi D-BUS - biblioteki statyczne.
355
356 %package -n QtDeclarative
357 Summary:        QtDeclarative - QML language engine library
358 Summary(pl.UTF-8):      QtDeclarative - biblioteka języka QML
359 Group:          X11/Libraries
360 Requires:       QtCore = %{version}-%{release}
361 Requires:       QtGui = %{version}-%{release}
362 Requires:       QtNetwork = %{version}-%{release}
363 Requires:       QtOpenGL = %{version}-%{release}
364 Requires:       QtScript = %{version}-%{release}
365 Requires:       QtSql = %{version}-%{release}
366 Requires:       QtSvg = %{version}-%{release}
367 Requires:       QtXmlPatterns = %{version}-%{release}
368 # for qmlwebkitplugin plugin
369 Requires:       QtWebKit = %{version}-%{release}
370
371 %description -n QtDeclarative
372 QtDeclarative is the QML language engine library. QML is a declarative
373 language oriented on JavaScript.
374
375 %description -n QtDeclarative -l pl.UTF-8
376 QtDeclarative to biblioteka języka QML. QML jest deklaratywnym
377 językiem zorientowanym na JavaScript.
378
379 %package -n QtDeclarative-devel
380 Summary:        Development files for QtDeclarative - QML language engine library
381 Summary(pl.UTF-8):      Pliki programistyczne QtDeclarative - biblioteki języka QML
382 Group:          X11/Development/Libraries
383 Requires:       QtDeclarative = %{version}-%{release}
384 Requires:       QtGui-devel = %{version}-%{release}
385 Requires:       QtNetwork-devel = %{version}-%{release}
386 Requires:       QtScript-devel = %{version}-%{release}
387
388 %description -n QtDeclarative-devel
389 Development files for QtDeclarative - QML language engine library.
390
391 %description -n QtDeclarative-devel -l pl.UTF-8
392 Pliki programistyczne QtDeclarative - biblioteki języka QML.
393
394 %package -n QtDeclarative-static
395 Summary:        Static version of QtDeclarative - QML language engine library
396 Summary(pl.UTF-8):      Statycza wersja QtDeclarative - biblioteki języka QML
397 Group:          X11/Development/Libraries
398 Requires:       QtDeclarative-devel = %{version}-%{release}
399
400 %description -n QtDeclarative-static
401 Static version of QtDeclarative - QML language engine library.
402
403 %description -n QtDeclarative-static -l pl.UTF-8
404 Statycza wersja QtDeclarative - biblioteki języka QML.
405
406 %package -n QtDesigner
407 Summary:        Classes for extending Qt Designer
408 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera
409 Group:          X11/Libraries
410 Requires:       QtGui = %{version}-%{release}
411 Requires:       QtNetwork = %{version}-%{release}
412 Requires:       QtScript = %{version}-%{release}
413 Requires:       QtXml = %{version}-%{release}
414 # for plugins
415 Requires:       Qt3Support = %{version}-%{release}
416 Requires:       QtDBus = %{version}-%{release}
417 Requires:       QtDeclarative = %{version}-%{release}
418 Requires:       QtOpenGL = %{version}-%{release}
419 Requires:       QtSql = %{version}-%{release}
420 Requires:       QtSvg = %{version}-%{release}
421 Requires:       QtWebKit = %{version}-%{release}
422 Requires:       QtXmlPatterns = %{version}-%{release}
423 Obsoletes:      qt4-designer-libs
424
425 %description -n QtDesigner
426 This module provides classes that allow you to create your own custom
427 widget plugins for Qt Designer, and classes that enable you to access
428 Qt Designer's components.
429
430 %description -n QtDesigner -l pl.UTF-8
431 Ten moduł dostarcza klasy, które pozwalają tworzyć własne wtyczki dla
432 Qt Designera oraz klasy, które umożliwiają dostęp do jego komponentów.
433
434 %package -n QtDesigner-devel
435 Summary:        Classes for extending Qt Designer - development files
436 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera - pliki programistyczne
437 Group:          X11/Development/Libraries
438 Requires:       QtDesigner = %{version}-%{release}
439 Requires:       QtGui-devel = %{version}-%{release}
440 Requires:       QtScript-devel = %{version}-%{release}
441 Requires:       QtXml-devel = %{version}-%{release}
442
443 %description -n QtDesigner-devel
444 Classes for extending Qt Designer - development files.
445
446 %description -n QtDesigner-devel -l pl.UTF-8
447 Klasy do rozbudowy Qt Designera - pliki programistyczne.
448
449 %package -n QtDesigner-static
450 Summary:        Classes for extending Qt Designer - static libraries
451 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera - biblioteki statyczne
452 Group:          X11/Development/Libraries
453 Requires:       QtDesigner-devel = %{version}-%{release}
454
455 %description -n QtDesigner-static
456 Classes for extending Qt Designer - static libraries.
457
458 %description -n QtDesigner-static -l pl.UTF-8
459 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
460
461 %package -n QtGui
462 Summary:        Qt Graphical User Interface components
463 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt
464 Group:          X11/Libraries
465 Requires:       QtCore = %{version}-%{release}
466 # for qtracegraphicssystem plugin
467 Requires:       QtNetwork = %{version}-%{release}
468
469 %description -n QtGui
470 Qt Graphical User Interface components.
471
472 %description -n QtGui -l pl.UTF-8
473 Komponenty graficznego interfejsu użytkownika Qt.
474
475 %package -n QtGui-devel
476 Summary:        Qt Graphical User Interface components - development files
477 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt - pliki programistyczne
478 Group:          X11/Development/Libraries
479 Requires:       QtCore-devel = %{version}-%{release}
480 Requires:       QtGui = %{version}-%{release}
481 Requires:       fontconfig-devel
482 Requires:       freetype-devel >= 1:2.0.0
483 Requires:       libpng-devel >= 2:1.0.8
484 Requires:       xorg-lib-libSM-devel
485 Requires:       xorg-lib-libXcursor-devel
486 Requires:       xorg-lib-libXext-devel
487 Requires:       xorg-lib-libXfixes-devel
488 Requires:       xorg-lib-libXi-devel
489 Requires:       xorg-lib-libXinerama-devel
490 Requires:       xorg-lib-libXrandr-devel
491 Requires:       xorg-lib-libXrender-devel
492
493 %description -n QtGui-devel
494 Qt Graphical User Interface components - development files.
495
496 %description -n QtGui-devel -l pl.UTF-8
497 Komponenty graficznego interfejsu użytkownika Qt - pliki
498 programistyczne.
499
500 %package -n QtGui-static
501 Summary:        Qt Graphical User Interface components - static libraries
502 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt - biblioteki statyczne
503 Group:          X11/Development/Libraries
504 Requires:       QtGui-devel = %{version}-%{release}
505
506 %description -n QtGui-static
507 Qt Graphical User Interface components - static libraries.
508
509 %description -n QtGui-static -l pl.UTF-8
510 Komponenty graficznego interfejsu użytkownika Qt - biblioteki
511 statyczne.
512
513 %package -n QtHelp
514 Summary:        Qt classes for integrating online documentation in applications
515 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach
516 Group:          X11/Libraries
517 Requires:       QtCLucene = %{version}-%{release}
518 Requires:       QtGui = %{version}-%{release}
519 Requires:       QtNetwork = %{version}-%{release}
520 Requires:       QtSql = %{version}-%{release}
521 Requires:       QtXml = %{version}-%{release}
522
523 %description -n QtHelp
524 QtHelp module includes tools for generating and viewing Qt help files.
525 In addition it provides classes for accessing help contents
526 programatically to be able to integrate online help into Qt
527 applications.
528
529 %description -n QtHelp -l pl.UTF-8
530 Moduł QtHelp zawiera narzędzia do generowania i przeglądania plików
531 pomocy Qt. Oprócz tego udostępnia klasy pozwalające na programowy
532 dostęp do zawartości dokumentacji w celu integracji pomocy w
533 aplikacjach Qt.
534
535 %package -n QtHelp-devel
536 Summary:        Qt classes for integrating online documentation in applications - development files
537 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach - pliki programistyczne
538 Group:          X11/Development/Libraries
539 Requires:       QtCLucene-devel = %{version}-%{release}
540 Requires:       QtGui-devel = %{version}-%{release}
541 Requires:       QtHelp = %{version}-%{release}
542 Requires:       QtSql-devel = %{version}-%{release}
543 Requires:       QtXml-devel = %{version}-%{release}
544
545 %description -n QtHelp-devel
546 Qt classes for integrating online documentation in applications -
547 development files.
548
549 %description -n QtHelp-devel -l pl.UTF-8
550 Klasy Qt do integracji dokumentacji w aplikacjach - pliki
551 programistyczne.
552
553 %package -n QtHelp-static
554 Summary:        Qt classes for integrating online documentation in applications - static library
555 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach - biblioteka statyczna
556 Group:          X11/Development/Libraries
557 Requires:       QtHelp-devel = %{version}-%{release}
558
559 %description -n QtHelp-static
560 Qt classes for integrating online documentation in applications -
561 static library.
562
563 %description -n QtHelp-static -l pl.UTF-8
564 Klasy Qt do integracji dokumentacji w aplikacjach - biblioteka
565 statyczna.
566
567 %package -n QtMultimedia
568 Summary:        Qt classes for multimedia programming
569 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów
570 Group:          X11/Libraries
571 Requires:       QtCore = %{version}-%{release}
572 Requires:       QtGui = %{version}-%{release}
573
574 %description -n QtMultimedia
575 Qt classes for multimedia programming.
576
577 %description -n QtMultimedia -l pl.UTF-8
578 Klasy Qt do programowania multimediów.
579
580 %package -n QtMultimedia-devel
581 Summary:        Qt classes for multimedia programming - development files
582 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów - pliki programistyczne
583 Group:          X11/Development/Libraries
584 Requires:       QtCore-devel = %{version}-%{release}
585 Requires:       QtMultimedia = %{version}-%{release}
586
587 %description -n QtMultimedia-devel
588 Qt classes for multimedia programming - development files.
589
590 %description -n QtMultimedia-devel -l pl.UTF-8
591 Klasy Qt do programowania multimediów - pliki programistyczne.
592
593 %package -n QtMultimedia-static
594 Summary:        Qt classes for multimedia programming - static libraries
595 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów - biblioteki statyczne
596 Group:          X11/Development/Libraries
597 Requires:       QtMultimedia-devel = %{version}-%{release}
598
599 %description -n QtMultimedia-static
600 Qt classes for multimedia programming - static libraries.
601
602 %description -n QtMultimedia-static -l pl.UTF-8
603 Klasy Qt do programowania multimediów - biblioteki statyczne.
604
605 %package -n QtNetwork
606 Summary:        Qt classes for network programming
607 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego
608 Group:          X11/Libraries
609 Requires:       QtCore = %{version}-%{release}
610 # the rest for qnmbearer plugin
611 Requires:       QtDBus = %{version}-%{release}
612 Requires:       QtXml = %{version}-%{release}
613
614 %description -n QtNetwork
615 Qt classes for network programming.
616
617 %description -n QtNetwork -l pl.UTF-8
618 Klasy Qt do programowania sieciowego.
619
620 %package -n QtNetwork-devel
621 Summary:        Qt classes for network programming - development files
622 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego - pliki programistyczne
623 Group:          X11/Development/Libraries
624 Requires:       QtCore-devel = %{version}-%{release}
625 Requires:       QtNetwork = %{version}-%{release}
626
627 %description -n QtNetwork-devel
628 Qt classes for network programming - development files.
629
630 %description -n QtNetwork-devel -l pl.UTF-8
631 Klasy Qt do programowania sieciowego - pliki programistyczne.
632
633 %package -n QtNetwork-static
634 Summary:        Qt classes for network programming - static libraries
635 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego - biblioteki statyczne
636 Group:          X11/Development/Libraries
637 Requires:       QtNetwork-devel = %{version}-%{release}
638
639 %description -n QtNetwork-static
640 Qt classes for network programming - static libraries.
641
642 %description -n QtNetwork-static -l pl.UTF-8
643 Klasy Qt do programowania sieciowego - biblioteki statyczne.
644
645 %package -n QtOpenGL
646 Summary:        Qt OpenGL support classes
647 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL
648 Group:          X11/Libraries
649 Requires:       QtCore = %{version}-%{release}
650 Requires:       QtGui = %{version}-%{release}
651
652 %description -n QtOpenGL
653 Qt OpenGL support classes.
654
655 %description -n QtOpenGL -l pl.UTF-8
656 Klasy Qt wspomagające OpenGL.
657
658 %package -n QtOpenGL-devel
659 Summary:        Qt OpenGL support classes - development files
660 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL - pliki programistyczne
661 Group:          X11/Development/Libraries
662 Requires:       OpenGL-GLU-devel
663 Requires:       QtCore-devel = %{version}-%{release}
664 Requires:       QtGui-devel = %{version}-%{release}
665 Requires:       QtOpenGL = %{version}-%{release}
666
667 %description -n QtOpenGL-devel
668 Qt OpenGL support classes - development files.
669
670 %description -n QtOpenGL-devel -l pl.UTF-8
671 Klasy Qt wspomagające OpenGL - pliki programistyczne.
672
673 %package -n QtOpenGL-static
674 Summary:        Qt OpenGL support classes - static libraries
675 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL - biblioteki statyczne
676 Group:          X11/Development/Libraries
677 Requires:       QtOpenGL-devel = %{version}-%{release}
678
679 %description -n QtOpenGL-static
680 Qt OpenGL support classes - static libraries.
681
682 %description -n QtOpenGL-static -l pl.UTF-8
683 Klasy Qt wspomagające OpenGL - biblioteki statyczne.
684
685 %package -n QtOpenVG
686 Summary:        Qt OpenVG support classes
687 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG
688 Group:          X11/Libraries
689 Requires:       QtCore = %{version}-%{release}
690 Requires:       QtGui = %{version}-%{release}
691
692 %description -n QtOpenVG
693 Qt OpenVG support classes.
694
695 %description -n QtOpenVG -l pl.UTF-8
696 Klasy Qt wspomagające OpenVG.
697
698 %package -n QtOpenVG-devel
699 Summary:        Qt OpenVG support classes - development files
700 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG - pliki programistyczne
701 Group:          X11/Development/Libraries
702 Requires:       Mesa-libOpenVG-devel
703 Requires:       QtCore-devel = %{version}-%{release}
704 Requires:       QtGui-devel = %{version}-%{release}
705
706 %description -n QtOpenVG-devel
707 Qt OpenVG support classes - development files.
708
709 %description -n QtOpenVG-devel -l pl.UTF-8
710 Klasy Qt wspomagające OpenVG - pliki programistyczne.
711
712 %package -n QtOpenVG-static
713 Summary:        Qt OpenVG support classes - static libraries
714 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG - biblioteki statyczne
715 Group:          X11/Development/Libraries
716 Requires:       QtOpenVG-devel = %{version}-%{release}
717
718 %description -n QtOpenVG-static
719 Qt OpenVG support classes - static libraries.
720
721 %description -n QtOpenVG-static -l pl.UTF-8
722 Klasy Qt wspomagające OpenVG - biblioteki statyczne.
723
724 %package -n QtScript
725 Summary:        Qt classes for scripting applications
726 Summary(pl.UTF-8):      Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach
727 Group:          X11/Development/Libraries
728 Requires:       QtCore = %{version}-%{release}
729
730 %description -n QtScript
731 The QtScript module provides Qt classes to handle scripts inside
732 applications.
733
734 %description -n QtScript -l pl.UTF-8
735 Ten moduł dostarcza klasy Qt obsługujące języki skryptowe wewnątrz
736 aplikacji.
737
738 %package -n QtScript-devel
739 Summary:        Qt classes for scripting applications - development files
740 Summary(pl.UTF-8):      Klasy Qt do obsługi skryptów wewnątrz aplikacji - pliki programistyczne
741 Group:          X11/Development/Libraries
742 Requires:       QtCore-devel = %{version}-%{release}
743 Requires:       QtScript = %{version}-%{release}
744
745 %description -n QtScript-devel
746 Qt classes for scriptin applications - development files.
747
748 %description -n QtScript-devel -l pl.UTF-8
749 Klasy Qt do obsługi skryptów wewnątrz aplikacji - pliki
750 programistyczne.
751
752 %package -n QtScript-static
753 Summary:        Qt classes for scripting applications - static library
754 Summary(pl.UTF-8):      Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach - biblioteka statyczna
755 Group:          X11/Development/Libraries
756 Requires:       QtScript-devel = %{version}-%{release}
757
758 %description -n QtScript-static
759 Qt classes for scripting applications - static library.
760
761 %description -n QtScript-static -l pl.UTF-8
762 Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach - biblioteka
763 statyczna.
764
765 %package -n QtScriptTools
766 Summary:        QtScriptTools - additional components for applications that use QtScript
767 Summary(pl.UTF-8):      QtScriptTools - dodatkowe komponenty dla aplikacji wykorzystujących QtScript
768 Group:          X11/Development/Libraries
769 Requires:       QtCore = %{version}-%{release}
770 Requires:       QtGui = %{version}-%{release}
771 Requires:       QtScript = %{version}-%{release}
772
773 %description -n QtScriptTools
774 The QtScriptTools module provides additional components for
775 applications that use QtScript.
776
777 %description -n QtScriptTools -l pl.UTF-8
778 Moduł QtScriptTools dostarcza dodatkowe komponenty dla aplikacji
779 wykorzystujących QtScript.
780
781 %package -n QtScriptTools-devel
782 Summary:        Development files for QtScriptTools components
783 Summary(pl.UTF-8):      Pliki programistyczne komponentów QtScriptTools
784 Group:          X11/Development/Libraries
785 Requires:       QtCore-devel = %{version}-%{release}
786 Requires:       QtGui-devel = %{version}-%{release}
787 Requires:       QtScript-devel = %{version}-%{release}
788 Requires:       QtScriptTools = %{version}-%{release}
789
790 %description -n QtScriptTools-devel
791 Development files for QtScriptTools components.
792
793 %description -n QtScriptTools-devel -l pl.UTF-8
794 Pliki programistyczne komponentów QtScriptTools.
795
796 %package -n QtScriptTools-static
797 Summary:        QtScriptTools components - static library
798 Summary(pl.UTF-8):      Komponenty QtScriptTools - biblioteka statyczna
799 Group:          X11/Development/Libraries
800 Requires:       QtScriptTools-devel = %{version}-%{release}
801
802 %description -n QtScriptTools-static
803 Static version of QtScriptTools library, providing additional
804 components for applications that use QtScript.
805
806 %description -n QtScriptTools-static -l pl.UTF-8
807 Statyczna biblioteka QtScriptTools, dostarczająca dodatkowe komponenty
808 dla aplikacji wykorzystujących QtScript.
809
810 %package -n QtSql
811 Summary:        Qt classes for database integration using SQL
812 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL
813 Group:          X11/Libraries
814 Requires:       QtCore = %{version}-%{release}
815
816 %description -n QtSql
817 Qt classes for database integration using SQL.
818
819 %description -n QtSql -l pl.UTF-8
820 Klasy Qt do integracji z bazami danych przy użyciu SQL.
821
822 %package -n QtSql-devel
823 Summary:        Qt classes for database integration using SQL - development files
824 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL - pliki programistyczne
825 Group:          X11/Development/Libraries
826 Requires:       QtCore-devel = %{version}-%{release}
827 Requires:       QtSql = %{version}-%{release}
828
829 %description -n QtSql-devel
830 Qt classes for database integration using SQL - development files.
831
832 %description -n QtSql-devel -l pl.UTF-8
833 Klasy Qt do integracji z bazami danych przy użyciu SQL - pliki
834 programistyczne.
835
836 %package -n QtSql-static
837 Summary:        Qt classes for database integration using SQL - static libraries
838 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL - biblioteki statyczne
839 Group:          X11/Development/Libraries
840 Requires:       QtSql-devel = %{version}-%{release}
841
842 %description -n QtSql-static
843 Qt classes for database integration using SQL - static libraries.
844
845 %description -n QtSql-static -l pl.UTF-8
846 Klasy Qt do integracji z bazami danych przy użyciu SQL - biblioteki
847 statyczne. programistyczne.
848
849 %package -n QtSql-ibase
850 Summary:        Database plugin for InterBase/Firebird Qt support
851 Summary(pl.UTF-8):      Wtyczka InterBase/Firebird do Qt
852 Summary(pt_BR.UTF-8):   Plugin de suporte a InterBase/Firebird para Qt
853 Group:          X11/Libraries
854 Requires:       QtSql = %{version}-%{release}
855 Provides:       QtSql-backend = %{version}-%{release}
856
857 %description -n QtSql-ibase
858 This package contains a plugin for accessing Interbase/Firebird
859 database via the QSql classes.
860
861 %description -n QtSql-ibase -l pl.UTF-8
862 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
863 danych Interbase/Firebird poprzez klasy QSql.
864
865 %description -n QtSql-ibase -l pt_BR.UTF-8
866 Plugin de suporte a InterBase/Firebird para Qt.
867
868 %package -n QtSql-mysql
869 Summary:        Database plugin for MySQL Qt support
870 Summary(pl.UTF-8):      Wtyczka MySQL do Qt
871 Summary(pt_BR.UTF-8):   Plugin de suporte a MySQL para Qt
872 Group:          X11/Libraries
873 Requires:       QtSql = %{version}-%{release}
874 Provides:       QtSql-backend = %{version}-%{release}
875
876 %description -n QtSql-mysql
877 This package contains a plugin for accessing MySQL database via the
878 QSql classes.
879
880 %description -n QtSql-mysql -l pl.UTF-8
881 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
882 danych MySQL poprzez klasy QSql.
883
884 %description -n QtSql-mysql -l pt_BR.UTF-8
885 Plugin de suporte a MySQL para Qt.
886
887 %package -n QtSql-odbc
888 Summary:        Database plugin for ODBC Qt support
889 Summary(pl.UTF-8):      Wtyczka ODBC do Qt
890 Summary(pt_BR.UTF-8):   Plugin de suporte a ODBC para Qt
891 Group:          X11/Libraries
892 Requires:       QtSql = %{version}-%{release}
893 Provides:       QtSql-backend = %{version}-%{release}
894
895 %description -n QtSql-odbc
896 This package contains a plugin for accessing unixODBC services via the
897 QSql classes.
898
899 %description -n QtSql-odbc -l pl.UTF-8
900 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z usług
901 unixODBC poprzez klasy QSql.
902
903 %description -n QtSql-odbc -l pt_BR.UTF-8
904 Plugin de suporte a ODBC para Qt.
905
906 %package -n QtSql-pgsql
907 Summary:        Database plugin for PostgreSQL Qt support
908 Summary(pl.UTF-8):      Wtyczka PostgreSQL do Qt
909 Summary(pt_BR.UTF-8):   Plugin de suporte a PostgreSQL para Qt
910 Group:          X11/Libraries
911 Requires:       QtSql = %{version}-%{release}
912 Provides:       QtSql-backend = %{version}-%{release}
913
914 %description -n QtSql-pgsql
915 This package contains a plugin for accessing PostgreSQL database via
916 the QSql classes.
917
918 %description -n QtSql-pgsql -l pl.UTF-8
919 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
920 danych PostgreSQL poprzez klasy QSql.
921
922 %description -n QtSql-pgsql -l es.UTF-8
923 Plugin de suporte a PostgreSQL para Qt.
924
925 %package -n QtSql-sqlite
926 Summary:        Database plugin for SQLite 2.x Qt support
927 Summary(pl.UTF-8):      Wtyczka SQLite 2.x do Qt
928 Summary(pt_BR.UTF-8):   Plugin de suporte a SQLite 2.x para Qt
929 Group:          X11/Libraries
930 Requires:       QtSql = %{version}-%{release}
931 Provides:       QtSql-backend = %{version}-%{release}
932
933 %description -n QtSql-sqlite
934 This package contains a plugin for using the SQLite 2.x library (which
935 allows to acces virtually any SQL database) via the QSql classes.
936
937 %description -n QtSql-sqlite -l pl.UTF-8
938 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
939 danych SQLite 2.x poprzez klasy QSql.
940
941 %description -n QtSql-sqlite -l pt_BR.UTF-8
942 Plugin de suporte a SQLite 2.x para Qt.
943
944 %package -n QtSql-sqlite3
945 Summary:        Database plugin for SQLite3 Qt support
946 Summary(pl.UTF-8):      Wtyczka SQLite3 do Qt
947 Summary(pt_BR.UTF-8):   Plugin de suporte a SQLite3 para Qt
948 Group:          X11/Libraries
949 Requires:       QtSql = %{version}-%{release}
950 Provides:       QtSql-backend = %{version}-%{release}
951
952 %description -n QtSql-sqlite3
953 This package contains a plugin for using the SQLite3 library (which
954 allows to acces virtually any SQL database) via the QSql classes.
955
956 %description -n QtSql-sqlite3 -l pl.UTF-8
957 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
958 danych SQLite3 poprzez klasy QSql.
959
960 %description -n QtSql-sqlite3 -l pt_BR.UTF-8
961 Plugin de suporte a SQLite3 para Qt.
962
963 %package -n QtSql-tds
964 Summary:        Database plugin for TDS Qt support
965 Summary(pl.UTF-8):      Wtyczka TDS do Qt
966 Summary(pt_BR.UTF-8):   Plugin de suporte a TDS para Qt
967 Group:          X11/Libraries
968 Requires:       QtSql = %{version}-%{release}
969 Provides:       QtSql-backend = %{version}-%{release}
970
971 %description -n QtSql-tds
972 This package contains a plugin for accessing TDS database via the QSql
973 classes.
974
975 %description -n QtSql-tds -l pl.UTF-8
976 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
977 danych TDS poprzez klasy QSql.
978
979 %description -n QtSql-tds -l pt_BR.UTF-8
980 Plugin de suporte a TDS para Qt.
981
982 %package -n QtSvg
983 Summary:        Qt SVG support
984 Summary(pl.UTF-8):      Wsparcie Qt dla SVG
985 Group:          X11/Libraries
986 Requires:       QtCore = %{version}-%{release}
987 Requires:       QtGui = %{version}-%{release}
988 # for svg plugins
989 Requires:       QtXml = %{version}-%{release}
990
991 %description -n QtSvg
992 Qt SVG support.
993
994 %description -n QtSvg -l pl.UTF-8
995 Wsparcie Qt dla SVG.
996
997 %package -n QtSvg-devel
998 Summary:        Qt SVG support - development files
999 Summary(pl.UTF-8):      Wsparcie Qt dla SVG - pliki programistyczne
1000 Group:          X11/Development/Libraries
1001 Requires:       QtGui-devel = %{version}-%{release}
1002 Requires:       QtSvg = %{version}-%{release}
1003
1004 %description -n QtSvg-devel
1005 Qt SVG support - development files.
1006
1007 %description -n QtSvg-devel -l pl.UTF-8
1008 Wsparcie Qt dla SVG - pliki programistyczne.
1009
1010 %package -n QtSvg-static
1011 Summary:        Qt SVG support - static libraries
1012 Summary(pl.UTF-8):      Wsparcie Qt dla SVG - biblioteki statyczne
1013 Group:          X11/Development/Libraries
1014 Requires:       QtSvg-devel = %{version}-%{release}
1015
1016 %description -n QtSvg-static
1017 Qt SVG support - static libraries.
1018
1019 %description -n QtSvg-static -l pl.UTF-8
1020 Wsparcie Qt dla SVG - biblioteki statyczne.
1021
1022 %package -n QtTest
1023 Summary:        Qt test framework
1024 Summary(pl.UTF-8):      Szkielet testów Qt
1025 Group:          X11/Libraries
1026 Requires:       QtCore = %{version}-%{release}
1027
1028 %description -n QtTest
1029 Qt test framework.
1030
1031 %description -n QtTest -l pl.UTF-8
1032 Szkielet testów Qt.
1033
1034 %package -n QtTest-devel
1035 Summary:        Qt test framework - development files
1036 Summary(pl.UTF-8):      Szkielet testów Qt - pliki programistyczne
1037 Group:          X11/Development/Libraries
1038 Requires:       QtCore-devel = %{version}-%{release}
1039 Requires:       QtTest = %{version}-%{release}
1040
1041 %description -n QtTest-devel
1042 Qt test framework - development files.
1043
1044 %description -n QtTest-devel -l pl.UTF-8
1045 Szkielet testów Qt - pliki programistyczne.
1046
1047 %package -n QtTest-static
1048 Summary:        Qt test framework - static libraries
1049 Summary(pl.UTF-8):      Szkielet testów Qt - biblioteki statyczne
1050 Group:          X11/Development/Libraries
1051 Requires:       QtTest-devel = %{version}-%{release}
1052
1053 %description -n QtTest-static
1054 Qt test framework - static libraries.
1055
1056 %description -n QtTest-static -l pl.UTF-8
1057 Szkielet testów Qt - biblioteki statyczne.
1058
1059 %package -n QtUiTools
1060 Summary:        Classes for handling Qt Designer forms in applications
1061 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach
1062 Group:          X11/Libraries
1063 Requires:       QtGui = %{version}-%{release}
1064 Requires:       QtXml = %{version}-%{release}
1065
1066 %description -n QtUiTools
1067 The QtUiTools module provides classes to handle forms created with Qt
1068 Designer.
1069
1070 %description -n QtUiTools -l pl.UTF-8
1071 Moduł QtUiTools udostępnia klasy do obsługi formularzy tworzonych przy
1072 użyciu Qt Designera.
1073
1074 %package -n QtUiTools-devel
1075 Summary:        Classes for handling Qt Designer forms in applications - development files
1076 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki programistyczne
1077 Group:          X11/Development/Libraries
1078 Requires:       QtGui-devel = %{version}-%{release}
1079 Requires:       QtUiTools = %{version}-%{release}
1080 Requires:       QtXml-devel = %{version}-%{release}
1081
1082 %description -n QtUiTools-devel
1083 Classes for handling Qt Designer forms in applications - development
1084 files.
1085
1086 %description -n QtUiTools-devel -l pl.UTF-8
1087 Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki
1088 programistyczne.
1089
1090 %package -n QtUiTools-static
1091 Summary:        Classes for handling Qt Designer forms in applications - static library
1092 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka statyczna
1093 Group:          X11/Development/Libraries
1094 Requires:       QtUiTools-devel = %{version}-%{release}
1095
1096 %description -n QtUiTools-static
1097 Classes for handling Qt Designer forms in applications - static
1098 library.
1099
1100 %description -n QtUiTools-static -l pl.UTF-8
1101 Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka
1102 statyczna.
1103
1104 %package -n QtWebKit
1105 Summary:        Qt classes for rendering HTML, XHTML and SVG documents
1106 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG
1107 Group:          X11/Libraries
1108 Requires:       QtDBus = %{version}-%{release}
1109 Requires:       QtGui = %{version}-%{release}
1110 Requires:       QtNetwork = %{version}-%{release}
1111 Requires:       QtXml = %{version}-%{release}
1112
1113 %description -n QtWebKit
1114 QtWebKit provides a Web browser engine that makes it easy to embed
1115 content from the World Wide Web into your Qt application. At the same
1116 time Web content can be enhanced with native controls. QtWebKit
1117 provides facilities for rendering of HyperText Markup Language (HTML),
1118 Extensible HyperText Markup Language (XHTML) and Scalable Vector
1119 Graphics (SVG) documents, styled using Cascading Style Sheets (CSS)
1120 and scripted with JavaScript.
1121
1122 %description -n QtWebKit -l pl.UTF-8
1123 QtWebKit udostępnia silnik przeglądarki WWW ułatwiający osadzanie
1124 treści ze stron WWW w aplikacjach Qt. Jednocześnie treść WWW może być
1125 rozszerzana o natywne kontrolki. QtWebKit zapewnia renderowanie
1126 dokumentów w językach HTML (HyperText Markup Language), XHTML
1127 (Extensible HyperText Markup Language) i SVG (Scalable Vector
1128 Graphics) z obsługą styli CSS (Cascading Style Sheets) i skryptów w
1129 języku JavaScript.
1130
1131 %package -n QtWebKit-devel
1132 Summary:        Qt classes for rendering HTML, XHTML and SVG documents - development files
1133 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - pliki programistyczne
1134 Group:          X11/Development/Libraries
1135 Requires:       QtGui-devel = %{version}-%{release}
1136 Requires:       QtNetwork-devel = %{version}-%{release}
1137 Requires:       QtScript-devel = %{version}-%{release}
1138 Requires:       QtWebKit = %{version}-%{release}
1139 %if %{with system_phonon}
1140 Requires:       phonon-devel
1141 %else
1142 Requires:       qt4-phonon-devel = %{version}-%{release}
1143 %endif
1144
1145 %description -n QtWebKit-devel
1146 Qt classes for rendering HTML, XHTML and SVG documents - development
1147 files.
1148
1149 %description -n QtWebKit-devel -l pl.UTF-8
1150 Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - pliki
1151 programistyczne.
1152
1153 %package -n QtWebKit-static
1154 Summary:        Qt classes for rendering HTML, XHTML and SVG documents - static library
1155 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - biblioteka statyczna
1156 Group:          X11/Development/Libraries
1157 Requires:       QtWebKit-devel = %{version}-%{release}
1158
1159 %description -n QtWebKit-static
1160 Qt classes for rendering HTML, XHTML and SVG documents - static
1161 library.
1162
1163 %description -n QtWebKit-static -l pl.UTF-8
1164 Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - biblioteka
1165 statyczna.
1166
1167 %package -n QtXml
1168 Summary:        Qt classes for handling XML
1169 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a
1170 Group:          X11/Libraries
1171 Requires:       QtCore = %{version}-%{release}
1172
1173 %description -n QtXml
1174 Qt classes for handling XML.
1175
1176 %description -n QtXml -l pl.UTF-8
1177 Klasy Qt do obsługi XML-a.
1178
1179 %package -n QtXml-devel
1180 Summary:        Qt classes for handling XML - development files
1181 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a - pliki programistyczne
1182 Group:          X11/Development/Libraries
1183 Requires:       QtCore-devel = %{version}-%{release}
1184 Requires:       QtXml = %{version}-%{release}
1185
1186 %description -n QtXml-devel
1187 Qt classes for handling XML - development files.
1188
1189 %description -n QtXml-devel -l pl.UTF-8
1190 Klasy Qt do obsługi XML-a - pliki programistyczne.
1191
1192 %package -n QtXml-static
1193 Summary:        Qt classes for handling XML - static libraries
1194 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a - biblioteki statyczne
1195 Group:          X11/Development/Libraries
1196 Requires:       QtXml-devel = %{version}-%{release}
1197
1198 %description -n QtXml-static
1199 Qt classes for handling XML - static libraries.
1200
1201 %description -n QtXml-static -l pl.UTF-8
1202 Klasy Qt do obsługi XML-a - biblioteki statyczne.
1203
1204 %package -n QtXmlPatterns
1205 Summary:        QtXmlPatterns XQuery engine
1206 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns
1207 Group:          X11/Libraries
1208 Requires:       QtCore = %{version}-%{release}
1209 Requires:       QtNetwork = %{version}-%{release}
1210
1211 %description -n QtXmlPatterns
1212 QtXmlPatterns XQuery engine.
1213
1214 %description -n QtXmlPatterns -l pl.UTF-8
1215 Silnik zapytań XQuery QtXmlPatterns.
1216
1217 %package -n QtXmlPatterns-devel
1218 Summary:        QtXmlPatterns XQuery engine - development files
1219 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns - pliki programistyczne
1220 Group:          X11/Development/Libraries
1221 Requires:       QtNetwork-devel = %{version}-%{release}
1222 Requires:       QtXmlPatterns = %{version}-%{release}
1223
1224 %description -n QtXmlPatterns-devel
1225 QtXmlPatterns XQuery engine - development files.
1226
1227 %description -n QtXmlPatterns-devel -l pl.UTF-8
1228 Silnik zapytań XQuery QtXmlPatterns - pliki programistyczne.
1229
1230 %package -n QtXmlPatterns-static
1231 Summary:        QtXmlPatterns XQuery engine - static library
1232 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns - biblioteka statyczna
1233 Group:          X11/Development/Libraries
1234 Requires:       QtXmlPatterns-devel = %{version}-%{release}
1235
1236 %description -n QtXmlPatterns-static
1237 QtXmlPatterns XQuery engine - static library.
1238
1239 %description -n QtXmlPatterns-static -l pl.UTF-8
1240 Silnik zapytań XQuery QtXmlPatterns - biblioteka statyczna.
1241
1242 %package assistant
1243 Summary:        Qt documentation browser
1244 Summary(pl.UTF-8):      Przeglądarka dokumentacji Qt
1245 Group:          X11/Development/Tools
1246 Requires:       QtGui = %{version}-%{release}
1247 Requires:       QtHelp = %{version}-%{release}
1248 Requires:       QtNetwork = %{version}-%{release}
1249 Requires:       QtSql = %{version}-%{release}
1250 Requires:       QtSql-sqlite3 = %{version}-%{release}
1251 Requires:       QtWebKit = %{version}-%{release}
1252 Requires:       QtXml = %{version}-%{release}
1253 Requires:       hicolor-icon-theme
1254
1255 %description assistant
1256 Qt Assistant is a tool for browsing on-line documentation with
1257 indexing, bookmarks and full-text search.
1258
1259 %description assistant -l pl.UTF-8
1260 Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością
1261 indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania.
1262
1263 %package build
1264 Summary:        Build tools for Qt4
1265 Summary(pl.UTF-8):      Narzędzia do budowania dla Qt4
1266 Group:          X11/Development/Tools
1267 Requires:       QtCore = %{version}-%{release}
1268 Requires:       QtGui = %{version}-%{release}
1269 Requires:       QtXml = %{version}-%{release}
1270
1271 %description build
1272 This package includes the Qt resource compiler (rcc), meta objects
1273 compiler (moc), user interface compiler (uic) and qt3to4 include names
1274 converter.
1275
1276 %description build -l pl.UTF-8
1277 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
1278 metaobiektów (moc), kompilator interfejsów użytkownika (uic) oraz
1279 konwerter nazw plików nagłówkowych qt3to4.
1280
1281 %package designer
1282 Summary:        IDE used for GUI designing with Qt library
1283 Summary(pl.UTF-8):      IDE służące do projektowania GUI za pomocą biblioteki Qt
1284 Group:          X11/Applications
1285 Requires:       QtDesigner = %{version}-%{release}
1286
1287 %description designer
1288 An advanced tool used for GUI designing with Qt library.
1289
1290 %description designer -l pl.UTF-8
1291 Zaawansowane narzędzie służące do projektowania interfejsu graficznego
1292 za pomocą biblioteki Qt.
1293
1294 %package linguist
1295 Summary:        Translation helper for Qt
1296 Summary(pl.UTF-8):      Aplikacja ułatwiająca tłumaczenie aplikacji opartych o Qt
1297 Group:          X11/Development/Tools
1298 Requires:       QtUiTools = %{version}-%{release}
1299 Requires:       hicolor-icon-theme
1300
1301 %description linguist
1302 This program provides an interface that shortens and helps systematize
1303 the process of translating GUIs. Qt Linguist takes all of the text of
1304 a UI that will be shown to the user, and presents it to a human
1305 translator in a simple window. When one UI text is translated, the
1306 program automatically progresses to the next, until they are all
1307 completed.
1308
1309 %description linguist -l pl.UTF-8
1310 Ten program oferuje interfejs znacznie przyśpieszający proces
1311 tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty
1312 przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie.
1313 Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do
1314 następnego, aż wszystkie będą przetłumaczone.
1315
1316 %package phonon
1317 Summary:        Cross-platform multimedia framework
1318 Summary(pl.UTF-8):      Wieloplatformowy szkielet multimedialny
1319 Group:          X11/Development/Tools
1320 Obsoletes:      phonon
1321
1322 %description phonon
1323 Phonon is a cross-platform multimedia framework that enables the use
1324 of audio and video content in Qt applications.
1325
1326 %description phonon -l pl.UTF-8
1327 Phonon to wieloplatformowy szkielet multimedialny pozwalający na
1328 wykorzystywanie treści dźwiękowych i filmowych w aplikacjach Qt.
1329
1330 %package phonon-devel
1331 Summary:        Cross-platform multimedia framework - development files
1332 Summary(pl.UTF-8):      Wieloplatformowy szkielet multimedialny - pliki programistyczne
1333 Group:          X11/Development/Libraries
1334 Requires:       QtCore-devel = %{version}-%{release}
1335 Requires:       QtDBus-devel = %{version}-%{release}
1336 Requires:       QtGui-devel = %{version}-%{release}
1337 Requires:       qt4-phonon = %{version}-%{release}
1338 Obsoletes:      phonon-devel
1339
1340 %description phonon-devel
1341 Cross-platform multimedia framework - development files.
1342
1343 %description phonon-devel -l pl.UTF-8
1344 Wieloplatformowy szkielet multimedialny - pliki programistyczne.
1345
1346 %package qmake
1347 Summary:        Qt makefile generator
1348 Summary(pl.UTF-8):      Generator plików makefile dla aplikacji Qt
1349 Group:          X11/Development/Tools
1350
1351 %description qmake
1352 A powerful makefile generator. It can create makefiles on any platform
1353 from a simple .pro definitions file.
1354
1355 %description qmake -l pl.UTF-8
1356 Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile
1357 na każdej platformi na podstawie łatwego w przygotowaniu pliku .pro.
1358
1359 %package qtconfig
1360 Summary:        Qt widgets configuration tool
1361 Summary(pl.UTF-8):      Narzędzie do konfigurowania widgetów Qt
1362 Group:          X11/Applications
1363 Requires:       Qt3Support = %{version}-%{release}
1364 Requires:       QtDBus = %{version}-%{release}
1365 Requires:       QtGui = %{version}-%{release}
1366 Requires:       QtNetwork = %{version}-%{release}
1367 Requires:       QtSql = %{version}-%{release}
1368 Requires:       QtXml = %{version}-%{release}
1369 Requires:       desktop-file-utils
1370
1371 %description qtconfig
1372 A tool for configuring look and behavior of Qt widgets.
1373
1374 %description qtconfig -l pl.UTF-8
1375 Narzędie do konfiguracji wyglądu i zachowania widgetów Qt.
1376
1377 %package -n qvfb
1378 Summary:        Qt Virtual framebuffer
1379 Summary(pl.UTF-8):      Wirtualny framebuffer dla Qt
1380 Group:          X11/Development/Libraries
1381 Requires:       QtGui = %{version}-%{release}
1382 Requires:       QtOpenGL = %{version}-%{release}
1383
1384 %description -n qvfb
1385 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
1386 window.
1387
1388 %description -n qvfb -l pl.UTF-8
1389 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
1390 okienku X.
1391
1392 %package demos
1393 Summary:        Demos of new Qt4 features
1394 Summary(pl.UTF-8):      Programy demonstrujące nowe możliwości Qt4
1395 Group:          X11/Development/Libraries
1396 Requires:       QtDeclarative = %{version}-%{release}
1397 Requires:       QtGui = %{version}-%{release}
1398 Requires:       QtHelp = %{version}-%{release}
1399 Requires:       QtNetwork = %{version}-%{release}
1400 Requires:       QtOpenGL = %{version}-%{release}
1401 Requires:       QtScript = %{version}-%{release}
1402 Requires:       QtSql = %{version}-%{release}
1403 Requires:       QtSvg = %{version}-%{release}
1404 Requires:       QtXml = %{version}-%{release}
1405 Requires:       QtXmlPatterns = %{version}-%{release}
1406
1407 %description demos
1408 Demos are spiders that fly.
1409
1410 %description demos -l pl.UTF-8
1411 Dema to latające pająki.
1412
1413 %package doc
1414 Summary:        Qt Documentation in HTML format
1415 Summary(pl.UTF-8):      Dokumentacja Qt w formacie HTML
1416 Group:          X11/Development/Libraries
1417 Suggests:       %{name}-assistant = %{version}-%{release}
1418
1419 %description doc
1420 Qt documentation in HTML format.
1421
1422 %description doc -l pl.UTF-8
1423 Dokumentacja qt w formacie HTML.
1424
1425 %package examples
1426 Summary:        Example programs bundled with Qt
1427 Summary(pl.UTF-8):      Ćwiczenia i przykłady do Qt
1428 Summary(pt_BR.UTF-8):   Programas exemplo desenvolvidos com o Qt
1429 Group:          X11/Development/Libraries
1430 # no *-devel deps, allow to look at the examples without compiling
1431
1432 %description examples
1433 Example programs bundled with Qt version.
1434
1435 %description examples -l pl.UTF-8
1436 Ćwiczenia/przykłady dołączone do Qt.
1437
1438 %description examples -l pt_BR.UTF-8
1439 Programas exemplo para o Qt versão.
1440
1441 %prep
1442 %setup -q -n qt-everywhere-opensource-src-%{version}
1443
1444 %patch100 -p1
1445
1446 %patch0 -p1
1447 %patch1 -p0
1448 %patch2 -p1
1449 %patch3 -p1
1450 %patch5 -p1
1451 %patch6 -p1
1452 %patch7 -p1
1453 %patch8 -p1
1454 %patch9 -p1
1455 %patch10 -p1
1456 %patch11 -p1
1457 %patch12 -p1
1458 %patch13 -p1
1459 %patch14 -p1 -R
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         -L%{_libdir} \
1513         -plugindir %{_qtdir}/plugins \
1514         -datadir %{_datadir}/qt4 \
1515         -translationdir %{_localedir}/ \
1516         -sysconfdir %{_sysconfdir}/qt4 \
1517         -examplesdir %{_examplesdir}/qt4 \
1518         -demosdir %{_examplesdir}/qt4-demos \
1519         -optimized-qmake \
1520         -fast \
1521         -glib \
1522         %{!?with_gtk:-no-gtkstyle} \
1523         -%{!?with_pch:no-}pch \
1524         -no-rpath \
1525         %{!?with_mmx:-no-mmx} \
1526         %{!?with_3dnow:-no-3dnow} \
1527         %{!?with_sse:-no-sse} \
1528         %{!?with_sse2:-no-sse2} \
1529         %{!?with_sse3:-no-sse3} \
1530         %{!?with_ssse3:-no-ssse3} \
1531         %{!?with_sse41:-no-sse4.1} \
1532         %{!?with_sse42:-no-sse4.2} \
1533         %{!?with_avx:-no-avx} \
1534         -qdbus \
1535         -dbus-linked \
1536         -reduce-relocations \
1537         -system-libjpeg \
1538         -system-libmng \
1539         -system-libpng \
1540         -system-libtiff \
1541         -system-zlib \
1542         -openssl-linked \
1543         -exceptions \
1544         -largefile \
1545         -I/usr/include/postgresql/server \
1546         -I/usr/include/mysql \
1547         %{?with_cups:-cups} \
1548         %{?with_nas:-system-nas-sound} \
1549         %{?debug:-debug} \
1550         %{!?debug:-release} \
1551         -qt3support \
1552         -fontconfig \
1553         -largefile \
1554         -iconv \
1555         -icu \
1556         -no-separate-debug-info \
1557         -xfixes \
1558         -nis \
1559         -sm \
1560         -stl \
1561         -xcursor \
1562         -xinput \
1563         -xinerama \
1564         -xrandr \
1565         -xkb \
1566         -xrender \
1567         -xshape \
1568         -xmlpatterns \
1569         -continue"
1570
1571 ##################################
1572 #       STATIC MULTI-THREAD      #
1573 ##################################
1574
1575 %if %{with static_libs}
1576 OPT=" \
1577         -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
1578         -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
1579         -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
1580         -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
1581         -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
1582         -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
1583         -static"
1584
1585 ./configure $COMMONOPT $OPT
1586
1587 %{__make} -C src
1588 %{__make} -C tools/assistant/lib
1589 %{__make} -C tools/designer
1590 if [ ! -d staticlib ]; then
1591         mkdir staticlib
1592         cp -a lib/*.a staticlib
1593 fi
1594 %{__make} distclean
1595 %endif
1596
1597 ##################################
1598 #       SHARED MULTI-THREAD      #
1599 ##################################
1600
1601 OPT=" \
1602         -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
1603         -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
1604         -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
1605         -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
1606         -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
1607         -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase \
1608         -shared"
1609
1610 ./configure $COMMONOPT $OPT
1611
1612 %{__make}
1613 %{__make} \
1614         sub-tools-all-ordered \
1615         sub-demos-all-ordered \
1616         sub-examples-all-ordered
1617
1618 %install
1619 rm -rf $RPM_BUILD_ROOT
1620 install -d $RPM_BUILD_ROOT{/etc/env.d,%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1621 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1622
1623 echo '#QT_GRAPHICSSYSTEM=raster' > $RPM_BUILD_ROOT/etc/env.d/QT_GRAPHICSSYSTEM
1624
1625 %{__make} install \
1626         INSTALL_ROOT=$RPM_BUILD_ROOT
1627
1628 # for qt-creator sth is messed up in the Makefile, nothing for make install
1629 install bin/qdoc3 $RPM_BUILD_ROOT%{_qtdir}/bin/qdoc3
1630
1631 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1632 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl}
1633 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
1634 %{__sed} -i -e '
1635         s|moc_location=.*|moc_location=%{_bindir}/moc-qt4|;
1636         s|uic_location=.*|uic_location=%{_bindir}/uic-qt4|;
1637         ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
1638
1639 # libQtWebKit.la contains '-ljscore' and '-lwebcore', they come
1640 # from src/3rdparty/webkit/{JavaScriptCore,WebCore}} but those libs aren't installed
1641 %{__sed} -i -e "s,-lwebcore,,g;s,-ljscore,,g;" $RPM_BUILD_ROOT%{_libdir}/libQtWebKit.la
1642
1643 # install tools
1644 install bin/findtr      $RPM_BUILD_ROOT%{_qtdir}/bin
1645
1646 cd $RPM_BUILD_ROOT%{_bindir}
1647 ln -sf ../%{_lib}/qt4/bin/assistant assistant-qt4
1648 ln -sf ../%{_lib}/qt4/bin/designer designer-qt4
1649 ln -sf ../%{_lib}/qt4/bin/findtr findtr-qt4
1650 ln -sf ../%{_lib}/qt4/bin/linguist linguist-qt4
1651 ln -sf ../%{_lib}/qt4/bin/lrelease lrelease-qt4
1652 ln -sf ../%{_lib}/qt4/bin/lupdate lupdate-qt4
1653 ln -sf ../%{_lib}/qt4/bin/moc moc-qt4
1654 ln -sf ../%{_lib}/qt4/bin/qmake qmake-qt4
1655 ln -sf ../%{_lib}/qt4/bin/qtconfig qtconfig-qt4
1656 ln -sf ../%{_lib}/qt4/bin/uic uic-qt4
1657 ln -sf ../%{_lib}/qt4/bin/qdoc3 .
1658 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1659 ln -sf ../%{_lib}/qt4/bin/rcc .
1660 ln -sf ../%{_lib}/qt4/bin/uic3 .
1661 ln -sf ../%{_lib}/qt4/bin/pixeltool .
1662 ln -sf ../%{_lib}/qt4/bin/qcollectiongenerator .
1663 ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml .
1664 ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp .
1665 ln -sf ../%{_lib}/qt4/bin/qhelpconverter .
1666 ln -sf ../%{_lib}/qt4/bin/qhelpgenerator .
1667 ln -sf ../%{_lib}/qt4/bin/qmlviewer .
1668 ln -sf ../%{_lib}/qt4/bin/qmlplugindump .
1669 ln -sf ../%{_lib}/qt4/bin/qttracereplay .
1670 ln -sf ../%{_lib}/qt4/bin/qvfb .
1671 ln -sf ../%{_lib}/qt4/bin/xmlpatternsvalidator .
1672 cd -
1673
1674 # multilib
1675 mv $RPM_BUILD_ROOT%{_qtdir}/bin/{qdbus,qdbusviewer} $RPM_BUILD_ROOT%{_bindir}
1676 ln -sf %{_bindir}/qdbus $RPM_BUILD_ROOT%{_qtdir}/bin/qdbus
1677 ln -sf %{_bindir}/qdbusviewer $RPM_BUILD_ROOT%{_qtdir}/bin/qdbusviewer
1678
1679 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/qtconfig-qt4.desktop
1680 install tools/qtconfig/images/appicon.png \
1681         $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig-qt4.png
1682
1683 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}/linguist-qt4.desktop
1684 for f in tools/linguist/linguist/images/icons/linguist-*-32.png; do
1685         size=$(echo $(basename ${f}) | cut -d- -f2)
1686         install -D $f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${size}x${size}/apps/linguist-qt4.png
1687 done
1688
1689 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/assistant-qt4.desktop
1690 install -D tools/assistant/tools/assistant/images/assistant.png \
1691         $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/assistant-qt4.png
1692 install -D tools/assistant/tools/assistant/images/assistant-128.png \
1693         $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/assistant-qt4.png
1694
1695 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer-qt4.desktop
1696 install tools/designer/src/designer/images/designer.png \
1697         $RPM_BUILD_ROOT%{_pixmapsdir}/designer-qt4.png
1698
1699 %if %{with static_libs}
1700 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1701 %endif
1702
1703 #
1704 # Locale
1705 #
1706 for f in translations/*.ts ; do
1707         LD_LIBRARY_PATH=lib bin/lrelease $f -qm translations/$(basename $f .ts).qm
1708 done
1709
1710 %{__rm} $RPM_BUILD_ROOT%{_localedir}/*.qm
1711 for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm; do
1712         [ ! -f $file ] && continue
1713         case "$file" in
1714                 *untranslated*)
1715                         continue;
1716                         ;;
1717         esac
1718         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:'`"
1719         [ "$lang" == "iw" ] && lang=he
1720         MOD=qt4-$MOD
1721         [ "$MOD" == "qt4-qt" ] && MOD=qt4
1722         install -d $RPM_BUILD_ROOT%{_localedir}/$lang/LC_MESSAGES
1723         cp $file $RPM_BUILD_ROOT%{_localedir}/$lang/LC_MESSAGES/$MOD.qm
1724 done
1725
1726 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1727 # QtCore must be the last
1728 for f in ../Qt{3Support,DBus,Declarative,Designer,Gui,Help,Network,OpenGL,Script,Sql,Svg,Test,UiTools,WebKit,Xml,XmlPatterns,Core}/*; do
1729         if [ ! -d $f ]; then
1730                 ln -sf $f `basename $f`
1731         fi
1732 done
1733 cd -
1734
1735 # Ship doc & qmake stuff
1736 ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1737 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1738
1739 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1740         HAVEDEBUG=`echo $f | grep _debug | wc -l`
1741         MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1742         MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1743         DEFS="-D_REENTRANT"
1744
1745         if [ "$MODULE2" == "3SUPPORT" ]; then
1746                 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1747         else
1748                 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1749         fi
1750         [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1751
1752         sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1753 done
1754
1755 # Prepare some files list
1756 ifecho() {
1757         RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1758         [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set
1759         r=`echo $RESULT | awk '{ print $1 }'`
1760
1761         if [ -d "$r" ]; then
1762                 echo "%%dir $2" >> $1.files
1763         elif [ -x "$r" ] ; then
1764                 echo "%%attr(755,root,root) $2" >> $1.files
1765         elif [ -f "$r" ]; then
1766                 echo "$2" >> $1.files
1767         else
1768                 echo "Error generation $1 files list!"
1769                 echo "$r: no such file or direcotry!"
1770                 return 1
1771         fi
1772 }
1773
1774 mkdevfl() {
1775         set -x
1776         MODULE=$1; shift
1777         echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1778         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1779         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1780         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1781         ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1782         if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1783                 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1784         fi
1785         for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`; do
1786                 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1787                 if [ -a "$RPM_BUILD_ROOT%{_includedir}/qt4/Qt/$f" ]; then
1788                         ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1789                 fi
1790         done
1791         for f in $@; do ifecho $MODULE-devel $f; done
1792 }
1793
1794 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1795 mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
1796 mkdevfl QtDeclarative
1797 mkdevfl QtGui
1798 mkdevfl QtMultimedia
1799 mkdevfl QtNetwork
1800 mkdevfl QtOpenGL
1801 mkdevfl QtOpenVG
1802 mkdevfl QtScript
1803 mkdevfl QtScriptTools
1804 mkdevfl QtSql
1805 mkdevfl QtSvg
1806 mkdevfl QtTest
1807 mkdevfl QtHelp
1808 mkdevfl QtWebKit
1809 mkdevfl QtCLucene
1810 mkdevfl QtXml
1811 mkdevfl QtXmlPatterns
1812 mkdevfl Qt3Support
1813 mkdevfl phonon
1814
1815 # without *.la *.pc etc.
1816 mkdevfl QtDesigner || /bin/true
1817 mkdevfl QtUiTools || /bin/true
1818
1819 # without glob (exclude QtScriptTools* QtXmlPatterns*)
1820 %{__sed} -i 's,QtScript\*,QtScript,g' QtScript-devel.files
1821 %{__sed} -i 's,QtXml\*,QtXml,g' QtXml-devel.files
1822 # no duplication between QtCore-devel and QtXml-devel
1823 %{__sed} -i 's,%{_includedir}/qt4/Qt/QXmlStream.*,,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 0.25749 seconds and 4 git commands to generate.