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