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