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