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