]> git.pld-linux.org Git - packages/qt4.git/blame - qt4.spec
- outdated
[packages/qt4.git] / qt4.spec
CommitLineData
bc7da990 1#
08506906 2# TODO:
1620d5ef 3# - better descriptions
4# - more cleanups
07b2fa37 5# - check if translations are available
da64c649 6# - check Qt ui tool
08506906 7#
bc7da990 8# Conditional build:
9%bcond_with nas # enable NAS audio support
8b4e0403 10%bcond_without static_libs # build static libraries
bc7da990 11%bcond_without cups # disable CUPS support
12%bcond_without mysql # don't build MySQL plugin
13%bcond_without odbc # don't build unixODBC plugin
14%bcond_without pgsql # don't build PostgreSQL plugin
2ba913fc 15%bcond_without sqlite3 # don't build SQLite3 plugin
16%bcond_without sqlite # don't build SQLite2 plugin
4ad4bb90
17%bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
18%bcond_without pch # disable pch in qmake
e23a6569 19%bcond_with sse # use SSE instructions in gui/painting module
9bb3a421 20%bcond_with sse2 # use SSE2 instructions
08506906 21
9f300b6b 22%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
bc7da990 23%undefine with_ibase
24%endif
e23a6569
PS
25
26%ifarch pentium3 pentium4 %{x8664}
27%define with_sse 1
28%endif
29
9bb3a421
JB
30%ifarch pentium4 %{x8664}
31%define with_sse2 1
32%endif
33
bc7da990 34%define _withsql 1
2ba913fc 35%{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
bc7da990 36
bc7da990 37Summary: The Qt GUI application framework
4c66dee3
ER
38Summary(es.UTF-8): Biblioteca para ejecutar aplicaciones GUI Qt
39Summary(pl.UTF-8): Biblioteka Qt do tworzenia GUI
40Summary(pt_BR.UTF-8): Estrutura para rodar aplicações GUI Qt
bc7da990 41Name: qt4
da64c649 42Version: 4.3.0
2d2db419 43Release: 1
bc7da990 44License: GPL/QPL
45Group: X11/Libraries
2d2db419 46Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
da64c649 47# Source0-md5: 8012acea71b35c18247bd92c4721589d
df71e198 48Source2: %{name}-qtconfig.desktop
49Source3: %{name}-designer.desktop
50Source4: %{name}-assistant.desktop
51Source5: %{name}-linguist.desktop
49c5b19e 52Source6: %{name}_pl.ts
2d2db419 53Patch0: %{name}-tools.patch
da64c649 54Patch1: %{name}-qt_copy.patch
7e468979
JB
55Patch2: %{name}-buildsystem.patch
56Patch3: %{name}-locale.patch
9bb3a421 57
7e468979
JB
58Patch6: %{name}-antialias.patch
59Patch7: %{name}-support-cflags-with-commas.patch
60Patch8: %{name}-build-lib-static.patch
a8088d24 61Patch9: %{name}-x11_fonts.patch
bc7da990 62URL: http://www.trolltech.com/products/qt/
bc7da990 63%{?with_ibase:BuildRequires: Firebird-devel}
03510596 64BuildRequires: OpenGL-GLU-devel
bcbcae98 65%{?with_sqlite3:BuildRequires: sqlite3-devel}
bc7da990 66# incompatible with bison
bc7da990 67%{?with_cups:BuildRequires: cups-devel}
d5160e56 68BuildRequires: dbus-devel >= 0.62
c8537603 69BuildRequires: fontconfig-devel
e8df9d4c 70BuildRequires: freetype-devel >= 1:2.0.0
d5160e56 71BuildRequires: gcc >= 5:4.0
3f80fcc7
JB
72BuildRequires: giflib-devel
73BuildRequires: glib2-devel >= 2.0.0
bc7da990 74BuildRequires: libjpeg-devel
75BuildRequires: libmng-devel >= 1.0.0
e8df9d4c 76BuildRequires: libpng-devel >= 2:1.0.8
bc7da990 77BuildRequires: libstdc++-devel
bc7da990 78%{?with_mysql:BuildRequires: mysql-devel}
79%{?with_nas:BuildRequires: nas-devel}
3f80fcc7 80BuildRequires: pkgconfig
bc7da990 81%{?with_pgsql:BuildRequires: postgresql-backend-devel}
82%{?with_pgsql:BuildRequires: postgresql-devel}
71d7c231 83BuildRequires: rpmbuild(macros) >= 1.213
bc7da990 84BuildRequires: sed >= 4.0
bc7da990 85%{?with_sqlite:BuildRequires: sqlite-devel}
bcbcae98 86%{?with_odbc:BuildRequires: unixODBC-devel}
03510596
JB
87BuildRequires: xorg-lib-libSM-devel
88BuildRequires: xorg-lib-libXcursor-devel
89BuildRequires: xorg-lib-libXext-devel
4d65233a 90BuildRequires: xorg-lib-libXfixes-devel
03510596
JB
91BuildRequires: xorg-lib-libXi-devel
92BuildRequires: xorg-lib-libXinerama-devel
93BuildRequires: xorg-lib-libXrandr-devel
94BuildRequires: xorg-lib-libXrender-devel
bc7da990 95BuildRequires: zlib-devel
4b5c3a7c 96BuildConflicts: QtCore < %{version}
151e5443 97BuildConflicts: QtCore-devel < %{version}
bc7da990 98Obsoletes: qt-extensions
99Obsoletes: qt-utils
7b57a050 100Conflicts: kdelibs <= 8:3.2-0.030602.1
9f300b6b 101BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bc7da990 102
103%define _noautoreqdep libGL.so.1 libGLU.so.1
f8b94468 104%define _noautostrip '.*_debug\\.so*'
bc7da990 105
575462c5
PS
106%define specflags -fno-strict-aliasing
107
df71e198 108%define _qtdir %{_libdir}/qt4
109
bc7da990 110%description
111Qt is a complete C++ application development framework, which includes
112a class library and tools for multiplatform development and
113internationalization. Using Qt, a single source code tree can build
114applications that run natively on different platforms (Windows,
115Unix/Linux, Mac OS X, embedded Linux).
116
117Qt has a rich set of standard widgets, and lets you write custom
118controls. It encapsulates four different platform-specific APIs, and
119the APIs for file-handling, networking, process-handling, threading,
120database access, etc. Qt now also has Motif migration oraz Netscape
121LiveConnect plugin.
122
02520e74 123%description -l es.UTF-8
bc7da990 124Contiene las bibliotecas compartidas necesarias para ejecutar
125aplicaciones Qt, bien como los archivos README.
126
02520e74 127%description -l pl.UTF-8
bc7da990 128Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
02520e74
JR
129języku C++, w którego skład wchodzi biblioteka z klasami oraz
130wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
131Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
132różnych platformach (Windows, Unix/Linux, Mac OS X).
133
134Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
135pozwala również na pisanie własnych elementów. Łączy w sposób
136niewidoczny dla programisty interfejsy programowania różnych systemów,
137tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
138procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
139na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
bc7da990 140wykorzystaniem Netscape LiveConnect.
141
cc6d9c76 142%package -n QtCore
143Summary: Core classes used by other modules
4c66dee3 144Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły
61da89d9 145Group: X11/Libraries
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
2d2db419 976%patch6 -p1
977%patch7 -p1
978%patch8 -p1
979%patch9 -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 \
e23a6569 1027 -%{!?with_sse:no-}sse \
9bb3a421 1028 -%{!?with_sse2:no-}sse2 \
3f80fcc7 1029 -qdbus \
bc7da990 1030 -qt-gif \
1031 -system-libjpeg \
d5160e56 1032 -system-libmng \
bc7da990 1033 -system-libpng \
1034 -system-zlib \
1035 -no-exceptions \
d5160e56 1036 -largefile \
bc7da990 1037 -I%{_includedir}/postgresql/server \
1038 -I%{_includedir}/mysql \
bf216b9f 1039 %{?with_cups:-cups} \
bc7da990 1040 %{?with_nas:-system-nas-sound} \
bc7da990 1041 %{?debug:-debug} \
71d7c231 1042 %{!?debug:-release} \
30f8468c 1043 -qt3support \
cc6d9c76 1044 -fontconfig \
47e29d34 1045 -iconv \
1046 -no-separate-debug-info \
d5160e56 1047 -xfixes \
c8537603 1048 -nis \
cc6d9c76 1049 -sm \
c8537603
JB
1050 -tablet \
1051 -xcursor \
1052 -xkb \
1053 -xrender \
1054 -xshape"
bc7da990 1055
1056##################################
151e5443 1057# STATIC MULTI-THREAD #
bc7da990 1058##################################
1059
1060%if %{with static_libs}
fee487b9 1061OPT=" \
d5160e56 1062 -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
1063 -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
1064 -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
1065 -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
1066 -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
1067 -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
bc7da990 1068 -static"
8b4e0403 1069
1070echo "yes" | ./configure $COMMONOPT $OPT
1071
71d7c231
KK
1072%{__make} -C src
1073%{__make} -C tools/assistant/lib
a8088d24 1074%{__make} -C tools/designer
47e29d34 1075%{__make} -C tools/qdbus/src
6f1b9278
1076if [ ! -d staticlib ]; then
1077 mkdir staticlib
1078 cp -a lib/*.a staticlib
1079fi
71d7c231 1080%{__make} confclean
bc7da990 1081%endif
1082
1083##################################
151e5443 1084# SHARED MULTI-THREAD #
bc7da990 1085##################################
1086
fee487b9 1087OPT=" \
d5160e56 1088 -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
1089 -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
1090 -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
1091 -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
1092 -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
1093 -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase"
642df674 1094
8b4e0403 1095echo "yes" | ./configure $COMMONOPT $OPT
1096
1097%{__make}
1620d5ef 1098%{__make} \
1099 sub-tools-all-ordered \
1100 sub-demos-all-ordered \
1101 sub-examples-all-ordered
2ba913fc 1102
bc7da990 1103%install
1104rm -rf $RPM_BUILD_ROOT
df71e198 1105install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1106install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
bc7da990 1107
1108%{__make} install \
1109 INSTALL_ROOT=$RPM_BUILD_ROOT
1110
a8088d24 1111# kill -L/inside/builddir from *.la and *.pc (bug #77152)
da64c649 1112%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl}
e7ec9abb 1113%{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
5bda0943 1114%{__sed} -i -e '
1115 s|moc_location=.*|moc_location=%{_bindir}/qt4-moc|;
1116 s|uic_location=.*|uic_location=%{_bindir}/qt4-uic|;
e7ec9abb 1117 ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
a8088d24 1118
df71e198 1119# install tools
1120install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
df71e198 1121
1122cd $RPM_BUILD_ROOT%{_bindir}
1123ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1124ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1125ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
764b5458 1126ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
df71e198 1127ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
764b5458 1128ln -sf ../%{_lib}/qt4/bin/qt3to4 .
df71e198 1129ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
764b5458
JB
1130ln -sf ../%{_lib}/qt4/bin/rcc .
1131ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1132ln -sf ../%{_lib}/qt4/bin/uic3 .
da64c649 1133ln -sf ../%{_lib}/qt4/bin/pixeltool .
1134ln -sf ../%{_lib}/qt4/bin/qdbus .
1135ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml .
1136ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp .
1137ln -sf ../%{_lib}/qt4/bin/qdbusviewer .
1138ln -sf ../%{_lib}/qt4/bin/qvfb .
df71e198 1139cd -
bc7da990 1140
bc7da990 1141install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1142install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
71d7c231 1143install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
bc7da990 1144
642df674 1145install tools/qtconfig/images/appicon.png \
df71e198 1146 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
bc7da990 1147
642df674 1148install tools/linguist/linguist/images/appicon.png \
df71e198 1149 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
bc7da990 1150
1620d5ef 1151install tools/assistant/images/assistant.png \
df71e198 1152 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
bc7da990 1153
71d7c231 1154install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
642df674 1155install tools/designer/src/designer/images/designer.png \
df71e198 1156 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
bc7da990 1157
642df674 1158%if %{with static_libs}
8b4e0403 1159install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
642df674 1160%endif
bc7da990 1161
d96b2ef5 1162#
1163# Locale
1164#
49c5b19e 1165cp %{SOURCE6} translations/qt_pl.ts
1166LD_LIBRARY_PATH=lib bin/lrelease translations/qt_pl.ts -qm translations/qt_pl.qm
1167
d96b2ef5 1168rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
1169for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm
1170do
1171 [ ! -f $file ] && continue
21a491cc 1172 lang=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
d96b2ef5 1173 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
21a491cc 1174 [ "$lang" == "iw" ] && lang=he
49c5b19e 1175 MOD=qt4-$MOD
1176 [ "$MOD" == "qt4-qt" ] && MOD=qt4
151e5443 1177 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES
21a491cc 1178 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/$MOD.qm
d96b2ef5 1179done
bc7da990 1180
1620d5ef 1181cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
da64c649 1182for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Script,Sql,Svg,Test,UiTools,Xml}/*
642df674 1183do
1620d5ef 1184 if [ ! -d $f ]; then
1185 ln -sf $f `basename $f`
1186 fi
bc7da990 1187done
1620d5ef 1188cd -
bc7da990 1189
da64c649 1190mv $RPM_BUILD_ROOT%{_datadir}/locale/ja_jp/LC_MESSAGES/qt4.qm \
1191 $RPM_BUILD_ROOT%{_datadir}/locale/ja/LC_MESSAGES/qt4.qm
1192
df71e198 1193# Ship doc & qmake stuff
a8088d24
JB
1194ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1195ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
df71e198 1196
5bda0943 1197for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1198 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1199 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1200 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1201 DEFS="-D_REENTRANT"
1202
1203 if [ "$MODULE2" == "3SUPPORT" ]; then
1204 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1205 else
1206 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1207 fi
1208 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1209
1210 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1211done
af36e151 1212
1620d5ef 1213# Prepare some files list
afda8c46 1214ifecho() {
83908296 1215 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1216 [ "$RESULT" == "" ] && return
1217 r=`echo $RESULT | awk '{ print $1 }'`
1218
1219 if [ -d "$r" ]; then
1220 echo "%%dir $2" >> $1.files
1221 elif [ -x "$r" ] ; then
1222 echo "%%attr(755,root,root) $2" >> $1.files
1223 elif [ -f "$r" ]; then
1224 echo "$2" >> $1.files
1620d5ef 1225 else
151e5443 1226 echo "Error generation $1 files list!"
83908296 1227 echo "$r: no such file or direcotry!"
8f22d351 1228 return 1
1620d5ef 1229 fi
83908296 1230}
1231
afda8c46 1232mkdevfl() {
83908296 1233 MODULE=$1; shift
1234 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1235 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
bcbcae98 1236 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
83908296 1237 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
5bda0943 1238 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
4d335555
KK
1239 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1240 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1241 fi
234e1f1d 1242 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "` ; do
83908296 1243 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1244 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1245 done
1246 for f in $@; do ifecho $MODULE-devel $f; done
1247}
1248
71d7c231 1249mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
e7ec9abb 1250mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
83908296 1251mkdevfl QtGui
1252mkdevfl QtNetwork
1253mkdevfl QtOpenGL
da64c649 1254mkdevfl QtScript
83908296 1255mkdevfl QtSql
8b4e0403 1256mkdevfl QtSvg
1257mkdevfl QtTest
83908296 1258mkdevfl QtXml
1259mkdevfl Qt3Support
71d7c231
KK
1260
1261# without *.la *.pc etc.
1262mkdevfl QtAssistant || /bin/true
1263mkdevfl QtDesigner || /bin/true
a8088d24 1264mkdevfl QtUiTools || /bin/true
83908296 1265
1266echo "%defattr(644,root,root,755)" > examples.files
1267ifecho examples %{_examplesdir}/qt4
1268for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1269do
1270 ifecho examples %{_examplesdir}/qt4/$f
bc7da990 1271done
642df674 1272
1620d5ef 1273echo "%defattr(644,root,root,755)" > demos.files
83908296 1274ifecho demos "%{_examplesdir}/qt4-demos"
df71e198 1275ifecho demos "%{_qtdir}/bin/qtdemo"
83908296 1276for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1620d5ef 1277do
83908296 1278 ifecho demos %{_examplesdir}/qt4-demos/$f
1620d5ef 1279done
bc7da990 1280
bc7da990 1281%clean
1282rm -rf $RPM_BUILD_ROOT
1283
08506906 1284%post -n QtCore
bc7da990 1285/sbin/ldconfig
151e5443 1286%banner -e %{name} <<-EOF
bc7da990 1287 *******************************************************
1288 * *
1289 * NOTE: *
1290 * With qt 4.0.0 the single threaded version was *
cc6d9c76 1291 * removed. Also the library is modular now so be *
1292 * sure to check that you have every module you need. *
711f5530 1293 * *
bc7da990 1294 *******************************************************
bc7da990 1295EOF
08506906 1296%postun -n QtCore -p /sbin/ldconfig
bc7da990 1297
0b457108 1298%post -n QtDBus -p /sbin/ldconfig
1299%postun -n QtDBus -p /sbin/ldconfig
1300
08506906
PS
1301%post -n QtGui -p /sbin/ldconfig
1302%postun -n QtGui -p /sbin/ldconfig
bc7da990 1303
08506906
PS
1304%post -n QtNetwork -p /sbin/ldconfig
1305%postun -n QtNetwork -p /sbin/ldconfig
cc6d9c76 1306
08506906
PS
1307%post -n QtOpenGL -p /sbin/ldconfig
1308%postun -n QtOpenGL -p /sbin/ldconfig
cc6d9c76 1309
da64c649 1310%post -n QtScript -p /sbin/ldconfig
1311%postun -n QtScript -p /sbin/ldconfig
1312
08506906
PS
1313%post -n QtSql -p /sbin/ldconfig
1314%postun -n QtSql -p /sbin/ldconfig
642df674 1315
8b4e0403 1316%post -n QtSvg -p /sbin/ldconfig
1317%postun -n QtSvg -p /sbin/ldconfig
1318
1319%post -n QtTest -p /sbin/ldconfig
1320%postun -n QtTest -p /sbin/ldconfig
1321
08506906
PS
1322%post -n QtXml -p /sbin/ldconfig
1323%postun -n QtXml -p /sbin/ldconfig
1324
1325%post -n Qt3Support -p /sbin/ldconfig
1326%postun -n Qt3Support -p /sbin/ldconfig
1327
71d7c231
KK
1328%post -n QtAssistant -p /sbin/ldconfig
1329%postun -n QtAssistant -p /sbin/ldconfig
08506906 1330
a8088d24
JB
1331%post -n QtDesigner -p /sbin/ldconfig
1332%postun -n QtDesigner -p /sbin/ldconfig
1333
1334%post -n QtUiTools -p /sbin/ldconfig
1335%postun -n QtUiTools -p /sbin/ldconfig
642df674 1336
1337%files -n QtCore
1338%defattr(644,root,root,755)
396c20bd 1339%attr(755,root,root) %{_libdir}/libQtCore.so.*.*
df71e198 1340%dir %{_qtdir}
a8088d24 1341%dir %{_qtdir}/bin
df71e198 1342%dir %{_qtdir}/plugins
1343%dir %{_qtdir}/plugins/accessible
0e559634 1344%dir %{_qtdir}/plugins/codecs
df71e198 1345%dir %{_qtdir}/plugins/crypto
0e559634 1346%dir %{_qtdir}/plugins/iconengines
df71e198 1347%dir %{_qtdir}/plugins/imageformats
6bff86e1 1348%dir %{_qtdir}/plugins/inputmethods
df71e198 1349%dir %{_qtdir}/plugins/network
1350%dir %{_qtdir}/plugins/sqldrivers
642df674 1351%dir %{_datadir}/qt4
6167705f 1352%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
6167705f 1353%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
0e559634 1354%lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm
6167705f 1355%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
a5e0b207 1356%lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
da64c649 1357%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4.qm
49c5b19e 1358%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4.qm
da64c649 1359%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/qt4.qm
6167705f 1360%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1361%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
da64c649 1362%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/qt4.qm
1363%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/qt4.qm
6167705f 1364%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
642df674 1365
0b457108 1366%files -n QtDBus
1367%defattr(644,root,root,755)
e7ec9abb
JB
1368%attr(755,root,root) %{_qtdir}/bin/qdbus
1369%attr(755,root,root) %{_qtdir}/bin/qdbusviewer
1370%attr(755,root,root) %{_bindir}/qdbus
1371%attr(755,root,root) %{_bindir}/qdbusviewer
0b457108 1372%attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
1373
cc6d9c76 1374%files -n QtGui
642df674 1375%defattr(644,root,root,755)
396c20bd 1376%attr(755,root,root) %{_libdir}/libQtGui.so.*.*
0e559634
JB
1377%attr(755,root,root) %{_qtdir}/plugins/accessible/*.so
1378%attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
1379%attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so
1380%attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so
1381%attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
642df674 1382
642df674 1383%files -n QtNetwork
1384%defattr(644,root,root,755)
396c20bd 1385%attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
642df674 1386
cc6d9c76 1387%files -n QtOpenGL
642df674 1388%defattr(644,root,root,755)
396c20bd 1389%attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
cc6d9c76 1390
da64c649 1391%files -n QtScript
1392%defattr(644,root,root,755)
1393%attr(755,root,root) %{_libdir}/libQtScript.so.*.*
1394
cc6d9c76 1395%files -n QtSql
1396%defattr(644,root,root,755)
396c20bd 1397%attr(755,root,root) %{_libdir}/libQtSql.so.*.*
cc6d9c76 1398
642df674 1399%if %{with mysql}
cc6d9c76 1400%files -n QtSql-mysql
642df674 1401%defattr(644,root,root,755)
df71e198 1402%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
642df674 1403%endif
1404
1405%if %{with pgsql}
cc6d9c76 1406%files -n QtSql-pgsql
642df674 1407%defattr(644,root,root,755)
df71e198 1408%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
642df674 1409%endif
1410
1411%if %{with sqlite}
cc6d9c76 1412%files -n QtSql-sqlite
642df674 1413%defattr(644,root,root,755)
da64c649 1414#%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
642df674 1415%endif
1416
1417%if %{with sqlite3}
cc6d9c76 1418%files -n QtSql-sqlite3
642df674 1419%defattr(644,root,root,755)
df71e198 1420%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
36f74d13 1421%if %{with sqlite}
da64c649 1422#%exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
642df674 1423%endif
36f74d13 1424%endif
642df674 1425
1426%if %{with ibase}
cc6d9c76 1427%files -n QtSql-ibase
642df674 1428%defattr(644,root,root,755)
df71e198 1429%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
642df674 1430%endif
1431
1432%if %{with odbc}
cc6d9c76 1433%files -n QtSql-odbc
642df674 1434%defattr(644,root,root,755)
df71e198 1435%attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
642df674 1436%endif
1437
07b2fa37
JB
1438%files -n QtSvg
1439%defattr(644,root,root,755)
396c20bd 1440%attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
07b2fa37 1441
8b4e0403 1442%files -n QtTest
1443%defattr(644,root,root,755)
396c20bd 1444%attr(755,root,root) %{_libdir}/libQtTest.so.*.*
8b4e0403 1445
cc6d9c76 1446%files -n QtXml
642df674 1447%defattr(644,root,root,755)
396c20bd 1448%attr(755,root,root) %{_libdir}/libQtXml.so.*.*
642df674 1449
cc6d9c76 1450%files -n Qt3Support
642df674 1451%defattr(644,root,root,755)
764b5458 1452%attr(755,root,root) %{_bindir}/uic3
df71e198 1453%attr(755,root,root) %{_qtdir}/bin/uic3
396c20bd 1454%attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
642df674 1455
71d7c231
KK
1456%files -n QtAssistant
1457%defattr(644,root,root,755)
396c20bd 1458%attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
da64c649 1459%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-assistant.qm
71d7c231 1460
a8088d24
JB
1461%files -n QtDesigner
1462%defattr(644,root,root,755)
1463%attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1464%dir %{_qtdir}/plugins/designer
1465%attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1466
1467%files -n QtUiTools
1468%defattr(644,root,root,755)
2d2db419 1469%attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
a8088d24 1470
cc6d9c76 1471%files assistant
642df674 1472%defattr(644,root,root,755)
0b457108 1473%attr(755,root,root) %{_bindir}/pixeltool
da64c649 1474%attr(755,root,root) %{_qtdir}/bin/pixeltool
df71e198 1475%attr(755,root,root) %{_bindir}/qt4-assistant
1476%attr(755,root,root) %{_qtdir}/bin/assistant
49c5b19e 1477%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-assistant.qm
df71e198 1478%{_desktopdir}/qt4-assistant.desktop
1479%{_pixmapsdir}/qt4-assistant.png
642df674 1480
08506906 1481%files build
642df674 1482%defattr(644,root,root,755)
764b5458
JB
1483%attr(755,root,root) %{_bindir}/rcc
1484%attr(755,root,root) %{_bindir}/qt4-moc
1485%attr(755,root,root) %{_bindir}/qt3to4
1486%attr(755,root,root) %{_bindir}/qt4-uic
df71e198 1487%attr(755,root,root) %{_qtdir}/bin/rcc
1488%attr(755,root,root) %{_qtdir}/bin/moc
1489%attr(755,root,root) %{_qtdir}/bin/qt3to4
1490%attr(755,root,root) %{_qtdir}/bin/uic
cc6d9c76 1491%{_datadir}/qt4/q3porting.xml
642df674 1492
642df674 1493%files designer
1494%defattr(644,root,root,755)
df71e198 1495%attr(755,root,root) %{_bindir}/qt4-designer
1496%attr(755,root,root) %{_qtdir}/bin/designer
da64c649 1497%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-designer.qm
1498%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-designer.qm
df71e198 1499%{_desktopdir}/qt4-designer.desktop
1500%{_pixmapsdir}/qt4-designer.png
71d7c231 1501
cc6d9c76 1502%files linguist
1503%defattr(644,root,root,755)
df71e198 1504%attr(755,root,root) %{_bindir}/qt4-linguist
df71e198 1505%attr(755,root,root) %{_qtdir}/bin/findtr
a8088d24 1506%attr(755,root,root) %{_qtdir}/bin/linguist
df71e198 1507%attr(755,root,root) %{_qtdir}/bin/lrelease
1508%attr(755,root,root) %{_qtdir}/bin/lupdate
da64c649 1509%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-linguist.qm
cc6d9c76 1510%{_datadir}/qt4/phrasebooks
df71e198 1511%{_desktopdir}/qt4-linguist.desktop
1512%{_pixmapsdir}/qt4-linguist.png
cc6d9c76 1513
71d7c231 1514%files qmake
cc6d9c76 1515%defattr(644,root,root,755)
df71e198 1516%attr(755,root,root) %{_bindir}/qt4-qmake
1517%attr(755,root,root) %{_qtdir}/bin/qmake
cc6d9c76 1518%{_datadir}/qt4/mkspecs
a8088d24 1519%{_qtdir}/mkspecs
cc6d9c76 1520
71d7c231 1521%files qtconfig
cc6d9c76 1522%defattr(644,root,root,755)
df71e198 1523%attr(755,root,root) %{_bindir}/qt4-qtconfig
1524%attr(755,root,root) %{_qtdir}/bin/qtconfig
1525%{_desktopdir}/qt4-qtconfig.desktop
1526%{_pixmapsdir}/qt4-qtconfig.png
cc6d9c76 1527
2d2db419 1528%files -n qvfb
1529%defattr(644,root,root,755)
1530%attr(755,root,root) %{_bindir}/qvfb
da64c649 1531%attr(755,root,root) %{_qtdir}/bin/qvfb
cc6d9c76 1532
cc6d9c76 1533%files doc
1534%defattr(644,root,root,755)
1535%{_docdir}/%{name}-doc
a8088d24 1536%{_qtdir}/doc
cc6d9c76 1537
83908296 1538%files -n QtCore-devel -f QtCore-devel.files
0b457108 1539%files -n QtDBus-devel -f QtDBus-devel.files
8f22d351 1540%files -n QtDesigner-devel -f QtDesigner-devel.files
83908296 1541%files -n QtGui-devel -f QtGui-devel.files
1542%files -n QtNetwork-devel -f QtNetwork-devel.files
1543%files -n QtOpenGL-devel -f QtOpenGL-devel.files
da64c649 1544%files -n QtScript-devel -f QtScript-devel.files
83908296 1545%files -n QtSql-devel -f QtSql-devel.files
8b4e0403 1546%files -n QtSvg-devel -f QtSvg-devel.files
1547%files -n QtTest-devel -f QtTest-devel.files
83908296 1548%files -n QtXml-devel -f QtXml-devel.files
1549%files -n Qt3Support-devel -f Qt3Support-devel.files
71d7c231 1550%files -n QtAssistant-devel -f QtAssistant-devel.files
a8088d24 1551%files -n QtUiTools-devel -f QtUiTools-devel.files
83908296 1552
8b4e0403 1553%if %{with static_libs}
1554%files -n QtCore-static
1555%defattr(644,root,root,755)
1556%{_libdir}/libQtCore*.a
1557
3fc9ecf9 1558%files -n QtDBus-static
1559%defattr(644,root,root,755)
1560%{_libdir}/libQtDBus*.a
0b457108 1561
8b4e0403 1562%files -n QtGui-static
1563%defattr(644,root,root,755)
1564%{_libdir}/libQtGui*.a
1565
1566%files -n QtNetwork-static
1567%defattr(644,root,root,755)
1568%{_libdir}/libQtNetwork*.a
1569
1570%files -n QtOpenGL-static
1571%defattr(644,root,root,755)
1572%{_libdir}/libQtOpenGL*.a
1573
da64c649 1574%files -n QtScript-static
1575%defattr(644,root,root,755)
1576%{_libdir}/libQtScript*.a
1577
8b4e0403 1578%files -n QtSql-static
1579%defattr(644,root,root,755)
1580%{_libdir}/libQtSql*.a
1581
1582%files -n QtSvg-static
1583%defattr(644,root,root,755)
1584%{_libdir}/libQtSvg*.a
1585
1586%files -n QtXml-static
1587%defattr(644,root,root,755)
1588%{_libdir}/libQtXml*.a
1589
1590%files -n Qt3Support-static
1591%defattr(644,root,root,755)
1592%{_libdir}/libQt3Support*.a
1593
71d7c231
KK
1594%files -n QtAssistant-static
1595%defattr(644,root,root,755)
1596%{_libdir}/libQtAssistantClient.a
8b4e0403 1597
a8088d24
JB
1598%files -n QtDesigner-static
1599%defattr(644,root,root,755)
1600%{_libdir}/libQtDesigner*.a
1601
1602%files -n QtUiTools-static
1603%defattr(644,root,root,755)
1604%{_libdir}/libQtUiTools.a
fa2b2c8b
KK
1605%endif
1606
1620d5ef 1607%files demos -f demos.files
1608%files examples -f examples.files
This page took 0.3886 seconds and 4 git commands to generate.