]> git.pld-linux.org Git - packages/qt4.git/blame - qt4.spec
- Relase 2; fixes CVE-2007-4137
[packages/qt4.git] / qt4.spec
CommitLineData
bc7da990 1#
08506906 2# TODO:
1620d5ef 3# - better descriptions
4# - more cleanups
07b2fa37 5# - check if translations are available
da64c649 6# - check Qt ui tool
08506906 7#
bc7da990 8# Conditional build:
9%bcond_with nas # enable NAS audio support
8b4e0403 10%bcond_without static_libs # build static libraries
bc7da990 11%bcond_without cups # disable CUPS support
12%bcond_without mysql # don't build MySQL plugin
13%bcond_without odbc # don't build unixODBC plugin
14%bcond_without pgsql # don't build PostgreSQL plugin
2ba913fc 15%bcond_without sqlite3 # don't build SQLite3 plugin
16%bcond_without sqlite # don't build SQLite2 plugin
6253d437 17# Disabled because of bug in 4.3.1 - (can't build odbc and ibase at once).
18# Should be fixed in 4.3.2 (or by some patch eariler) - just temporary workaround.
3f756324 19%bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
4ad4bb90 20%bcond_without pch # disable pch in qmake
e23a6569 21%bcond_with sse # use SSE instructions in gui/painting module
9bb3a421 22%bcond_with sse2 # use SSE2 instructions
08506906 23
9f300b6b 24%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
bc7da990 25%undefine with_ibase
26%endif
e23a6569
PS
27
28%ifarch pentium3 pentium4 %{x8664}
29%define with_sse 1
30%endif
31
9bb3a421
JB
32%ifarch pentium4 %{x8664}
33%define with_sse2 1
34%endif
35
bc7da990 36%define _withsql 1
2ba913fc 37%{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
bc7da990 38
bc7da990 39Summary: The Qt GUI application framework
4c66dee3
ER
40Summary(es.UTF-8): Biblioteca para ejecutar aplicaciones GUI Qt
41Summary(pl.UTF-8): Biblioteka Qt do tworzenia GUI
42Summary(pt_BR.UTF-8): Estrutura para rodar aplicações GUI Qt
bc7da990 43Name: qt4
6253d437 44Version: 4.3.1
2417a4ba 45Release: 2
bc7da990 46License: GPL/QPL
47Group: X11/Libraries
2d2db419 48Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
6253d437 49# Source0-md5: ec255dcc2b30f5efe0ded85ae8a75e13
df71e198 50Source2: %{name}-qtconfig.desktop
51Source3: %{name}-designer.desktop
52Source4: %{name}-assistant.desktop
53Source5: %{name}-linguist.desktop
49c5b19e 54Source6: %{name}_pl.ts
2d2db419 55Patch0: %{name}-tools.patch
da64c649 56Patch1: %{name}-qt_copy.patch
7e468979
JB
57Patch2: %{name}-buildsystem.patch
58Patch3: %{name}-locale.patch
3f756324 59Patch4: %{name}-ibase.patch
7e468979
JB
60Patch6: %{name}-antialias.patch
61Patch7: %{name}-support-cflags-with-commas.patch
62Patch8: %{name}-build-lib-static.patch
a8088d24 63Patch9: %{name}-x11_fonts.patch
2417a4ba 64Patch10: %{name}-CVE-2007-4137.patch
bc7da990 65URL: http://www.trolltech.com/products/qt/
bc7da990 66%{?with_ibase:BuildRequires: Firebird-devel}
03510596 67BuildRequires: OpenGL-GLU-devel
bcbcae98 68%{?with_sqlite3:BuildRequires: sqlite3-devel}
bc7da990 69# incompatible with bison
bc7da990 70%{?with_cups:BuildRequires: cups-devel}
d5160e56 71BuildRequires: dbus-devel >= 0.62
c8537603 72BuildRequires: fontconfig-devel
e8df9d4c 73BuildRequires: freetype-devel >= 1:2.0.0
bfd2dfad 74%{?with_pch:BuildRequires: gcc >= 5:4.0}
3f80fcc7
JB
75BuildRequires: giflib-devel
76BuildRequires: glib2-devel >= 2.0.0
bc7da990 77BuildRequires: libjpeg-devel
78BuildRequires: libmng-devel >= 1.0.0
e8df9d4c 79BuildRequires: libpng-devel >= 2:1.0.8
bc7da990 80BuildRequires: libstdc++-devel
bc7da990 81%{?with_mysql:BuildRequires: mysql-devel}
82%{?with_nas:BuildRequires: nas-devel}
3f80fcc7 83BuildRequires: pkgconfig
bc7da990 84%{?with_pgsql:BuildRequires: postgresql-backend-devel}
85%{?with_pgsql:BuildRequires: postgresql-devel}
71d7c231 86BuildRequires: rpmbuild(macros) >= 1.213
bc7da990 87BuildRequires: sed >= 4.0
bc7da990 88%{?with_sqlite:BuildRequires: sqlite-devel}
bcbcae98 89%{?with_odbc:BuildRequires: unixODBC-devel}
03510596
JB
90BuildRequires: xorg-lib-libSM-devel
91BuildRequires: xorg-lib-libXcursor-devel
92BuildRequires: xorg-lib-libXext-devel
4d65233a 93BuildRequires: xorg-lib-libXfixes-devel
03510596
JB
94BuildRequires: xorg-lib-libXi-devel
95BuildRequires: xorg-lib-libXinerama-devel
96BuildRequires: xorg-lib-libXrandr-devel
97BuildRequires: xorg-lib-libXrender-devel
bc7da990 98BuildRequires: zlib-devel
3f756324 99BuildConflicts: QtCore-devel < 4.3
bc7da990 100Obsoletes: qt-extensions
101Obsoletes: qt-utils
7b57a050 102Conflicts: kdelibs <= 8:3.2-0.030602.1
9f300b6b 103BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bc7da990 104
105%define _noautoreqdep libGL.so.1 libGLU.so.1
f8b94468 106%define _noautostrip '.*_debug\\.so*'
bc7da990 107
575462c5
PS
108%define specflags -fno-strict-aliasing
109
df71e198 110%define _qtdir %{_libdir}/qt4
111
bc7da990 112%description
113Qt is a complete C++ application development framework, which includes
114a class library and tools for multiplatform development and
115internationalization. Using Qt, a single source code tree can build
116applications that run natively on different platforms (Windows,
117Unix/Linux, Mac OS X, embedded Linux).
118
119Qt has a rich set of standard widgets, and lets you write custom
120controls. It encapsulates four different platform-specific APIs, and
121the APIs for file-handling, networking, process-handling, threading,
122database access, etc. Qt now also has Motif migration oraz Netscape
123LiveConnect plugin.
124
02520e74 125%description -l es.UTF-8
bc7da990 126Contiene las bibliotecas compartidas necesarias para ejecutar
127aplicaciones Qt, bien como los archivos README.
128
02520e74 129%description -l pl.UTF-8
bc7da990 130Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
02520e74
JR
131języku C++, w którego skład wchodzi biblioteka z klasami oraz
132wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
133Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
134różnych platformach (Windows, Unix/Linux, Mac OS X).
135
136Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
137pozwala również na pisanie własnych elementów. Łączy w sposób
138niewidoczny dla programisty interfejsy programowania różnych systemów,
139tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
140procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
141na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
bc7da990 142wykorzystaniem Netscape LiveConnect.
143
cc6d9c76 144%package -n QtCore
145Summary: Core classes used by other modules
4c66dee3 146Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły
61da89d9 147Group: X11/Libraries
bfd2dfad 148Requires(post): /sbin/ldconfig
2ba913fc 149
cc6d9c76 150%description -n QtCore
151Core classes used by other modules.
2ba913fc 152
02520e74
JR
153%description -n QtCore -l pl.UTF-8
154Podstawowe klasy używane przez inne moduły.
61da89d9 155
cc6d9c76 156%package -n QtCore-devel
61da89d9 157Summary: Core classes used by other modules - development files
4c66dee3 158Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły - pliki programistyczne
cc6d9c76 159Group: X11/Development/Libraries
5631d6de 160Requires: QtCore = %{version}-%{release}
f7c07b4b 161Requires: glib2-devel
4d335555
KK
162Requires: libstdc++-devel
163Requires: zlib-devel
2ba913fc 164
cc6d9c76 165%description -n QtCore-devel
61da89d9
JB
166Core classes used by other modules - development files.
167
02520e74
JR
168%description -n QtCore-devel -l pl.UTF-8
169Podstawowe klasy używane przez inne moduły - pliki programistyczne.
2ba913fc 170
8b4e0403 171%package -n QtCore-static
172Summary: Core classes used by other modules - static libraries
4c66dee3 173Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły - biblioteki statyczne
8b4e0403 174Group: X11/Development/Libraries
5631d6de 175Requires: QtCore-devel = %{version}-%{release}
8b4e0403 176
177%description -n QtCore-static
178Core classes used by other modules - static libraries.
179
02520e74
JR
180%description -n QtCore-static -l pl.UTF-8
181Podstawowe klasy używane przez inne moduły - biblioteki statyczne.
8b4e0403 182
cc6d9c76 183%package -n QtGui
184Summary: Graphical User Interface components
4c66dee3 185Summary(pl.UTF-8): Komponenty graficznego interfejsu użytkownika
61da89d9 186Group: X11/Libraries
5631d6de
JB
187Requires: QtCore = %{version}-%{release}
188# two following because of some plugins
189Requires: Qt3Support = %{version}-%{release}
190Requires: QtSql = %{version}-%{release}
bc7da990 191
cc6d9c76 192%description -n QtGui
193Graphical User Interface components.
bc7da990 194
02520e74
JR
195%description -n QtGui -l pl.UTF-8
196Komponenty graficznego interfejsu użytkownika.
61da89d9 197
cc6d9c76 198%package -n QtGui-devel
61da89d9 199Summary: Graphical User Interface components - development files
4c66dee3 200Summary(pl.UTF-8): Komponenty graficznego interfejsu użytkownika - pliki programistyczne
cc6d9c76 201Group: X11/Development/Libraries
5631d6de
JB
202Requires: QtCore-devel = %{version}-%{release}
203Requires: QtGui = %{version}-%{release}
c8537603 204Requires: fontconfig-devel
bc5b3d23 205Requires: freetype-devel >= 1:2.0.0
8be12dcd 206Requires: libpng-devel >= 2:1.0.8
03510596
JB
207Requires: xorg-lib-libSM-devel
208Requires: xorg-lib-libXcursor-devel
209Requires: xorg-lib-libXext-devel
cb6f4318 210Requires: xorg-lib-libXfixes-devel
03510596
JB
211Requires: xorg-lib-libXi-devel
212Requires: xorg-lib-libXinerama-devel
213Requires: xorg-lib-libXrandr-devel
214Requires: xorg-lib-libXrender-devel
bc7da990 215
cc6d9c76 216%description -n QtGui-devel
61da89d9
JB
217Graphical User Interface components - development files.
218
02520e74
JR
219%description -n QtGui-devel -l pl.UTF-8
220Komponenty graficznego interfejsu użytkownika - pliki programistyczne.
bc7da990 221
8b4e0403 222%package -n QtGui-static
223Summary: Graphical User Interface components - static libraries
4c66dee3 224Summary(pl.UTF-8): Komponenty graficznego interfejsu użytkownika - biblioteki statyczne
8b4e0403 225Group: X11/Development/Libraries
5631d6de 226Requires: QtGui-devel = %{version}-%{release}
8b4e0403 227
228%description -n QtGui-static
229Graphical User Interface components - static libraries.
230
02520e74
JR
231%description -n QtGui-static -l pl.UTF-8
232Komponenty graficznego interfejsu użytkownika - biblioteki statyczne.
8b4e0403 233
cc6d9c76 234%package -n QtNetwork
235Summary: Classes for network programming
4c66dee3 236Summary(pl.UTF-8): Klasy do programowania sieciowego
61da89d9 237Group: X11/Libraries
5631d6de 238Requires: QtCore = %{version}-%{release}
bc7da990 239
cc6d9c76 240%description -n QtNetwork
241Classes for network programming.
bc7da990 242
02520e74 243%description -n QtNetwork -l pl.UTF-8
61da89d9
JB
244Klasy do programowania sieciowego.
245
cc6d9c76 246%package -n QtNetwork-devel
61da89d9 247Summary: Classes for network programming - development files
4c66dee3 248Summary(pl.UTF-8): Klasy do programowania sieciowego - pliki programistyczne
bc7da990 249Group: X11/Development/Libraries
5631d6de
JB
250Requires: QtCore-devel = %{version}-%{release}
251Requires: QtNetwork = %{version}-%{release}
bc7da990 252
cc6d9c76 253%description -n QtNetwork-devel
61da89d9
JB
254Classes for network programming - development files.
255
02520e74 256%description -n QtNetwork-devel -l pl.UTF-8
61da89d9 257Klasy do programowania sieciowego - pliki programistyczne.
bc7da990 258
8b4e0403 259%package -n QtNetwork-static
260Summary: Classes for network programming - static libraries
4c66dee3 261Summary(pl.UTF-8): Klasy do programowania sieciowego - biblioteki statyczne
8b4e0403 262Group: X11/Development/Libraries
5631d6de 263Requires: QtNetwork-devel = %{version}-%{release}
8b4e0403 264
265%description -n QtNetwork-static
266Classes for network programming - static libraries.
267
02520e74 268%description -n QtNetwork-static -l pl.UTF-8
8b4e0403 269Klasy do programowania sieciowego - biblioteki statyczne.
8b4e0403 270
cc6d9c76 271%package -n QtOpenGL
272Summary: OpenGL support classes
4c66dee3 273Summary(pl.UTF-8): Klasy wspomagające OpenGL
61da89d9 274Group: X11/Libraries
5631d6de 275Requires: QtCore = %{version}-%{release}
bc7da990 276
cc6d9c76 277%description -n QtOpenGL
278OpenGL support classes.
bc7da990 279
02520e74
JR
280%description -n QtOpenGL -l pl.UTF-8
281Klasy wspomagające OpenGL.
61da89d9 282
cc6d9c76 283%package -n QtOpenGL-devel
61da89d9 284Summary: OpenGL support classes - development files
4c66dee3 285Summary(pl.UTF-8): Klasy wspomagające OpenGL - pliki programistyczne
bc7da990 286Group: X11/Development/Libraries
03510596 287Requires: OpenGL-GLU-devel
5631d6de
JB
288Requires: QtCore-devel = %{version}-%{release}
289Requires: QtOpenGL = %{version}-%{release}
bc7da990 290
cc6d9c76 291%description -n QtOpenGL-devel
61da89d9
JB
292OpenGL support classes - development files.
293
02520e74
JR
294%description -n QtOpenGL-devel -l pl.UTF-8
295Klasy wspomagające OpenGL - pliki programistyczne.
bc7da990 296
8b4e0403 297%package -n QtOpenGL-static
298Summary: OpenGL support classes - static libraries
4c66dee3 299Summary(pl.UTF-8): Klasy wspomagające OpenGL - biblioteki statyczne
8b4e0403 300Group: X11/Development/Libraries
5631d6de 301Requires: QtOpenGL-devel = %{version}-%{release}
8b4e0403 302
303%description -n QtOpenGL-static
304OpenGL support classes - static libraries.
305
02520e74
JR
306%description -n QtOpenGL-devel -l pl.UTF-8
307Klasy wspomagające OpenGL - biblioteki statyczne.
8b4e0403 308
cc6d9c76 309%package -n QtSql
310Summary: Classes for database integration using SQL
4c66dee3 311Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL
61da89d9 312Group: X11/Libraries
5631d6de 313Requires: QtCore = %{version}-%{release}
bc7da990 314
cc6d9c76 315%description -n QtSql
316Classes for database integration using SQL.
317
02520e74
JR
318%description -n QtSql -l pl.UTF-8
319Klasy do integracji z bazami danych przy użyciu SQL.
61da89d9 320
cc6d9c76 321%package -n QtSql-devel
61da89d9 322Summary: Classes for database integration using SQL - development files
4c66dee3 323Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL - pliki programistyczne
cc6d9c76 324Group: X11/Development/Libraries
5631d6de
JB
325Requires: QtCore-devel = %{version}-%{release}
326Requires: QtSql = %{version}-%{release}
bc7da990 327
cc6d9c76 328%description -n QtSql-devel
61da89d9
JB
329Classes for database integration using SQL - development files.
330
02520e74
JR
331%description -n QtSql-devel -l pl.UTF-8
332Klasy do integracji z bazami danych przy użyciu SQL - pliki
61da89d9 333programistyczne.
bc7da990 334
8b4e0403 335%package -n QtSql-static
336Summary: Classes for database integration using SQL - static libraries
4c66dee3 337Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL - biblioteki statyczne
8b4e0403 338Group: X11/Development/Libraries
5631d6de 339Requires: QtSql-devel = %{version}-%{release}
8b4e0403 340
341%description -n QtSql-static
342Classes for database integration using SQL - static libraries.
343
02520e74
JR
344%description -n QtSql-static -l pl.UTF-8
345Klasy do integracji z bazami danych przy użyciu SQL - biblioteki
7b57a050 346statyczne. programistyczne.
8b4e0403 347
cc6d9c76 348%package -n QtSql-ibase
bc7da990 349Summary: Database plugin for InterBase/Firebird Qt support
4c66dee3
ER
350Summary(pl.UTF-8): Wtyczka InterBase/Firebird do Qt
351Summary(pt_BR.UTF-8): Plugin de suporte a InterBase/Firebird para Qt
61da89d9 352Group: X11/Libraries
5631d6de
JB
353Requires: QtSql = %{version}-%{release}
354Provides: QtSql-backend = %{version}-%{release}
bc7da990 355
cc6d9c76 356%description -n QtSql-ibase
08506906
PS
357This package contains a plugin for accessing Interbase/Firebird
358database via the QSql classes.
bc7da990 359
02520e74
JR
360%description -n QtSql-ibase -l pl.UTF-8
361Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
08506906 362danych Interbase/Firebird poprzez klasy QSql.
bc7da990 363
02520e74 364%description -n QtSql-ibase -l pt_BR.UTF-8
bc7da990 365Plugin de suporte a InterBase/Firebird para Qt.
366
cc6d9c76 367%package -n QtSql-mysql
bc7da990 368Summary: Database plugin for MySQL Qt support
4c66dee3
ER
369Summary(pl.UTF-8): Wtyczka MySQL do Qt
370Summary(pt_BR.UTF-8): Plugin de suporte a MySQL para Qt
61da89d9 371Group: X11/Libraries
5631d6de
JB
372Requires: QtSql = %{version}-%{release}
373Provides: QtSql-backend = %{version}-%{release}
bc7da990 374
cc6d9c76 375%description -n QtSql-mysql
08506906
PS
376This package contains a plugin for accessing MySQL database via the
377QSql classes.
bc7da990 378
02520e74
JR
379%description -n QtSql-mysql -l pl.UTF-8
380Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
08506906 381danych MySQL poprzez klasy QSql.
bc7da990 382
02520e74 383%description -n QtSql-mysql -l pt_BR.UTF-8
bc7da990 384Plugin de suporte a MySQL para Qt.
385
cc6d9c76 386%package -n QtSql-odbc
bc7da990 387Summary: Database plugin for ODBC Qt support
4c66dee3
ER
388Summary(pl.UTF-8): Wtyczka ODBC do Qt
389Summary(pt_BR.UTF-8): Plugin de suporte a ODBC para Qt
61da89d9 390Group: X11/Libraries
5631d6de
JB
391Requires: QtSql = %{version}-%{release}
392Provides: QtSql-backend = %{version}-%{release}
bc7da990 393
cc6d9c76 394%description -n QtSql-odbc
08506906
PS
395This package contains a plugin for accessing unixODBC services via the
396QSql classes.
bc7da990 397
02520e74
JR
398%description -n QtSql-odbc -l pl.UTF-8
399Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z usług
08506906 400unixODBC poprzez klasy QSql.
bc7da990 401
02520e74 402%description -n QtSql-odbc -l pt_BR.UTF-8
bc7da990 403Plugin de suporte a ODBC para Qt.
404
cc6d9c76 405%package -n QtSql-pgsql
bc7da990 406Summary: Database plugin for PostgreSQL Qt support
4c66dee3
ER
407Summary(pl.UTF-8): Wtyczka PostgreSQL do Qt
408Summary(pt_BR.UTF-8): Plugin de suporte a PostgreSQL para Qt
61da89d9 409Group: X11/Libraries
5631d6de
JB
410Requires: QtSql = %{version}-%{release}
411Provides: QtSql-backend = %{version}-%{release}
bc7da990 412
46255ac9 413%description -n QtSql-pgsql
08506906
PS
414This package contains a plugin for accessing PostgreSQL database via
415the QSql classes.
bc7da990 416
02520e74
JR
417%description -n QtSql-pgsql -l pl.UTF-8
418Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
08506906 419danych PostgreSQL poprzez klasy QSql.
bc7da990 420
02520e74 421%description -n QtSql-pgsql -l es.UTF-8
ed39b935 422Plugin de suporte a PostgreSQL para Qt.
bc7da990 423
cc6d9c76 424%package -n QtSql-sqlite
61da89d9 425Summary: Database plugin for SQLite 2.x Qt support
4c66dee3
ER
426Summary(pl.UTF-8): Wtyczka SQLite 2.x do Qt
427Summary(pt_BR.UTF-8): Plugin de suporte a SQLite 2.x para Qt
61da89d9 428Group: X11/Libraries
5631d6de
JB
429Requires: QtSql = %{version}-%{release}
430Provides: QtSql-backend = %{version}-%{release}
bc7da990 431
cc6d9c76 432%description -n QtSql-sqlite
61da89d9 433This package contains a plugin for using the SQLite 2.x library (which
08506906 434allows to acces virtually any SQL database) via the QSql classes.
bc7da990 435
02520e74
JR
436%description -n QtSql-sqlite -l pl.UTF-8
437Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
61da89d9 438danych SQLite 2.x poprzez klasy QSql.
bc7da990 439
02520e74 440%description -n QtSql-sqlite -l pt_BR.UTF-8
61da89d9 441Plugin de suporte a SQLite 2.x para Qt.
bc7da990 442
cc6d9c76 443%package -n QtSql-sqlite3
444Summary: Database plugin for SQLite3 Qt support
4c66dee3
ER
445Summary(pl.UTF-8): Wtyczka SQLite3 do Qt
446Summary(pt_BR.UTF-8): Plugin de suporte a SQLite3 para Qt
61da89d9 447Group: X11/Libraries
5631d6de
JB
448Requires: QtSql = %{version}-%{release}
449Provides: QtSql-backend = %{version}-%{release}
bc7da990 450
cc6d9c76 451%description -n QtSql-sqlite3
08506906
PS
452This package contains a plugin for using the SQLite3 library (which
453allows to acces virtually any SQL database) via the QSql classes.
bc7da990 454
02520e74
JR
455%description -n QtSql-sqlite3 -l pl.UTF-8
456Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
08506906 457danych SQLite3 poprzez klasy QSql.
cc6d9c76 458
02520e74 459%description -n QtSql-sqlite3 -l pt_BR.UTF-8
08506906 460Plugin de suporte a SQLite3 para Qt.
cc6d9c76 461
07b2fa37
JB
462%package -n QtSvg
463Summary: SVG support
4c66dee3 464Summary(pl.UTF-8): Wsparcie dla SVG
07b2fa37 465Group: X11/Libraries
a1ef320e 466Requires: QtXml = %{version}-%{release}
07b2fa37
JB
467
468%description -n QtSvg
469SVG support.
470
02520e74 471%description -n QtSvg -l pl.UTF-8
07b2fa37
JB
472Wsparcie dla SVG.
473
474%package -n QtSvg-devel
475Summary: SVG support - development files
4c66dee3 476Summary(pl.UTF-8): Wsparcie dla SVG - pliki programistyczne
07b2fa37 477Group: X11/Development/Libraries
5631d6de 478Requires: QtSvg = %{version}-%{release}
a1ef320e 479Requires: QtXml-devel = %{version}-%{release}
07b2fa37
JB
480
481%description -n QtSvg-devel
482SVG support - development files.
483
02520e74 484%description -n QtSvg-devel -l pl.UTF-8
07b2fa37
JB
485Wsparcie dla SVG - pliki programistyczne.
486
487%package -n QtSvg-static
488Summary: SVG support - static libraries
4c66dee3 489Summary(pl.UTF-8): Wsparcie dla SVG - biblioteki statyczne
07b2fa37 490Group: X11/Development/Libraries
5631d6de 491Requires: QtSvg-devel = %{version}-%{release}
07b2fa37
JB
492
493%description -n QtSvg-static
494SVG support - static libraries.
495
02520e74 496%description -n QtSvg-static -l pl.UTF-8
07b2fa37
JB
497Wsparcie dla SVG - biblioteki statyczne.
498
8b4e0403 499%package -n QtTest
7b57a050 500Summary: Test framework
4c66dee3 501Summary(pl.UTF-8): Szkielet testów
8b4e0403 502Group: X11/Libraries
5631d6de 503Requires: QtCore = %{version}-%{release}
8b4e0403 504
505%description -n QtTest
506Test framework.
507
02520e74
JR
508%description -n QtTest -l pl.UTF-8
509Szkielet testów.
07b2fa37 510
8b4e0403 511%package -n QtTest-devel
7b57a050 512Summary: Test framework - development files
4c66dee3 513Summary(pl.UTF-8): Szkielet testów - pliki programistyczne
8b4e0403 514Group: X11/Development/Libraries
5631d6de
JB
515Requires: QtCore-devel = %{version}-%{release}
516Requires: QtTest = %{version}-%{release}
8b4e0403 517
518%description -n QtTest-devel
519Test framework - development files.
520
02520e74
JR
521%description -n QtTest-devel -l pl.UTF-8
522Szkielet testów - pliki programistyczne.
07b2fa37 523
cc6d9c76 524%package -n QtXml
525Summary: Classes for handling XML
4c66dee3 526Summary(pl.UTF-8): Klasy do obsługi XML-a
61da89d9 527Group: X11/Libraries
5631d6de 528Requires: QtCore = %{version}-%{release}
cc6d9c76 529
530%description -n QtXml
531Classes for handling XML.
532
02520e74
JR
533%description -n QtXml -l pl.UTF-8
534Klasy do obsługi XML-a.
61da89d9 535
cc6d9c76 536%package -n QtXml-devel
61da89d9 537Summary: Classes for handling XML - development files
4c66dee3 538Summary(pl.UTF-8): Klasy do obsługi XML-a - pliki programistyczne
cc6d9c76 539Group: X11/Development/Libraries
5631d6de
JB
540Requires: QtCore-devel = %{version}-%{release}
541Requires: QtXml = %{version}-%{release}
cc6d9c76 542
543%description -n QtXml-devel
61da89d9
JB
544Classes for handling XML - development files.
545
02520e74
JR
546%description -n QtXml-devel -l pl.UTF-8
547Klasy do obsługi XML-a - pliki programistyczne.
cc6d9c76 548
8b4e0403 549%package -n QtXml-static
550Summary: Classes for handling XML - static libraries
4c66dee3 551Summary(pl.UTF-8): Klasy do obsługi XML-a - biblioteki statyczne
8b4e0403 552Group: X11/Development/Libraries
5631d6de 553Requires: QtXml-devel = %{version}-%{release}
8b4e0403 554
555%description -n QtXml-static
556Classes for handling XML - static libraries.
557
02520e74
JR
558%description -n QtXml-static -l pl.UTF-8
559Klasy do obsługi XML-a - biblioteki statyczne.
8b4e0403 560
cc6d9c76 561%package -n Qt3Support
61da89d9 562Summary: Qt3 compatibility library
4c66dee3 563Summary(pl.UTF-8): Biblioteka kompatybilności z Qt3
61da89d9 564Group: X11/Libraries
5631d6de 565Requires: QtCore = %{version}-%{release}
0486e475
JB
566Requires: QtGui = %{version}-%{release}
567Requires: QtNetwork = %{version}-%{release}
568Requires: QtSql = %{version}-%{release}
569Requires: QtXml = %{version}-%{release}
cc6d9c76 570
571%description -n Qt3Support
61da89d9
JB
572Qt3 compatibility library.
573
02520e74
JR
574%description -n Qt3Support -l pl.UTF-8
575Biblioteka kompatybilności z Qt3.
cc6d9c76 576
577%package -n Qt3Support-devel
61da89d9 578Summary: Qt3 compatibility library - development files
4c66dee3 579Summary(pl.UTF-8): Biblioteka kompatybilności z Qt3 - pliki programistyczne
cc6d9c76 580Group: X11/Development/Libraries
5631d6de
JB
581Requires: Qt3Support = %{version}-%{release}
582Requires: QtCore-devel = %{version}-%{release}
3587d709
KK
583Requires: QtGui-devel = %{version}-%{release}
584Requires: QtNetwork-devel = %{version}-%{release}
0486e475 585Requires: QtSql-devel = %{version}-%{release}
3587d709 586Requires: QtXml-devel = %{version}-%{release}
cc6d9c76 587
588%description -n Qt3Support-devel
61da89d9
JB
589Qt3 compatibility library - development files.
590
02520e74
JR
591%description -n Qt3Support-devel -l pl.UTF-8
592Biblioteka kompatybilności z Qt3 - pliki programistyczne.
cc6d9c76 593
8b4e0403 594%package -n Qt3Support-static
595Summary: Qt3 compatibility library - static libraries
4c66dee3 596Summary(pl.UTF-8): Biblioteka kompatybilności z Qt3 - biblioteki statyczne
8b4e0403 597Group: X11/Development/Libraries
5631d6de 598Requires: Qt3Support-devel = %{version}-%{release}
8b4e0403 599
600%description -n Qt3Support-static
601Qt3 compatibility library - static libraries.
602
02520e74
JR
603%description -n Qt3Support-static -l pl.UTF-8
604Biblioteka kompatybilności z Qt3 - biblioteki statyczne.
8b4e0403 605
71d7c231
KK
606%package -n QtAssistant
607Summary: Qt Assistant client library
4c66dee3 608Summary(pl.UTF-8): Biblioteka kliencka Qt Assistant
71d7c231 609Group: X11/Development/Libraries
e3a9f812
JB
610Requires: QtGui = %{version}-%{release}
611Requires: QtNetwork = %{version}-%{release}
71d7c231
KK
612
613%description -n QtAssistant
f4cbbaf8 614This library allows to use Qt Assistant as an application's help tool.
71d7c231 615
02520e74
JR
616%description -n QtAssistant -l pl.UTF-8
617Ta biblioteka umożliwia wykorzystanie Qt Assistanta jako narzędzie
44035a2f 618pomocy w aplikacjach.
71d7c231
KK
619
620%package -n QtAssistant-devel
621Summary: Qt Assistant client library - development files
4c66dee3 622Summary(pl.UTF-8): Biblioteka kliencka Qt Assistant - pliki programistyczne
71d7c231 623Group: X11/Development/Libraries
44035a2f 624Requires: QtAssistant = %{version}-%{release}
71d7c231
KK
625Requires: QtNetwork-devel = %{version}-%{release}
626
627%description -n QtAssistant-devel
f4cbbaf8 628Development files for Qt Assistant client library.
71d7c231 629
02520e74 630%description -n QtAssistant-devel -l pl.UTF-8
f4cbbaf8 631Pliki programistyczne biblioteki klienckiej Qt Assistant.
71d7c231
KK
632
633%package -n QtAssistant-static
634Summary: Static Qt Assistant client library
4c66dee3 635Summary(pl.UTF-8): Statyczna biblioteka kliencka Qt Assistant
71d7c231
KK
636Group: X11/Development/Libraries
637Requires: QtAssistant-devel = %{version}-%{release}
638
639%description -n QtAssistant-static
f4cbbaf8 640Static Qt Assistant client library.
71d7c231 641
02520e74 642%description -n QtAssistant-static -l pl.UTF-8
f4cbbaf8 643Statyczna biblioteka kliencka Qt Assistant.
71d7c231 644
0b457108 645%package -n QtDBus
646Summary: Classes for D-BUS support
4c66dee3 647Summary(pl.UTF-8): Klasy do obsługi D-BUS
0b457108 648Group: X11/Libraries
e3a9f812 649Requires: QtXml = %{version}-%{release}
3f80fcc7
JB
650# is it really required? libs should need just libs, not service
651#Requires: dbus
0b457108 652
653%description -n QtDBus
3f80fcc7
JB
654This module provides classes for D-BUS support. D-BUS is an
655Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
656mechanism originally developed for Linux to replace existing and
151e5443 657competing IPC solutions with one unified protocol.
3f80fcc7 658
02520e74
JR
659%description -n QtDBus -l pl.UTF-8
660Ten moduł udostępnia klasy do obsługi D-BUS. D-BUS to mechanizm
661komunikacji między procesowej (IPC - Inter-Process Communication) i
662zdalnego wywoływania procedur (RPC - Remote Procedure Calling)
663stworzony początkowo dla Linuksa, aby zastąpić istniejące i
664konkurujące ze sobą rozwiązania IPC jednym, ujednoliconym protokołem.
0b457108 665
666%package -n QtDBus-devel
667Summary: Classes for D-BUS support - development files
4c66dee3 668Summary(pl.UTF-8): Klasy do obsługi D-BUS - pliki programistyczne
0b457108 669Group: X11/Development/Libraries
e3a9f812
JB
670Requires: QtDBus = %{version}-%{release}
671Requires: QtXml-devel = %{version}-%{release}
672Requires: dbus-devel
673Requires: glib2-devel >= 2.0.0
0b457108 674
675%description -n QtDBus-devel
676Classes for D-BUS support - development files.
677
02520e74
JR
678%description -n QtDBus-devel -l pl.UTF-8
679Klasy do obsługi D-BUS - pliki programistyczne.
0b457108 680
681%package -n QtDBus-static
682Summary: Classes for D-BUS support - static libraries
4c66dee3 683Summary(pl.UTF-8): Klasy do obsługi D-BUS - biblioteki statyczne
0b457108 684Group: X11/Development/Libraries
685Requires: QtDBus-devel = %{version}-%{release}
686
687%description -n QtDBus-static
688Classes for D-BUS support - static libraries.
689
02520e74
JR
690%description -n QtDBus-static -l pl.UTF-8
691Klasy do obsługi D-BUS - biblioteki statyczne.
0b457108 692
a8088d24
JB
693%package -n QtDesigner
694Summary: Classes for extending Qt Designer
4c66dee3 695Summary(pl.UTF-8): Klasy do rozbudowy Qt Designera
a8088d24
JB
696Group: X11/Libraries
697Requires: QtGui = %{version}-%{release}
698Requires: QtNetwork = %{version}-%{release}
699Requires: QtXml = %{version}-%{release}
700Obsoletes: qt4-designer-libs
701
702%description -n QtDesigner
703This module provides classes that allow you to create your own custom
704widget plugins for Qt Designer, and classes that enable you to access
705Qt Designer's components.
706
02520e74
JR
707%description -n QtDesigner -l pl.UTF-8
708Ten moduł dostarcza klasy, które pozwalają tworzyć własne wtyczki dla
709Qt Designera oraz klasy, które umożliwiają dostęp do jego komponentów.
a8088d24
JB
710
711%package -n QtDesigner-devel
712Summary: Classes for extending Qt Designer - development files
4c66dee3 713Summary(pl.UTF-8): Klasy do rozbudowy Qt Designera - pliki programistyczne
a8088d24 714Group: X11/Development/Libraries
a8088d24 715Requires: QtDesigner = %{version}-%{release}
e3a9f812 716Requires: QtGui-devel = %{version}-%{release}
a8088d24
JB
717
718%description -n QtDesigner-devel
719Classes for extending Qt Designer - development files.
720
02520e74 721%description -n QtDesigner-devel -l pl.UTF-8
a8088d24
JB
722Klasy do rozbudowy Qt Designera - pliki programistyczne.
723
724%package -n QtDesigner-static
725Summary: Classes for extending Qt Designer - static libraries
4c66dee3 726Summary(pl.UTF-8): Klasy do rozbudowy Qt Designera - biblioteki statyczne
a8088d24
JB
727Group: X11/Development/Libraries
728Requires: QtDesigner-devel = %{version}-%{release}
729
730%description -n QtDesigner-static
731Classes for extending Qt Designer - static libraries.
732
02520e74 733%description -n QtDesigner-static -l pl.UTF-8
a8088d24
JB
734Klasy do rozbudowy Qt Designera - biblioteki statyczne.
735
da64c649 736%package -n QtScript
737Summary: Classes for scripting applications
738Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach
739Group: X11/Development/Libraries
740
741%description -n QtScript
742The QtScript module provides classes to handle scripts inside
743applications.
744
745%description -n QtScript -l pl.UTF-8
746Ten moduł dostarcza klasy obsługujące języki skryptowe wewnątrz
747aplikacji.
748
749%package -n QtScript-devel
750Summary: Classes for scripting applications - development files
751Summary(pl.UTF-8): Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne
752Group: X11/Development/Libraries
753Requires: QtScript = %{version}-%{release}
754
755%description -n QtScript-devel
756Classes for scriptin applications - development files.
757
758%description -n QtScript-devel -l pl.UTF-8
759Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne.
760
761%package -n QtScript-static
762Summary: Classes for scripting applications - static library
763Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka statyczna
764Group: X11/Development/Libraries
765Requires: QtScript-devel = %{version}-%{release}
766
767%description -n QtScript-static
768Classes for scripting applications - static library.
769
770%description -n QtScript-static -l pl.UTF-8
771Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka
772statyczna.
773
a8088d24
JB
774%package -n QtUiTools
775Summary: Classes for handling Qt Designer forms in applications
4c66dee3 776Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach
a8088d24 777Group: X11/Libraries
e3a9f812
JB
778Requires: QtGui = %{version}-%{release}
779Requires: QtXml = %{version}-%{release}
a8088d24
JB
780
781%description -n QtUiTools
782The QtUiTools module provides classes to handle forms created with Qt
783Designer.
784
02520e74
JR
785%description -n QtUiTools -l pl.UTF-8
786Moduł QtUiTools udostępnia klasy do obsługi formularzy tworzonych przy
787użyciu Qt Designera.
a8088d24
JB
788
789%package -n QtUiTools-devel
790Summary: Classes for handling Qt Designer forms in applications - development files
4c66dee3 791Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki programistyczne
a8088d24 792Group: X11/Development/Libraries
e3a9f812
JB
793Requires: QtCore-devel = %{version}-%{release}
794Requires: QtUiTools = %{version}-%{release}
a8088d24
JB
795
796%description -n QtUiTools-devel
797Classes for handling Qt Designer forms in applications - development
798files.
799
02520e74
JR
800%description -n QtUiTools-devel -l pl.UTF-8
801Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki
a8088d24
JB
802programistyczne.
803
804%package -n QtUiTools-static
805Summary: Classes for handling Qt Designer forms in applications - static library
4c66dee3 806Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka statyczna
a8088d24 807Group: X11/Development/Libraries
e3a9f812 808Requires: QtUiTools-devel = %{version}-%{release}
a8088d24
JB
809
810%description -n QtUiTools-static
811Classes for handling Qt Designer forms in applications - static
812library.
813
02520e74
JR
814%description -n QtUiTools-static -l pl.UTF-8
815Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka
a8088d24
JB
816statyczna.
817
bc7da990 818%package assistant
819Summary: Qt documentation browser
4c66dee3 820Summary(pl.UTF-8): Przeglądarka dokumentacji Qt
bc7da990 821Group: X11/Development/Tools
a8088d24 822Requires: %{name}-doc = %{version}-%{release}
61992032 823Requires: QtAssistant = %{version}-%{release}
e3a9f812 824Requires: QtDBus = %{version}-%{release}
bc7da990 825
826%description assistant
827Qt Assistant is a tool for browsing on-line documentation with
828indexing, bookmarks and full-text search.
829
02520e74
JR
830%description assistant -l pl.UTF-8
831Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością
832indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania.
bc7da990 833
08506906
PS
834%package build
835Summary: Build tools for Qt4
4c66dee3 836Summary(pl.UTF-8): Narzędzia do budowania dla Qt4
61da89d9 837Group: X11/Development/Tools
5631d6de
JB
838Requires: QtCore = %{version}-%{release}
839Requires: QtXml = %{version}-%{release}
bc7da990 840
08506906
PS
841%description build
842This package includes the Qt resource compiler (rcc), meta objects
843compiler (moc), user interface compiler (uic) and qt3to4 include names
844converter.
bc7da990 845
02520e74
JR
846%description build -l pl.UTF-8
847Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
848metaobiektów (moc), kompilator interfejsów użytkownika (uic) oraz
849konwerter nazw plików nagłówkowych qt3to4.
61da89d9 850
bc7da990 851%package designer
6430c397 852Summary: IDE used for GUI designing with Qt library
4c66dee3 853Summary(pl.UTF-8): IDE służące do projektowania GUI za pomocą biblioteki Qt
bc7da990 854Group: X11/Applications
e3a9f812 855Requires: QtAssistant = %{version}-%{release}
a8088d24 856Requires: QtDesigner = %{version}-%{release}
bc7da990 857
858%description designer
6430c397 859An advanced tool used for GUI designing with Qt library.
bc7da990 860
02520e74
JR
861%description designer -l pl.UTF-8
862Zaawansowane narzędzie służące do projektowania interfejsu graficznego
863za pomocą biblioteki Qt.
bc7da990 864
cc6d9c76 865%package linguist
866Summary: Translation helper for Qt
4c66dee3 867Summary(pl.UTF-8): Aplikacja ułatwiająca tłumaczenie aplikacji oparty o Qt
cc6d9c76 868Group: X11/Development/Tools
e3a9f812
JB
869Requires: QtAssistant = %{version}-%{release}
870Requires: QtUiTools = %{version}-%{release}
2ba913fc 871
cc6d9c76 872%description linguist
873This program provides an interface that shortens and helps systematize
874the process of translating GUIs. Qt Linguist takes all of the text of
875a UI that will be shown to the user, and presents it to a human
876translator in a simple window. When one UI text is translated, the
877program automatically progresses to the next, until they are all
878completed.
2ba913fc 879
02520e74
JR
880%description linguist -l pl.UTF-8
881Ten program oferuje interfejs znacznie przyśpieszający proces
882tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty
883przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie.
884Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do
885następnego, aż wszystkie będą przetłumaczone.
642df674 886
71d7c231 887%package qmake
cc6d9c76 888Summary: Qt makefile generator
4c66dee3 889Summary(pl.UTF-8): Generator plików makefile dla aplikacji Qt
cc6d9c76 890Group: X11/Development/Tools
2ba913fc 891
71d7c231 892%description qmake
cc6d9c76 893A powerful makefile generator. It can create makefiles on any platform
894from a simple .pro definitions file.
2ba913fc 895
02520e74
JR
896%description qmake -l pl.UTF-8
897Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile
898na każdej platformi na podstawie łatwego w przygotowaniu pliku .pro.
2ba913fc 899
71d7c231 900%package qtconfig
cc6d9c76 901Summary: Qt widgets configuration tool
4c66dee3 902Summary(pl.UTF-8): Narzędzie do konfigurowania widgetów Qt
cc6d9c76 903Group: X11/Applications
e3a9f812
JB
904Requires: Qt3Support = %{version}-%{release}
905Requires: QtGui = %{version}-%{release}
906Requires: QtNetwork = %{version}-%{release}
907Requires: QtSql = %{version}-%{release}
908Requires: QtXml = %{version}-%{release}
2ba913fc 909
71d7c231 910%description qtconfig
cc6d9c76 911A tool for configuring look and behavior of Qt widgets.
2ba913fc 912
02520e74
JR
913%description qtconfig -l pl.UTF-8
914Narzędie do konfiguracji wyglądu i zachowania widgetów Qt.
2ba913fc 915
cc6d9c76 916%package -n qvfb
08506906 917Summary: Qt Virtual framebuffer
4c66dee3 918Summary(pl.UTF-8): Wirtualny framebuffer dla Qt
642df674 919Group: X11/Development/Libraries
e3a9f812
JB
920Requires: QtGui = %{version}-%{release}
921Requires: QtOpenGL = %{version}-%{release}
642df674 922
cc6d9c76 923%description -n qvfb
bcbcae98
ER
924Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
925window.
61da89d9 926
02520e74 927%description -n qvfb -l pl.UTF-8
bcbcae98
ER
928Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
929okienku X.
642df674 930
cc6d9c76 931%package demos
61da89d9 932Summary: Demos of new Qt4 features
4c66dee3 933Summary(pl.UTF-8): Programy demonstrujące nowe możliwości Qt4
08506906 934Group: X11/Development/Libraries
e3a9f812 935Requires: QtAssistant = %{version}-%{release}
5631d6de 936Requires: QtXml = %{version}-%{release}
642df674 937
cc6d9c76 938%description demos
939Demos are spiders that fly.
642df674 940
02520e74
JR
941%description demos -l pl.UTF-8
942Dema to latające pająki.
61da89d9 943
cc6d9c76 944%package doc
945Summary: Qt Documentation in HTML format
4c66dee3 946Summary(pl.UTF-8): Dokumentacja Qt w formacie HTML
642df674 947Group: X11/Development/Libraries
642df674 948
cc6d9c76 949%description doc
950Qt documentation in HTML format.
642df674 951
02520e74 952%description doc -l pl.UTF-8
cc6d9c76 953Dokumentacja qt w formacie HTML.
642df674 954
cc6d9c76 955%package examples
956Summary: Example programs bundled with Qt
4c66dee3
ER
957Summary(pl.UTF-8): Ćwiczenia i przykłady do Qt
958Summary(pt_BR.UTF-8): Programas exemplo desenvolvidos com o Qt
cc6d9c76 959Group: X11/Development/Libraries
960# no it does not , we cant be sure the user wants to compile them right?
961# he might just want to take a look, anwyay no single devel package now
5631d6de 962#Requires: %{name}-devel = %{version}-%{release}
642df674 963
cc6d9c76 964%description examples
965Example programs bundled with Qt version.
642df674 966
02520e74
JR
967%description examples -l pl.UTF-8
968Ćwiczenia/przykłady dołączone do Qt.
642df674 969
02520e74
JR
970%description examples -l pt_BR.UTF-8
971Programas exemplo para o Qt versão.
642df674 972
bc7da990 973%prep
2d2db419 974%setup -q -n qt-x11-opensource-src-%{version}
975%patch0 -p1
da64c649 976%patch1 -p0
2d2db419 977%patch2 -p1
978%patch3 -p1
3f756324 979%patch4 -p1
2d2db419 980%patch6 -p1
981%patch7 -p1
982%patch8 -p1
983%patch9 -p1
2417a4ba 984%patch10 -p1
bc7da990 985
f7c07b4b
KK
986%{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \
987 mkspecs/common/linux.conf
988
989# change QMAKE FLAGS to build
990%{__sed} -i -e '
991 s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|;
992 s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|;
993 s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|;
994 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|;
995 s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcflags}|;
996 s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcxxflags}|;
997 s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|;
998 s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|;
999 ' mkspecs/common/g++.conf
1000
1001%{__sed} -i -e '
1002 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
1003 ' mkspecs/common/linux.conf
bc7da990 1004
1005%build
bc7da990 1006# pass OPTFLAGS to build qmake itself with optimization
71d7c231
KK
1007export OPTFLAGS="%{rpmcflags}"
1008export PATH=$PWD/bin:$PATH
bc7da990 1009
1010##################################
1011# DEFAULT OPTIONS FOR ALL BUILDS #
1012##################################
1013
8b4e0403 1014COMMONOPT=" \
bc7da990 1015 -DQT_CLEAN_NAMESPACE \
1016 -verbose \
df71e198 1017 -prefix %{_qtdir} \
1018 -bindir %{_qtdir}/bin \
642df674 1019 -docdir %{_docdir}/%{name}-doc \
1620d5ef 1020 -headerdir %{_includedir}/qt4 \
1021 -libdir %{_libdir} \
eea9e045 1022 -L%{_libdir} \
df71e198 1023 -plugindir %{_qtdir}/plugins \
1620d5ef 1024 -datadir %{_datadir}/qt4 \
bc7da990 1025 -translationdir %{_datadir}/locale/ \
1620d5ef 1026 -sysconfdir %{_sysconfdir}/qt4 \
1027 -examplesdir %{_examplesdir}/qt4 \
1028 -demosdir %{_examplesdir}/qt4-demos \
bc7da990 1029 -fast \
0b457108 1030 -glib \
889daba4 1031 -%{!?with_pch:no-}pch \
8ffe6e07 1032 -no-rpath \
814195ab
JB
1033 %{!?with_sse:-no-sse} \
1034 %{!?with_sse2:-no-sse2} \
3f80fcc7 1035 -qdbus \
bc7da990 1036 -qt-gif \
1037 -system-libjpeg \
d5160e56 1038 -system-libmng \
bc7da990 1039 -system-libpng \
1040 -system-zlib \
1041 -no-exceptions \
d5160e56 1042 -largefile \
bc7da990 1043 -I%{_includedir}/postgresql/server \
1044 -I%{_includedir}/mysql \
bf216b9f 1045 %{?with_cups:-cups} \
bc7da990 1046 %{?with_nas:-system-nas-sound} \
bc7da990 1047 %{?debug:-debug} \
71d7c231 1048 %{!?debug:-release} \
30f8468c 1049 -qt3support \
cc6d9c76 1050 -fontconfig \
47e29d34 1051 -iconv \
1052 -no-separate-debug-info \
d5160e56 1053 -xfixes \
c8537603 1054 -nis \
cc6d9c76 1055 -sm \
c8537603
JB
1056 -tablet \
1057 -xcursor \
1058 -xkb \
1059 -xrender \
1060 -xshape"
bc7da990 1061
1062##################################
151e5443 1063# STATIC MULTI-THREAD #
bc7da990 1064##################################
1065
1066%if %{with static_libs}
fee487b9 1067OPT=" \
d5160e56 1068 -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
1069 -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
1070 -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
1071 -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
1072 -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
1073 -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
bc7da990 1074 -static"
8b4e0403 1075
1076echo "yes" | ./configure $COMMONOPT $OPT
1077
71d7c231
KK
1078%{__make} -C src
1079%{__make} -C tools/assistant/lib
a8088d24 1080%{__make} -C tools/designer
47e29d34 1081%{__make} -C tools/qdbus/src
6f1b9278
1082if [ ! -d staticlib ]; then
1083 mkdir staticlib
1084 cp -a lib/*.a staticlib
1085fi
71d7c231 1086%{__make} confclean
bc7da990 1087%endif
1088
1089##################################
151e5443 1090# SHARED MULTI-THREAD #
bc7da990 1091##################################
1092
fee487b9 1093OPT=" \
d5160e56 1094 -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
1095 -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
1096 -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
1097 -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
1098 -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
1099 -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase"
642df674 1100
8b4e0403 1101echo "yes" | ./configure $COMMONOPT $OPT
1102
1103%{__make}
1620d5ef 1104%{__make} \
1105 sub-tools-all-ordered \
1106 sub-demos-all-ordered \
1107 sub-examples-all-ordered
2ba913fc 1108
bc7da990 1109%install
1110rm -rf $RPM_BUILD_ROOT
df71e198 1111install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1112install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
bc7da990 1113
1114%{__make} install \
1115 INSTALL_ROOT=$RPM_BUILD_ROOT
1116
a8088d24 1117# kill -L/inside/builddir from *.la and *.pc (bug #77152)
da64c649 1118%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl}
e7ec9abb 1119%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
5bda0943 1120%{__sed} -i -e '
1121 s|moc_location=.*|moc_location=%{_bindir}/qt4-moc|;
1122 s|uic_location=.*|uic_location=%{_bindir}/qt4-uic|;
e7ec9abb 1123 ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
a8088d24 1124
df71e198 1125# install tools
1126install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
df71e198 1127
1128cd $RPM_BUILD_ROOT%{_bindir}
1129ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1130ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1131ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
764b5458 1132ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
df71e198 1133ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
764b5458 1134ln -sf ../%{_lib}/qt4/bin/qt3to4 .
df71e198 1135ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
764b5458
JB
1136ln -sf ../%{_lib}/qt4/bin/rcc .
1137ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1138ln -sf ../%{_lib}/qt4/bin/uic3 .
da64c649 1139ln -sf ../%{_lib}/qt4/bin/pixeltool .
1140ln -sf ../%{_lib}/qt4/bin/qdbus .
1141ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml .
1142ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp .
1143ln -sf ../%{_lib}/qt4/bin/qdbusviewer .
1144ln -sf ../%{_lib}/qt4/bin/qvfb .
df71e198 1145cd -
bc7da990 1146
bc7da990 1147install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1148install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
71d7c231 1149install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
bc7da990 1150
642df674 1151install tools/qtconfig/images/appicon.png \
df71e198 1152 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
bc7da990 1153
642df674 1154install tools/linguist/linguist/images/appicon.png \
df71e198 1155 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
bc7da990 1156
1620d5ef 1157install tools/assistant/images/assistant.png \
df71e198 1158 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
bc7da990 1159
71d7c231 1160install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
642df674 1161install tools/designer/src/designer/images/designer.png \
df71e198 1162 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
bc7da990 1163
642df674 1164%if %{with static_libs}
8b4e0403 1165install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
642df674 1166%endif
bc7da990 1167
d96b2ef5 1168#
1169# Locale
1170#
49c5b19e 1171cp %{SOURCE6} translations/qt_pl.ts
1172LD_LIBRARY_PATH=lib bin/lrelease translations/qt_pl.ts -qm translations/qt_pl.qm
1173
d96b2ef5 1174rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
e5a89f18
ER
1175for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm; do
1176 [ ! -f $file ] && continue
1177 lang=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
1178 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
1179 [ "$lang" == "iw" ] && lang=he
1180 MOD=qt4-$MOD
1181 [ "$MOD" == "qt4-qt" ] && MOD=qt4
1182 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES
1183 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/$MOD.qm
d96b2ef5 1184done
bc7da990 1185
1620d5ef 1186cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
e5a89f18 1187for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Script,Sql,Svg,Test,UiTools,Xml}/*; do
1620d5ef 1188 if [ ! -d $f ]; then
1189 ln -sf $f `basename $f`
1190 fi
bc7da990 1191done
1620d5ef 1192cd -
bc7da990 1193
da64c649 1194mv $RPM_BUILD_ROOT%{_datadir}/locale/ja_jp/LC_MESSAGES/qt4.qm \
1195 $RPM_BUILD_ROOT%{_datadir}/locale/ja/LC_MESSAGES/qt4.qm
1196
df71e198 1197# Ship doc & qmake stuff
a8088d24
JB
1198ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1199ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
df71e198 1200
5bda0943 1201for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1202 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1203 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1204 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1205 DEFS="-D_REENTRANT"
1206
1207 if [ "$MODULE2" == "3SUPPORT" ]; then
1208 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1209 else
1210 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1211 fi
1212 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1213
1214 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1215done
af36e151 1216
1620d5ef 1217# Prepare some files list
afda8c46 1218ifecho() {
83908296 1219 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
e5a89f18 1220 [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set
83908296 1221 r=`echo $RESULT | awk '{ print $1 }'`
1222
1223 if [ -d "$r" ]; then
1224 echo "%%dir $2" >> $1.files
1225 elif [ -x "$r" ] ; then
1226 echo "%%attr(755,root,root) $2" >> $1.files
1227 elif [ -f "$r" ]; then
1228 echo "$2" >> $1.files
1620d5ef 1229 else
151e5443 1230 echo "Error generation $1 files list!"
83908296 1231 echo "$r: no such file or direcotry!"
8f22d351 1232 return 1
1620d5ef 1233 fi
83908296 1234}
1235
afda8c46 1236mkdevfl() {
83908296 1237 MODULE=$1; shift
1238 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1239 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
bcbcae98 1240 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
83908296 1241 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
5bda0943 1242 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
4d335555
KK
1243 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1244 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1245 fi
bfd2dfad 1246 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`; do
83908296 1247 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1248 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1249 done
1250 for f in $@; do ifecho $MODULE-devel $f; done
1251}
1252
71d7c231 1253mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
e7ec9abb 1254mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
83908296 1255mkdevfl QtGui
1256mkdevfl QtNetwork
1257mkdevfl QtOpenGL
da64c649 1258mkdevfl QtScript
83908296 1259mkdevfl QtSql
8b4e0403 1260mkdevfl QtSvg
1261mkdevfl QtTest
83908296 1262mkdevfl QtXml
1263mkdevfl Qt3Support
71d7c231
KK
1264
1265# without *.la *.pc etc.
1266mkdevfl QtAssistant || /bin/true
1267mkdevfl QtDesigner || /bin/true
a8088d24 1268mkdevfl QtUiTools || /bin/true
83908296 1269
1270echo "%defattr(644,root,root,755)" > examples.files
1271ifecho examples %{_examplesdir}/qt4
e5a89f18 1272for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`; do
83908296 1273 ifecho examples %{_examplesdir}/qt4/$f
bc7da990 1274done
642df674 1275
1620d5ef 1276echo "%defattr(644,root,root,755)" > demos.files
83908296 1277ifecho demos "%{_examplesdir}/qt4-demos"
df71e198 1278ifecho demos "%{_qtdir}/bin/qtdemo"
e5a89f18 1279for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`; do
83908296 1280 ifecho demos %{_examplesdir}/qt4-demos/$f
1620d5ef 1281done
bc7da990 1282
bc7da990 1283%clean
1284rm -rf $RPM_BUILD_ROOT
1285
08506906 1286%post -n QtCore
bc7da990 1287/sbin/ldconfig
e5a89f18
ER
1288if [ "$1" = 1 ]; then
1289%banner -e %{name} <<'EOF'
bc7da990 1290 *******************************************************
1291 * *
1292 * NOTE: *
1293 * With qt 4.0.0 the single threaded version was *
cc6d9c76 1294 * removed. Also the library is modular now so be *
1295 * sure to check that you have every module you need. *
711f5530 1296 * *
bc7da990 1297 *******************************************************
bc7da990 1298EOF
e5a89f18
ER
1299fi
1300
08506906 1301%postun -n QtCore -p /sbin/ldconfig
bc7da990 1302
0b457108 1303%post -n QtDBus -p /sbin/ldconfig
1304%postun -n QtDBus -p /sbin/ldconfig
1305
08506906
PS
1306%post -n QtGui -p /sbin/ldconfig
1307%postun -n QtGui -p /sbin/ldconfig
bc7da990 1308
08506906
PS
1309%post -n QtNetwork -p /sbin/ldconfig
1310%postun -n QtNetwork -p /sbin/ldconfig
cc6d9c76 1311
08506906
PS
1312%post -n QtOpenGL -p /sbin/ldconfig
1313%postun -n QtOpenGL -p /sbin/ldconfig
cc6d9c76 1314
da64c649 1315%post -n QtScript -p /sbin/ldconfig
1316%postun -n QtScript -p /sbin/ldconfig
1317
08506906
PS
1318%post -n QtSql -p /sbin/ldconfig
1319%postun -n QtSql -p /sbin/ldconfig
642df674 1320
8b4e0403 1321%post -n QtSvg -p /sbin/ldconfig
1322%postun -n QtSvg -p /sbin/ldconfig
1323
1324%post -n QtTest -p /sbin/ldconfig
1325%postun -n QtTest -p /sbin/ldconfig
1326
08506906
PS
1327%post -n QtXml -p /sbin/ldconfig
1328%postun -n QtXml -p /sbin/ldconfig
1329
1330%post -n Qt3Support -p /sbin/ldconfig
1331%postun -n Qt3Support -p /sbin/ldconfig
1332
71d7c231
KK
1333%post -n QtAssistant -p /sbin/ldconfig
1334%postun -n QtAssistant -p /sbin/ldconfig
08506906 1335
a8088d24
JB
1336%post -n QtDesigner -p /sbin/ldconfig
1337%postun -n QtDesigner -p /sbin/ldconfig
1338
1339%post -n QtUiTools -p /sbin/ldconfig
1340%postun -n QtUiTools -p /sbin/ldconfig
642df674 1341
1342%files -n QtCore
1343%defattr(644,root,root,755)
396c20bd 1344%attr(755,root,root) %{_libdir}/libQtCore.so.*.*
df71e198 1345%dir %{_qtdir}
a8088d24 1346%dir %{_qtdir}/bin
df71e198 1347%dir %{_qtdir}/plugins
1348%dir %{_qtdir}/plugins/accessible
0e559634 1349%dir %{_qtdir}/plugins/codecs
df71e198 1350%dir %{_qtdir}/plugins/crypto
0e559634 1351%dir %{_qtdir}/plugins/iconengines
df71e198 1352%dir %{_qtdir}/plugins/imageformats
6bff86e1 1353%dir %{_qtdir}/plugins/inputmethods
df71e198 1354%dir %{_qtdir}/plugins/network
1355%dir %{_qtdir}/plugins/sqldrivers
642df674 1356%dir %{_datadir}/qt4
6167705f 1357%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
6167705f 1358%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
0e559634 1359%lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm
6167705f 1360%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
a5e0b207 1361%lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
da64c649 1362%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4.qm
49c5b19e 1363%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4.qm
da64c649 1364%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/qt4.qm
6167705f 1365%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1366%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
da64c649 1367%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/qt4.qm
1368%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/qt4.qm
6167705f 1369%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
642df674 1370
0b457108 1371%files -n QtDBus
1372%defattr(644,root,root,755)
e7ec9abb
JB
1373%attr(755,root,root) %{_qtdir}/bin/qdbus
1374%attr(755,root,root) %{_qtdir}/bin/qdbusviewer
1375%attr(755,root,root) %{_bindir}/qdbus
1376%attr(755,root,root) %{_bindir}/qdbusviewer
0b457108 1377%attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
1378
cc6d9c76 1379%files -n QtGui
642df674 1380%defattr(644,root,root,755)
396c20bd 1381%attr(755,root,root) %{_libdir}/libQtGui.so.*.*
0e559634
JB
1382%attr(755,root,root) %{_qtdir}/plugins/accessible/*.so
1383%attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
1384%attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so
1385%attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so
1386%attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
642df674 1387
642df674 1388%files -n QtNetwork
1389%defattr(644,root,root,755)
396c20bd 1390%attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
642df674 1391
cc6d9c76 1392%files -n QtOpenGL
642df674 1393%defattr(644,root,root,755)
396c20bd 1394%attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
cc6d9c76 1395
da64c649 1396%files -n QtScript
1397%defattr(644,root,root,755)
1398%attr(755,root,root) %{_libdir}/libQtScript.so.*.*
1399
cc6d9c76 1400%files -n QtSql
1401%defattr(644,root,root,755)
396c20bd 1402%attr(755,root,root) %{_libdir}/libQtSql.so.*.*
cc6d9c76 1403
642df674 1404%if %{with mysql}
cc6d9c76 1405%files -n QtSql-mysql
642df674 1406%defattr(644,root,root,755)
df71e198 1407%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
642df674 1408%endif
1409
1410%if %{with pgsql}
cc6d9c76 1411%files -n QtSql-pgsql
642df674 1412%defattr(644,root,root,755)
df71e198 1413%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
642df674 1414%endif
1415
1416%if %{with sqlite}
cc6d9c76 1417%files -n QtSql-sqlite
642df674 1418%defattr(644,root,root,755)
da64c649 1419#%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
642df674 1420%endif
1421
1422%if %{with sqlite3}
cc6d9c76 1423%files -n QtSql-sqlite3
642df674 1424%defattr(644,root,root,755)
df71e198 1425%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
36f74d13 1426%if %{with sqlite}
da64c649 1427#%exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
642df674 1428%endif
36f74d13 1429%endif
642df674 1430
1431%if %{with ibase}
cc6d9c76 1432%files -n QtSql-ibase
642df674 1433%defattr(644,root,root,755)
df71e198 1434%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
642df674 1435%endif
1436
1437%if %{with odbc}
cc6d9c76 1438%files -n QtSql-odbc
642df674 1439%defattr(644,root,root,755)
df71e198 1440%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
642df674 1441%endif
1442
07b2fa37
JB
1443%files -n QtSvg
1444%defattr(644,root,root,755)
396c20bd 1445%attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
07b2fa37 1446
8b4e0403 1447%files -n QtTest
1448%defattr(644,root,root,755)
396c20bd 1449%attr(755,root,root) %{_libdir}/libQtTest.so.*.*
8b4e0403 1450
cc6d9c76 1451%files -n QtXml
642df674 1452%defattr(644,root,root,755)
396c20bd 1453%attr(755,root,root) %{_libdir}/libQtXml.so.*.*
642df674 1454
cc6d9c76 1455%files -n Qt3Support
642df674 1456%defattr(644,root,root,755)
764b5458 1457%attr(755,root,root) %{_bindir}/uic3
df71e198 1458%attr(755,root,root) %{_qtdir}/bin/uic3
396c20bd 1459%attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
642df674 1460
71d7c231
KK
1461%files -n QtAssistant
1462%defattr(644,root,root,755)
396c20bd 1463%attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
da64c649 1464%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-assistant.qm
71d7c231 1465
a8088d24
JB
1466%files -n QtDesigner
1467%defattr(644,root,root,755)
1468%attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1469%dir %{_qtdir}/plugins/designer
1470%attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1471
1472%files -n QtUiTools
1473%defattr(644,root,root,755)
2d2db419 1474%attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
a8088d24 1475
cc6d9c76 1476%files assistant
642df674 1477%defattr(644,root,root,755)
0b457108 1478%attr(755,root,root) %{_bindir}/pixeltool
da64c649 1479%attr(755,root,root) %{_qtdir}/bin/pixeltool
df71e198 1480%attr(755,root,root) %{_bindir}/qt4-assistant
1481%attr(755,root,root) %{_qtdir}/bin/assistant
49c5b19e 1482%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-assistant.qm
df71e198 1483%{_desktopdir}/qt4-assistant.desktop
1484%{_pixmapsdir}/qt4-assistant.png
642df674 1485
08506906 1486%files build
642df674 1487%defattr(644,root,root,755)
764b5458
JB
1488%attr(755,root,root) %{_bindir}/rcc
1489%attr(755,root,root) %{_bindir}/qt4-moc
1490%attr(755,root,root) %{_bindir}/qt3to4
1491%attr(755,root,root) %{_bindir}/qt4-uic
df71e198 1492%attr(755,root,root) %{_qtdir}/bin/rcc
1493%attr(755,root,root) %{_qtdir}/bin/moc
1494%attr(755,root,root) %{_qtdir}/bin/qt3to4
1495%attr(755,root,root) %{_qtdir}/bin/uic
cc6d9c76 1496%{_datadir}/qt4/q3porting.xml
642df674 1497
642df674 1498%files designer
1499%defattr(644,root,root,755)
df71e198 1500%attr(755,root,root) %{_bindir}/qt4-designer
1501%attr(755,root,root) %{_qtdir}/bin/designer
da64c649 1502%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-designer.qm
1503%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-designer.qm
df71e198 1504%{_desktopdir}/qt4-designer.desktop
1505%{_pixmapsdir}/qt4-designer.png
71d7c231 1506
cc6d9c76 1507%files linguist
1508%defattr(644,root,root,755)
df71e198 1509%attr(755,root,root) %{_bindir}/qt4-linguist
df71e198 1510%attr(755,root,root) %{_qtdir}/bin/findtr
a8088d24 1511%attr(755,root,root) %{_qtdir}/bin/linguist
df71e198 1512%attr(755,root,root) %{_qtdir}/bin/lrelease
1513%attr(755,root,root) %{_qtdir}/bin/lupdate
da64c649 1514%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-linguist.qm
cc6d9c76 1515%{_datadir}/qt4/phrasebooks
df71e198 1516%{_desktopdir}/qt4-linguist.desktop
1517%{_pixmapsdir}/qt4-linguist.png
cc6d9c76 1518
71d7c231 1519%files qmake
cc6d9c76 1520%defattr(644,root,root,755)
df71e198 1521%attr(755,root,root) %{_bindir}/qt4-qmake
1522%attr(755,root,root) %{_qtdir}/bin/qmake
cc6d9c76 1523%{_datadir}/qt4/mkspecs
a8088d24 1524%{_qtdir}/mkspecs
cc6d9c76 1525
71d7c231 1526%files qtconfig
cc6d9c76 1527%defattr(644,root,root,755)
df71e198 1528%attr(755,root,root) %{_bindir}/qt4-qtconfig
1529%attr(755,root,root) %{_qtdir}/bin/qtconfig
1530%{_desktopdir}/qt4-qtconfig.desktop
1531%{_pixmapsdir}/qt4-qtconfig.png
cc6d9c76 1532
2d2db419 1533%files -n qvfb
1534%defattr(644,root,root,755)
1535%attr(755,root,root) %{_bindir}/qvfb
da64c649 1536%attr(755,root,root) %{_qtdir}/bin/qvfb
cc6d9c76 1537
cc6d9c76 1538%files doc
1539%defattr(644,root,root,755)
1540%{_docdir}/%{name}-doc
a8088d24 1541%{_qtdir}/doc
cc6d9c76 1542
83908296 1543%files -n QtCore-devel -f QtCore-devel.files
edf01045 1544%defattr(644,root,root,755)
0b457108 1545%files -n QtDBus-devel -f QtDBus-devel.files
edf01045 1546%defattr(644,root,root,755)
8f22d351 1547%files -n QtDesigner-devel -f QtDesigner-devel.files
edf01045 1548%defattr(644,root,root,755)
83908296 1549%files -n QtGui-devel -f QtGui-devel.files
edf01045 1550%defattr(644,root,root,755)
83908296 1551%files -n QtNetwork-devel -f QtNetwork-devel.files
edf01045 1552%defattr(644,root,root,755)
83908296 1553%files -n QtOpenGL-devel -f QtOpenGL-devel.files
edf01045 1554%defattr(644,root,root,755)
da64c649 1555%files -n QtScript-devel -f QtScript-devel.files
edf01045 1556%defattr(644,root,root,755)
83908296 1557%files -n QtSql-devel -f QtSql-devel.files
edf01045 1558%defattr(644,root,root,755)
8b4e0403 1559%files -n QtSvg-devel -f QtSvg-devel.files
edf01045 1560%defattr(644,root,root,755)
8b4e0403 1561%files -n QtTest-devel -f QtTest-devel.files
edf01045 1562%defattr(644,root,root,755)
83908296 1563%files -n QtXml-devel -f QtXml-devel.files
edf01045 1564%defattr(644,root,root,755)
83908296 1565%files -n Qt3Support-devel -f Qt3Support-devel.files
edf01045 1566%defattr(644,root,root,755)
71d7c231 1567%files -n QtAssistant-devel -f QtAssistant-devel.files
edf01045 1568%defattr(644,root,root,755)
a8088d24 1569%files -n QtUiTools-devel -f QtUiTools-devel.files
edf01045 1570%defattr(644,root,root,755)
83908296 1571
8b4e0403 1572%if %{with static_libs}
1573%files -n QtCore-static
1574%defattr(644,root,root,755)
1575%{_libdir}/libQtCore*.a
1576
3fc9ecf9 1577%files -n QtDBus-static
1578%defattr(644,root,root,755)
1579%{_libdir}/libQtDBus*.a
0b457108 1580
8b4e0403 1581%files -n QtGui-static
1582%defattr(644,root,root,755)
1583%{_libdir}/libQtGui*.a
1584
1585%files -n QtNetwork-static
1586%defattr(644,root,root,755)
1587%{_libdir}/libQtNetwork*.a
1588
1589%files -n QtOpenGL-static
1590%defattr(644,root,root,755)
1591%{_libdir}/libQtOpenGL*.a
1592
da64c649 1593%files -n QtScript-static
1594%defattr(644,root,root,755)
1595%{_libdir}/libQtScript*.a
1596
8b4e0403 1597%files -n QtSql-static
1598%defattr(644,root,root,755)
1599%{_libdir}/libQtSql*.a
1600
1601%files -n QtSvg-static
1602%defattr(644,root,root,755)
1603%{_libdir}/libQtSvg*.a
1604
1605%files -n QtXml-static
1606%defattr(644,root,root,755)
1607%{_libdir}/libQtXml*.a
1608
1609%files -n Qt3Support-static
1610%defattr(644,root,root,755)
1611%{_libdir}/libQt3Support*.a
1612
71d7c231
KK
1613%files -n QtAssistant-static
1614%defattr(644,root,root,755)
1615%{_libdir}/libQtAssistantClient.a
8b4e0403 1616
a8088d24
JB
1617%files -n QtDesigner-static
1618%defattr(644,root,root,755)
1619%{_libdir}/libQtDesigner*.a
1620
1621%files -n QtUiTools-static
1622%defattr(644,root,root,755)
1623%{_libdir}/libQtUiTools.a
fa2b2c8b
KK
1624%endif
1625
1620d5ef 1626%files demos -f demos.files
edf01045 1627%defattr(644,root,root,755)
1620d5ef 1628%files examples -f examples.files
edf01045 1629%defattr(644,root,root,755)
This page took 1.825317 seconds and 4 git commands to generate.