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