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