]> git.pld-linux.org Git - packages/qt4.git/blame - qt4.spec
- adapter
[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
4ad4bb90
17%bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
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
da64c649 42Version: 4.3.0
2d2db419 43Release: 1
bc7da990 44License: GPL/QPL
45Group: X11/Libraries
2d2db419 46Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
da64c649 47# Source0-md5: 8012acea71b35c18247bd92c4721589d
df71e198 48Source2: %{name}-qtconfig.desktop
49Source3: %{name}-designer.desktop
50Source4: %{name}-assistant.desktop
51Source5: %{name}-linguist.desktop
49c5b19e 52Source6: %{name}_pl.ts
2d2db419 53Patch0: %{name}-tools.patch
da64c649 54Patch1: %{name}-qt_copy.patch
7e468979
JB
55Patch2: %{name}-buildsystem.patch
56Patch3: %{name}-locale.patch
9bb3a421 57
7e468979
JB
58Patch6: %{name}-antialias.patch
59Patch7: %{name}-support-cflags-with-commas.patch
60Patch8: %{name}-build-lib-static.patch
a8088d24 61Patch9: %{name}-x11_fonts.patch
bc7da990 62URL: http://www.trolltech.com/products/qt/
bc7da990 63%{?with_ibase:BuildRequires: Firebird-devel}
03510596 64BuildRequires: OpenGL-GLU-devel
bcbcae98 65%{?with_sqlite3:BuildRequires: sqlite3-devel}
bc7da990 66# incompatible with bison
bc7da990 67%{?with_cups:BuildRequires: cups-devel}
d5160e56 68BuildRequires: dbus-devel >= 0.62
c8537603 69BuildRequires: fontconfig-devel
e8df9d4c 70BuildRequires: freetype-devel >= 1:2.0.0
d5160e56 71BuildRequires: gcc >= 5:4.0
3f80fcc7
JB
72BuildRequires: giflib-devel
73BuildRequires: glib2-devel >= 2.0.0
bc7da990 74BuildRequires: libjpeg-devel
75BuildRequires: libmng-devel >= 1.0.0
e8df9d4c 76BuildRequires: libpng-devel >= 2:1.0.8
bc7da990 77BuildRequires: libstdc++-devel
bc7da990 78%{?with_mysql:BuildRequires: mysql-devel}
79%{?with_nas:BuildRequires: nas-devel}
3f80fcc7 80BuildRequires: pkgconfig
bc7da990 81%{?with_pgsql:BuildRequires: postgresql-backend-devel}
82%{?with_pgsql:BuildRequires: postgresql-devel}
71d7c231 83BuildRequires: rpmbuild(macros) >= 1.213
bc7da990 84BuildRequires: sed >= 4.0
bc7da990 85%{?with_sqlite:BuildRequires: sqlite-devel}
bcbcae98 86%{?with_odbc:BuildRequires: unixODBC-devel}
03510596
JB
87BuildRequires: xorg-lib-libSM-devel
88BuildRequires: xorg-lib-libXcursor-devel
89BuildRequires: xorg-lib-libXext-devel
4d65233a 90BuildRequires: xorg-lib-libXfixes-devel
03510596
JB
91BuildRequires: xorg-lib-libXi-devel
92BuildRequires: xorg-lib-libXinerama-devel
93BuildRequires: xorg-lib-libXrandr-devel
94BuildRequires: xorg-lib-libXrender-devel
bc7da990 95BuildRequires: zlib-devel
151e5443 96BuildConflicts: QtCore-devel < %{version}
bc7da990 97Obsoletes: qt-extensions
98Obsoletes: qt-utils
7b57a050 99Conflicts: kdelibs <= 8:3.2-0.030602.1
9f300b6b 100BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bc7da990 101
102%define _noautoreqdep libGL.so.1 libGLU.so.1
f8b94468 103%define _noautostrip '.*_debug\\.so*'
bc7da990 104
575462c5
PS
105%define specflags -fno-strict-aliasing
106
df71e198 107%define _qtdir %{_libdir}/qt4
108
bc7da990 109%description
110Qt is a complete C++ application development framework, which includes
111a class library and tools for multiplatform development and
112internationalization. Using Qt, a single source code tree can build
113applications that run natively on different platforms (Windows,
114Unix/Linux, Mac OS X, embedded Linux).
115
116Qt has a rich set of standard widgets, and lets you write custom
117controls. It encapsulates four different platform-specific APIs, and
118the APIs for file-handling, networking, process-handling, threading,
119database access, etc. Qt now also has Motif migration oraz Netscape
120LiveConnect plugin.
121
02520e74 122%description -l es.UTF-8
bc7da990 123Contiene las bibliotecas compartidas necesarias para ejecutar
124aplicaciones Qt, bien como los archivos README.
125
02520e74 126%description -l pl.UTF-8
bc7da990 127Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
02520e74
JR
128języku C++, w którego skład wchodzi biblioteka z klasami oraz
129wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
130Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
131różnych platformach (Windows, Unix/Linux, Mac OS X).
132
133Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
134pozwala również na pisanie własnych elementów. Łączy w sposób
135niewidoczny dla programisty interfejsy programowania różnych systemów,
136tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
137procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
138na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
bc7da990 139wykorzystaniem Netscape LiveConnect.
140
cc6d9c76 141%package -n QtCore
142Summary: Core classes used by other modules
4c66dee3 143Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły
61da89d9 144Group: X11/Libraries
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
2d2db419 975%patch6 -p1
976%patch7 -p1
977%patch8 -p1
978%patch9 -p1
bc7da990 979
f7c07b4b
KK
980%{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \
981 mkspecs/common/linux.conf
982
983# change QMAKE FLAGS to build
984%{__sed} -i -e '
985 s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|;
986 s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|;
987 s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|;
988 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|;
989 s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcflags}|;
990 s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcxxflags}|;
991 s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|;
992 s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|;
993 ' mkspecs/common/g++.conf
994
995%{__sed} -i -e '
996 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
997 ' mkspecs/common/linux.conf
bc7da990 998
999%build
bc7da990 1000# pass OPTFLAGS to build qmake itself with optimization
71d7c231
KK
1001export OPTFLAGS="%{rpmcflags}"
1002export PATH=$PWD/bin:$PATH
bc7da990 1003
1004##################################
1005# DEFAULT OPTIONS FOR ALL BUILDS #
1006##################################
1007
8b4e0403 1008COMMONOPT=" \
bc7da990 1009 -DQT_CLEAN_NAMESPACE \
1010 -verbose \
df71e198 1011 -prefix %{_qtdir} \
1012 -bindir %{_qtdir}/bin \
642df674 1013 -docdir %{_docdir}/%{name}-doc \
1620d5ef 1014 -headerdir %{_includedir}/qt4 \
1015 -libdir %{_libdir} \
eea9e045 1016 -L%{_libdir} \
df71e198 1017 -plugindir %{_qtdir}/plugins \
1620d5ef 1018 -datadir %{_datadir}/qt4 \
bc7da990 1019 -translationdir %{_datadir}/locale/ \
1620d5ef 1020 -sysconfdir %{_sysconfdir}/qt4 \
1021 -examplesdir %{_examplesdir}/qt4 \
1022 -demosdir %{_examplesdir}/qt4-demos \
bc7da990 1023 -fast \
0b457108 1024 -glib \
889daba4 1025 -%{!?with_pch:no-}pch \
8ffe6e07 1026 -no-rpath \
e23a6569 1027 -%{!?with_sse:no-}sse \
9bb3a421 1028 -%{!?with_sse2:no-}sse2 \
3f80fcc7 1029 -qdbus \
bc7da990 1030 -qt-gif \
1031 -system-libjpeg \
d5160e56 1032 -system-libmng \
bc7da990 1033 -system-libpng \
1034 -system-zlib \
1035 -no-exceptions \
d5160e56 1036 -largefile \
bc7da990 1037 -I%{_includedir}/postgresql/server \
1038 -I%{_includedir}/mysql \
bf216b9f 1039 %{?with_cups:-cups} \
bc7da990 1040 %{?with_nas:-system-nas-sound} \
bc7da990 1041 %{?debug:-debug} \
71d7c231 1042 %{!?debug:-release} \
30f8468c 1043 -qt3support \
cc6d9c76 1044 -fontconfig \
47e29d34 1045 -iconv \
1046 -no-separate-debug-info \
d5160e56 1047 -xfixes \
c8537603 1048 -nis \
cc6d9c76 1049 -sm \
c8537603
JB
1050 -tablet \
1051 -xcursor \
1052 -xkb \
1053 -xrender \
1054 -xshape"
bc7da990 1055
1056##################################
151e5443 1057# STATIC MULTI-THREAD #
bc7da990 1058##################################
1059
1060%if %{with static_libs}
fee487b9 1061OPT=" \
d5160e56 1062 -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
1063 -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
1064 -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
1065 -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
1066 -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
1067 -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
bc7da990 1068 -static"
8b4e0403 1069
1070echo "yes" | ./configure $COMMONOPT $OPT
1071
71d7c231
KK
1072%{__make} -C src
1073%{__make} -C tools/assistant/lib
a8088d24 1074%{__make} -C tools/designer
47e29d34 1075%{__make} -C tools/qdbus/src
6f1b9278
1076if [ ! -d staticlib ]; then
1077 mkdir staticlib
1078 cp -a lib/*.a staticlib
1079fi
71d7c231 1080%{__make} confclean
bc7da990 1081%endif
1082
1083##################################
151e5443 1084# SHARED MULTI-THREAD #
bc7da990 1085##################################
1086
fee487b9 1087OPT=" \
d5160e56 1088 -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
1089 -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
1090 -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
1091 -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
1092 -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
1093 -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase"
642df674 1094
8b4e0403 1095echo "yes" | ./configure $COMMONOPT $OPT
1096
1097%{__make}
1620d5ef 1098%{__make} \
1099 sub-tools-all-ordered \
1100 sub-demos-all-ordered \
1101 sub-examples-all-ordered
2ba913fc 1102
bc7da990 1103%install
1104rm -rf $RPM_BUILD_ROOT
df71e198 1105install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1106install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
bc7da990 1107
1108%{__make} install \
1109 INSTALL_ROOT=$RPM_BUILD_ROOT
1110
a8088d24 1111# kill -L/inside/builddir from *.la and *.pc (bug #77152)
da64c649 1112%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl}
e7ec9abb 1113%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
5bda0943 1114%{__sed} -i -e '
1115 s|moc_location=.*|moc_location=%{_bindir}/qt4-moc|;
1116 s|uic_location=.*|uic_location=%{_bindir}/qt4-uic|;
e7ec9abb 1117 ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
a8088d24 1118
df71e198 1119# install tools
1120install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
df71e198 1121
1122cd $RPM_BUILD_ROOT%{_bindir}
1123ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1124ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1125ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
764b5458 1126ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
df71e198 1127ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
764b5458 1128ln -sf ../%{_lib}/qt4/bin/qt3to4 .
df71e198 1129ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
764b5458
JB
1130ln -sf ../%{_lib}/qt4/bin/rcc .
1131ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1132ln -sf ../%{_lib}/qt4/bin/uic3 .
da64c649 1133ln -sf ../%{_lib}/qt4/bin/pixeltool .
1134ln -sf ../%{_lib}/qt4/bin/qdbus .
1135ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml .
1136ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp .
1137ln -sf ../%{_lib}/qt4/bin/qdbusviewer .
1138ln -sf ../%{_lib}/qt4/bin/qvfb .
df71e198 1139cd -
bc7da990 1140
bc7da990 1141install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1142install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
71d7c231 1143install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
bc7da990 1144
642df674 1145install tools/qtconfig/images/appicon.png \
df71e198 1146 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
bc7da990 1147
642df674 1148install tools/linguist/linguist/images/appicon.png \
df71e198 1149 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
bc7da990 1150
1620d5ef 1151install tools/assistant/images/assistant.png \
df71e198 1152 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
bc7da990 1153
71d7c231 1154install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
642df674 1155install tools/designer/src/designer/images/designer.png \
df71e198 1156 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
bc7da990 1157
642df674 1158%if %{with static_libs}
8b4e0403 1159install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
642df674 1160%endif
bc7da990 1161
d96b2ef5 1162#
1163# Locale
1164#
49c5b19e 1165cp %{SOURCE6} translations/qt_pl.ts
1166LD_LIBRARY_PATH=lib bin/lrelease translations/qt_pl.ts -qm translations/qt_pl.qm
1167
d96b2ef5 1168rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
1169for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm
1170do
1171 [ ! -f $file ] && continue
21a491cc 1172 lang=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
d96b2ef5 1173 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
21a491cc 1174 [ "$lang" == "iw" ] && lang=he
49c5b19e 1175 MOD=qt4-$MOD
1176 [ "$MOD" == "qt4-qt" ] && MOD=qt4
151e5443 1177 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES
21a491cc 1178 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/$MOD.qm
d96b2ef5 1179done
bc7da990 1180
1620d5ef 1181cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
da64c649 1182for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Script,Sql,Svg,Test,UiTools,Xml}/*
642df674 1183do
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`
1216 [ "$RESULT" == "" ] && return
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
234e1f1d 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
1268for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1269do
1270 ifecho examples %{_examplesdir}/qt4/$f
bc7da990 1271done
642df674 1272
1620d5ef 1273echo "%defattr(644,root,root,755)" > demos.files
83908296 1274ifecho demos "%{_examplesdir}/qt4-demos"
df71e198 1275ifecho demos "%{_qtdir}/bin/qtdemo"
83908296 1276for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1620d5ef 1277do
83908296 1278 ifecho demos %{_examplesdir}/qt4-demos/$f
1620d5ef 1279done
bc7da990 1280
bc7da990 1281%clean
1282rm -rf $RPM_BUILD_ROOT
1283
08506906 1284%post -n QtCore
bc7da990 1285/sbin/ldconfig
151e5443 1286%banner -e %{name} <<-EOF
bc7da990 1287 *******************************************************
1288 * *
1289 * NOTE: *
1290 * With qt 4.0.0 the single threaded version was *
cc6d9c76 1291 * removed. Also the library is modular now so be *
1292 * sure to check that you have every module you need. *
711f5530 1293 * *
bc7da990 1294 *******************************************************
bc7da990 1295EOF
08506906 1296%postun -n QtCore -p /sbin/ldconfig
bc7da990 1297
0b457108 1298%post -n QtDBus -p /sbin/ldconfig
1299%postun -n QtDBus -p /sbin/ldconfig
1300
08506906
PS
1301%post -n QtGui -p /sbin/ldconfig
1302%postun -n QtGui -p /sbin/ldconfig
bc7da990 1303
08506906
PS
1304%post -n QtNetwork -p /sbin/ldconfig
1305%postun -n QtNetwork -p /sbin/ldconfig
cc6d9c76 1306
08506906
PS
1307%post -n QtOpenGL -p /sbin/ldconfig
1308%postun -n QtOpenGL -p /sbin/ldconfig
cc6d9c76 1309
da64c649 1310%post -n QtScript -p /sbin/ldconfig
1311%postun -n QtScript -p /sbin/ldconfig
1312
08506906
PS
1313%post -n QtSql -p /sbin/ldconfig
1314%postun -n QtSql -p /sbin/ldconfig
642df674 1315
8b4e0403 1316%post -n QtSvg -p /sbin/ldconfig
1317%postun -n QtSvg -p /sbin/ldconfig
1318
1319%post -n QtTest -p /sbin/ldconfig
1320%postun -n QtTest -p /sbin/ldconfig
1321
08506906
PS
1322%post -n QtXml -p /sbin/ldconfig
1323%postun -n QtXml -p /sbin/ldconfig
1324
1325%post -n Qt3Support -p /sbin/ldconfig
1326%postun -n Qt3Support -p /sbin/ldconfig
1327
71d7c231
KK
1328%post -n QtAssistant -p /sbin/ldconfig
1329%postun -n QtAssistant -p /sbin/ldconfig
08506906 1330
a8088d24
JB
1331%post -n QtDesigner -p /sbin/ldconfig
1332%postun -n QtDesigner -p /sbin/ldconfig
1333
1334%post -n QtUiTools -p /sbin/ldconfig
1335%postun -n QtUiTools -p /sbin/ldconfig
642df674 1336
1337%files -n QtCore
1338%defattr(644,root,root,755)
396c20bd 1339%attr(755,root,root) %{_libdir}/libQtCore.so.*.*
df71e198 1340%dir %{_qtdir}
a8088d24 1341%dir %{_qtdir}/bin
df71e198 1342%dir %{_qtdir}/plugins
1343%dir %{_qtdir}/plugins/accessible
0e559634 1344%dir %{_qtdir}/plugins/codecs
df71e198 1345%dir %{_qtdir}/plugins/crypto
0e559634 1346%dir %{_qtdir}/plugins/iconengines
df71e198 1347%dir %{_qtdir}/plugins/imageformats
6bff86e1 1348%dir %{_qtdir}/plugins/inputmethods
df71e198 1349%dir %{_qtdir}/plugins/network
1350%dir %{_qtdir}/plugins/sqldrivers
642df674 1351%dir %{_datadir}/qt4
6167705f 1352%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
6167705f 1353%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
0e559634 1354%lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm
6167705f 1355%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
a5e0b207 1356%lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
da64c649 1357%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4.qm
49c5b19e 1358%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4.qm
da64c649 1359%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/qt4.qm
6167705f 1360%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1361%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
da64c649 1362%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/qt4.qm
1363%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/qt4.qm
6167705f 1364%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
642df674 1365
0b457108 1366%files -n QtDBus
1367%defattr(644,root,root,755)
e7ec9abb
JB
1368%attr(755,root,root) %{_qtdir}/bin/qdbus
1369%attr(755,root,root) %{_qtdir}/bin/qdbusviewer
1370%attr(755,root,root) %{_bindir}/qdbus
1371%attr(755,root,root) %{_bindir}/qdbusviewer
0b457108 1372%attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
1373
cc6d9c76 1374%files -n QtGui
642df674 1375%defattr(644,root,root,755)
396c20bd 1376%attr(755,root,root) %{_libdir}/libQtGui.so.*.*
0e559634
JB
1377%attr(755,root,root) %{_qtdir}/plugins/accessible/*.so
1378%attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
1379%attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so
1380%attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so
1381%attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
642df674 1382
642df674 1383%files -n QtNetwork
1384%defattr(644,root,root,755)
396c20bd 1385%attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
642df674 1386
cc6d9c76 1387%files -n QtOpenGL
642df674 1388%defattr(644,root,root,755)
396c20bd 1389%attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
cc6d9c76 1390
da64c649 1391%files -n QtScript
1392%defattr(644,root,root,755)
1393%attr(755,root,root) %{_libdir}/libQtScript.so.*.*
1394
cc6d9c76 1395%files -n QtSql
1396%defattr(644,root,root,755)
396c20bd 1397%attr(755,root,root) %{_libdir}/libQtSql.so.*.*
cc6d9c76 1398
642df674 1399%if %{with mysql}
cc6d9c76 1400%files -n QtSql-mysql
642df674 1401%defattr(644,root,root,755)
df71e198 1402%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
642df674 1403%endif
1404
1405%if %{with pgsql}
cc6d9c76 1406%files -n QtSql-pgsql
642df674 1407%defattr(644,root,root,755)
df71e198 1408%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
642df674 1409%endif
1410
1411%if %{with sqlite}
cc6d9c76 1412%files -n QtSql-sqlite
642df674 1413%defattr(644,root,root,755)
da64c649 1414#%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
642df674 1415%endif
1416
1417%if %{with sqlite3}
cc6d9c76 1418%files -n QtSql-sqlite3
642df674 1419%defattr(644,root,root,755)
df71e198 1420%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
36f74d13 1421%if %{with sqlite}
da64c649 1422#%exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
642df674 1423%endif
36f74d13 1424%endif
642df674 1425
1426%if %{with ibase}
cc6d9c76 1427%files -n QtSql-ibase
642df674 1428%defattr(644,root,root,755)
df71e198 1429%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
642df674 1430%endif
1431
1432%if %{with odbc}
cc6d9c76 1433%files -n QtSql-odbc
642df674 1434%defattr(644,root,root,755)
df71e198 1435%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
642df674 1436%endif
1437
07b2fa37
JB
1438%files -n QtSvg
1439%defattr(644,root,root,755)
396c20bd 1440%attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
07b2fa37 1441
8b4e0403 1442%files -n QtTest
1443%defattr(644,root,root,755)
396c20bd 1444%attr(755,root,root) %{_libdir}/libQtTest.so.*.*
8b4e0403 1445
cc6d9c76 1446%files -n QtXml
642df674 1447%defattr(644,root,root,755)
396c20bd 1448%attr(755,root,root) %{_libdir}/libQtXml.so.*.*
642df674 1449
cc6d9c76 1450%files -n Qt3Support
642df674 1451%defattr(644,root,root,755)
764b5458 1452%attr(755,root,root) %{_bindir}/uic3
df71e198 1453%attr(755,root,root) %{_qtdir}/bin/uic3
396c20bd 1454%attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
642df674 1455
71d7c231
KK
1456%files -n QtAssistant
1457%defattr(644,root,root,755)
396c20bd 1458%attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
da64c649 1459%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-assistant.qm
71d7c231 1460
a8088d24
JB
1461%files -n QtDesigner
1462%defattr(644,root,root,755)
1463%attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1464%dir %{_qtdir}/plugins/designer
1465%attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1466
1467%files -n QtUiTools
1468%defattr(644,root,root,755)
2d2db419 1469%attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
a8088d24 1470
cc6d9c76 1471%files assistant
642df674 1472%defattr(644,root,root,755)
0b457108 1473%attr(755,root,root) %{_bindir}/pixeltool
da64c649 1474%attr(755,root,root) %{_qtdir}/bin/pixeltool
df71e198 1475%attr(755,root,root) %{_bindir}/qt4-assistant
1476%attr(755,root,root) %{_qtdir}/bin/assistant
49c5b19e 1477%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-assistant.qm
df71e198 1478%{_desktopdir}/qt4-assistant.desktop
1479%{_pixmapsdir}/qt4-assistant.png
642df674 1480
08506906 1481%files build
642df674 1482%defattr(644,root,root,755)
764b5458
JB
1483%attr(755,root,root) %{_bindir}/rcc
1484%attr(755,root,root) %{_bindir}/qt4-moc
1485%attr(755,root,root) %{_bindir}/qt3to4
1486%attr(755,root,root) %{_bindir}/qt4-uic
df71e198 1487%attr(755,root,root) %{_qtdir}/bin/rcc
1488%attr(755,root,root) %{_qtdir}/bin/moc
1489%attr(755,root,root) %{_qtdir}/bin/qt3to4
1490%attr(755,root,root) %{_qtdir}/bin/uic
cc6d9c76 1491%{_datadir}/qt4/q3porting.xml
642df674 1492
642df674 1493%files designer
1494%defattr(644,root,root,755)
df71e198 1495%attr(755,root,root) %{_bindir}/qt4-designer
1496%attr(755,root,root) %{_qtdir}/bin/designer
da64c649 1497%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-designer.qm
1498%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-designer.qm
df71e198 1499%{_desktopdir}/qt4-designer.desktop
1500%{_pixmapsdir}/qt4-designer.png
71d7c231 1501
cc6d9c76 1502%files linguist
1503%defattr(644,root,root,755)
df71e198 1504%attr(755,root,root) %{_bindir}/qt4-linguist
df71e198 1505%attr(755,root,root) %{_qtdir}/bin/findtr
a8088d24 1506%attr(755,root,root) %{_qtdir}/bin/linguist
df71e198 1507%attr(755,root,root) %{_qtdir}/bin/lrelease
1508%attr(755,root,root) %{_qtdir}/bin/lupdate
da64c649 1509%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-linguist.qm
cc6d9c76 1510%{_datadir}/qt4/phrasebooks
df71e198 1511%{_desktopdir}/qt4-linguist.desktop
1512%{_pixmapsdir}/qt4-linguist.png
cc6d9c76 1513
71d7c231 1514%files qmake
cc6d9c76 1515%defattr(644,root,root,755)
df71e198 1516%attr(755,root,root) %{_bindir}/qt4-qmake
1517%attr(755,root,root) %{_qtdir}/bin/qmake
cc6d9c76 1518%{_datadir}/qt4/mkspecs
a8088d24 1519%{_qtdir}/mkspecs
cc6d9c76 1520
71d7c231 1521%files qtconfig
cc6d9c76 1522%defattr(644,root,root,755)
df71e198 1523%attr(755,root,root) %{_bindir}/qt4-qtconfig
1524%attr(755,root,root) %{_qtdir}/bin/qtconfig
1525%{_desktopdir}/qt4-qtconfig.desktop
1526%{_pixmapsdir}/qt4-qtconfig.png
cc6d9c76 1527
2d2db419 1528%files -n qvfb
1529%defattr(644,root,root,755)
1530%attr(755,root,root) %{_bindir}/qvfb
da64c649 1531%attr(755,root,root) %{_qtdir}/bin/qvfb
cc6d9c76 1532
cc6d9c76 1533%files doc
1534%defattr(644,root,root,755)
1535%{_docdir}/%{name}-doc
a8088d24 1536%{_qtdir}/doc
cc6d9c76 1537
83908296 1538%files -n QtCore-devel -f QtCore-devel.files
edf01045 1539%defattr(644,root,root,755)
0b457108 1540%files -n QtDBus-devel -f QtDBus-devel.files
edf01045 1541%defattr(644,root,root,755)
8f22d351 1542%files -n QtDesigner-devel -f QtDesigner-devel.files
edf01045 1543%defattr(644,root,root,755)
83908296 1544%files -n QtGui-devel -f QtGui-devel.files
edf01045 1545%defattr(644,root,root,755)
83908296 1546%files -n QtNetwork-devel -f QtNetwork-devel.files
edf01045 1547%defattr(644,root,root,755)
83908296 1548%files -n QtOpenGL-devel -f QtOpenGL-devel.files
edf01045 1549%defattr(644,root,root,755)
da64c649 1550%files -n QtScript-devel -f QtScript-devel.files
edf01045 1551%defattr(644,root,root,755)
83908296 1552%files -n QtSql-devel -f QtSql-devel.files
edf01045 1553%defattr(644,root,root,755)
8b4e0403 1554%files -n QtSvg-devel -f QtSvg-devel.files
edf01045 1555%defattr(644,root,root,755)
8b4e0403 1556%files -n QtTest-devel -f QtTest-devel.files
edf01045 1557%defattr(644,root,root,755)
83908296 1558%files -n QtXml-devel -f QtXml-devel.files
edf01045 1559%defattr(644,root,root,755)
83908296 1560%files -n Qt3Support-devel -f Qt3Support-devel.files
edf01045 1561%defattr(644,root,root,755)
71d7c231 1562%files -n QtAssistant-devel -f QtAssistant-devel.files
edf01045 1563%defattr(644,root,root,755)
a8088d24 1564%files -n QtUiTools-devel -f QtUiTools-devel.files
edf01045 1565%defattr(644,root,root,755)
83908296 1566
8b4e0403 1567%if %{with static_libs}
1568%files -n QtCore-static
1569%defattr(644,root,root,755)
1570%{_libdir}/libQtCore*.a
1571
3fc9ecf9 1572%files -n QtDBus-static
1573%defattr(644,root,root,755)
1574%{_libdir}/libQtDBus*.a
0b457108 1575
8b4e0403 1576%files -n QtGui-static
1577%defattr(644,root,root,755)
1578%{_libdir}/libQtGui*.a
1579
1580%files -n QtNetwork-static
1581%defattr(644,root,root,755)
1582%{_libdir}/libQtNetwork*.a
1583
1584%files -n QtOpenGL-static
1585%defattr(644,root,root,755)
1586%{_libdir}/libQtOpenGL*.a
1587
da64c649 1588%files -n QtScript-static
1589%defattr(644,root,root,755)
1590%{_libdir}/libQtScript*.a
1591
8b4e0403 1592%files -n QtSql-static
1593%defattr(644,root,root,755)
1594%{_libdir}/libQtSql*.a
1595
1596%files -n QtSvg-static
1597%defattr(644,root,root,755)
1598%{_libdir}/libQtSvg*.a
1599
1600%files -n QtXml-static
1601%defattr(644,root,root,755)
1602%{_libdir}/libQtXml*.a
1603
1604%files -n Qt3Support-static
1605%defattr(644,root,root,755)
1606%{_libdir}/libQt3Support*.a
1607
71d7c231
KK
1608%files -n QtAssistant-static
1609%defattr(644,root,root,755)
1610%{_libdir}/libQtAssistantClient.a
8b4e0403 1611
a8088d24
JB
1612%files -n QtDesigner-static
1613%defattr(644,root,root,755)
1614%{_libdir}/libQtDesigner*.a
1615
1616%files -n QtUiTools-static
1617%defattr(644,root,root,755)
1618%{_libdir}/libQtUiTools.a
fa2b2c8b
KK
1619%endif
1620
1620d5ef 1621%files demos -f demos.files
edf01045 1622%defattr(644,root,root,755)
1620d5ef 1623%files examples -f examples.files
edf01045 1624%defattr(644,root,root,755)
This page took 0.45906 seconds and 4 git commands to generate.