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