]> git.pld-linux.org Git - packages/qt4.git/blob - qt4.spec
- versioned Obsoletes
[packages/qt4.git] / qt4.spec
1 #
2 # TODO:
3 #       - fix moc failures, see e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1396755
4 #         at least add some macros to QTBUG-22829 patch (BOOST_PREDEF_VERSION_NUMBER_H, _SYS_SYSMACROS_H_OUTER...)
5 #       - more cleanups
6 #       - check if translations are available
7 #       - check Qt ui tool
8 #
9 # Conditional build:
10 %bcond_without  static_libs     # don't build static libraries
11 # -- features
12 %bcond_without  cups            # CUPS printing support
13 %bcond_with     nas             # NAS audio support
14 %bcond_without  gtk             # GTK+ theme integration
15 %bcond_without  pch             # pch (pre-compiled headers) in qmake
16 %bcond_without  system_phonon   # phonon libraries from phonon.spec intead of qt4.spec
17 %bcond_with     wkhtml          # WKHTMLTOPDF patch (affects QtGui ABI)
18 %bcond_with     openvg          # OpenVG support
19 # -- databases
20 %bcond_without  ibase           # ibase (InterBase/Firebird) plugin
21 %bcond_without  mysql           # MySQL plugin
22 %bcond_with     oci             # OCI (Oracle) support
23 %bcond_without  odbc            # unixODBC plugin
24 %bcond_without  pgsql           # PostgreSQL plugin
25 %bcond_without  sqlite3         # SQLite3 plugin
26 %bcond_without  sqlite          # SQLite2 plugin
27 # -- SIMD CPU instructions
28 %bcond_with     mmx             # use MMX instructions
29 %bcond_with     3dnow           # use 3Dnow instructions
30 %bcond_with     sse             # use SSE instructions in gui/painting module
31 %bcond_with     sse2            # use SSE2 instructions
32 %bcond_with     sse3            # use SSE3 instructions (since: Intel middle Pentium4, AMD Athlon64)
33 %bcond_with     ssse3           # use SSSE3 instructions (Intel since Core2, Via Nano)
34 %bcond_with     sse41           # use SSE4.1 instructions (Intel since middle Core2)
35 %bcond_with     sse42           # use SSE4.2 instructions (the same)
36 %bcond_with     avx             # use AVX instructions (future Intel x86 CPUs only)
37
38 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha ppc
39 %undefine       with_ibase
40 %endif
41 %ifarch athlon
42 %define         with_3dnow      1
43 %endif
44 %ifarch athlon pentium3 pentium4 %{x8664} x32
45 %define         with_mmx        1
46 %endif
47 %ifarch pentium3 pentium4 %{x8664} x32
48 %define         with_sse        1
49 %endif
50 %ifarch pentium4 %{x8664} x32
51 %define         with_sse2       1
52 %endif
53 # any SQL
54 %define         _withsql        1
55 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%{!?with_oci:%undefine _withsql}}}}}}}
56
57 %define         icu_abi         73
58 %define         next_icu_abi    %(echo $((%{icu_abi} + 1)))
59
60 Summary:        The Qt GUI application framework
61 Summary(es.UTF-8):      Biblioteca para ejecutar aplicaciones GUI Qt
62 Summary(pl.UTF-8):      Biblioteka Qt do tworzenia GUI
63 Summary(pt_BR.UTF-8):   Estrutura para rodar aplicações GUI Qt
64 Name:           qt4
65 Version:        4.8.7
66 Release:        41
67 License:        LGPL v2.1 or GPL v3.0
68 Group:          X11/Libraries
69 Source0:        http://download.qt-project.org/official_releases/qt/4.8/%{version}/qt-everywhere-opensource-src-%{version}.tar.gz
70 # Source0-md5:  d990ee66bf7ab0c785589776f35ba6ad
71 Source2:        %{name}-qtconfig.desktop
72 Source3:        %{name}-designer.desktop
73 Source4:        %{name}-assistant.desktop
74 Source5:        %{name}-linguist.desktop
75
76 # git clone git://gitorious.org/+kde-developers/qt/kde-qt.git
77 # git checkout -b 4.7.1-patched origin/4.7.1-patched
78 # git diff v4.7.1..4.7.1-patched > ~/rpm/packages/qt4/qt4-kde-git.patch
79 Patch100:       %{name}-kde-git.patch
80
81 Patch0:         %{name}-tools.patch
82 Patch1:         %{name}-qt_copy.patch
83 Patch2:         %{name}-buildsystem.patch
84 Patch3:         %{name}-locale.patch
85 Patch5:         %{name}-support-cflags-with-commas.patch
86 Patch6:         %{name}-build-lib-static.patch
87 Patch7:         %{name}-x11_fonts.patch
88 Patch8:         %{name}-ibase.patch
89 Patch9:         qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
90 Patch10:        webkit-no_Werror.patch
91 Patch11:        %{name}-wkhtml.patch
92 Patch12:        openssl.patch
93 Patch13:        qt-asm-volatile.patch
94 Patch14:        x32.patch
95 # backported from Qt5 (essentially)
96 # http://bugzilla.redhat.com/702493
97 # https://bugreports.qt-project.org/browse/QTBUG-5545
98 Patch15:        qt-everywhere-opensource-src-4.8.4-qgtkstyle_disable_gtk_theme_check.patch
99 Patch16:        qt-everywhere-opensource-src-4.8.3-QTBUG-4862.patch
100 Patch17:        %{name}-oracle-instantclient.patch
101 # from Debian
102 Patch18:        add-lxde-support.patch
103 Patch19:        Better-handling-of-invalid-font-tables.patch
104 Patch20:        xmlpatterns_stack_overflow_fix.diff
105 Patch21:        no_libicu_message.diff
106 Patch22:        add-mate-support.patch
107
108 # from FC
109 Patch28:        qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
110 Patch29:        qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch
111 Patch30:        qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch
112 Patch31:        qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch
113 Patch32:        qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch
114 Patch33:        qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch
115 Patch34:        qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch
116 Patch35:        qt-4.8-poll.patch
117 Patch36:        qt-cupsEnumDests.patch
118 Patch37:        qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch
119 Patch38:        qt-everywhere-opensource-src-4.8.5-QTBUG-14467.patch
120 Patch39:        qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch
121 Patch40:        qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch
122 Patch41:        qt-everywhere-opensource-src-4.8.7-alsa-1.1.patch
123 Patch42:        qt-everywhere-opensource-src-4.8.7-gcc6.patch
124 Patch43:        qt-everywhere-opensource-src-4.6.2-cups.patch
125 Patch44:        qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch
126 Patch45:        qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
127 Patch46:        qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch
128 Patch47:        qt-everywhere-opensource-src-4.8.2--assistant-crash.patch
129 Patch48:        qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch
130 Patch49:        icu59.patch
131 Patch50:        mysql-link.patch
132 Patch51:        gcc9.patch
133 Patch52:        gcc9-qforeach.patch
134 Patch53:        cxx11.patch
135 Patch54:        gcc11.patch
136 Patch55:        qmap_inf_loop.patch
137 URL:            http://qt-project.org/
138 %{?with_ibase:BuildRequires:    Firebird-devel}
139 %{?with_openvg:BuildRequires:   Mesa-libOpenVG-devel}
140 BuildRequires:  OpenGL-GLU-devel
141 BuildRequires:  OpenGL-devel
142 BuildRequires:  alsa-lib-devel
143 %{?with_cups:BuildRequires:     cups-devel}
144 BuildRequires:  dbus-devel >= 0.93
145 BuildRequires:  fontconfig-devel
146 BuildRequires:  freetds-devel
147 BuildRequires:  freetype-devel >= 2.1.3
148 %{?with_pch:BuildRequires:      gcc >= 5:4.0}
149 BuildRequires:  glib2-devel >= 2.0.0
150 %{!?with_system_phonon:BuildRequires:   gstreamer0.10-plugins-base-devel}
151 %{?with_gtk:BuildRequires:      gtk+2-devel >= 2:2.10}
152 # see dependency on libicu version below
153 BuildRequires:  libicu-devel >= %{icu_abi}
154 BuildRequires:  libicu-devel < %{next_icu_abi}
155 BuildRequires:  libjpeg-devel
156 BuildRequires:  libmng-devel >= 1.0.0
157 BuildRequires:  libpng-devel >= 2:1.0.8
158 BuildRequires:  libstdc++-devel
159 %{?with_mysql:BuildRequires:    mysql-devel}
160 %{?with_nas:BuildRequires:      nas-devel}
161 %{?with_oci:BuildRequires:      oracle-instantclient-devel}
162 BuildRequires:  pkgconfig
163 %{?with_pgsql:BuildRequires:    postgresql-backend-devel}
164 %{?with_pgsql:BuildRequires:    postgresql-devel}
165 BuildRequires:  pulseaudio-devel >= 0.9.10
166 BuildRequires:  rpmbuild(macros) >= 1.654
167 BuildRequires:  rsync
168 BuildRequires:  sed >= 4.0
169 %{?with_sqlite:BuildRequires:   sqlite-devel}
170 %{?with_sqlite3:BuildRequires:  sqlite3-devel}
171 %{?with_odbc:BuildRequires:     unixODBC-devel >= 2.3.0}
172 BuildRequires:  xorg-lib-libSM-devel
173 BuildRequires:  xorg-lib-libXcursor-devel
174 BuildRequires:  xorg-lib-libXext-devel
175 BuildRequires:  xorg-lib-libXfixes-devel
176 BuildRequires:  xorg-lib-libXi-devel
177 BuildRequires:  xorg-lib-libXinerama-devel
178 BuildRequires:  xorg-lib-libXrandr-devel
179 BuildRequires:  xorg-lib-libXrender-devel
180 BuildRequires:  xorg-lib-libXtst-devel
181 BuildRequires:  xorg-lib-libXv-devel
182 BuildRequires:  zlib-devel
183 Obsoletes:      qt-extensions < 2.2
184 Obsoletes:      qt-utils < 6:3.3.3
185 Conflicts:      kdelibs <= 8:3.2-0.030602.1
186 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
187
188 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
189 %define         _noautostrip    '.*_debug\\.so*'
190
191 %define         specflags       -fno-strict-aliasing -Wno-deprecated
192
193 %define         _qtdir          %{_libdir}/qt4
194
195 %description
196 Qt is a complete C++ application development framework, which includes
197 a class library and tools for multiplatform development and
198 internationalization. Using Qt, a single source code tree can build
199 applications that run natively on different platforms (Windows,
200 Unix/Linux, Mac OS X, embedded Linux).
201
202 Qt has a rich set of standard widgets, and lets you write custom
203 controls. It encapsulates four different platform-specific APIs, and
204 the APIs for file-handling, networking, process-handling, threading,
205 database access, etc. Qt now also has Motif migration oraz Netscape
206 LiveConnect plugin.
207
208 %description -l es.UTF-8
209 Contiene las bibliotecas compartidas necesarias para ejecutar
210 aplicaciones Qt, bien como los archivos README.
211
212 %description -l pl.UTF-8
213 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
214 języku C++, w którego skład wchodzi biblioteka z klasami oraz
215 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
216 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
217 różnych platformach (Windows, Unix/Linux, Mac OS X).
218
219 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
220 pozwala również na pisanie własnych elementów. Łączy w sposób
221 niewidoczny dla programisty interfejsy programowania różnych systemów,
222 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
223 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
224 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
225 wykorzystaniem Netscape LiveConnect.
226
227 %package -n Qt3Support
228 Summary:        Qt3 compatibility library
229 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3
230 Group:          X11/Libraries
231 Requires:       QtCore = %{version}-%{release}
232 Requires:       QtGui = %{version}-%{release}
233 Requires:       QtNetwork = %{version}-%{release}
234 Requires:       QtSql = %{version}-%{release}
235 Requires:       QtXml = %{version}-%{release}
236
237 %description -n Qt3Support
238 Qt3 compatibility library.
239
240 %description -n Qt3Support -l pl.UTF-8
241 Biblioteka kompatybilności z Qt3.
242
243 %package -n Qt3Support-devel
244 Summary:        Qt3 compatibility library - development files
245 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3 - pliki programistyczne
246 Group:          X11/Development/Libraries
247 Requires:       Qt3Support = %{version}-%{release}
248 Requires:       QtCore-devel = %{version}-%{release}
249 Requires:       QtGui-devel = %{version}-%{release}
250 Requires:       QtNetwork-devel = %{version}-%{release}
251 Requires:       QtSql-devel = %{version}-%{release}
252
253 %description -n Qt3Support-devel
254 Qt3 compatibility library - development files.
255
256 %description -n Qt3Support-devel -l pl.UTF-8
257 Biblioteka kompatybilności z Qt3 - pliki programistyczne.
258
259 %package -n Qt3Support-static
260 Summary:        Qt3 compatibility library - static libraries
261 Summary(pl.UTF-8):      Biblioteka kompatybilności z Qt3 - biblioteki statyczne
262 Group:          X11/Development/Libraries
263 Requires:       Qt3Support-devel = %{version}-%{release}
264
265 %description -n Qt3Support-static
266 Qt3 compatibility library - static libraries.
267
268 %description -n Qt3Support-static -l pl.UTF-8
269 Biblioteka kompatybilności z Qt3 - biblioteki statyczne.
270
271 %package -n QtCLucene
272 Summary:        QtCLucene full text search library wrapper
273 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego
274 Group:          X11/Libraries
275 Requires:       QtCore = %{version}-%{release}
276
277 %description -n QtCLucene
278 QtCLucene full text search library wrapper.
279
280 %description -n QtCLucene -l pl.UTF-8
281 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego.
282
283 %package -n QtCLucene-devel
284 Summary:        QtCLucene full text search library wrapper - development files
285 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki programistyczne
286 Group:          X11/Development/Libraries
287 Requires:       QtCLucene = %{version}-%{release}
288 Requires:       QtCore-devel = %{version}-%{release}
289
290 %description -n QtCLucene-devel
291 QtCLucene full text search library wrapper - development files.
292
293 %description -n QtCLucene-devel -l pl.UTF-8
294 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki
295 programistyczne.
296
297 %package -n QtCLucene-static
298 Summary:        QtCLucene full text search library wrapper - static library
299 Summary(pl.UTF-8):      Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - biblioteka statyczna
300 Group:          X11/Development/Libraries
301 Requires:       QtCLucene-devel = %{version}-%{release}
302
303 %description -n QtCLucene-static
304 QtCLucene full text search library wrapper - static library.
305
306 %description -n QtCLucene-static -l pl.UTF-8
307 Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego -
308 biblioteka statyczna.
309
310 %package -n QtCore
311 Summary:        Qt core classes used by other modules
312 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły
313 Group:          X11/Libraries
314 %requires_eq_to libicu libicu-devel
315 # be sure to depend on proper arch.
316 %ifarch %{x8664} ppc64 sparc64 s390x
317 Requires:       libicui18n.so.%{icu_abi}()(64bit)
318 %else
319 %ifarch x32
320 Requires:       libicui18n.so.%{icu_abi}()(x32bit)
321 %else
322 Requires:       libicui18n.so.%{icu_abi}
323 %endif
324 %endif
325 Obsoletes:      QtAssistant < 4.7
326
327 %description -n QtCore
328 Qt core classes used by other modules.
329
330 %description -n QtCore -l pl.UTF-8
331 Podstawowe klasy Qt używane przez inne moduły.
332
333 %package -n QtCore-devel
334 Summary:        Qt core classes used by other modules - development files
335 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły - pliki programistyczne
336 Group:          X11/Development/Libraries
337 Requires:       QtCore = %{version}-%{release}
338 Requires:       glib2-devel
339 Requires:       libstdc++-devel
340 Requires:       zlib-devel
341 Obsoletes:      QtAssistant-devel < 4.7
342
343 %description -n QtCore-devel
344 Qt core classes used by other modules - development files.
345
346 %description -n QtCore-devel -l pl.UTF-8
347 Podstawowe klasy Qt używane przez inne moduły - pliki programistyczne.
348
349 %package -n QtCore-static
350 Summary:        Qt core classes used by other modules - static libraries
351 Summary(pl.UTF-8):      Podstawowe klasy Qt używane przez inne moduły - biblioteki statyczne
352 Group:          X11/Development/Libraries
353 Requires:       QtCore-devel = %{version}-%{release}
354 Obsoletes:      QtAssistant-static < 4.7
355
356 %description -n QtCore-static
357 Qt core classes used by other modules - static libraries.
358
359 %description -n QtCore-static -l pl.UTF-8
360 Podstawowe klasy Qt używane przez inne moduły - biblioteki statyczne.
361
362 %package -n QtDBus
363 Summary:        Qt classes for D-BUS support
364 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS
365 Group:          X11/Libraries
366 Requires:       QtCore = %{version}-%{release}
367 Requires:       QtXml = %{version}-%{release}
368 # only for libqtscriptdbus plugin
369 Requires:       QtGui = %{version}-%{release}
370 Requires:       QtScript = %{version}-%{release}
371
372 %description -n QtDBus
373 This module provides Qt classes for D-BUS support. D-BUS is an
374 Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
375 mechanism originally developed for Linux to replace existing and
376 competing IPC solutions with one unified protocol.
377
378 %description -n QtDBus -l pl.UTF-8
379 Ten moduł udostępnia klasy Qt do obsługi D-BUS. D-BUS to mechanizm
380 komunikacji między procesowej (IPC - Inter-Process Communication) i
381 zdalnego wywoływania procedur (RPC - Remote Procedure Calling)
382 stworzony początkowo dla Linuksa, aby zastąpić istniejące i
383 konkurujące ze sobą rozwiązania IPC jednym, ujednoliconym protokołem.
384
385 %package -n QtDBus-devel
386 Summary:        Qt classes for D-BUS support - development files
387 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS - pliki programistyczne
388 Group:          X11/Development/Libraries
389 Requires:       QtDBus = %{version}-%{release}
390 Requires:       QtXml-devel = %{version}-%{release}
391
392 %description -n QtDBus-devel
393 Qt classes for D-BUS support - development files.
394
395 %description -n QtDBus-devel -l pl.UTF-8
396 Klasy Qt do obsługi D-BUS - pliki programistyczne.
397
398 %package -n QtDBus-static
399 Summary:        Qt classes for D-BUS support - static libraries
400 Summary(pl.UTF-8):      Klasy Qt do obsługi D-BUS - biblioteki statyczne
401 Group:          X11/Development/Libraries
402 Requires:       QtDBus-devel = %{version}-%{release}
403
404 %description -n QtDBus-static
405 Qt classes for D-BUS support - static libraries.
406
407 %description -n QtDBus-static -l pl.UTF-8
408 Klasy Qt do obsługi D-BUS - biblioteki statyczne.
409
410 %package -n QtDeclarative
411 Summary:        QtDeclarative - QML language engine library
412 Summary(pl.UTF-8):      QtDeclarative - biblioteka języka QML
413 Group:          X11/Libraries
414 Requires:       QtCore = %{version}-%{release}
415 Requires:       QtGui = %{version}-%{release}
416 Requires:       QtNetwork = %{version}-%{release}
417 Requires:       QtOpenGL = %{version}-%{release}
418 Requires:       QtScript = %{version}-%{release}
419 Requires:       QtSql = %{version}-%{release}
420 Requires:       QtSvg = %{version}-%{release}
421 Requires:       QtXmlPatterns = %{version}-%{release}
422 # for qmlwebkitplugin plugin
423 Requires:       QtWebKit = %{version}-%{release}
424
425 %description -n QtDeclarative
426 QtDeclarative is the QML language engine library. QML is a declarative
427 language oriented on JavaScript.
428
429 %description -n QtDeclarative -l pl.UTF-8
430 QtDeclarative to biblioteka języka QML. QML jest deklaratywnym
431 językiem zorientowanym na JavaScript.
432
433 %package -n QtDeclarative-devel
434 Summary:        Development files for QtDeclarative - QML language engine library
435 Summary(pl.UTF-8):      Pliki programistyczne QtDeclarative - biblioteki języka QML
436 Group:          X11/Development/Libraries
437 Requires:       QtDeclarative = %{version}-%{release}
438 Requires:       QtGui-devel = %{version}-%{release}
439 Requires:       QtNetwork-devel = %{version}-%{release}
440 Requires:       QtScript-devel = %{version}-%{release}
441
442 %description -n QtDeclarative-devel
443 Development files for QtDeclarative - QML language engine library.
444
445 %description -n QtDeclarative-devel -l pl.UTF-8
446 Pliki programistyczne QtDeclarative - biblioteki języka QML.
447
448 %package -n QtDeclarative-static
449 Summary:        Static version of QtDeclarative - QML language engine library
450 Summary(pl.UTF-8):      Statycza wersja QtDeclarative - biblioteki języka QML
451 Group:          X11/Development/Libraries
452 Requires:       QtDeclarative-devel = %{version}-%{release}
453
454 %description -n QtDeclarative-static
455 Static version of QtDeclarative - QML language engine library.
456
457 %description -n QtDeclarative-static -l pl.UTF-8
458 Statycza wersja QtDeclarative - biblioteki języka QML.
459
460 %package -n QtDesigner
461 Summary:        Classes for extending Qt Designer
462 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera
463 Group:          X11/Libraries
464 Requires:       QtGui = %{version}-%{release}
465 Requires:       QtNetwork = %{version}-%{release}
466 Requires:       QtScript = %{version}-%{release}
467 Requires:       QtXml = %{version}-%{release}
468 # for plugins
469 Requires:       Qt3Support = %{version}-%{release}
470 Requires:       QtDBus = %{version}-%{release}
471 Requires:       QtDeclarative = %{version}-%{release}
472 Requires:       QtOpenGL = %{version}-%{release}
473 Requires:       QtSql = %{version}-%{release}
474 Requires:       QtSvg = %{version}-%{release}
475 Requires:       QtWebKit = %{version}-%{release}
476 Requires:       QtXmlPatterns = %{version}-%{release}
477 Obsoletes:      qt4-designer-libs < 4.1.1-1
478
479 %description -n QtDesigner
480 This module provides classes that allow you to create your own custom
481 widget plugins for Qt Designer, and classes that enable you to access
482 Qt Designer's components.
483
484 %description -n QtDesigner -l pl.UTF-8
485 Ten moduł dostarcza klasy, które pozwalają tworzyć własne wtyczki dla
486 Qt Designera oraz klasy, które umożliwiają dostęp do jego komponentów.
487
488 %package -n QtDesigner-devel
489 Summary:        Classes for extending Qt Designer - development files
490 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera - pliki programistyczne
491 Group:          X11/Development/Libraries
492 Requires:       QtDesigner = %{version}-%{release}
493 Requires:       QtGui-devel = %{version}-%{release}
494 Requires:       QtScript-devel = %{version}-%{release}
495 Requires:       QtXml-devel = %{version}-%{release}
496
497 %description -n QtDesigner-devel
498 Classes for extending Qt Designer - development files.
499
500 %description -n QtDesigner-devel -l pl.UTF-8
501 Klasy do rozbudowy Qt Designera - pliki programistyczne.
502
503 %package -n QtDesigner-static
504 Summary:        Classes for extending Qt Designer - static libraries
505 Summary(pl.UTF-8):      Klasy do rozbudowy Qt Designera - biblioteki statyczne
506 Group:          X11/Development/Libraries
507 Requires:       QtDesigner-devel = %{version}-%{release}
508
509 %description -n QtDesigner-static
510 Classes for extending Qt Designer - static libraries.
511
512 %description -n QtDesigner-static -l pl.UTF-8
513 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
514
515 %package -n QtGui
516 Summary:        Qt Graphical User Interface components
517 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt
518 Group:          X11/Libraries
519 Requires:       QtCore = %{version}-%{release}
520 # for qtracegraphicssystem plugin
521 Requires:       QtNetwork = %{version}-%{release}
522
523 %description -n QtGui
524 Qt Graphical User Interface components.
525
526 %description -n QtGui -l pl.UTF-8
527 Komponenty graficznego interfejsu użytkownika Qt.
528
529 %package -n QtGui-devel
530 Summary:        Qt Graphical User Interface components - development files
531 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt - pliki programistyczne
532 Group:          X11/Development/Libraries
533 Requires:       QtCore-devel = %{version}-%{release}
534 Requires:       QtGui = %{version}-%{release}
535 Requires:       fontconfig-devel
536 Requires:       freetype-devel >= 2.1.3
537 Requires:       libpng-devel >= 2:1.0.8
538 Requires:       xorg-lib-libSM-devel
539 Requires:       xorg-lib-libXcursor-devel
540 Requires:       xorg-lib-libXext-devel
541 Requires:       xorg-lib-libXfixes-devel
542 Requires:       xorg-lib-libXi-devel
543 Requires:       xorg-lib-libXinerama-devel
544 Requires:       xorg-lib-libXrandr-devel
545 Requires:       xorg-lib-libXrender-devel
546
547 %description -n QtGui-devel
548 Qt Graphical User Interface components - development files.
549
550 %description -n QtGui-devel -l pl.UTF-8
551 Komponenty graficznego interfejsu użytkownika Qt - pliki
552 programistyczne.
553
554 %package -n QtGui-static
555 Summary:        Qt Graphical User Interface components - static libraries
556 Summary(pl.UTF-8):      Komponenty graficznego interfejsu użytkownika Qt - biblioteki statyczne
557 Group:          X11/Development/Libraries
558 Requires:       QtGui-devel = %{version}-%{release}
559
560 %description -n QtGui-static
561 Qt Graphical User Interface components - static libraries.
562
563 %description -n QtGui-static -l pl.UTF-8
564 Komponenty graficznego interfejsu użytkownika Qt - biblioteki
565 statyczne.
566
567 %package -n QtHelp
568 Summary:        Qt classes for integrating online documentation in applications
569 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach
570 Group:          X11/Libraries
571 Requires:       QtCLucene = %{version}-%{release}
572 Requires:       QtGui = %{version}-%{release}
573 Requires:       QtNetwork = %{version}-%{release}
574 Requires:       QtSql = %{version}-%{release}
575 Requires:       QtXml = %{version}-%{release}
576
577 %description -n QtHelp
578 QtHelp module includes tools for generating and viewing Qt help files.
579 In addition it provides classes for accessing help contents
580 programatically to be able to integrate online help into Qt
581 applications.
582
583 %description -n QtHelp -l pl.UTF-8
584 Moduł QtHelp zawiera narzędzia do generowania i przeglądania plików
585 pomocy Qt. Oprócz tego udostępnia klasy pozwalające na programowy
586 dostęp do zawartości dokumentacji w celu integracji pomocy w
587 aplikacjach Qt.
588
589 %package -n QtHelp-devel
590 Summary:        Qt classes for integrating online documentation in applications - development files
591 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach - pliki programistyczne
592 Group:          X11/Development/Libraries
593 Requires:       QtCLucene-devel = %{version}-%{release}
594 Requires:       QtGui-devel = %{version}-%{release}
595 Requires:       QtHelp = %{version}-%{release}
596 Requires:       QtSql-devel = %{version}-%{release}
597 Requires:       QtXml-devel = %{version}-%{release}
598
599 %description -n QtHelp-devel
600 Qt classes for integrating online documentation in applications -
601 development files.
602
603 %description -n QtHelp-devel -l pl.UTF-8
604 Klasy Qt do integracji dokumentacji w aplikacjach - pliki
605 programistyczne.
606
607 %package -n QtHelp-static
608 Summary:        Qt classes for integrating online documentation in applications - static library
609 Summary(pl.UTF-8):      Klasy Qt do integracji dokumentacji w aplikacjach - biblioteka statyczna
610 Group:          X11/Development/Libraries
611 Requires:       QtHelp-devel = %{version}-%{release}
612
613 %description -n QtHelp-static
614 Qt classes for integrating online documentation in applications -
615 static library.
616
617 %description -n QtHelp-static -l pl.UTF-8
618 Klasy Qt do integracji dokumentacji w aplikacjach - biblioteka
619 statyczna.
620
621 %package -n QtMultimedia
622 Summary:        Qt classes for multimedia programming
623 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów
624 Group:          X11/Libraries
625 Requires:       QtCore = %{version}-%{release}
626 Requires:       QtGui = %{version}-%{release}
627
628 %description -n QtMultimedia
629 Qt classes for multimedia programming.
630
631 %description -n QtMultimedia -l pl.UTF-8
632 Klasy Qt do programowania multimediów.
633
634 %package -n QtMultimedia-devel
635 Summary:        Qt classes for multimedia programming - development files
636 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów - pliki programistyczne
637 Group:          X11/Development/Libraries
638 Requires:       QtCore-devel = %{version}-%{release}
639 Requires:       QtMultimedia = %{version}-%{release}
640
641 %description -n QtMultimedia-devel
642 Qt classes for multimedia programming - development files.
643
644 %description -n QtMultimedia-devel -l pl.UTF-8
645 Klasy Qt do programowania multimediów - pliki programistyczne.
646
647 %package -n QtMultimedia-static
648 Summary:        Qt classes for multimedia programming - static libraries
649 Summary(pl.UTF-8):      Klasy Qt do programowania multimediów - biblioteki statyczne
650 Group:          X11/Development/Libraries
651 Requires:       QtMultimedia-devel = %{version}-%{release}
652
653 %description -n QtMultimedia-static
654 Qt classes for multimedia programming - static libraries.
655
656 %description -n QtMultimedia-static -l pl.UTF-8
657 Klasy Qt do programowania multimediów - biblioteki statyczne.
658
659 %package -n QtNetwork
660 Summary:        Qt classes for network programming
661 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego
662 Group:          X11/Libraries
663 Requires:       QtCore = %{version}-%{release}
664 # the rest for qnmbearer plugin
665 Requires:       QtDBus = %{version}-%{release}
666 Requires:       QtXml = %{version}-%{release}
667 %requires_ge_to openssl openssl-devel
668
669 %description -n QtNetwork
670 Qt classes for network programming.
671
672 %description -n QtNetwork -l pl.UTF-8
673 Klasy Qt do programowania sieciowego.
674
675 %package -n QtNetwork-devel
676 Summary:        Qt classes for network programming - development files
677 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego - pliki programistyczne
678 Group:          X11/Development/Libraries
679 Requires:       QtCore-devel = %{version}-%{release}
680 Requires:       QtNetwork = %{version}-%{release}
681
682 %description -n QtNetwork-devel
683 Qt classes for network programming - development files.
684
685 %description -n QtNetwork-devel -l pl.UTF-8
686 Klasy Qt do programowania sieciowego - pliki programistyczne.
687
688 %package -n QtNetwork-static
689 Summary:        Qt classes for network programming - static libraries
690 Summary(pl.UTF-8):      Klasy Qt do programowania sieciowego - biblioteki statyczne
691 Group:          X11/Development/Libraries
692 Requires:       QtNetwork-devel = %{version}-%{release}
693
694 %description -n QtNetwork-static
695 Qt classes for network programming - static libraries.
696
697 %description -n QtNetwork-static -l pl.UTF-8
698 Klasy Qt do programowania sieciowego - biblioteki statyczne.
699
700 %package -n QtOpenGL
701 Summary:        Qt OpenGL support classes
702 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL
703 Group:          X11/Libraries
704 Requires:       QtCore = %{version}-%{release}
705 Requires:       QtGui = %{version}-%{release}
706
707 %description -n QtOpenGL
708 Qt OpenGL support classes.
709
710 %description -n QtOpenGL -l pl.UTF-8
711 Klasy Qt wspomagające OpenGL.
712
713 %package -n QtOpenGL-devel
714 Summary:        Qt OpenGL support classes - development files
715 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL - pliki programistyczne
716 Group:          X11/Development/Libraries
717 Requires:       OpenGL-GLU-devel
718 Requires:       QtCore-devel = %{version}-%{release}
719 Requires:       QtGui-devel = %{version}-%{release}
720 Requires:       QtOpenGL = %{version}-%{release}
721
722 %description -n QtOpenGL-devel
723 Qt OpenGL support classes - development files.
724
725 %description -n QtOpenGL-devel -l pl.UTF-8
726 Klasy Qt wspomagające OpenGL - pliki programistyczne.
727
728 %package -n QtOpenGL-static
729 Summary:        Qt OpenGL support classes - static libraries
730 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenGL - biblioteki statyczne
731 Group:          X11/Development/Libraries
732 Requires:       QtOpenGL-devel = %{version}-%{release}
733
734 %description -n QtOpenGL-static
735 Qt OpenGL support classes - static libraries.
736
737 %description -n QtOpenGL-static -l pl.UTF-8
738 Klasy Qt wspomagające OpenGL - biblioteki statyczne.
739
740 %package -n QtOpenVG
741 Summary:        Qt OpenVG support classes
742 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG
743 Group:          X11/Libraries
744 Requires:       QtCore = %{version}-%{release}
745 Requires:       QtGui = %{version}-%{release}
746
747 %description -n QtOpenVG
748 Qt OpenVG support classes.
749
750 %description -n QtOpenVG -l pl.UTF-8
751 Klasy Qt wspomagające OpenVG.
752
753 %package -n QtOpenVG-devel
754 Summary:        Qt OpenVG support classes - development files
755 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG - pliki programistyczne
756 Group:          X11/Development/Libraries
757 Requires:       Mesa-libOpenVG-devel
758 Requires:       QtCore-devel = %{version}-%{release}
759 Requires:       QtGui-devel = %{version}-%{release}
760
761 %description -n QtOpenVG-devel
762 Qt OpenVG support classes - development files.
763
764 %description -n QtOpenVG-devel -l pl.UTF-8
765 Klasy Qt wspomagające OpenVG - pliki programistyczne.
766
767 %package -n QtOpenVG-static
768 Summary:        Qt OpenVG support classes - static libraries
769 Summary(pl.UTF-8):      Klasy Qt wspomagające OpenVG - biblioteki statyczne
770 Group:          X11/Development/Libraries
771 Requires:       QtOpenVG-devel = %{version}-%{release}
772
773 %description -n QtOpenVG-static
774 Qt OpenVG support classes - static libraries.
775
776 %description -n QtOpenVG-static -l pl.UTF-8
777 Klasy Qt wspomagające OpenVG - biblioteki statyczne.
778
779 %package -n QtScript
780 Summary:        Qt classes for scripting applications
781 Summary(pl.UTF-8):      Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach
782 Group:          X11/Development/Libraries
783 Requires:       QtCore = %{version}-%{release}
784
785 %description -n QtScript
786 The QtScript module provides Qt classes to handle scripts inside
787 applications.
788
789 %description -n QtScript -l pl.UTF-8
790 Ten moduł dostarcza klasy Qt obsługujące języki skryptowe wewnątrz
791 aplikacji.
792
793 %package -n QtScript-devel
794 Summary:        Qt classes for scripting applications - development files
795 Summary(pl.UTF-8):      Klasy Qt do obsługi skryptów wewnątrz aplikacji - pliki programistyczne
796 Group:          X11/Development/Libraries
797 Requires:       QtCore-devel = %{version}-%{release}
798 Requires:       QtScript = %{version}-%{release}
799
800 %description -n QtScript-devel
801 Qt classes for scriptin applications - development files.
802
803 %description -n QtScript-devel -l pl.UTF-8
804 Klasy Qt do obsługi skryptów wewnątrz aplikacji - pliki
805 programistyczne.
806
807 %package -n QtScript-static
808 Summary:        Qt classes for scripting applications - static library
809 Summary(pl.UTF-8):      Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach - biblioteka statyczna
810 Group:          X11/Development/Libraries
811 Requires:       QtScript-devel = %{version}-%{release}
812
813 %description -n QtScript-static
814 Qt classes for scripting applications - static library.
815
816 %description -n QtScript-static -l pl.UTF-8
817 Klasy Qt pozwalające dodać obsługę skryptów w aplikacjach - biblioteka
818 statyczna.
819
820 %package -n QtScriptTools
821 Summary:        QtScriptTools - additional components for applications that use QtScript
822 Summary(pl.UTF-8):      QtScriptTools - dodatkowe komponenty dla aplikacji wykorzystujących QtScript
823 Group:          X11/Development/Libraries
824 Requires:       QtCore = %{version}-%{release}
825 Requires:       QtGui = %{version}-%{release}
826 Requires:       QtScript = %{version}-%{release}
827
828 %description -n QtScriptTools
829 The QtScriptTools module provides additional components for
830 applications that use QtScript.
831
832 %description -n QtScriptTools -l pl.UTF-8
833 Moduł QtScriptTools dostarcza dodatkowe komponenty dla aplikacji
834 wykorzystujących QtScript.
835
836 %package -n QtScriptTools-devel
837 Summary:        Development files for QtScriptTools components
838 Summary(pl.UTF-8):      Pliki programistyczne komponentów QtScriptTools
839 Group:          X11/Development/Libraries
840 Requires:       QtCore-devel = %{version}-%{release}
841 Requires:       QtGui-devel = %{version}-%{release}
842 Requires:       QtScript-devel = %{version}-%{release}
843 Requires:       QtScriptTools = %{version}-%{release}
844
845 %description -n QtScriptTools-devel
846 Development files for QtScriptTools components.
847
848 %description -n QtScriptTools-devel -l pl.UTF-8
849 Pliki programistyczne komponentów QtScriptTools.
850
851 %package -n QtScriptTools-static
852 Summary:        QtScriptTools components - static library
853 Summary(pl.UTF-8):      Komponenty QtScriptTools - biblioteka statyczna
854 Group:          X11/Development/Libraries
855 Requires:       QtScriptTools-devel = %{version}-%{release}
856
857 %description -n QtScriptTools-static
858 Static version of QtScriptTools library, providing additional
859 components for applications that use QtScript.
860
861 %description -n QtScriptTools-static -l pl.UTF-8
862 Statyczna biblioteka QtScriptTools, dostarczająca dodatkowe komponenty
863 dla aplikacji wykorzystujących QtScript.
864
865 %package -n QtSql
866 Summary:        Qt classes for database integration using SQL
867 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL
868 Group:          X11/Libraries
869 Requires:       QtCore = %{version}-%{release}
870
871 %description -n QtSql
872 Qt classes for database integration using SQL.
873
874 %description -n QtSql -l pl.UTF-8
875 Klasy Qt do integracji z bazami danych przy użyciu SQL.
876
877 %package -n QtSql-devel
878 Summary:        Qt classes for database integration using SQL - development files
879 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL - pliki programistyczne
880 Group:          X11/Development/Libraries
881 Requires:       QtCore-devel = %{version}-%{release}
882 Requires:       QtSql = %{version}-%{release}
883
884 %description -n QtSql-devel
885 Qt classes for database integration using SQL - development files.
886
887 %description -n QtSql-devel -l pl.UTF-8
888 Klasy Qt do integracji z bazami danych przy użyciu SQL - pliki
889 programistyczne.
890
891 %package -n QtSql-static
892 Summary:        Qt classes for database integration using SQL - static libraries
893 Summary(pl.UTF-8):      Klasy Qt do integracji z bazami danych przy użyciu SQL - biblioteki statyczne
894 Group:          X11/Development/Libraries
895 Requires:       QtSql-devel = %{version}-%{release}
896
897 %description -n QtSql-static
898 Qt classes for database integration using SQL - static libraries.
899
900 %description -n QtSql-static -l pl.UTF-8
901 Klasy Qt do integracji z bazami danych przy użyciu SQL - biblioteki
902 statyczne. programistyczne.
903
904 %package -n QtSql-ibase
905 Summary:        Database plugin for InterBase/Firebird Qt support
906 Summary(pl.UTF-8):      Wtyczka InterBase/Firebird do Qt
907 Summary(pt_BR.UTF-8):   Plugin de suporte a InterBase/Firebird para Qt
908 Group:          X11/Libraries
909 Requires:       QtSql = %{version}-%{release}
910 Provides:       QtSql-backend = %{version}-%{release}
911
912 %description -n QtSql-ibase
913 This package contains a plugin for accessing Interbase/Firebird
914 database via the QSql classes.
915
916 %description -n QtSql-ibase -l pl.UTF-8
917 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
918 danych Interbase/Firebird poprzez klasy QSql.
919
920 %description -n QtSql-ibase -l pt_BR.UTF-8
921 Plugin de suporte a InterBase/Firebird para Qt.
922
923 %package -n QtSql-mysql
924 Summary:        Database plugin for MySQL Qt support
925 Summary(pl.UTF-8):      Wtyczka MySQL do Qt
926 Summary(pt_BR.UTF-8):   Plugin de suporte a MySQL para Qt
927 Group:          X11/Libraries
928 Requires:       QtSql = %{version}-%{release}
929 Provides:       QtSql-backend = %{version}-%{release}
930
931 %description -n QtSql-mysql
932 This package contains a plugin for accessing MySQL database via the
933 QSql classes.
934
935 %description -n QtSql-mysql -l pl.UTF-8
936 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
937 danych MySQL poprzez klasy QSql.
938
939 %description -n QtSql-mysql -l pt_BR.UTF-8
940 Plugin de suporte a MySQL para Qt.
941
942 %package -n QtSql-oci
943 Summary:        Qt Sql driver for Oracle database (using OCI interface)
944 Summary(pl.UTF-8):      Sterownik Qt Sql dla bazy danych Oracle (wykorzystujący interfejs OCI)
945 Group:          Libraries
946 Requires:       QtSql = %{version}-%{release}
947 Provides:       QtSql-backend = %{version}-%{release}
948
949 %description -n QtSql-oci
950 Qt Sql driver for Oracle database (using OCI interface).
951
952 %description -n QtSql-oci -l pl.UTF-8
953 Sterownik Qt Sql dla bazy danych Oracle (wykorzystujący interfejs
954 OCI).
955
956 %package -n QtSql-odbc
957 Summary:        Database plugin for ODBC Qt support
958 Summary(pl.UTF-8):      Wtyczka ODBC do Qt
959 Summary(pt_BR.UTF-8):   Plugin de suporte a ODBC para Qt
960 Group:          X11/Libraries
961 Requires:       QtSql = %{version}-%{release}
962 Provides:       QtSql-backend = %{version}-%{release}
963
964 %description -n QtSql-odbc
965 This package contains a plugin for accessing unixODBC services via the
966 QSql classes.
967
968 %description -n QtSql-odbc -l pl.UTF-8
969 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z usług
970 unixODBC poprzez klasy QSql.
971
972 %description -n QtSql-odbc -l pt_BR.UTF-8
973 Plugin de suporte a ODBC para Qt.
974
975 %package -n QtSql-pgsql
976 Summary:        Database plugin for PostgreSQL Qt support
977 Summary(pl.UTF-8):      Wtyczka PostgreSQL do Qt
978 Summary(pt_BR.UTF-8):   Plugin de suporte a PostgreSQL para Qt
979 Group:          X11/Libraries
980 Requires:       QtSql = %{version}-%{release}
981 Provides:       QtSql-backend = %{version}-%{release}
982
983 %description -n QtSql-pgsql
984 This package contains a plugin for accessing PostgreSQL database via
985 the QSql classes.
986
987 %description -n QtSql-pgsql -l pl.UTF-8
988 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
989 danych PostgreSQL poprzez klasy QSql.
990
991 %description -n QtSql-pgsql -l es.UTF-8
992 Plugin de suporte a PostgreSQL para Qt.
993
994 %package -n QtSql-sqlite
995 Summary:        Database plugin for SQLite 2.x Qt support
996 Summary(pl.UTF-8):      Wtyczka SQLite 2.x do Qt
997 Summary(pt_BR.UTF-8):   Plugin de suporte a SQLite 2.x para Qt
998 Group:          X11/Libraries
999 Requires:       QtSql = %{version}-%{release}
1000 Provides:       QtSql-backend = %{version}-%{release}
1001
1002 %description -n QtSql-sqlite
1003 This package contains a plugin for using the SQLite 2.x library (which
1004 allows to acces virtually any SQL database) via the QSql classes.
1005
1006 %description -n QtSql-sqlite -l pl.UTF-8
1007 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
1008 danych SQLite 2.x poprzez klasy QSql.
1009
1010 %description -n QtSql-sqlite -l pt_BR.UTF-8
1011 Plugin de suporte a SQLite 2.x para Qt.
1012
1013 %package -n QtSql-sqlite3
1014 Summary:        Database plugin for SQLite3 Qt support
1015 Summary(pl.UTF-8):      Wtyczka SQLite3 do Qt
1016 Summary(pt_BR.UTF-8):   Plugin de suporte a SQLite3 para Qt
1017 Group:          X11/Libraries
1018 Requires:       QtSql = %{version}-%{release}
1019 Provides:       QtSql-backend = %{version}-%{release}
1020
1021 %description -n QtSql-sqlite3
1022 This package contains a plugin for using the SQLite3 library (which
1023 allows to acces virtually any SQL database) via the QSql classes.
1024
1025 %description -n QtSql-sqlite3 -l pl.UTF-8
1026 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
1027 danych SQLite3 poprzez klasy QSql.
1028
1029 %description -n QtSql-sqlite3 -l pt_BR.UTF-8
1030 Plugin de suporte a SQLite3 para Qt.
1031
1032 %package -n QtSql-tds
1033 Summary:        Database plugin for TDS Qt support
1034 Summary(pl.UTF-8):      Wtyczka TDS do Qt
1035 Summary(pt_BR.UTF-8):   Plugin de suporte a TDS para Qt
1036 Group:          X11/Libraries
1037 Requires:       QtSql = %{version}-%{release}
1038 Provides:       QtSql-backend = %{version}-%{release}
1039
1040 %description -n QtSql-tds
1041 This package contains a plugin for accessing TDS database via the QSql
1042 classes.
1043
1044 %description -n QtSql-tds -l pl.UTF-8
1045 Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz
1046 danych TDS poprzez klasy QSql.
1047
1048 %description -n QtSql-tds -l pt_BR.UTF-8
1049 Plugin de suporte a TDS para Qt.
1050
1051 %package -n QtSvg
1052 Summary:        Qt SVG support
1053 Summary(pl.UTF-8):      Wsparcie Qt dla SVG
1054 Group:          X11/Libraries
1055 Requires:       QtCore = %{version}-%{release}
1056 Requires:       QtGui = %{version}-%{release}
1057 # for svg plugins
1058 Requires:       QtXml = %{version}-%{release}
1059
1060 %description -n QtSvg
1061 Qt SVG support.
1062
1063 %description -n QtSvg -l pl.UTF-8
1064 Wsparcie Qt dla SVG.
1065
1066 %package -n QtSvg-devel
1067 Summary:        Qt SVG support - development files
1068 Summary(pl.UTF-8):      Wsparcie Qt dla SVG - pliki programistyczne
1069 Group:          X11/Development/Libraries
1070 Requires:       QtGui-devel = %{version}-%{release}
1071 Requires:       QtSvg = %{version}-%{release}
1072
1073 %description -n QtSvg-devel
1074 Qt SVG support - development files.
1075
1076 %description -n QtSvg-devel -l pl.UTF-8
1077 Wsparcie Qt dla SVG - pliki programistyczne.
1078
1079 %package -n QtSvg-static
1080 Summary:        Qt SVG support - static libraries
1081 Summary(pl.UTF-8):      Wsparcie Qt dla SVG - biblioteki statyczne
1082 Group:          X11/Development/Libraries
1083 Requires:       QtSvg-devel = %{version}-%{release}
1084
1085 %description -n QtSvg-static
1086 Qt SVG support - static libraries.
1087
1088 %description -n QtSvg-static -l pl.UTF-8
1089 Wsparcie Qt dla SVG - biblioteki statyczne.
1090
1091 %package -n QtTest
1092 Summary:        Qt test framework
1093 Summary(pl.UTF-8):      Szkielet testów Qt
1094 Group:          X11/Libraries
1095 Requires:       QtCore = %{version}-%{release}
1096
1097 %description -n QtTest
1098 Qt test framework.
1099
1100 %description -n QtTest -l pl.UTF-8
1101 Szkielet testów Qt.
1102
1103 %package -n QtTest-devel
1104 Summary:        Qt test framework - development files
1105 Summary(pl.UTF-8):      Szkielet testów Qt - pliki programistyczne
1106 Group:          X11/Development/Libraries
1107 Requires:       QtCore-devel = %{version}-%{release}
1108 Requires:       QtTest = %{version}-%{release}
1109
1110 %description -n QtTest-devel
1111 Qt test framework - development files.
1112
1113 %description -n QtTest-devel -l pl.UTF-8
1114 Szkielet testów Qt - pliki programistyczne.
1115
1116 %package -n QtTest-static
1117 Summary:        Qt test framework - static libraries
1118 Summary(pl.UTF-8):      Szkielet testów Qt - biblioteki statyczne
1119 Group:          X11/Development/Libraries
1120 Requires:       QtTest-devel = %{version}-%{release}
1121
1122 %description -n QtTest-static
1123 Qt test framework - static libraries.
1124
1125 %description -n QtTest-static -l pl.UTF-8
1126 Szkielet testów Qt - biblioteki statyczne.
1127
1128 %package -n QtUiTools
1129 Summary:        Classes for handling Qt Designer forms in applications
1130 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach
1131 Group:          X11/Libraries
1132 Requires:       QtGui = %{version}-%{release}
1133 Requires:       QtXml = %{version}-%{release}
1134
1135 %description -n QtUiTools
1136 The QtUiTools module provides classes to handle forms created with Qt
1137 Designer.
1138
1139 %description -n QtUiTools -l pl.UTF-8
1140 Moduł QtUiTools udostępnia klasy do obsługi formularzy tworzonych przy
1141 użyciu Qt Designera.
1142
1143 %package -n QtUiTools-devel
1144 Summary:        Classes for handling Qt Designer forms in applications - development files
1145 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki programistyczne
1146 Group:          X11/Development/Libraries
1147 Requires:       QtGui-devel = %{version}-%{release}
1148 Requires:       QtUiTools = %{version}-%{release}
1149 Requires:       QtXml-devel = %{version}-%{release}
1150
1151 %description -n QtUiTools-devel
1152 Classes for handling Qt Designer forms in applications - development
1153 files.
1154
1155 %description -n QtUiTools-devel -l pl.UTF-8
1156 Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki
1157 programistyczne.
1158
1159 %package -n QtUiTools-static
1160 Summary:        Classes for handling Qt Designer forms in applications - static library
1161 Summary(pl.UTF-8):      Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka statyczna
1162 Group:          X11/Development/Libraries
1163 Requires:       QtUiTools-devel = %{version}-%{release}
1164
1165 %description -n QtUiTools-static
1166 Classes for handling Qt Designer forms in applications - static
1167 library.
1168
1169 %description -n QtUiTools-static -l pl.UTF-8
1170 Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka
1171 statyczna.
1172
1173 %package -n QtWebKit
1174 Summary:        Qt classes for rendering HTML, XHTML and SVG documents
1175 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG
1176 Group:          X11/Libraries
1177 Requires:       QtDBus = %{version}-%{release}
1178 Requires:       QtGui = %{version}-%{release}
1179 Requires:       QtNetwork = %{version}-%{release}
1180 Requires:       QtXml = %{version}-%{release}
1181
1182 %description -n QtWebKit
1183 QtWebKit provides a Web browser engine that makes it easy to embed
1184 content from the World Wide Web into your Qt application. At the same
1185 time Web content can be enhanced with native controls. QtWebKit
1186 provides facilities for rendering of HyperText Markup Language (HTML),
1187 Extensible HyperText Markup Language (XHTML) and Scalable Vector
1188 Graphics (SVG) documents, styled using Cascading Style Sheets (CSS)
1189 and scripted with JavaScript.
1190
1191 %description -n QtWebKit -l pl.UTF-8
1192 QtWebKit udostępnia silnik przeglądarki WWW ułatwiający osadzanie
1193 treści ze stron WWW w aplikacjach Qt. Jednocześnie treść WWW może być
1194 rozszerzana o natywne kontrolki. QtWebKit zapewnia renderowanie
1195 dokumentów w językach HTML (HyperText Markup Language), XHTML
1196 (Extensible HyperText Markup Language) i SVG (Scalable Vector
1197 Graphics) z obsługą styli CSS (Cascading Style Sheets) i skryptów w
1198 języku JavaScript.
1199
1200 %package -n QtWebKit-devel
1201 Summary:        Qt classes for rendering HTML, XHTML and SVG documents - development files
1202 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - pliki programistyczne
1203 Group:          X11/Development/Libraries
1204 Requires:       QtGui-devel = %{version}-%{release}
1205 Requires:       QtNetwork-devel = %{version}-%{release}
1206 Requires:       QtScript-devel = %{version}-%{release}
1207 Requires:       QtWebKit = %{version}-%{release}
1208 %if %{with system_phonon}
1209 Requires:       phonon-devel
1210 %else
1211 Requires:       qt4-phonon-devel = %{version}-%{release}
1212 %endif
1213
1214 %description -n QtWebKit-devel
1215 Qt classes for rendering HTML, XHTML and SVG documents - development
1216 files.
1217
1218 %description -n QtWebKit-devel -l pl.UTF-8
1219 Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - pliki
1220 programistyczne.
1221
1222 %package -n QtWebKit-static
1223 Summary:        Qt classes for rendering HTML, XHTML and SVG documents - static library
1224 Summary(pl.UTF-8):      Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - biblioteka statyczna
1225 Group:          X11/Development/Libraries
1226 Requires:       QtWebKit-devel = %{version}-%{release}
1227
1228 %description -n QtWebKit-static
1229 Qt classes for rendering HTML, XHTML and SVG documents - static
1230 library.
1231
1232 %description -n QtWebKit-static -l pl.UTF-8
1233 Klasy Qt do renderowania dokumentów HTML, XHTML i SVG - biblioteka
1234 statyczna.
1235
1236 %package -n QtXml
1237 Summary:        Qt classes for handling XML
1238 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a
1239 Group:          X11/Libraries
1240 Requires:       QtCore = %{version}-%{release}
1241
1242 %description -n QtXml
1243 Qt classes for handling XML.
1244
1245 %description -n QtXml -l pl.UTF-8
1246 Klasy Qt do obsługi XML-a.
1247
1248 %package -n QtXml-devel
1249 Summary:        Qt classes for handling XML - development files
1250 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a - pliki programistyczne
1251 Group:          X11/Development/Libraries
1252 Requires:       QtCore-devel = %{version}-%{release}
1253 Requires:       QtXml = %{version}-%{release}
1254
1255 %description -n QtXml-devel
1256 Qt classes for handling XML - development files.
1257
1258 %description -n QtXml-devel -l pl.UTF-8
1259 Klasy Qt do obsługi XML-a - pliki programistyczne.
1260
1261 %package -n QtXml-static
1262 Summary:        Qt classes for handling XML - static libraries
1263 Summary(pl.UTF-8):      Klasy Qt do obsługi XML-a - biblioteki statyczne
1264 Group:          X11/Development/Libraries
1265 Requires:       QtXml-devel = %{version}-%{release}
1266
1267 %description -n QtXml-static
1268 Qt classes for handling XML - static libraries.
1269
1270 %description -n QtXml-static -l pl.UTF-8
1271 Klasy Qt do obsługi XML-a - biblioteki statyczne.
1272
1273 %package -n QtXmlPatterns
1274 Summary:        QtXmlPatterns XQuery engine
1275 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns
1276 Group:          X11/Libraries
1277 Requires:       QtCore = %{version}-%{release}
1278 Requires:       QtNetwork = %{version}-%{release}
1279
1280 %description -n QtXmlPatterns
1281 QtXmlPatterns XQuery engine.
1282
1283 %description -n QtXmlPatterns -l pl.UTF-8
1284 Silnik zapytań XQuery QtXmlPatterns.
1285
1286 %package -n QtXmlPatterns-devel
1287 Summary:        QtXmlPatterns XQuery engine - development files
1288 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns - pliki programistyczne
1289 Group:          X11/Development/Libraries
1290 Requires:       QtNetwork-devel = %{version}-%{release}
1291 Requires:       QtXmlPatterns = %{version}-%{release}
1292
1293 %description -n QtXmlPatterns-devel
1294 QtXmlPatterns XQuery engine - development files.
1295
1296 %description -n QtXmlPatterns-devel -l pl.UTF-8
1297 Silnik zapytań XQuery QtXmlPatterns - pliki programistyczne.
1298
1299 %package -n QtXmlPatterns-static
1300 Summary:        QtXmlPatterns XQuery engine - static library
1301 Summary(pl.UTF-8):      Silnik zapytań XQuery QtXmlPatterns - biblioteka statyczna
1302 Group:          X11/Development/Libraries
1303 Requires:       QtXmlPatterns-devel = %{version}-%{release}
1304
1305 %description -n QtXmlPatterns-static
1306 QtXmlPatterns XQuery engine - static library.
1307
1308 %description -n QtXmlPatterns-static -l pl.UTF-8
1309 Silnik zapytań XQuery QtXmlPatterns - biblioteka statyczna.
1310
1311 %package assistant
1312 Summary:        Qt documentation browser
1313 Summary(pl.UTF-8):      Przeglądarka dokumentacji Qt
1314 Group:          X11/Development/Tools
1315 Requires:       QtGui = %{version}-%{release}
1316 Requires:       QtHelp = %{version}-%{release}
1317 Requires:       QtNetwork = %{version}-%{release}
1318 Requires:       QtSql = %{version}-%{release}
1319 Requires:       QtSql-sqlite3 = %{version}-%{release}
1320 Requires:       QtWebKit = %{version}-%{release}
1321 Requires:       QtXml = %{version}-%{release}
1322 Requires:       hicolor-icon-theme
1323
1324 %description assistant
1325 Qt Assistant is a tool for browsing on-line documentation with
1326 indexing, bookmarks and full-text search.
1327
1328 %description assistant -l pl.UTF-8
1329 Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością
1330 indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania.
1331
1332 %package build
1333 Summary:        Build tools for Qt4
1334 Summary(pl.UTF-8):      Narzędzia do budowania dla Qt4
1335 Group:          X11/Development/Tools
1336 Requires:       QtCore = %{version}-%{release}
1337 Requires:       QtGui = %{version}-%{release}
1338 Requires:       QtXml = %{version}-%{release}
1339
1340 %description build
1341 This package includes the Qt resource compiler (rcc), meta objects
1342 compiler (moc), user interface compiler (uic) and qt3to4 include names
1343 converter.
1344
1345 %description build -l pl.UTF-8
1346 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
1347 metaobiektów (moc), kompilator interfejsów użytkownika (uic) oraz
1348 konwerter nazw plików nagłówkowych qt3to4.
1349
1350 %package designer
1351 Summary:        IDE used for GUI designing with Qt library
1352 Summary(pl.UTF-8):      IDE służące do projektowania GUI za pomocą biblioteki Qt
1353 Group:          X11/Applications
1354 Requires:       QtDesigner = %{version}-%{release}
1355
1356 %description designer
1357 An advanced tool used for GUI designing with Qt library.
1358
1359 %description designer -l pl.UTF-8
1360 Zaawansowane narzędzie służące do projektowania interfejsu graficznego
1361 za pomocą biblioteki Qt.
1362
1363 %package devel-private
1364 Summary:        Private Qt headers files
1365 Group:          X11/Development/Libraries
1366 Requires:       QtCore-devel = %{version}-%{release}
1367 Requires:       QtDeclarative-devel = %{version}-%{release}
1368 Requires:       QtGui-devel = %{version}-%{release}
1369 Requires:       QtScript-devel = %{version}-%{release}
1370
1371 %description devel-private
1372 Private Qt headers files - for calibre
1373
1374 %package linguist
1375 Summary:        Translation helper for Qt
1376 Summary(pl.UTF-8):      Aplikacja ułatwiająca tłumaczenie aplikacji opartych o Qt
1377 Group:          X11/Development/Tools
1378 Requires:       QtUiTools = %{version}-%{release}
1379 Requires:       hicolor-icon-theme
1380
1381 %description linguist
1382 This program provides an interface that shortens and helps systematize
1383 the process of translating GUIs. Qt Linguist takes all of the text of
1384 a UI that will be shown to the user, and presents it to a human
1385 translator in a simple window. When one UI text is translated, the
1386 program automatically progresses to the next, until they are all
1387 completed.
1388
1389 %description linguist -l pl.UTF-8
1390 Ten program oferuje interfejs znacznie przyśpieszający proces
1391 tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty
1392 przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie.
1393 Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do
1394 następnego, aż wszystkie będą przetłumaczone.
1395
1396 %package phonon
1397 Summary:        Cross-platform multimedia framework
1398 Summary(pl.UTF-8):      Wieloplatformowy szkielet multimedialny
1399 Group:          X11/Development/Tools
1400 Obsoletes:      phonon
1401
1402 %description phonon
1403 Phonon is a cross-platform multimedia framework that enables the use
1404 of audio and video content in Qt applications.
1405
1406 %description phonon -l pl.UTF-8
1407 Phonon to wieloplatformowy szkielet multimedialny pozwalający na
1408 wykorzystywanie treści dźwiękowych i filmowych w aplikacjach Qt.
1409
1410 %package phonon-devel
1411 Summary:        Cross-platform multimedia framework - development files
1412 Summary(pl.UTF-8):      Wieloplatformowy szkielet multimedialny - pliki programistyczne
1413 Group:          X11/Development/Libraries
1414 Requires:       QtCore-devel = %{version}-%{release}
1415 Requires:       QtDBus-devel = %{version}-%{release}
1416 Requires:       QtGui-devel = %{version}-%{release}
1417 Requires:       qt4-phonon = %{version}-%{release}
1418 Obsoletes:      phonon-devel
1419
1420 %description phonon-devel
1421 Cross-platform multimedia framework - development files.
1422
1423 %description phonon-devel -l pl.UTF-8
1424 Wieloplatformowy szkielet multimedialny - pliki programistyczne.
1425
1426 %package qmake
1427 Summary:        Qt makefile generator
1428 Summary(pl.UTF-8):      Generator plików makefile dla aplikacji Qt
1429 Group:          X11/Development/Tools
1430
1431 %description qmake
1432 A powerful makefile generator. It can create makefiles on any platform
1433 from a simple .pro definitions file.
1434
1435 %description qmake -l pl.UTF-8
1436 Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile
1437 na każdej platformi na podstawie łatwego w przygotowaniu pliku .pro.
1438
1439 %package qtconfig
1440 Summary:        Qt widgets configuration tool
1441 Summary(pl.UTF-8):      Narzędzie do konfigurowania widgetów Qt
1442 Group:          X11/Applications
1443 Requires:       Qt3Support = %{version}-%{release}
1444 Requires:       QtDBus = %{version}-%{release}
1445 Requires:       QtGui = %{version}-%{release}
1446 Requires:       QtNetwork = %{version}-%{release}
1447 Requires:       QtSql = %{version}-%{release}
1448 Requires:       QtXml = %{version}-%{release}
1449 Requires:       desktop-file-utils
1450
1451 %description qtconfig
1452 A tool for configuring look and behavior of Qt widgets.
1453
1454 %description qtconfig -l pl.UTF-8
1455 Narzędie do konfiguracji wyglądu i zachowania widgetów Qt.
1456
1457 %package -n qvfb
1458 Summary:        Qt Virtual framebuffer
1459 Summary(pl.UTF-8):      Wirtualny framebuffer dla Qt
1460 Group:          X11/Development/Libraries
1461 Requires:       QtGui = %{version}-%{release}
1462 Requires:       QtOpenGL = %{version}-%{release}
1463
1464 %description -n qvfb
1465 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
1466 window.
1467
1468 %description -n qvfb -l pl.UTF-8
1469 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
1470 okienku X.
1471
1472 %package demos
1473 Summary:        Demos of new Qt4 features
1474 Summary(pl.UTF-8):      Programy demonstrujące nowe możliwości Qt4
1475 Group:          X11/Development/Libraries
1476 Requires:       QtDeclarative = %{version}-%{release}
1477 Requires:       QtGui = %{version}-%{release}
1478 Requires:       QtHelp = %{version}-%{release}
1479 Requires:       QtNetwork = %{version}-%{release}
1480 Requires:       QtOpenGL = %{version}-%{release}
1481 Requires:       QtScript = %{version}-%{release}
1482 Requires:       QtSql = %{version}-%{release}
1483 Requires:       QtSvg = %{version}-%{release}
1484 Requires:       QtXml = %{version}-%{release}
1485 Requires:       QtXmlPatterns = %{version}-%{release}
1486
1487 %description demos
1488 Demos are spiders that fly.
1489
1490 %description demos -l pl.UTF-8
1491 Dema to latające pająki.
1492
1493 %package doc
1494 Summary:        Qt Documentation in HTML format
1495 Summary(pl.UTF-8):      Dokumentacja Qt w formacie HTML
1496 Group:          X11/Development/Libraries
1497 Suggests:       %{name}-assistant = %{version}-%{release}
1498 BuildArch:      noarch
1499
1500 %description doc
1501 Qt documentation in HTML format.
1502
1503 %description doc -l pl.UTF-8
1504 Dokumentacja qt w formacie HTML.
1505
1506 %package examples
1507 Summary:        Example programs bundled with Qt
1508 Summary(pl.UTF-8):      Ćwiczenia i przykłady do Qt
1509 Summary(pt_BR.UTF-8):   Programas exemplo desenvolvidos com o Qt
1510 Group:          X11/Development/Libraries
1511 # no *-devel deps, allow to look at the examples without compiling
1512
1513 %description examples
1514 Example programs bundled with Qt version.
1515
1516 %description examples -l pl.UTF-8
1517 Ćwiczenia/przykłady dołączone do Qt.
1518
1519 %description examples -l pt_BR.UTF-8
1520 Programas exemplo para o Qt versão.
1521
1522 %prep
1523 %setup -q -n qt-everywhere-opensource-src-%{version}
1524
1525 %patch100 -p1
1526
1527 %patch0 -p1
1528 %patch1 -p0
1529 %patch2 -p1
1530 %patch3 -p1
1531 %patch5 -p1
1532 %patch6 -p1
1533 %patch7 -p1
1534 %patch8 -p1
1535 %patch9 -p1
1536 %patch10 -p1
1537 %{?with_wkhtml:%patch11 -p1}
1538 %patch12 -p1
1539 %patch13 -p1
1540 %patch14 -p1
1541 %patch15 -p1
1542 %patch16 -p1
1543 %patch17 -p1
1544
1545 %patch18 -p1
1546 %patch19 -p1
1547 %patch20 -p1
1548 %patch21 -p1
1549 %patch22 -p1
1550
1551 %patch28 -p1
1552 %patch29 -p0
1553 %patch30 -p1
1554 %patch31 -p0
1555 %patch32 -p1
1556 %patch33 -p1
1557 %patch34 -p1
1558 %patch35 -p1
1559 %patch36 -p1
1560 %patch37 -p1
1561 %patch38 -p1
1562 %patch39 -p1
1563 %patch40 -p1
1564 %patch41 -p1
1565 %patch42 -p1
1566 %patch43 -p1
1567 %patch44 -p1
1568 %patch45 -p1
1569 %patch46 -p1
1570 %patch47 -p1
1571 %patch48 -p1
1572 %patch49 -p1
1573 %patch50 -p1
1574 %patch51 -p1
1575 %patch52 -p1
1576 %patch53 -p1
1577 %patch54 -p1
1578 %patch55 -p1
1579
1580 %{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \
1581         mkspecs/common/linux.conf
1582
1583 # change QMAKE FLAGS to build
1584 %{__sed} -i -e '
1585         s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|;
1586         s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|;
1587         s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|;
1588         s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|;
1589         s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcflags}|;
1590         s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcxxflags}|;
1591         s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|;
1592         s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|;
1593         ' mkspecs/common/g++-base.conf
1594
1595 %{__sed} -i -e '
1596         s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT       = %{_includedir}/qt4|;
1597         ' mkspecs/common/linux.conf
1598
1599 # No -L/usr/lib.
1600 %{__sed} -i -e '
1601         s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT       =|;
1602         ' mkspecs/common/linux.conf
1603
1604 # undefine QMAKE_STRIP, so we get useful -debuginfo pkgs
1605 %{__sed} -i -e '
1606         s|^QMAKE_STRIP.*=.*|QMAKE_STRIP             =|;
1607         ' mkspecs/common/linux.conf
1608
1609 # disable gstreamer-0.10 based multimedia
1610 %{__sed} -i -e 's/gstreamer-0.10/&-disabled/' src/3rdparty/webkit/Source/WebCore/features.pri
1611
1612 # disable webkit tests, broken build
1613 %{__rm} -r src/3rdparty/webkit/Source/WebKit/qt/tests
1614
1615 %build
1616 # pass OPTFLAGS to build qmake itself with optimization
1617 export OPTFLAGS="%{rpmcflags}"
1618 export PATH=$PWD/bin:$PATH
1619
1620 ##################################
1621 # DEFAULT OPTIONS FOR ALL BUILDS #
1622 ##################################
1623
1624 COMMONOPT=" \
1625         -confirm-license \
1626         -opensource \
1627         -buildkey pld \
1628         -verbose \
1629         -prefix %{_qtdir} \
1630         -bindir %{_qtdir}/bin \
1631         -docdir %{_docdir}/%{name}-doc \
1632         -headerdir %{_includedir}/qt4 \
1633         -libdir %{_libdir} \
1634         -plugindir %{_qtdir}/plugins \
1635         -datadir %{_datadir}/qt4 \
1636         -translationdir %{_localedir}/ \
1637         -sysconfdir %{_sysconfdir}/qt4 \
1638         -examplesdir %{_examplesdir}/qt4 \
1639         -demosdir %{_examplesdir}/qt4-demos \
1640         -optimized-qmake \
1641         -fast \
1642         -glib \
1643         %{!?with_gtk:-no-gtkstyle} \
1644         -%{!?with_pch:no-}pch \
1645         -no-rpath \
1646         %{!?with_mmx:-no-mmx} \
1647         %{!?with_3dnow:-no-3dnow} \
1648         %{!?with_sse:-no-sse} \
1649         %{!?with_sse2:-no-sse2} \
1650         %{!?with_sse3:-no-sse3} \
1651         %{!?with_ssse3:-no-ssse3} \
1652         %{!?with_sse41:-no-sse4.1} \
1653         %{!?with_sse42:-no-sse4.2} \
1654         %{!?with_avx:-no-avx} \
1655         %{?with_system_phonon:-no-phonon} \
1656         -qdbus \
1657         -dbus-linked \
1658         -reduce-relocations \
1659         -system-libjpeg \
1660         -system-libmng \
1661         -system-libpng \
1662         -system-libtiff \
1663         -system-zlib \
1664         -openssl-linked \
1665         -exceptions \
1666         -largefile \
1667         -I/usr/include/postgresql/server \
1668         -I/usr/include/mysql \
1669         %{?with_cups:-cups} \
1670         %{?with_nas:-system-nas-sound} \
1671         %{?debug:-debug} \
1672         %{!?debug:-release} \
1673         -%{!?with_openvg:no-}openvg \
1674         -qt3support \
1675         -fontconfig \
1676         -largefile \
1677         -iconv \
1678         -icu \
1679         -no-separate-debug-info \
1680         -xfixes \
1681         -nis \
1682         -sm \
1683         -stl \
1684         -xcursor \
1685         -xinput \
1686         -xinerama \
1687         -xrandr \
1688         -xkb \
1689         -xrender \
1690         -xshape \
1691         -xmlpatterns \
1692         -continue"
1693
1694 ##################################
1695 #       STATIC MULTI-THREAD      #
1696 ##################################
1697
1698 %if %{with static_libs}
1699 OPT=" \
1700         -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
1701         -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
1702         -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
1703         -%{!?with_oci:no}%{?with_oci:qt}-sql-oci \
1704         -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
1705         -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
1706         -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
1707         -static"
1708
1709 ./configure $COMMONOPT $OPT
1710
1711 %{__make} -C src
1712 %{__make} -C tools/assistant/lib
1713 %{__make} -C tools/designer
1714 if [ ! -d staticlib ]; then
1715         mkdir staticlib
1716         cp -a lib/*.a staticlib
1717 fi
1718 %{__make} distclean
1719 %endif
1720
1721 ##################################
1722 #       SHARED MULTI-THREAD      #
1723 ##################################
1724
1725 OPT=" \
1726         -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase \
1727         -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
1728         -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
1729         -%{!?with_oci:no}%{?with_oci:plugin}-sql-oci \
1730         -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
1731         -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
1732         -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
1733         -shared"
1734
1735 ./configure $COMMONOPT $OPT
1736
1737 %{__make}
1738 %{__make} \
1739         sub-tools-all-ordered \
1740         sub-demos-all-ordered \
1741         sub-examples-all-ordered
1742
1743 %install
1744 rm -rf $RPM_BUILD_ROOT
1745 install -d $RPM_BUILD_ROOT{/etc/{env.d,qt4},%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1746 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1747 install -d $RPM_BUILD_ROOT%{_qtdir}/imports/org
1748
1749 # for QtSolutions (qtlockedfile, qtsingleapplication, etc)
1750 install -d $RPM_BUILD_ROOT%{_includedir}/qt4/QtSolutions
1751
1752 echo '#QT_GRAPHICSSYSTEM=raster' > $RPM_BUILD_ROOT/etc/env.d/QT_GRAPHICSSYSTEM
1753
1754 %{__make} install \
1755         INSTALL_ROOT=$RPM_BUILD_ROOT
1756
1757 # for qt-creator sth is messed up in the Makefile, nothing for make install
1758 install bin/qdoc3 $RPM_BUILD_ROOT%{_qtdir}/bin/qdoc3
1759
1760 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1761 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl}
1762 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
1763 %{__sed} -i -e '
1764         s|moc_location=.*|moc_location=%{_bindir}/moc-qt4|;
1765         s|uic_location=.*|uic_location=%{_bindir}/uic-qt4|;
1766         ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc
1767
1768 # kill -std=XYZ, so qmake won't pass it over to other projects
1769 #%{__sed} -i -e s#^\(.*\) -std=[a-z0-9+]\+\( .*\|$\)#\1 \2#g' $RPM_BUILD_ROOT%{_datadir}/qt4/mkspecs/common/g++-base.conf
1770
1771 # libQtWebKit.la contains '-ljscore' and '-lwebcore', they come
1772 # from src/3rdparty/webkit/{JavaScriptCore,WebCore}} but those libs aren't installed
1773 %{__sed} -i -e "s,-lwebcore,,g;s,-ljscore,,g;" $RPM_BUILD_ROOT%{_libdir}/libQtWebKit.la
1774
1775 # install tools
1776 install bin/findtr      $RPM_BUILD_ROOT%{_qtdir}/bin
1777
1778 cd $RPM_BUILD_ROOT%{_bindir}
1779 ln -sf ../%{_lib}/qt4/bin/assistant assistant-qt4
1780 ln -sf ../%{_lib}/qt4/bin/designer designer-qt4
1781 ln -sf ../%{_lib}/qt4/bin/findtr findtr-qt4
1782 ln -sf ../%{_lib}/qt4/bin/linguist linguist-qt4
1783 ln -sf ../%{_lib}/qt4/bin/lrelease lrelease-qt4
1784 ln -sf ../%{_lib}/qt4/bin/lupdate lupdate-qt4
1785 ln -sf ../%{_lib}/qt4/bin/moc moc-qt4
1786 ln -sf ../%{_lib}/qt4/bin/qmake qmake-qt4
1787 ln -sf ../%{_lib}/qt4/bin/qtconfig qtconfig-qt4
1788 ln -sf ../%{_lib}/qt4/bin/uic uic-qt4
1789 ln -sf ../%{_lib}/qt4/bin/qdoc3 .
1790 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1791 ln -sf ../%{_lib}/qt4/bin/rcc .
1792 ln -sf ../%{_lib}/qt4/bin/uic3 .
1793 ln -sf ../%{_lib}/qt4/bin/pixeltool .
1794 ln -sf ../%{_lib}/qt4/bin/qcollectiongenerator .
1795 ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml .
1796 ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp .
1797 ln -sf ../%{_lib}/qt4/bin/qhelpconverter .
1798 ln -sf ../%{_lib}/qt4/bin/qhelpgenerator .
1799 ln -sf ../%{_lib}/qt4/bin/qmlviewer .
1800 ln -sf ../%{_lib}/qt4/bin/qmlplugindump .
1801 ln -sf ../%{_lib}/qt4/bin/qttracereplay .
1802 ln -sf ../%{_lib}/qt4/bin/qvfb .
1803 ln -sf ../%{_lib}/qt4/bin/xmlpatternsvalidator .
1804 cd -
1805
1806 # multilib
1807 %{__mv} $RPM_BUILD_ROOT%{_qtdir}/bin/{qdbus,qdbusviewer} $RPM_BUILD_ROOT%{_bindir}
1808 ln -sf %{_bindir}/qdbus $RPM_BUILD_ROOT%{_qtdir}/bin/qdbus
1809 ln -sf %{_bindir}/qdbusviewer $RPM_BUILD_ROOT%{_qtdir}/bin/qdbusviewer
1810
1811 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/qtconfig-qt4.desktop
1812 install tools/qtconfig/images/appicon.png \
1813         $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig-qt4.png
1814
1815 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}/linguist-qt4.desktop
1816 for f in tools/linguist/linguist/images/icons/linguist-*-32.png; do
1817         size=$(echo $(basename ${f}) | cut -d- -f2)
1818         install -D $f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/${size}x${size}/apps/linguist-qt4.png
1819 done
1820
1821 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/assistant-qt4.desktop
1822 install -D tools/assistant/tools/assistant/images/assistant.png \
1823         $RPM_BUILD_ROOT%{_iconsdir}/hicolor/32x32/apps/assistant-qt4.png
1824 install -D tools/assistant/tools/assistant/images/assistant-128.png \
1825         $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/assistant-qt4.png
1826
1827 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer-qt4.desktop
1828 install tools/designer/src/designer/images/designer.png \
1829         $RPM_BUILD_ROOT%{_pixmapsdir}/designer-qt4.png
1830
1831 %if %{with static_libs}
1832 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1833 %endif
1834
1835 #
1836 # Locale
1837 #
1838 for f in translations/*.ts ; do
1839         LD_LIBRARY_PATH=lib bin/lrelease $f -qm translations/$(basename $f .ts).qm
1840 done
1841
1842 %{__rm} $RPM_BUILD_ROOT%{_localedir}/*.qm
1843 for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm; do
1844         [ ! -f $file ] && continue
1845         case "$file" in
1846                 *untranslated*)
1847                         continue;
1848                         ;;
1849         esac
1850         eval "`echo $file | sed -r 's:.*/([a-zA-Z]+(_[a-zA-Z]{3,}){0,1})_(((ja)_jp)|([a-z]{2}_[A-Z]{2,})|([a-z]{2}))\.qm$:MOD=\1 ; lang=\5\6\7:'`"
1851         [ "$lang" == "iw" ] && lang=he
1852         MOD=qt4-$MOD
1853         [ "$MOD" == "qt4-qt" ] && MOD=qt4
1854         install -d $RPM_BUILD_ROOT%{_localedir}/$lang/LC_MESSAGES
1855         cp $file $RPM_BUILD_ROOT%{_localedir}/$lang/LC_MESSAGES/$MOD.qm
1856 done
1857
1858 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1859 # QtCore must be the last
1860 for f in ../Qt{3Support,DBus,Declarative,Designer,Gui,Help,Network,OpenGL,Script,Sql,Svg,Test,UiTools,WebKit,Xml,XmlPatterns,Core}/*; do
1861         if [ ! -d $f ]; then
1862                 ln -sf $f `basename $f`
1863         fi
1864 done
1865 cd -
1866
1867 # Ship doc & qmake stuff
1868 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1869
1870 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1871         HAVEDEBUG=`echo $f | grep _debug | wc -l`
1872         MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1873         MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1874         DEFS="-D_REENTRANT"
1875
1876         if [ "$MODULE2" == "3SUPPORT" ]; then
1877                 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1878         else
1879                 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1880         fi
1881         [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1882
1883         sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1884 done
1885
1886 # Ship private headers - ugly hack to build calibre
1887 install -d $RPM_BUILD_ROOT%{_includedir}/qt4/private
1888 rsync -aR include/QtCore/private \
1889           include/QtDeclarative/private \
1890           include/QtGui/private \
1891           include/QtScript/private \
1892           $RPM_BUILD_ROOT%{_includedir}/qt4/private
1893 rsync -aR src/corelib/*/*_p.h \
1894           src/declarative/*/*_p.h \
1895           src/gui/*/*_p.h \
1896           src/script/*/*_p.h \
1897           $RPM_BUILD_ROOT%{_includedir}/qt4/private
1898
1899
1900 # Prepare some files list
1901 ifecho() {
1902         RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1903         [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set
1904         r=`echo $RESULT | awk '{ print $1 }'`
1905
1906         if [ -d "$r" ]; then
1907                 echo "%%dir $2" >> $1.files
1908         elif [ -x "$r" ] ; then
1909                 echo "%%attr(755,root,root) $2" >> $1.files
1910         elif [ -f "$r" ]; then
1911                 echo "$2" >> $1.files
1912         else
1913                 echo "Error generation $1 files list!"
1914                 echo "$r: no such file or direcotry!"
1915                 return 1
1916         fi
1917 }
1918
1919 mkdevfl() {
1920         set -x
1921         MODULE=$1; shift
1922         echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1923         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1924         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1925         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1926         ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1927         if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1928                 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1929         fi
1930         for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`; do
1931                 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1932                 if [ -a "$RPM_BUILD_ROOT%{_includedir}/qt4/Qt/$f" ]; then
1933                         ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1934                 fi
1935         done
1936         for f in $@; do ifecho $MODULE-devel $f; done
1937 }
1938
1939 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1940 mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
1941 mkdevfl QtDeclarative
1942 mkdevfl QtGui
1943 mkdevfl QtMultimedia
1944 mkdevfl QtNetwork
1945 mkdevfl QtOpenGL
1946 %{?with_openvg:mkdevfl QtOpenVG}
1947 mkdevfl QtScript
1948 mkdevfl QtScriptTools
1949 mkdevfl QtSql
1950 mkdevfl QtSvg
1951 mkdevfl QtTest
1952 mkdevfl QtHelp
1953 mkdevfl QtWebKit
1954 mkdevfl QtCLucene
1955 mkdevfl QtXml
1956 mkdevfl QtXmlPatterns
1957 mkdevfl Qt3Support
1958 %{!?with_system_phonon:mkdevfl phonon}
1959
1960 # without *.la *.pc etc.
1961 mkdevfl QtDesigner || /bin/true
1962 mkdevfl QtUiTools || /bin/true
1963
1964 # without glob (exclude QtScriptTools* QtXmlPatterns*)
1965 %{__sed} -i 's,QtScript\*,QtScript,g' QtScript-devel.files
1966 %{__sed} -i 's,QtXml\*,QtXml,g' QtXml-devel.files
1967 # no duplication between QtCore-devel and QtXml-devel
1968 %{__sed} -i 's,%{_includedir}/qt4/Qt/QXmlStream.*,,g' QtCore-devel.files
1969 %{__sed} -i 's,%{_includedir}/qt4/Qt/qxmlstream\.h,,g' QtCore-devel.files
1970
1971 echo "%defattr(644,root,root,755)" > examples.files
1972 ifecho examples %{_examplesdir}/qt4
1973 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`; do
1974         ifecho examples %{_examplesdir}/qt4/$f
1975 done
1976
1977 echo "%defattr(644,root,root,755)" > demos.files
1978 ifecho demos "%{_examplesdir}/qt4-demos"
1979 ifecho demos "%{_qtdir}/bin/qtdemo"
1980 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`; do
1981         ifecho demos %{_examplesdir}/qt4-demos/$f
1982 done
1983
1984 %clean
1985 rm -rf $RPM_BUILD_ROOT
1986
1987 %post   -n Qt3Support   -p /sbin/ldconfig
1988 %postun -n Qt3Support   -p /sbin/ldconfig
1989
1990 %post   -n QtCLucene    -p /sbin/ldconfig
1991 %postun -n QtCLucene    -p /sbin/ldconfig
1992
1993 %post   -n QtCore       -p /sbin/ldconfig
1994 %postun -n QtCore       -p /sbin/ldconfig
1995
1996 %post   -n QtDBus       -p /sbin/ldconfig
1997 %postun -n QtDBus       -p /sbin/ldconfig
1998
1999 %post   -n QtDeclarative        -p /sbin/ldconfig
2000 %postun -n QtDeclarative        -p /sbin/ldconfig
2001
2002 %post   -n QtDesigner   -p /sbin/ldconfig
2003 %postun -n QtDesigner   -p /sbin/ldconfig
2004
2005 %post   -n QtGui        -p /sbin/ldconfig
2006 %postun -n QtGui        -p /sbin/ldconfig
2007
2008 %post   -n QtHelp       -p /sbin/ldconfig
2009 %postun -n QtHelp       -p /sbin/ldconfig
2010
2011 %post   -n QtMultimedia -p /sbin/ldconfig
2012 %postun -n QtMultimedia -p /sbin/ldconfig
2013
2014 %post   -n QtNetwork    -p /sbin/ldconfig
2015 %postun -n QtNetwork    -p /sbin/ldconfig
2016
2017 %post   -n QtOpenGL     -p /sbin/ldconfig
2018 %postun -n QtOpenGL     -p /sbin/ldconfig
2019
2020 %post   -n QtOpenVG     -p /sbin/ldconfig
2021 %postun -n QtOpenVG     -p /sbin/ldconfig
2022
2023 %post   -n QtScript     -p /sbin/ldconfig
2024 %postun -n QtScript     -p /sbin/ldconfig
2025
2026 %post   -n QtScriptTools        -p /sbin/ldconfig
2027 %postun -n QtScriptTools        -p /sbin/ldconfig
2028
2029 %post   -n QtSql        -p /sbin/ldconfig
2030 %postun -n QtSql        -p /sbin/ldconfig
2031
2032 %post   -n QtSvg        -p /sbin/ldconfig
2033 %postun -n QtSvg        -p /sbin/ldconfig
2034
2035 %post   -n QtTest       -p /sbin/ldconfig
2036 %postun -n QtTest       -p /sbin/ldconfig
2037
2038 %post   -n QtUiTools    -p /sbin/ldconfig
2039 %postun -n QtUiTools    -p /sbin/ldconfig
2040
2041 %post   -n QtWebKit     -p /sbin/ldconfig
2042 %postun -n QtWebKit     -p /sbin/ldconfig
2043
2044 %post   -n QtXml        -p /sbin/ldconfig
2045 %postun -n QtXml        -p /sbin/ldconfig
2046
2047 %post   -n QtXmlPatterns        -p /sbin/ldconfig
2048 %postun -n QtXmlPatterns        -p /sbin/ldconfig
2049
2050 %post assistant
2051 %update_icon_cache hicolor
2052
2053 %postun assistant
2054 %update_icon_cache hicolor
2055
2056 %post linguist
2057 %update_icon_cache hicolor
2058
2059 %postun linguist
2060 %update_icon_cache hicolor
2061
2062 %post   phonon          -p /sbin/ldconfig
2063 %postun phonon          -p /sbin/ldconfig
2064
2065 %post qtconfig
2066 %update_desktop_database
2067
2068 %files -n Qt3Support
2069 %defattr(644,root,root,755)
2070 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
2071 %attr(755,root,root) %ghost %{_libdir}/libQt3Support.so.4
2072 %attr(755,root,root) %{_qtdir}/plugins/accessible/libqtaccessiblecompatwidgets.so
2073
2074 %files -n QtCLucene
2075 %defattr(644,root,root,755)
2076 %attr(755,root,root) %{_libdir}/libQtCLucene.so.*.*
2077 %attr(755,root,root) %ghost %{_libdir}/libQtCLucene.so.4
2078
2079 %files -n QtCore
2080 %defattr(644,root,root,755)
2081 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
2082 %attr(755,root,root) %ghost %{_libdir}/libQtCore.so.4
2083 %dir /etc/qt4
2084 %dir %{_qtdir}
2085 %dir %{_qtdir}/bin
2086 %dir %{_qtdir}/plugins
2087 %dir %{_qtdir}/plugins/codecs
2088 %attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
2089 # two following are used only by foreign packages, not QtCore
2090 %dir %{_qtdir}/plugins/crypto
2091 %dir %{_qtdir}/plugins/network
2092 %dir %{_datadir}/qt4
2093 %lang(ar) %{_localedir}/ar/LC_MESSAGES/qt4.qm
2094 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4.qm
2095 %lang(da) %{_localedir}/da/LC_MESSAGES/qt4.qm
2096 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4.qm
2097 %lang(es) %{_localedir}/es/LC_MESSAGES/qt4.qm
2098 %lang(eu) %{_localedir}/eu/LC_MESSAGES/qt4.qm
2099 %lang(fa) %{_localedir}/fa/LC_MESSAGES/qt4.qm
2100 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4.qm
2101 %lang(gl) %{_localedir}/gl/LC_MESSAGES/qt4.qm
2102 %lang(he) %{_localedir}/he/LC_MESSAGES/qt4.qm
2103 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4.qm
2104 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4.qm
2105 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4.qm
2106 %lang(lt) %{_localedir}/lt/LC_MESSAGES/qt4.qm
2107 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4.qm
2108 %lang(pt) %{_localedir}/pt/LC_MESSAGES/qt4.qm
2109 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4.qm
2110 %lang(sk) %{_localedir}/sk/LC_MESSAGES/qt4.qm
2111 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4.qm
2112 %lang(sv) %{_localedir}/sv/LC_MESSAGES/qt4.qm
2113 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4.qm
2114 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4.qm
2115 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4.qm
2116
2117 %files -n QtDBus
2118 %defattr(644,root,root,755)
2119 %attr(755,root,root) %{_bindir}/qdbus
2120 %attr(755,root,root) %{_bindir}/qdbusviewer
2121 %attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
2122 %attr(755,root,root) %ghost %{_libdir}/libQtDBus.so.4
2123 %attr(755,root,root) %{_qtdir}/bin/qdbus
2124 %attr(755,root,root) %{_qtdir}/bin/qdbusviewer
2125 # ?? is this the proper place?
2126 %attr(755,root,root) %{_qtdir}/plugins/script/libqtscriptdbus.so
2127
2128 %files -n QtDeclarative
2129 %defattr(644,root,root,755)
2130 %attr(755,root,root) %{_bindir}/qmlviewer
2131 %attr(755,root,root) %{_bindir}/qmlplugindump
2132 %attr(755,root,root) %{_qtdir}/bin/qmlviewer
2133 %attr(755,root,root) %{_qtdir}/bin/qmlplugindump
2134 %attr(755,root,root) %{_libdir}/libQtDeclarative.so.*.*
2135 %attr(755,root,root) %ghost %{_libdir}/libQtDeclarative.so.4
2136 %dir %{_qtdir}/imports
2137 %dir %{_qtdir}/imports/Qt
2138 %dir %{_qtdir}/imports/Qt/labs
2139 %dir %{_qtdir}/imports/Qt/labs/folderlistmodel
2140 %dir %{_qtdir}/imports/Qt/labs/gestures
2141 %dir %{_qtdir}/imports/Qt/labs/particles
2142 %dir %{_qtdir}/imports/Qt/labs/shaders
2143 %attr(755,root,root) %{_qtdir}/imports/Qt/labs/*/*.so
2144 %{_qtdir}/imports/Qt/labs/*/qmldir
2145 %dir %{_qtdir}/imports/QtWebKit
2146 %attr(755,root,root) %{_qtdir}/imports/QtWebKit/*.so
2147 %{_qtdir}/imports/QtWebKit/qmldir
2148 %dir %{_qtdir}/imports/org
2149 %dir %{_qtdir}/plugins/qmltooling
2150 %attr(755,root,root) %{_qtdir}/plugins/qmltooling/libqmldbg_tcp.so
2151 %attr(755,root,root) %{_qtdir}/plugins/qmltooling/libqmldbg_inspector.so
2152
2153 %files -n QtDesigner
2154 %defattr(644,root,root,755)
2155 %attr(755,root,root) %{_libdir}/libQtDesigner.so.*.*
2156 %attr(755,root,root) %ghost %{_libdir}/libQtDesigner.so.4
2157 %attr(755,root,root) %{_libdir}/libQtDesignerComponents.so.*.*
2158 %attr(755,root,root) %ghost %{_libdir}/libQtDesignerComponents.so.4
2159 %dir %{_qtdir}/plugins/designer
2160 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
2161
2162 %files -n QtGui
2163 %defattr(644,root,root,755)
2164 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/QT_GRAPHICSSYSTEM
2165 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
2166 %attr(755,root,root) %ghost %{_libdir}/libQtGui.so.4
2167 %dir %{_qtdir}/plugins/accessible
2168 %attr(755,root,root) %{_qtdir}/plugins/accessible/libqtaccessiblewidgets.so
2169 %dir %{_qtdir}/plugins/graphicssystems
2170 %attr(755,root,root) %{_qtdir}/plugins/graphicssystems/libqtracegraphicssystem.so
2171 %dir %{_qtdir}/plugins/iconengines
2172 %dir %{_qtdir}/plugins/imageformats
2173 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqgif.so
2174 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqico.so
2175 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqjpeg.so
2176 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqmng.so
2177 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqtga.so
2178 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqtiff.so
2179 %dir %{_qtdir}/plugins/inputmethods
2180 %attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
2181
2182 %files -n QtHelp
2183 %defattr(644,root,root,755)
2184 %attr(755,root,root) %{_bindir}/qhelpconverter
2185 %attr(755,root,root) %{_bindir}/qhelpgenerator
2186 %attr(755,root,root) %{_libdir}/libQtHelp.so.*.*
2187 %attr(755,root,root) %ghost %{_libdir}/libQtHelp.so.4
2188 %attr(755,root,root) %{_qtdir}/bin/qhelpconverter
2189 %attr(755,root,root) %{_qtdir}/bin/qhelpgenerator
2190 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-qt_help.qm
2191 %lang(da) %{_localedir}/da/LC_MESSAGES/qt4-qt_help.qm
2192 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-qt_help.qm
2193 %lang(eu) %{_localedir}/eu/LC_MESSAGES/qt4-qt_help.qm
2194 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-qt_help.qm
2195 %lang(gl) %{_localedir}/gl/LC_MESSAGES/qt4-qt_help.qm
2196 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-qt_help.qm
2197 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-qt_help.qm
2198 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-qt_help.qm
2199 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-qt_help.qm
2200 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-qt_help.qm
2201 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-qt_help.qm
2202 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-qt_help.qm
2203 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-qt_help.qm
2204 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-qt_help.qm
2205
2206 %files -n QtMultimedia
2207 %defattr(644,root,root,755)
2208 %attr(755,root,root) %{_libdir}/libQtMultimedia.so.*.*
2209 %attr(755,root,root) %ghost %{_libdir}/libQtMultimedia.so.4
2210
2211 %files -n QtNetwork
2212 %defattr(644,root,root,755)
2213 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
2214 %attr(755,root,root) %ghost %{_libdir}/libQtNetwork.so.4
2215 %dir %{_qtdir}/plugins/bearer
2216 %attr(755,root,root) %{_qtdir}/plugins/bearer/*.so
2217
2218 %files -n QtOpenGL
2219 %defattr(644,root,root,755)
2220 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
2221 %attr(755,root,root) %ghost %{_libdir}/libQtOpenGL.so.4
2222 %attr(755,root,root) %{_qtdir}/plugins/graphicssystems/libqglgraphicssystem.so
2223
2224 %if %{with openvg}
2225 %files -n QtOpenVG
2226 %defattr(644,root,root,755)
2227 %attr(755,root,root) %{_libdir}/libQtOpenVG.so.*.*
2228 %attr(755,root,root) %ghost %{_libdir}/libQtOpenVG.so.4
2229 %endif
2230
2231 %files -n QtScript
2232 %defattr(644,root,root,755)
2233 %attr(755,root,root) %{_libdir}/libQtScript.so.*.*
2234 %attr(755,root,root) %ghost %{_libdir}/libQtScript.so.4
2235 %dir %{_qtdir}/plugins/script
2236 %lang(eu) %{_localedir}/eu/LC_MESSAGES/qt4-qtscript.qm
2237
2238 %files -n QtScriptTools
2239 %defattr(644,root,root,755)
2240 %attr(755,root,root) %{_libdir}/libQtScriptTools.so.*.*
2241 %attr(755,root,root) %ghost %{_libdir}/libQtScriptTools.so.4
2242
2243 %files -n QtSql
2244 %defattr(644,root,root,755)
2245 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
2246 %attr(755,root,root) %ghost %{_libdir}/libQtSql.so.4
2247 %dir %{_qtdir}/plugins/sqldrivers
2248
2249 %if %{with ibase}
2250 %files -n QtSql-ibase
2251 %defattr(644,root,root,755)
2252 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase.so
2253 %endif
2254
2255 %if %{with mysql}
2256 %files -n QtSql-mysql
2257 %defattr(644,root,root,755)
2258 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql.so
2259 %endif
2260
2261 %if %{with oci}
2262 %files -n QtSql-oci
2263 %defattr(644,root,root,755)
2264 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqloci.so
2265 %endif
2266
2267 %if %{with odbc}
2268 %files -n QtSql-odbc
2269 %defattr(644,root,root,755)
2270 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc.so
2271 %endif
2272
2273 %if %{with pgsql}
2274 %files -n QtSql-pgsql
2275 %defattr(644,root,root,755)
2276 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql.so
2277 %endif
2278
2279 %if %{with sqlite}
2280 %files -n QtSql-sqlite
2281 %defattr(644,root,root,755)
2282 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2.so
2283 %endif
2284
2285 %if %{with sqlite3}
2286 %files -n QtSql-sqlite3
2287 %defattr(644,root,root,755)
2288 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite.so
2289 %endif
2290
2291 %files -n QtSql-tds
2292 %defattr(644,root,root,755)
2293 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqltds.so
2294
2295 %files -n QtSvg
2296 %defattr(644,root,root,755)
2297 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
2298 %attr(755,root,root) %ghost %{_libdir}/libQtSvg.so.4
2299 %attr(755,root,root) %{_qtdir}/plugins/iconengines/libqsvgicon.so
2300 %attr(755,root,root) %{_qtdir}/plugins/imageformats/libqsvg.so
2301
2302 %files -n QtTest
2303 %defattr(644,root,root,755)
2304 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
2305 %attr(755,root,root) %ghost %{_libdir}/libQtTest.so.4
2306
2307 %files -n QtUiTools
2308 %defattr(644,root,root,755)
2309 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
2310 %attr(755,root,root) %ghost %{_libdir}/libQtUiTools.so.4
2311
2312 %files -n QtWebKit
2313 %defattr(644,root,root,755)
2314 %attr(755,root,root) %{_libdir}/libQtWebKit.so.*.*
2315 %attr(755,root,root) %ghost %{_libdir}/libQtWebKit.so.4
2316
2317 %files -n QtXml
2318 %defattr(644,root,root,755)
2319 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
2320 %attr(755,root,root) %ghost %{_libdir}/libQtXml.so.4
2321
2322 %files -n QtXmlPatterns
2323 %defattr(644,root,root,755)
2324 %attr(755,root,root) %{_qtdir}/bin/xmlpatterns
2325 %attr(755,root,root) %{_qtdir}/bin/xmlpatternsvalidator
2326 %attr(755,root,root) %{_bindir}/xmlpatternsvalidator
2327 %attr(755,root,root) %{_libdir}/libQtXmlPatterns.so.*.*
2328 %attr(755,root,root) %ghost %{_libdir}/libQtXmlPatterns.so.4
2329
2330 %files assistant
2331 %defattr(644,root,root,755)
2332 %attr(755,root,root) %{_bindir}/assistant-qt4
2333 %attr(755,root,root) %{_bindir}/pixeltool
2334 %attr(755,root,root) %{_bindir}/qcollectiongenerator
2335 %attr(755,root,root) %{_qtdir}/bin/assistant
2336 %attr(755,root,root) %{_qtdir}/bin/pixeltool
2337 %attr(755,root,root) %{_qtdir}/bin/qcollectiongenerator
2338 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-assistant.qm
2339 %lang(da) %{_localedir}/da/LC_MESSAGES/qt4-assistant.qm
2340 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-assistant.qm
2341 %lang(eu) %{_localedir}/eu/LC_MESSAGES/qt4-assistant.qm
2342 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-assistant.qm
2343 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-assistant.qm
2344 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-assistant.qm
2345 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-assistant.qm
2346 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-assistant.qm
2347 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-assistant.qm
2348 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-assistant.qm
2349 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-assistant.qm
2350 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-assistant.qm
2351 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-assistant.qm
2352 %{_desktopdir}/assistant-qt4.desktop
2353 %{_iconsdir}/hicolor/*/apps/assistant-qt4.png
2354
2355 %files build
2356 %defattr(644,root,root,755)
2357 %attr(755,root,root) %{_bindir}/moc-qt4
2358 %attr(755,root,root) %{_bindir}/qdoc3
2359 %attr(755,root,root) %{_bindir}/qt3to4
2360 %attr(755,root,root) %{_bindir}/rcc
2361 %attr(755,root,root) %{_bindir}/uic-qt4
2362 %attr(755,root,root) %{_qtdir}/bin/moc
2363 %attr(755,root,root) %{_qtdir}/bin/qdoc3
2364 %attr(755,root,root) %{_qtdir}/bin/qt3to4
2365 %attr(755,root,root) %{_qtdir}/bin/rcc
2366 %attr(755,root,root) %{_qtdir}/bin/uic
2367 #find better place?
2368 %attr(755,root,root) %{_bindir}/qttracereplay
2369 %attr(755,root,root) %{_qtdir}/bin/qttracereplay
2370 %{_datadir}/qt4/q3porting.xml
2371
2372 %files designer
2373 %defattr(644,root,root,755)
2374 %attr(755,root,root) %{_bindir}/designer-qt4
2375 %attr(755,root,root) %{_qtdir}/bin/designer
2376 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-designer.qm
2377 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-designer.qm
2378 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-designer.qm
2379 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-designer.qm
2380 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-designer.qm
2381 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-designer.qm
2382 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-designer.qm
2383 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-designer.qm
2384 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-designer.qm
2385 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-designer.qm
2386 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-designer.qm
2387 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-designer.qm
2388 %{_desktopdir}/designer-qt4.desktop
2389 %{_pixmapsdir}/designer-qt4.png
2390
2391 %files devel-private
2392 %defattr(644,root,root,755)
2393 %{_includedir}/qt4/private
2394
2395 %files linguist
2396 %defattr(644,root,root,755)
2397 %attr(755,root,root) %{_bindir}/findtr-qt4
2398 %attr(755,root,root) %{_bindir}/linguist-qt4
2399 %attr(755,root,root) %{_bindir}/lrelease-qt4
2400 %attr(755,root,root) %{_bindir}/lupdate-qt4
2401 %attr(755,root,root) %{_qtdir}/bin/findtr
2402 %attr(755,root,root) %{_qtdir}/bin/linguist
2403 %attr(755,root,root) %{_qtdir}/bin/lconvert
2404 %attr(755,root,root) %{_qtdir}/bin/lrelease
2405 %attr(755,root,root) %{_qtdir}/bin/lupdate
2406 %lang(cs) %{_localedir}/cs/LC_MESSAGES/qt4-linguist.qm
2407 %lang(de) %{_localedir}/de/LC_MESSAGES/qt4-linguist.qm
2408 %lang(eu) %{_localedir}/eu/LC_MESSAGES/qt4-linguist.qm
2409 %lang(fr) %{_localedir}/fr/LC_MESSAGES/qt4-linguist.qm
2410 %lang(he) %{_localedir}/he/LC_MESSAGES/qt4-linguist.qm
2411 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-linguist.qm
2412 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-linguist.qm
2413 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-linguist.qm
2414 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-linguist.qm
2415 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-linguist.qm
2416 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-linguist.qm
2417 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-linguist.qm
2418 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-linguist.qm
2419 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-linguist.qm
2420 %{_datadir}/qt4/phrasebooks
2421 %{_desktopdir}/linguist-qt4.desktop
2422 %{_iconsdir}/hicolor/*/apps/linguist-qt4.png
2423
2424 %if %{without system_phonon}
2425 %files phonon
2426 %defattr(644,root,root,755)
2427 %attr(755,root,root) %{_libdir}/libphonon.so.*.*
2428 %attr(755,root,root) %ghost %{_libdir}/libphonon.so.4
2429 %dir %{_qtdir}/plugins/phonon_backend
2430 %attr(755,root,root) %{_qtdir}/plugins/phonon_backend/libphonon_gstreamer.so
2431 %endif
2432
2433 %files qmake
2434 %defattr(644,root,root,755)
2435 %attr(755,root,root) %{_bindir}/qmake-qt4
2436 %attr(755,root,root) %{_qtdir}/bin/qmake
2437 %{_datadir}/qt4/mkspecs
2438 %{_qtdir}/mkspecs
2439
2440 %files qtconfig
2441 %defattr(644,root,root,755)
2442 %attr(755,root,root) %{_bindir}/qtconfig-qt4
2443 %attr(755,root,root) %{_qtdir}/bin/qtconfig
2444 %lang(eu) %{_localedir}/eu/LC_MESSAGES/qt4-qtconfig.qm
2445 %lang(he) %{_localedir}/he/LC_MESSAGES/qt4-qtconfig.qm
2446 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-qtconfig.qm
2447 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-qtconfig.qm
2448 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-qtconfig.qm
2449 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-qtconfig.qm
2450 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-qtconfig.qm
2451 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-qtconfig.qm
2452 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-qtconfig.qm
2453 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-qtconfig.qm
2454 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-qtconfig.qm
2455 %{_desktopdir}/qtconfig-qt4.desktop
2456 %{_pixmapsdir}/qtconfig-qt4.png
2457
2458 %files -n qvfb
2459 %defattr(644,root,root,755)
2460 %attr(755,root,root) %{_bindir}/qvfb
2461 %attr(755,root,root) %{_qtdir}/bin/qvfb
2462 %lang(eu) %{_localedir}/eu/LC_MESSAGES/qt4-qvfb.qm
2463 %lang(hu) %{_localedir}/hu/LC_MESSAGES/qt4-qvfb.qm
2464 %lang(ja) %{_localedir}/ja/LC_MESSAGES/qt4-qvfb.qm
2465 %lang(ko) %{_localedir}/ko/LC_MESSAGES/qt4-qvfb.qm
2466 %lang(pl) %{_localedir}/pl/LC_MESSAGES/qt4-qvfb.qm
2467 %lang(ru) %{_localedir}/ru/LC_MESSAGES/qt4-qvfb.qm
2468 %lang(sl) %{_localedir}/sl/LC_MESSAGES/qt4-qvfb.qm
2469 %lang(uk) %{_localedir}/uk/LC_MESSAGES/qt4-qvfb.qm
2470 %lang(zh_CN) %{_localedir}/zh_CN/LC_MESSAGES/qt4-qvfb.qm
2471 %lang(zh_TW) %{_localedir}/zh_TW/LC_MESSAGES/qt4-qvfb.qm
2472
2473 %files doc
2474 %defattr(644,root,root,755)
2475 %{_docdir}/%{name}-doc
2476
2477 %files -n QtCLucene-devel -f QtCLucene-devel.files
2478 %defattr(644,root,root,755)
2479
2480 %files -n Qt3Support-devel -f Qt3Support-devel.files
2481 %defattr(644,root,root,755)
2482 %attr(755,root,root) %{_bindir}/uic3
2483 %attr(755,root,root) %{_qtdir}/bin/uic3
2484
2485 %files -n QtCore-devel -f QtCore-devel.files
2486 %defattr(644,root,root,755)
2487 %dir %{_includedir}/qt4/QtSolutions
2488
2489 %files -n QtDBus-devel -f QtDBus-devel.files
2490 %defattr(644,root,root,755)
2491
2492 %files -n QtDeclarative-devel -f QtDeclarative-devel.files
2493 %defattr(644,root,root,755)
2494
2495 %files -n QtDesigner-devel -f QtDesigner-devel.files
2496 %defattr(644,root,root,755)
2497
2498 %files -n QtGui-devel -f QtGui-devel.files
2499 %defattr(644,root,root,755)
2500
2501 %files -n QtHelp-devel -f QtHelp-devel.files
2502 %defattr(644,root,root,755)
2503
2504 %files -n QtMultimedia-devel -f QtMultimedia-devel.files
2505 %defattr(644,root,root,755)
2506
2507 %files -n QtNetwork-devel -f QtNetwork-devel.files
2508 %defattr(644,root,root,755)
2509
2510 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
2511 %defattr(644,root,root,755)
2512
2513 %if %{with openvg}
2514 %files -n QtOpenVG-devel -f QtOpenVG-devel.files
2515 %defattr(644,root,root,755)
2516 %endif
2517
2518 %files -n QtScript-devel -f QtScript-devel.files
2519 %defattr(644,root,root,755)
2520
2521 %files -n QtScriptTools-devel -f QtScriptTools-devel.files
2522 %defattr(644,root,root,755)
2523
2524 %files -n QtSql-devel -f QtSql-devel.files
2525 %defattr(644,root,root,755)
2526
2527 %files -n QtSvg-devel -f QtSvg-devel.files
2528 %defattr(644,root,root,755)
2529
2530 %files -n QtTest-devel -f QtTest-devel.files
2531 %defattr(644,root,root,755)
2532
2533 %files -n QtUiTools-devel -f QtUiTools-devel.files
2534 %defattr(644,root,root,755)
2535
2536 %files -n QtWebKit-devel -f QtWebKit-devel.files
2537 %defattr(644,root,root,755)
2538
2539 %files -n QtXml-devel -f QtXml-devel.files
2540 %defattr(644,root,root,755)
2541
2542 %files -n QtXmlPatterns-devel -f QtXmlPatterns-devel.files
2543 %defattr(644,root,root,755)
2544
2545 %if %{without system_phonon}
2546 %files phonon-devel -f phonon-devel.files
2547 %defattr(644,root,root,755)
2548 %endif
2549
2550 %if %{with static_libs}
2551 %files -n Qt3Support-static
2552 %defattr(644,root,root,755)
2553 %{_libdir}/libQt3Support.a
2554
2555 #%files -n QtCLucene-static
2556 #%defattr(644,root,root,755)
2557 #%{_libdir}/libQtCLucene.a
2558
2559 %files -n QtCore-static
2560 %defattr(644,root,root,755)
2561 %{_libdir}/libQtCore.a
2562
2563 %files -n QtDBus-static
2564 %defattr(644,root,root,755)
2565 %{_libdir}/libQtDBus.a
2566
2567 %files -n QtDesigner-static
2568 %defattr(644,root,root,755)
2569 %{_libdir}/libQtDesigner.a
2570 %{_libdir}/libQtDesignerComponents.a
2571
2572 %files -n QtGui-static
2573 %defattr(644,root,root,755)
2574 %{_libdir}/libQtGui.a
2575
2576 %files -n QtHelp-static
2577 %defattr(644,root,root,755)
2578 %{_libdir}/libQtHelp.a
2579
2580 %files -n QtMultimedia-static
2581 %defattr(644,root,root,755)
2582 %{_libdir}/libQtMultimedia.a
2583
2584 %files -n QtNetwork-static
2585 %defattr(644,root,root,755)
2586 %{_libdir}/libQtNetwork.a
2587
2588 %files -n QtOpenGL-static
2589 %defattr(644,root,root,755)
2590 %{_libdir}/libQtOpenGL.a
2591
2592 %if %{with openvg}
2593 %files -n QtOpenVG-static
2594 %defattr(644,root,root,755)
2595 %{_libdir}/libQtOpenVG.a
2596 %endif
2597
2598 %files -n QtScript-static
2599 %defattr(644,root,root,755)
2600 %{_libdir}/libQtScript.a
2601
2602 %files -n QtScriptTools-static
2603 %defattr(644,root,root,755)
2604 %{_libdir}/libQtScriptTools.a
2605
2606 %files -n QtSql-static
2607 %defattr(644,root,root,755)
2608 %{_libdir}/libQtSql.a
2609
2610 %files -n QtSvg-static
2611 %defattr(644,root,root,755)
2612 %{_libdir}/libQtSvg.a
2613
2614 %files -n QtTest-static
2615 %defattr(644,root,root,755)
2616 %{_libdir}/libQtTest.a
2617
2618 %files -n QtUiTools-static
2619 %defattr(644,root,root,755)
2620 %{_libdir}/libQtUiTools.a
2621
2622 %files -n QtWebKit-static
2623 %defattr(644,root,root,755)
2624 %{_libdir}/libQtWebKit.a
2625
2626 %files -n QtDeclarative-static
2627 %defattr(644,root,root,755)
2628 %{_libdir}/libQtDeclarative.a
2629
2630 %files -n QtXml-static
2631 %defattr(644,root,root,755)
2632 %{_libdir}/libQtXml.a
2633
2634 %files -n QtXmlPatterns-static
2635 %defattr(644,root,root,755)
2636 %{_libdir}/libQtXmlPatterns.a
2637 %endif
2638
2639 %files demos -f demos.files
2640 %defattr(644,root,root,755)
2641
2642 %files examples -f examples.files
2643 %defattr(644,root,root,755)
This page took 0.32498 seconds and 4 git commands to generate.