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