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