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