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