]> git.pld-linux.org Git - packages/qt4.git/blame - qt4.spec
- set buildkey pld
[packages/qt4.git] / qt4.spec
CommitLineData
bc7da990 1#
08506906 2# TODO:
1620d5ef 3# - better descriptions
4# - more cleanups
07b2fa37 5# - check if translations are available
da64c649 6# - check Qt ui tool
08506906 7#
bc7da990 8# Conditional build:
9%bcond_with nas # enable NAS audio support
8b4e0403 10%bcond_without static_libs # build static libraries
bc7da990 11%bcond_without cups # disable CUPS support
12%bcond_without mysql # don't build MySQL plugin
13%bcond_without odbc # don't build unixODBC plugin
14%bcond_without pgsql # don't build PostgreSQL plugin
2ba913fc 15%bcond_without sqlite3 # don't build SQLite3 plugin
16%bcond_without sqlite # don't build SQLite2 plugin
a3799dc0 17%bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
4ad4bb90 18%bcond_without pch # disable pch in qmake
e23a6569 19%bcond_with sse # use SSE instructions in gui/painting module
9bb3a421 20%bcond_with sse2 # use SSE2 instructions
08506906 21
9f300b6b 22%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
bc7da990 23%undefine with_ibase
24%endif
e23a6569
PS
25
26%ifarch pentium3 pentium4 %{x8664}
27%define with_sse 1
28%endif
29
9bb3a421
JB
30%ifarch pentium4 %{x8664}
31%define with_sse2 1
32%endif
33
bc7da990 34%define _withsql 1
2ba913fc 35%{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
bc7da990 36
bc7da990 37Summary: The Qt GUI application framework
4c66dee3
ER
38Summary(es.UTF-8): Biblioteca para ejecutar aplicaciones GUI Qt
39Summary(pl.UTF-8): Biblioteka Qt do tworzenia GUI
40Summary(pt_BR.UTF-8): Estrutura para rodar aplicações GUI Qt
bc7da990 41Name: qt4
fd0100dd 42Version: 4.3.4
02a20ba3 43Release: 4
3fa13e6c 44License: GPL v2 with OSS exception or QPL v1
bc7da990 45Group: X11/Libraries
2d2db419 46Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
fd0100dd 47# Source0-md5: 9499101ec54eb7b0de195b3c5e3ffa93
df71e198 48Source2: %{name}-qtconfig.desktop
49Source3: %{name}-designer.desktop
50Source4: %{name}-assistant.desktop
51Source5: %{name}-linguist.desktop
2d2db419 52Patch0: %{name}-tools.patch
da64c649 53Patch1: %{name}-qt_copy.patch
7e468979
JB
54Patch2: %{name}-buildsystem.patch
55Patch3: %{name}-locale.patch
7f2b2b26 56Patch4: %{name}-antialias.patch
57Patch5: %{name}-support-cflags-with-commas.patch
58Patch6: %{name}-build-lib-static.patch
59Patch7: %{name}-x11_fonts.patch
a3799dc0 60Patch8: %{name}-pl-update.patch
b8213f1f 61Patch9: %{name}-ibase.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
a3799dc0 980%patch8 -p1
b8213f1f 981%patch9 -p1
bc7da990 982
f7c07b4b
KK
983%{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \
984 mkspecs/common/linux.conf
985
986# change QMAKE FLAGS to build
987%{__sed} -i -e '
988 s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|;
989 s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|;
990 s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|;
991 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|;
992 s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcflags}|;
993 s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcxxflags}|;
994 s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|;
995 s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|;
996 ' mkspecs/common/g++.conf
997
998%{__sed} -i -e '
999 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
1000 ' mkspecs/common/linux.conf
bc7da990 1001
1002%build
bc7da990 1003# pass OPTFLAGS to build qmake itself with optimization
71d7c231
KK
1004export OPTFLAGS="%{rpmcflags}"
1005export PATH=$PWD/bin:$PATH
bc7da990 1006
1007##################################
1008# DEFAULT OPTIONS FOR ALL BUILDS #
1009##################################
1010
8b4e0403 1011COMMONOPT=" \
bc7da990 1012 -DQT_CLEAN_NAMESPACE \
02a20ba3 1013 -buildkey pld \
bc7da990 1014 -verbose \
df71e198 1015 -prefix %{_qtdir} \
1016 -bindir %{_qtdir}/bin \
642df674 1017 -docdir %{_docdir}/%{name}-doc \
1620d5ef 1018 -headerdir %{_includedir}/qt4 \
1019 -libdir %{_libdir} \
eea9e045 1020 -L%{_libdir} \
df71e198 1021 -plugindir %{_qtdir}/plugins \
1620d5ef 1022 -datadir %{_datadir}/qt4 \
bc7da990 1023 -translationdir %{_datadir}/locale/ \
1620d5ef 1024 -sysconfdir %{_sysconfdir}/qt4 \
1025 -examplesdir %{_examplesdir}/qt4 \
1026 -demosdir %{_examplesdir}/qt4-demos \
bc7da990 1027 -fast \
0b457108 1028 -glib \
889daba4 1029 -%{!?with_pch:no-}pch \
8ffe6e07 1030 -no-rpath \
814195ab
JB
1031 %{!?with_sse:-no-sse} \
1032 %{!?with_sse2:-no-sse2} \
3f80fcc7 1033 -qdbus \
bc7da990 1034 -qt-gif \
1035 -system-libjpeg \
d5160e56 1036 -system-libmng \
bc7da990 1037 -system-libpng \
1038 -system-zlib \
1039 -no-exceptions \
d5160e56 1040 -largefile \
bc7da990 1041 -I%{_includedir}/postgresql/server \
1042 -I%{_includedir}/mysql \
bf216b9f 1043 %{?with_cups:-cups} \
bc7da990 1044 %{?with_nas:-system-nas-sound} \
bc7da990 1045 %{?debug:-debug} \
71d7c231 1046 %{!?debug:-release} \
30f8468c 1047 -qt3support \
cc6d9c76 1048 -fontconfig \
47e29d34 1049 -iconv \
1050 -no-separate-debug-info \
d5160e56 1051 -xfixes \
c8537603 1052 -nis \
cc6d9c76 1053 -sm \
c8537603
JB
1054 -tablet \
1055 -xcursor \
1056 -xkb \
1057 -xrender \
1058 -xshape"
bc7da990 1059
1060##################################
151e5443 1061# STATIC MULTI-THREAD #
bc7da990 1062##################################
1063
1064%if %{with static_libs}
fee487b9 1065OPT=" \
d5160e56 1066 -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
1067 -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
1068 -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
1069 -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
1070 -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
1071 -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
bc7da990 1072 -static"
8b4e0403 1073
1074echo "yes" | ./configure $COMMONOPT $OPT
1075
71d7c231
KK
1076%{__make} -C src
1077%{__make} -C tools/assistant/lib
a8088d24 1078%{__make} -C tools/designer
47e29d34 1079%{__make} -C tools/qdbus/src
6f1b9278
1080if [ ! -d staticlib ]; then
1081 mkdir staticlib
1082 cp -a lib/*.a staticlib
1083fi
71d7c231 1084%{__make} confclean
bc7da990 1085%endif
1086
1087##################################
151e5443 1088# SHARED MULTI-THREAD #
bc7da990 1089##################################
1090
fee487b9 1091OPT=" \
d5160e56 1092 -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
1093 -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
1094 -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
1095 -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
1096 -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
1097 -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase"
642df674 1098
8b4e0403 1099echo "yes" | ./configure $COMMONOPT $OPT
1100
1101%{__make}
1620d5ef 1102%{__make} \
1103 sub-tools-all-ordered \
1104 sub-demos-all-ordered \
1105 sub-examples-all-ordered
2ba913fc 1106
bc7da990 1107%install
1108rm -rf $RPM_BUILD_ROOT
df71e198 1109install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1110install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
bc7da990 1111
1112%{__make} install \
1113 INSTALL_ROOT=$RPM_BUILD_ROOT
1114
a8088d24 1115# kill -L/inside/builddir from *.la and *.pc (bug #77152)
da64c649 1116%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl}
e7ec9abb 1117%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
5bda0943 1118%{__sed} -i -e '
3a869664
JB
1119 s|moc_location=.*|moc_location=%{_bindir}/moc-qt4|;
1120 s|uic_location=.*|uic_location=%{_bindir}/uic-qt4|;
e7ec9abb 1121 ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
a8088d24 1122
df71e198 1123# install tools
1124install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
df71e198 1125
1126cd $RPM_BUILD_ROOT%{_bindir}
3a869664
JB
1127ln -sf ../%{_lib}/qt4/bin/assistant assistant-qt4
1128ln -sf ../%{_lib}/qt4/bin/designer designer-qt4
1129ln -sf ../%{_lib}/qt4/bin/findtr findtr-qt4
1130ln -sf ../%{_lib}/qt4/bin/linguist linguist-qt4
1131ln -sf ../%{_lib}/qt4/bin/lrelease lrelease-qt4
1132ln -sf ../%{_lib}/qt4/bin/lupdate lupdate-qt4
1133ln -sf ../%{_lib}/qt4/bin/moc moc-qt4
1134ln -sf ../%{_lib}/qt4/bin/qmake qmake-qt4
1135ln -sf ../%{_lib}/qt4/bin/qtconfig qtconfig-qt4
1136ln -sf ../%{_lib}/qt4/bin/uic uic-qt4
764b5458 1137ln -sf ../%{_lib}/qt4/bin/qt3to4 .
764b5458 1138ln -sf ../%{_lib}/qt4/bin/rcc .
764b5458 1139ln -sf ../%{_lib}/qt4/bin/uic3 .
da64c649 1140ln -sf ../%{_lib}/qt4/bin/pixeltool .
1141ln -sf ../%{_lib}/qt4/bin/qdbus .
1142ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml .
1143ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp .
1144ln -sf ../%{_lib}/qt4/bin/qdbusviewer .
1145ln -sf ../%{_lib}/qt4/bin/qvfb .
df71e198 1146cd -
bc7da990 1147
3a869664 1148install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/qtconfig-qt4.desktop
642df674 1149install tools/qtconfig/images/appicon.png \
3a869664 1150 $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig-qt4.png
bc7da990 1151
3a869664 1152install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}/linguist-qt4.desktop
642df674 1153install tools/linguist/linguist/images/appicon.png \
3a869664 1154 $RPM_BUILD_ROOT%{_pixmapsdir}/linguist-qt4.png
bc7da990 1155
3a869664 1156install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/assistant-qt4.desktop
1620d5ef 1157install tools/assistant/images/assistant.png \
3a869664 1158 $RPM_BUILD_ROOT%{_pixmapsdir}/assistant-qt4.png
bc7da990 1159
3a869664 1160install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer-qt4.desktop
642df674 1161install tools/designer/src/designer/images/designer.png \
3a869664 1162 $RPM_BUILD_ROOT%{_pixmapsdir}/designer-qt4.png
bc7da990 1163
642df674 1164%if %{with static_libs}
8b4e0403 1165install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
642df674 1166%endif
bc7da990 1167
d96b2ef5 1168#
1169# Locale
1170#
a3799dc0
JB
1171for f in translations/*_pl.ts ; do
1172 LD_LIBRARY_PATH=lib bin/lrelease $f -qm translations/$(basename $f .ts).qm
1173done
49c5b19e 1174
d96b2ef5 1175rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
e5a89f18
ER
1176for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm; do
1177 [ ! -f $file ] && continue
1178 lang=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
1179 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
1180 [ "$lang" == "iw" ] && lang=he
1181 MOD=qt4-$MOD
1182 [ "$MOD" == "qt4-qt" ] && MOD=qt4
1183 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES
1184 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/$MOD.qm
d96b2ef5 1185done
bc7da990 1186
1620d5ef 1187cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
e5a89f18 1188for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Script,Sql,Svg,Test,UiTools,Xml}/*; do
1620d5ef 1189 if [ ! -d $f ]; then
1190 ln -sf $f `basename $f`
1191 fi
bc7da990 1192done
1620d5ef 1193cd -
bc7da990 1194
da64c649 1195mv $RPM_BUILD_ROOT%{_datadir}/locale/ja_jp/LC_MESSAGES/qt4.qm \
1196 $RPM_BUILD_ROOT%{_datadir}/locale/ja/LC_MESSAGES/qt4.qm
1197
df71e198 1198# Ship doc & qmake stuff
a8088d24
JB
1199ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1200ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
df71e198 1201
5bda0943 1202for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1203 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1204 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1205 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1206 DEFS="-D_REENTRANT"
1207
1208 if [ "$MODULE2" == "3SUPPORT" ]; then
1209 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1210 else
1211 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1212 fi
1213 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1214
1215 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1216done
af36e151 1217
1620d5ef 1218# Prepare some files list
afda8c46 1219ifecho() {
83908296 1220 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
e5a89f18 1221 [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set
83908296 1222 r=`echo $RESULT | awk '{ print $1 }'`
1223
1224 if [ -d "$r" ]; then
1225 echo "%%dir $2" >> $1.files
1226 elif [ -x "$r" ] ; then
1227 echo "%%attr(755,root,root) $2" >> $1.files
1228 elif [ -f "$r" ]; then
1229 echo "$2" >> $1.files
1620d5ef 1230 else
151e5443 1231 echo "Error generation $1 files list!"
83908296 1232 echo "$r: no such file or direcotry!"
8f22d351 1233 return 1
1620d5ef 1234 fi
83908296 1235}
1236
afda8c46 1237mkdevfl() {
83908296 1238 MODULE=$1; shift
1239 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1240 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
bcbcae98 1241 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
83908296 1242 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
5bda0943 1243 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
4d335555
KK
1244 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1245 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1246 fi
bfd2dfad 1247 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`; do
83908296 1248 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1249 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1250 done
1251 for f in $@; do ifecho $MODULE-devel $f; done
1252}
1253
71d7c231 1254mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
e7ec9abb 1255mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
83908296 1256mkdevfl QtGui
1257mkdevfl QtNetwork
1258mkdevfl QtOpenGL
da64c649 1259mkdevfl QtScript
83908296 1260mkdevfl QtSql
8b4e0403 1261mkdevfl QtSvg
1262mkdevfl QtTest
83908296 1263mkdevfl QtXml
1264mkdevfl Qt3Support
71d7c231
KK
1265
1266# without *.la *.pc etc.
1267mkdevfl QtAssistant || /bin/true
1268mkdevfl QtDesigner || /bin/true
a8088d24 1269mkdevfl QtUiTools || /bin/true
83908296 1270
1271echo "%defattr(644,root,root,755)" > examples.files
1272ifecho examples %{_examplesdir}/qt4
e5a89f18 1273for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`; do
83908296 1274 ifecho examples %{_examplesdir}/qt4/$f
bc7da990 1275done
642df674 1276
1620d5ef 1277echo "%defattr(644,root,root,755)" > demos.files
83908296 1278ifecho demos "%{_examplesdir}/qt4-demos"
df71e198 1279ifecho demos "%{_qtdir}/bin/qtdemo"
e5a89f18 1280for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`; do
83908296 1281 ifecho demos %{_examplesdir}/qt4-demos/$f
1620d5ef 1282done
bc7da990 1283
bc7da990 1284%clean
1285rm -rf $RPM_BUILD_ROOT
1286
8e768dcf 1287%post -n QtCore -p /sbin/ldconfig
08506906 1288%postun -n QtCore -p /sbin/ldconfig
bc7da990 1289
0b457108 1290%post -n QtDBus -p /sbin/ldconfig
1291%postun -n QtDBus -p /sbin/ldconfig
1292
08506906
PS
1293%post -n QtGui -p /sbin/ldconfig
1294%postun -n QtGui -p /sbin/ldconfig
bc7da990 1295
08506906
PS
1296%post -n QtNetwork -p /sbin/ldconfig
1297%postun -n QtNetwork -p /sbin/ldconfig
cc6d9c76 1298
08506906
PS
1299%post -n QtOpenGL -p /sbin/ldconfig
1300%postun -n QtOpenGL -p /sbin/ldconfig
cc6d9c76 1301
da64c649 1302%post -n QtScript -p /sbin/ldconfig
1303%postun -n QtScript -p /sbin/ldconfig
1304
08506906
PS
1305%post -n QtSql -p /sbin/ldconfig
1306%postun -n QtSql -p /sbin/ldconfig
642df674 1307
8b4e0403 1308%post -n QtSvg -p /sbin/ldconfig
1309%postun -n QtSvg -p /sbin/ldconfig
1310
1311%post -n QtTest -p /sbin/ldconfig
1312%postun -n QtTest -p /sbin/ldconfig
1313
08506906
PS
1314%post -n QtXml -p /sbin/ldconfig
1315%postun -n QtXml -p /sbin/ldconfig
1316
1317%post -n Qt3Support -p /sbin/ldconfig
1318%postun -n Qt3Support -p /sbin/ldconfig
1319
71d7c231
KK
1320%post -n QtAssistant -p /sbin/ldconfig
1321%postun -n QtAssistant -p /sbin/ldconfig
08506906 1322
a8088d24
JB
1323%post -n QtDesigner -p /sbin/ldconfig
1324%postun -n QtDesigner -p /sbin/ldconfig
1325
1326%post -n QtUiTools -p /sbin/ldconfig
1327%postun -n QtUiTools -p /sbin/ldconfig
642df674 1328
1329%files -n QtCore
1330%defattr(644,root,root,755)
396c20bd 1331%attr(755,root,root) %{_libdir}/libQtCore.so.*.*
5937dd1c 1332%attr(755,root,root) %ghost %{_libdir}/libQtCore.so.4
df71e198 1333%dir %{_qtdir}
a8088d24 1334%dir %{_qtdir}/bin
df71e198 1335%dir %{_qtdir}/plugins
1336%dir %{_qtdir}/plugins/accessible
0e559634 1337%dir %{_qtdir}/plugins/codecs
df71e198 1338%dir %{_qtdir}/plugins/crypto
0e559634 1339%dir %{_qtdir}/plugins/iconengines
df71e198 1340%dir %{_qtdir}/plugins/imageformats
6bff86e1 1341%dir %{_qtdir}/plugins/inputmethods
df71e198 1342%dir %{_qtdir}/plugins/network
1343%dir %{_qtdir}/plugins/sqldrivers
642df674 1344%dir %{_datadir}/qt4
6167705f 1345%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
6167705f 1346%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
0e559634 1347%lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm
6167705f 1348%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
a5e0b207 1349%lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
da64c649 1350%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4.qm
49c5b19e 1351%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4.qm
da64c649 1352%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/qt4.qm
6167705f 1353%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1354%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
da64c649 1355%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/qt4.qm
1356%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/qt4.qm
6167705f 1357%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
642df674 1358
0b457108 1359%files -n QtDBus
1360%defattr(644,root,root,755)
e7ec9abb
JB
1361%attr(755,root,root) %{_bindir}/qdbus
1362%attr(755,root,root) %{_bindir}/qdbusviewer
0b457108 1363%attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
5937dd1c 1364%attr(755,root,root) %ghost %{_libdir}/libQtDBus.so.4
3a869664
JB
1365%attr(755,root,root) %{_qtdir}/bin/qdbus
1366%attr(755,root,root) %{_qtdir}/bin/qdbusviewer
0b457108 1367
cc6d9c76 1368%files -n QtGui
642df674 1369%defattr(644,root,root,755)
396c20bd 1370%attr(755,root,root) %{_libdir}/libQtGui.so.*.*
5937dd1c 1371%attr(755,root,root) %ghost %{_libdir}/libQtGui.so.4
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.*.*
5937dd1c 1381%attr(755,root,root) %ghost %{_libdir}/libQtNetwork.so.4
642df674 1382
cc6d9c76 1383%files -n QtOpenGL
642df674 1384%defattr(644,root,root,755)
396c20bd 1385%attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
5937dd1c 1386%attr(755,root,root) %ghost %{_libdir}/libQtOpenGL.so.4
cc6d9c76 1387
da64c649 1388%files -n QtScript
1389%defattr(644,root,root,755)
1390%attr(755,root,root) %{_libdir}/libQtScript.so.*.*
5937dd1c 1391%attr(755,root,root) %ghost %{_libdir}/libQtScript.so.4
da64c649 1392
cc6d9c76 1393%files -n QtSql
1394%defattr(644,root,root,755)
396c20bd 1395%attr(755,root,root) %{_libdir}/libQtSql.so.*.*
5937dd1c 1396%attr(755,root,root) %ghost %{_libdir}/libQtSql.so.4
cc6d9c76 1397
642df674 1398%if %{with mysql}
cc6d9c76 1399%files -n QtSql-mysql
642df674 1400%defattr(644,root,root,755)
3a869664 1401%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql.so
642df674 1402%endif
1403
1404%if %{with pgsql}
cc6d9c76 1405%files -n QtSql-pgsql
642df674 1406%defattr(644,root,root,755)
3a869664 1407%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql.so
642df674 1408%endif
1409
1410%if %{with sqlite}
cc6d9c76 1411%files -n QtSql-sqlite
642df674 1412%defattr(644,root,root,755)
3a869664 1413%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2.so
642df674 1414%endif
1415
1416%if %{with sqlite3}
cc6d9c76 1417%files -n QtSql-sqlite3
642df674 1418%defattr(644,root,root,755)
3a869664 1419%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite.so
36f74d13 1420%endif
642df674 1421
1422%if %{with ibase}
cc6d9c76 1423%files -n QtSql-ibase
642df674 1424%defattr(644,root,root,755)
3a869664 1425%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase.so
642df674 1426%endif
1427
1428%if %{with odbc}
cc6d9c76 1429%files -n QtSql-odbc
642df674 1430%defattr(644,root,root,755)
3a869664 1431%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc.so
642df674 1432%endif
1433
07b2fa37
JB
1434%files -n QtSvg
1435%defattr(644,root,root,755)
396c20bd 1436%attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
5937dd1c 1437%attr(755,root,root) %ghost %{_libdir}/libQtSvg.so.4
07b2fa37 1438
8b4e0403 1439%files -n QtTest
1440%defattr(644,root,root,755)
396c20bd 1441%attr(755,root,root) %{_libdir}/libQtTest.so.*.*
5937dd1c 1442%attr(755,root,root) %ghost %{_libdir}/libQtTest.so.4
8b4e0403 1443
cc6d9c76 1444%files -n QtXml
642df674 1445%defattr(644,root,root,755)
396c20bd 1446%attr(755,root,root) %{_libdir}/libQtXml.so.*.*
5937dd1c 1447%attr(755,root,root) %ghost %{_libdir}/libQtXml.so.4
642df674 1448
cc6d9c76 1449%files -n Qt3Support
642df674 1450%defattr(644,root,root,755)
396c20bd 1451%attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
5937dd1c 1452%attr(755,root,root) %ghost %{_libdir}/libQt3Support.so.4
642df674 1453
71d7c231
KK
1454%files -n QtAssistant
1455%defattr(644,root,root,755)
396c20bd 1456%attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
5937dd1c 1457%attr(755,root,root) %ghost %{_libdir}/libQtAssistantClient.so.4
71d7c231 1458
a8088d24
JB
1459%files -n QtDesigner
1460%defattr(644,root,root,755)
3a869664 1461%attr(755,root,root) %{_libdir}/libQtDesigner.so.*.*
5937dd1c 1462%attr(755,root,root) %ghost %{_libdir}/libQtDesigner.so.4
3a869664 1463%attr(755,root,root) %{_libdir}/libQtDesignerComponents.so.*.*
5937dd1c 1464%attr(755,root,root) %ghost %{_libdir}/libQtDesignerComponents.so.4
a8088d24
JB
1465%dir %{_qtdir}/plugins/designer
1466%attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1467
1468%files -n QtUiTools
1469%defattr(644,root,root,755)
2d2db419 1470%attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
5937dd1c 1471%attr(755,root,root) %ghost %{_libdir}/libQtUiTools.so.4
a8088d24 1472
cc6d9c76 1473%files assistant
642df674 1474%defattr(644,root,root,755)
0b457108 1475%attr(755,root,root) %{_bindir}/pixeltool
3a869664 1476%attr(755,root,root) %{_bindir}/assistant-qt4
da64c649 1477%attr(755,root,root) %{_qtdir}/bin/pixeltool
df71e198 1478%attr(755,root,root) %{_qtdir}/bin/assistant
49c5b19e 1479%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-assistant.qm
3a869664 1480%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-assistant.qm
7f2b2b26 1481%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-assistant.qm
1482%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-assistant.qm
3a869664
JB
1483%{_desktopdir}/assistant-qt4.desktop
1484%{_pixmapsdir}/assistant-qt4.png
642df674 1485
08506906 1486%files build
642df674 1487%defattr(644,root,root,755)
764b5458 1488%attr(755,root,root) %{_bindir}/rcc
3a869664 1489%attr(755,root,root) %{_bindir}/moc-qt4
764b5458 1490%attr(755,root,root) %{_bindir}/qt3to4
3a869664 1491%attr(755,root,root) %{_bindir}/uic-qt4
df71e198 1492%attr(755,root,root) %{_qtdir}/bin/rcc
1493%attr(755,root,root) %{_qtdir}/bin/moc
1494%attr(755,root,root) %{_qtdir}/bin/qt3to4
1495%attr(755,root,root) %{_qtdir}/bin/uic
cc6d9c76 1496%{_datadir}/qt4/q3porting.xml
642df674 1497
642df674 1498%files designer
1499%defattr(644,root,root,755)
3a869664 1500%attr(755,root,root) %{_bindir}/designer-qt4
df71e198 1501%attr(755,root,root) %{_qtdir}/bin/designer
da64c649 1502%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-designer.qm
1503%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-designer.qm
7f2b2b26 1504%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-designer.qm
1505%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-designer.qm
3a869664
JB
1506%{_desktopdir}/designer-qt4.desktop
1507%{_pixmapsdir}/designer-qt4.png
71d7c231 1508
cc6d9c76 1509%files linguist
1510%defattr(644,root,root,755)
3a869664
JB
1511%attr(755,root,root) %{_bindir}/findtr-qt4
1512%attr(755,root,root) %{_bindir}/linguist-qt4
1513%attr(755,root,root) %{_bindir}/lrelease-qt4
1514%attr(755,root,root) %{_bindir}/lupdate-qt4
df71e198 1515%attr(755,root,root) %{_qtdir}/bin/findtr
a8088d24 1516%attr(755,root,root) %{_qtdir}/bin/linguist
df71e198 1517%attr(755,root,root) %{_qtdir}/bin/lrelease
1518%attr(755,root,root) %{_qtdir}/bin/lupdate
da64c649 1519%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-linguist.qm
7f2b2b26 1520%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-linguist.qm
1521%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-linguist.qm
cc6d9c76 1522%{_datadir}/qt4/phrasebooks
3a869664
JB
1523%{_desktopdir}/linguist-qt4.desktop
1524%{_pixmapsdir}/linguist-qt4.png
cc6d9c76 1525
71d7c231 1526%files qmake
cc6d9c76 1527%defattr(644,root,root,755)
3a869664 1528%attr(755,root,root) %{_bindir}/qmake-qt4
df71e198 1529%attr(755,root,root) %{_qtdir}/bin/qmake
cc6d9c76 1530%{_datadir}/qt4/mkspecs
a8088d24 1531%{_qtdir}/mkspecs
cc6d9c76 1532
71d7c231 1533%files qtconfig
cc6d9c76 1534%defattr(644,root,root,755)
3a869664 1535%attr(755,root,root) %{_bindir}/qtconfig-qt4
df71e198 1536%attr(755,root,root) %{_qtdir}/bin/qtconfig
7f2b2b26 1537%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qtconfig.qm
1538%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qtconfig.qm
3a869664
JB
1539%{_desktopdir}/qtconfig-qt4.desktop
1540%{_pixmapsdir}/qtconfig-qt4.png
cc6d9c76 1541
2d2db419 1542%files -n qvfb
1543%defattr(644,root,root,755)
1544%attr(755,root,root) %{_bindir}/qvfb
da64c649 1545%attr(755,root,root) %{_qtdir}/bin/qvfb
7f2b2b26 1546%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qvfb.qm
1547%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qvfb.qm
cc6d9c76 1548
cc6d9c76 1549%files doc
1550%defattr(644,root,root,755)
1551%{_docdir}/%{name}-doc
a8088d24 1552%{_qtdir}/doc
cc6d9c76 1553
83908296 1554%files -n QtCore-devel -f QtCore-devel.files
edf01045 1555%defattr(644,root,root,755)
b9a68d22 1556
0b457108 1557%files -n QtDBus-devel -f QtDBus-devel.files
edf01045 1558%defattr(644,root,root,755)
b9a68d22 1559
8f22d351 1560%files -n QtDesigner-devel -f QtDesigner-devel.files
edf01045 1561%defattr(644,root,root,755)
b9a68d22 1562
83908296 1563%files -n QtGui-devel -f QtGui-devel.files
edf01045 1564%defattr(644,root,root,755)
b9a68d22 1565
83908296 1566%files -n QtNetwork-devel -f QtNetwork-devel.files
edf01045 1567%defattr(644,root,root,755)
b9a68d22 1568
83908296 1569%files -n QtOpenGL-devel -f QtOpenGL-devel.files
edf01045 1570%defattr(644,root,root,755)
b9a68d22 1571
da64c649 1572%files -n QtScript-devel -f QtScript-devel.files
edf01045 1573%defattr(644,root,root,755)
b9a68d22 1574
83908296 1575%files -n QtSql-devel -f QtSql-devel.files
edf01045 1576%defattr(644,root,root,755)
b9a68d22 1577
8b4e0403 1578%files -n QtSvg-devel -f QtSvg-devel.files
edf01045 1579%defattr(644,root,root,755)
b9a68d22 1580
8b4e0403 1581%files -n QtTest-devel -f QtTest-devel.files
edf01045 1582%defattr(644,root,root,755)
b9a68d22 1583
83908296 1584%files -n QtXml-devel -f QtXml-devel.files
edf01045 1585%defattr(644,root,root,755)
b9a68d22 1586
83908296 1587%files -n Qt3Support-devel -f Qt3Support-devel.files
edf01045 1588%defattr(644,root,root,755)
b9a68d22 1589%attr(755,root,root) %{_bindir}/uic3
1590%attr(755,root,root) %{_qtdir}/bin/uic3
1591
71d7c231 1592%files -n QtAssistant-devel -f QtAssistant-devel.files
edf01045 1593%defattr(644,root,root,755)
b9a68d22 1594
a8088d24 1595%files -n QtUiTools-devel -f QtUiTools-devel.files
edf01045 1596%defattr(644,root,root,755)
83908296 1597
8b4e0403 1598%if %{with static_libs}
1599%files -n QtCore-static
1600%defattr(644,root,root,755)
3a869664 1601%{_libdir}/libQtCore.a
8b4e0403 1602
3fc9ecf9 1603%files -n QtDBus-static
1604%defattr(644,root,root,755)
3a869664 1605%{_libdir}/libQtDBus.a
0b457108 1606
8b4e0403 1607%files -n QtGui-static
1608%defattr(644,root,root,755)
3a869664 1609%{_libdir}/libQtGui.a
8b4e0403 1610
1611%files -n QtNetwork-static
1612%defattr(644,root,root,755)
3a869664 1613%{_libdir}/libQtNetwork.a
8b4e0403 1614
1615%files -n QtOpenGL-static
1616%defattr(644,root,root,755)
3a869664 1617%{_libdir}/libQtOpenGL.a
8b4e0403 1618
da64c649 1619%files -n QtScript-static
1620%defattr(644,root,root,755)
3a869664 1621%{_libdir}/libQtScript.a
da64c649 1622
8b4e0403 1623%files -n QtSql-static
1624%defattr(644,root,root,755)
3a869664 1625%{_libdir}/libQtSql.a
8b4e0403 1626
1627%files -n QtSvg-static
1628%defattr(644,root,root,755)
3a869664 1629%{_libdir}/libQtSvg.a
8b4e0403 1630
1631%files -n QtXml-static
1632%defattr(644,root,root,755)
3a869664 1633%{_libdir}/libQtXml.a
8b4e0403 1634
1635%files -n Qt3Support-static
1636%defattr(644,root,root,755)
3a869664 1637%{_libdir}/libQt3Support.a
8b4e0403 1638
71d7c231
KK
1639%files -n QtAssistant-static
1640%defattr(644,root,root,755)
1641%{_libdir}/libQtAssistantClient.a
8b4e0403 1642
a8088d24
JB
1643%files -n QtDesigner-static
1644%defattr(644,root,root,755)
3a869664
JB
1645%{_libdir}/libQtDesigner.a
1646%{_libdir}/libQtDesignerComponents.a
a8088d24
JB
1647
1648%files -n QtUiTools-static
1649%defattr(644,root,root,755)
1650%{_libdir}/libQtUiTools.a
fa2b2c8b
KK
1651%endif
1652
1620d5ef 1653%files demos -f demos.files
edf01045 1654%defattr(644,root,root,755)
3a869664 1655
1620d5ef 1656%files examples -f examples.files
edf01045 1657%defattr(644,root,root,755)
This page took 0.44147 seconds and 4 git commands to generate.