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