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