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