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