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