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