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