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