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