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