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