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