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