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