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