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