3 # - better descriptions
5 # - check if translations are available
8 %bcond_with nas # enable NAS audio support
9 %bcond_without static_libs # build static libraries
10 %bcond_without cups # disable CUPS support
11 %bcond_without mysql # don't build MySQL plugin
12 %bcond_without odbc # don't build unixODBC plugin
13 %bcond_without pgsql # don't build PostgreSQL plugin
14 %bcond_without sqlite3 # don't build SQLite3 plugin
15 %bcond_without sqlite # don't build SQLite2 plugin
16 %bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
17 %bcond_without pch # disable pch in qmake
18 %bcond_with sse # use SSE instructions in gui/painting module
19 %bcond_with dont_enable # blocks translations, they are not yet available
20 %bcond_with AC # build for AC
22 %undefine with_dont_enable
24 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
28 %ifarch pentium3 pentium4 %{x8664}
33 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
35 Summary: The Qt GUI application framework
36 Summary(es): Biblioteca para ejecutar aplicaciones GUI Qt
37 Summary(pl): Biblioteka Qt do tworzenia GUI
38 Summary(pt_BR): Estrutura para rodar aplicações GUI Qt
44 Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
45 # Source0-md5: 2c062a125d5ca66397e3430ba537fbec
46 Source2: %{name}-qtconfig.desktop
47 Source3: %{name}-designer.desktop
48 Source4: %{name}-assistant.desktop
49 Source5: %{name}-linguist.desktop
50 Patch0: %{name}-tools.patch
51 Patch2: %{name}-buildsystem.patch
52 Patch3: %{name}-locale.patch
53 Patch5: %{name}-sse.patch
54 Patch6: %{name}-antialias.patch
55 Patch7: %{name}-support-cflags-with-commas.patch
56 Patch8: %{name}-build-lib-static.patch
57 Patch9: %{name}-x11_fonts.patch
58 URL: http://www.trolltech.com/products/qt/
59 %{?with_ibase:BuildRequires: Firebird-devel}
60 BuildRequires: OpenGL-GLU-devel
61 %{?with_sqlite3:BuildRequires: sqlite3-devel}
62 # incompatible with bison
63 %{?with_cups:BuildRequires: cups-devel}
64 BuildRequires: dbus-devel
65 BuildRequires: fontconfig-devel
66 BuildRequires: freetype-devel >= 1:2.0.0
67 %{!?with_AC:%{?with_pch:BuildRequires: gcc >= 5:4.0}}
68 BuildRequires: giflib-devel
69 BuildRequires: glib2-devel >= 2.0.0
70 BuildRequires: libjpeg-devel
71 BuildRequires: libmng-devel >= 1.0.0
72 BuildRequires: libpng-devel >= 2:1.0.8
73 BuildRequires: libstdc++-devel
74 %{?with_mysql:BuildRequires: mysql-devel}
75 %{?with_nas:BuildRequires: nas-devel}
76 BuildRequires: pkgconfig
77 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
78 %{?with_pgsql:BuildRequires: postgresql-devel}
79 BuildRequires: rpmbuild(macros) >= 1.213
80 BuildRequires: sed >= 4.0
81 %{?with_sqlite:BuildRequires: sqlite-devel}
82 %{?with_odbc:BuildRequires: unixODBC-devel}
84 BuildRequires: xorg-lib-libSM-devel
85 BuildRequires: xorg-lib-libXcursor-devel
86 BuildRequires: xorg-lib-libXext-devel
87 BuildRequires: xorg-lib-libXi-devel
88 BuildRequires: xorg-lib-libXinerama-devel
89 BuildRequires: xorg-lib-libXrandr-devel
90 BuildRequires: xorg-lib-libXrender-devel
92 %{?with_AC:BuildRequires: X11-devel}
93 BuildRequires: zlib-devel
94 BuildConflicts: QtCore-devel < %{version}
95 Obsoletes: qt-extensions
97 Conflicts: kdelibs <= 8:3.2-0.030602.1
98 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
100 %define _noautoreqdep libGL.so.1 libGLU.so.1
101 %define _noautostrip '.*_debug\\.so*'
103 %define specflags -fno-strict-aliasing
105 %define _qtdir %{_libdir}/qt4
108 Qt is a complete C++ application development framework, which includes
109 a class library and tools for multiplatform development and
110 internationalization. Using Qt, a single source code tree can build
111 applications that run natively on different platforms (Windows,
112 Unix/Linux, Mac OS X, embedded Linux).
114 Qt has a rich set of standard widgets, and lets you write custom
115 controls. It encapsulates four different platform-specific APIs, and
116 the APIs for file-handling, networking, process-handling, threading,
117 database access, etc. Qt now also has Motif migration oraz Netscape
121 Contiene las bibliotecas compartidas necesarias para ejecutar
122 aplicaciones Qt, bien como los archivos README.
125 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
126 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
127 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
128 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
129 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
131 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
132 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
133 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
134 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
135 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
136 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
137 wykorzystaniem Netscape LiveConnect.
140 Summary: Core classes used by other modules
141 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
144 %description -n QtCore
145 Core classes used by other modules.
147 %description -n QtCore -l pl
148 Podstawowe klasy u¿ywane przez inne modu³y.
150 %package -n QtCore-devel
151 Summary: Core classes used by other modules - development files
152 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
153 Group: X11/Development/Libraries
154 Requires: QtCore = %{version}-%{release}
155 Requires: libstdc++-devel
158 %description -n QtCore-devel
159 Core classes used by other modules - development files.
161 %description -n QtCore-devel -l pl
162 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
164 %package -n QtCore-static
165 Summary: Core classes used by other modules - static libraries
166 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
167 Group: X11/Development/Libraries
168 Requires: QtCore-devel = %{version}-%{release}
170 %description -n QtCore-static
171 Core classes used by other modules - static libraries.
173 %description -n QtCore-static -l pl
174 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
177 Summary: Graphical User Interface components
178 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
180 Requires: QtCore = %{version}-%{release}
181 # two following because of some plugins
182 Requires: Qt3Support = %{version}-%{release}
183 Requires: QtSql = %{version}-%{release}
185 %description -n QtGui
186 Graphical User Interface components.
188 %description -n QtGui -l pl
189 Komponenty graficznego interfejsu u¿ytkownika.
191 %package -n QtGui-devel
192 Summary: Graphical User Interface components - development files
193 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
194 Group: X11/Development/Libraries
195 Requires: QtCore-devel = %{version}-%{release}
196 Requires: QtGui = %{version}-%{release}
197 Requires: fontconfig-devel
198 Requires: freetype-devel >= 1:2.0.0
199 Requires: libpng-devel >= 2:1.0.8
201 Requires: xorg-lib-libSM-devel
202 Requires: xorg-lib-libXcursor-devel
203 Requires: xorg-lib-libXext-devel
204 Requires: xorg-lib-libXi-devel
205 Requires: xorg-lib-libXinerama-devel
206 Requires: xorg-lib-libXrandr-devel
207 Requires: xorg-lib-libXrender-devel
209 %{?with_AC:Requires: X11-devel}
211 %description -n QtGui-devel
212 Graphical User Interface components - development files.
214 %description -n QtGui-devel -l pl
215 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
217 %package -n QtGui-static
218 Summary: Graphical User Interface components - static libraries
219 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
220 Group: X11/Development/Libraries
221 Requires: QtGui-devel = %{version}-%{release}
223 %description -n QtGui-static
224 Graphical User Interface components - static libraries.
226 %description -n QtGui-static -l pl
227 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
229 %package -n QtNetwork
230 Summary: Classes for network programming
231 Summary(pl): Klasy do programowania sieciowego
233 Requires: QtCore = %{version}-%{release}
235 %description -n QtNetwork
236 Classes for network programming.
238 %description -n QtNetwork -l pl
239 Klasy do programowania sieciowego.
241 %package -n QtNetwork-devel
242 Summary: Classes for network programming - development files
243 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
244 Group: X11/Development/Libraries
245 Requires: QtCore-devel = %{version}-%{release}
246 Requires: QtNetwork = %{version}-%{release}
248 %description -n QtNetwork-devel
249 Classes for network programming - development files.
251 %description -n QtNetwork-devel -l pl
252 Klasy do programowania sieciowego - pliki programistyczne.
254 %package -n QtNetwork-static
255 Summary: Classes for network programming - static libraries
256 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
257 Group: X11/Development/Libraries
258 Requires: QtNetwork-devel = %{version}-%{release}
260 %description -n QtNetwork-static
261 Classes for network programming - static libraries.
263 %description -n QtNetwork-static -l pl
264 Klasy do programowania sieciowego - biblioteki statyczne.
267 Summary: OpenGL support classes
268 Summary(pl): Klasy wspomagaj±ce OpenGL
270 Requires: QtCore = %{version}-%{release}
272 %description -n QtOpenGL
273 OpenGL support classes.
275 %description -n QtOpenGL -l pl
276 Klasy wspomagaj±ce OpenGL.
278 %package -n QtOpenGL-devel
279 Summary: OpenGL support classes - development files
280 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
281 Group: X11/Development/Libraries
282 Requires: OpenGL-GLU-devel
283 Requires: QtCore-devel = %{version}-%{release}
284 Requires: QtOpenGL = %{version}-%{release}
286 %description -n QtOpenGL-devel
287 OpenGL support classes - development files.
289 %description -n QtOpenGL-devel -l pl
290 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
292 %package -n QtOpenGL-static
293 Summary: OpenGL support classes - static libraries
294 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
295 Group: X11/Development/Libraries
296 Requires: QtOpenGL-devel = %{version}-%{release}
298 %description -n QtOpenGL-static
299 OpenGL support classes - static libraries.
301 %description -n QtOpenGL-devel -l pl
302 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
305 Summary: Classes for database integration using SQL
306 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
308 Requires: QtCore = %{version}-%{release}
310 %description -n QtSql
311 Classes for database integration using SQL.
313 %description -n QtSql -l pl
314 Klasy do integracji z bazami danych przy u¿yciu SQL.
316 %package -n QtSql-devel
317 Summary: Classes for database integration using SQL - development files
318 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
319 Group: X11/Development/Libraries
320 Requires: QtCore-devel = %{version}-%{release}
321 Requires: QtSql = %{version}-%{release}
323 %description -n QtSql-devel
324 Classes for database integration using SQL - development files.
326 %description -n QtSql-devel -l pl
327 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
330 %package -n QtSql-static
331 Summary: Classes for database integration using SQL - static libraries
332 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
333 Group: X11/Development/Libraries
334 Requires: QtSql-devel = %{version}-%{release}
336 %description -n QtSql-static
337 Classes for database integration using SQL - static libraries.
339 %description -n QtSql-static -l pl
340 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
341 statyczne. programistyczne.
343 %package -n QtSql-ibase
344 Summary: Database plugin for InterBase/Firebird Qt support
345 Summary(pl): Wtyczka InterBase/Firebird do Qt
346 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
348 Requires: QtSql = %{version}-%{release}
349 Provides: QtSql-backend = %{version}-%{release}
351 %description -n QtSql-ibase
352 This package contains a plugin for accessing Interbase/Firebird
353 database via the QSql classes.
355 %description -n QtSql-ibase -l pl
356 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
357 danych Interbase/Firebird poprzez klasy QSql.
359 %description -n QtSql-ibase -l pt_BR
360 Plugin de suporte a InterBase/Firebird para Qt.
362 %package -n QtSql-mysql
363 Summary: Database plugin for MySQL Qt support
364 Summary(pl): Wtyczka MySQL do Qt
365 Summary(pt_BR): Plugin de suporte a MySQL para Qt
367 Requires: QtSql = %{version}-%{release}
368 Provides: QtSql-backend = %{version}-%{release}
370 %description -n QtSql-mysql
371 This package contains a plugin for accessing MySQL database via the
374 %description -n QtSql-mysql -l pl
375 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
376 danych MySQL poprzez klasy QSql.
378 %description -n QtSql-mysql -l pt_BR
379 Plugin de suporte a MySQL para Qt.
381 %package -n QtSql-odbc
382 Summary: Database plugin for ODBC Qt support
383 Summary(pl): Wtyczka ODBC do Qt
384 Summary(pt_BR): Plugin de suporte a ODBC para Qt
386 Requires: QtSql = %{version}-%{release}
387 Provides: QtSql-backend = %{version}-%{release}
389 %description -n QtSql-odbc
390 This package contains a plugin for accessing unixODBC services via the
393 %description -n QtSql-odbc -l pl
394 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
395 unixODBC poprzez klasy QSql.
397 %description -n QtSql-odbc -l pt_BR
398 Plugin de suporte a ODBC para Qt.
400 %package -n QtSql-pgsql
401 Summary: Database plugin for PostgreSQL Qt support
402 Summary(pl): Wtyczka PostgreSQL do Qt
403 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
405 Requires: QtSql = %{version}-%{release}
406 Provides: QtSql-backend = %{version}-%{release}
408 %description -n QtSql-pgsql
409 This package contains a plugin for accessing PostgreSQL database via
412 %description -n QtSql-pgsql -l pl
413 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
414 danych PostgreSQL poprzez klasy QSql.
416 %description -n QtSql-pgsql -l es
417 Plugin de suporte a PostgreSQL para Qt.
419 %package -n QtSql-sqlite
420 Summary: Database plugin for SQLite 2.x Qt support
421 Summary(pl): Wtyczka SQLite 2.x do Qt
422 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
424 Requires: QtSql = %{version}-%{release}
425 Provides: QtSql-backend = %{version}-%{release}
427 %description -n QtSql-sqlite
428 This package contains a plugin for using the SQLite 2.x library (which
429 allows to acces virtually any SQL database) via the QSql classes.
431 %description -n QtSql-sqlite -l pl
432 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
433 danych SQLite 2.x poprzez klasy QSql.
435 %description -n QtSql-sqlite -l pt_BR
436 Plugin de suporte a SQLite 2.x para Qt.
438 %package -n QtSql-sqlite3
439 Summary: Database plugin for SQLite3 Qt support
440 Summary(pl): Wtyczka SQLite3 do Qt
441 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
443 Requires: QtSql = %{version}-%{release}
444 Provides: QtSql-backend = %{version}-%{release}
446 %description -n QtSql-sqlite3
447 This package contains a plugin for using the SQLite3 library (which
448 allows to acces virtually any SQL database) via the QSql classes.
450 %description -n QtSql-sqlite3 -l pl
451 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
452 danych SQLite3 poprzez klasy QSql.
454 %description -n QtSql-sqlite3 -l pt_BR
455 Plugin de suporte a SQLite3 para Qt.
459 Summary(pl): Wsparcie dla SVG
461 Requires: QtCore = %{version}-%{release}
463 %description -n QtSvg
466 %description -n QtSvg -l pl
469 %package -n QtSvg-devel
470 Summary: SVG support - development files
471 Summary(pl): Wsparcie dla SVG - pliki programistyczne
472 Group: X11/Development/Libraries
473 Requires: QtCore-devel = %{version}-%{release}
474 Requires: QtSvg = %{version}-%{release}
476 %description -n QtSvg-devel
477 SVG support - development files.
479 %description -n QtSvg-devel -l pl
480 Wsparcie dla SVG - pliki programistyczne.
482 %package -n QtSvg-static
483 Summary: SVG support - static libraries
484 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
485 Group: X11/Development/Libraries
486 Requires: QtSvg-devel = %{version}-%{release}
488 %description -n QtSvg-static
489 SVG support - static libraries.
491 %description -n QtSvg-static -l pl
492 Wsparcie dla SVG - biblioteki statyczne.
495 Summary: Test framework
496 Summary(pl): Szkielet testów
498 Requires: QtCore = %{version}-%{release}
500 %description -n QtTest
503 %description -n QtTest -l pl
506 %package -n QtTest-devel
507 Summary: Test framework - development files
508 Summary(pl): Szkielet testów - pliki programistyczne
509 Group: X11/Development/Libraries
510 Requires: QtCore-devel = %{version}-%{release}
511 Requires: QtTest = %{version}-%{release}
513 %description -n QtTest-devel
514 Test framework - development files.
516 %description -n QtTest-devel -l pl
517 Szkielet testów - pliki programistyczne.
520 Summary: Classes for handling XML
521 Summary(pl): Klasy do obs³ugi XML-a
523 Requires: QtCore = %{version}-%{release}
525 %description -n QtXml
526 Classes for handling XML.
528 %description -n QtXml -l pl
529 Klasy do obs³ugi XML-a.
531 %package -n QtXml-devel
532 Summary: Classes for handling XML - development files
533 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
534 Group: X11/Development/Libraries
535 Requires: QtCore-devel = %{version}-%{release}
536 Requires: QtXml = %{version}-%{release}
538 %description -n QtXml-devel
539 Classes for handling XML - development files.
541 %description -n QtXml-devel -l pl
542 Klasy do obs³ugi XML-a - pliki programistyczne.
544 %package -n QtXml-static
545 Summary: Classes for handling XML - static libraries
546 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
547 Group: X11/Development/Libraries
548 Requires: QtXml-devel = %{version}-%{release}
550 %description -n QtXml-static
551 Classes for handling XML - static libraries.
553 %description -n QtXml-static -l pl
554 Klasy do obs³ugi XML-a - biblioteki statyczne.
556 %package -n Qt3Support
557 Summary: Qt3 compatibility library
558 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
560 Requires: QtCore = %{version}-%{release}
562 %description -n Qt3Support
563 Qt3 compatibility library.
565 %description -n Qt3Support -l pl
566 Biblioteka kompatybilno¶ci z Qt3.
568 %package -n Qt3Support-devel
569 Summary: Qt3 compatibility library - development files
570 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
571 Group: X11/Development/Libraries
572 Requires: Qt3Support = %{version}-%{release}
573 Requires: QtCore-devel = %{version}-%{release}
575 %description -n Qt3Support-devel
576 Qt3 compatibility library - development files.
578 %description -n Qt3Support-devel -l pl
579 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
581 %package -n Qt3Support-static
582 Summary: Qt3 compatibility library - static libraries
583 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
584 Group: X11/Development/Libraries
585 Requires: Qt3Support-devel = %{version}-%{release}
587 %description -n Qt3Support-static
588 Qt3 compatibility library - static libraries.
590 %description -n Qt3Support-static -l pl
591 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
593 %package -n QtAssistant
594 Summary: Qt Assistant client library
595 Summary(pl): Biblioteka kliencka Qt Assistant
596 Group: X11/Development/Libraries
598 %description -n QtAssistant
599 This library allows to use Qt Assistant as an application's help tool.
601 %description -n QtAssistant -l pl
602 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
603 pomocy w aplikacjach.
605 %package -n QtAssistant-devel
606 Summary: Qt Assistant client library - development files
607 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
608 Group: X11/Development/Libraries
609 Requires: QtAssistant = %{version}-%{release}
610 Requires: QtNetwork-devel = %{version}-%{release}
612 %description -n QtAssistant-devel
613 Development files for Qt Assistant client library.
615 %description -n QtAssistant-devel -l pl
616 Pliki programistyczne biblioteki klienckiej Qt Assistant.
618 %package -n QtAssistant-static
619 Summary: Static Qt Assistant client library
620 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
621 Group: X11/Development/Libraries
622 Requires: QtAssistant-devel = %{version}-%{release}
624 %description -n QtAssistant-static
625 Static Qt Assistant client library.
627 %description -n QtAssistant-static -l pl
628 Statyczna biblioteka kliencka Qt Assistant.
631 Summary: Classes for D-BUS support
632 Summary(pl): Klasy do obs³ugi D-BUS
634 Requires: QtCore = %{version}-%{release}
635 # is it really required? libs should need just libs, not service
638 %description -n QtDBus
639 This module provides classes for D-BUS support. D-BUS is an
640 Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
641 mechanism originally developed for Linux to replace existing and
642 competing IPC solutions with one unified protocol.
644 %description -n QtDBus -l pl
645 Ten modu³ udostêpnia klasy do obs³ugi D-BUS. D-BUS to mechanizm
646 komunikacji miêdzy procesowej (IPC - Inter-Process Communication) i
647 zdalnego wywo³ywania procedur (RPC - Remote Procedure Calling)
648 stworzony pocz±tkowo dla Linuksa, aby zast±piæ istniej±ce i
649 konkuruj±ce ze sob± rozwi±zania IPC jednym, ujednoliconym protoko³em.
651 %package -n QtDBus-devel
652 Summary: Classes for D-BUS support - development files
653 Summary(pl): Klasy do obs³ugi D-BUS - pliki programistyczne
654 Group: X11/Development/Libraries
655 Requires: QtCore-devel = %{version}-%{release}
656 Requires: QtDesigner = %{version}-%{release}
658 %description -n QtDBus-devel
659 Classes for D-BUS support - development files.
661 %description -n QtDBus-devel -l pl
662 Klasy do obs³ugi D-BUS - pliki programistyczne.
664 %package -n QtDBus-static
665 Summary: Classes for D-BUS support - static libraries
666 Summary(pl): Klasy do obs³ugi D-BUS - biblioteki statyczne
667 Group: X11/Development/Libraries
668 Requires: QtDBus-devel = %{version}-%{release}
670 %description -n QtDBus-static
671 Classes for D-BUS support - static libraries.
673 %description -n QtDBus-static -l pl
674 Klasy do obs³ugi D-BUS - biblioteki statyczne.
676 %package -n QtDesigner
677 Summary: Classes for extending Qt Designer
678 Summary(pl): Klasy do rozbudowy Qt Designera
680 Requires: QtGui = %{version}-%{release}
681 Requires: QtNetwork = %{version}-%{release}
682 Requires: QtXml = %{version}-%{release}
683 Obsoletes: qt4-designer-libs
685 %description -n QtDesigner
686 This module provides classes that allow you to create your own custom
687 widget plugins for Qt Designer, and classes that enable you to access
688 Qt Designer's components.
690 %description -n QtDesigner -l pl
691 Ten modu³ dostarcza klasy, które pozwalaj± tworzyæ w³asne wtyczki dla
692 Qt Designera oraz klasy, które umo¿liwiaj± dostêp do jego komponentów.
694 %package -n QtDesigner-devel
695 Summary: Classes for extending Qt Designer - development files
696 Summary(pl): Klasy do rozbudowy Qt Designera - pliki programistyczne
697 Group: X11/Development/Libraries
698 Requires: QtCore-devel = %{version}-%{release}
699 Requires: QtDesigner = %{version}-%{release}
701 %description -n QtDesigner-devel
702 Classes for extending Qt Designer - development files.
704 %description -n QtDesigner-devel -l pl
705 Klasy do rozbudowy Qt Designera - pliki programistyczne.
707 %package -n QtDesigner-static
708 Summary: Classes for extending Qt Designer - static libraries
709 Summary(pl): Klasy do rozbudowy Qt Designera - biblioteki statyczne
710 Group: X11/Development/Libraries
711 Requires: QtDesigner-devel = %{version}-%{release}
713 %description -n QtDesigner-static
714 Classes for extending Qt Designer - static libraries.
716 %description -n QtDesigner-static -l pl
717 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
719 %package -n QtUiTools
720 Summary: Classes for handling Qt Designer forms in applications
721 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach
724 %description -n QtUiTools
725 The QtUiTools module provides classes to handle forms created with Qt
728 %description -n QtUiTools -l pl
729 Modu³ QtUiTools udostêpnia klasy do obs³ugi formularzy tworzonych przy
732 %package -n QtUiTools-devel
733 Summary: Classes for handling Qt Designer forms in applications - development files
734 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki programistyczne
735 Group: X11/Development/Libraries
737 %description -n QtUiTools-devel
738 Classes for handling Qt Designer forms in applications - development
741 %description -n QtUiTools-devel -l pl
742 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki
745 %package -n QtUiTools-static
746 Summary: Classes for handling Qt Designer forms in applications - static library
747 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka statyczna
748 Group: X11/Development/Libraries
750 %description -n QtUiTools-static
751 Classes for handling Qt Designer forms in applications - static
754 %description -n QtUiTools-static -l pl
755 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka
759 Summary: Qt documentation browser
760 Summary(pl): Przegl±darka dokumentacji Qt
761 Group: X11/Development/Tools
762 Requires: %{name}-doc = %{version}-%{release}
763 Requires: QtAssistant = %{version}-%{release}
765 %description assistant
766 Qt Assistant is a tool for browsing on-line documentation with
767 indexing, bookmarks and full-text search.
769 %description assistant -l pl
770 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
771 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
774 Summary: Build tools for Qt4
775 Summary(pl): Narzêdzia do budowania dla Qt4
776 Group: X11/Development/Tools
777 Requires: QtCore = %{version}-%{release}
778 Requires: QtXml = %{version}-%{release}
781 This package includes the Qt resource compiler (rcc), meta objects
782 compiler (moc), user interface compiler (uic) and qt3to4 include names
785 %description build -l pl
786 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
787 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
788 konwerter nazw plików nag³ówkowych qt3to4.
791 Summary: IDE used for GUI designing with Qt library
792 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
793 Group: X11/Applications
794 Requires: QtDesigner = %{version}-%{release}
796 %description designer
797 An advanced tool used for GUI designing with Qt library.
799 %description designer -l pl
800 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
801 za pomoc± biblioteki Qt.
804 Summary: Translation helper for Qt
805 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
806 Group: X11/Development/Tools
808 %description linguist
809 This program provides an interface that shortens and helps systematize
810 the process of translating GUIs. Qt Linguist takes all of the text of
811 a UI that will be shown to the user, and presents it to a human
812 translator in a simple window. When one UI text is translated, the
813 program automatically progresses to the next, until they are all
816 %description linguist -l pl
817 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
818 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
819 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
820 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
821 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
824 Summary: Qt makefile generator
825 Summary(pl): Generator plików makefile dla aplikacji Qt
826 Group: X11/Development/Tools
829 A powerful makefile generator. It can create makefiles on any platform
830 from a simple .pro definitions file.
832 %description qmake -l pl
833 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
834 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
837 Summary: Qt widgets configuration tool
838 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
839 Group: X11/Applications
841 %description qtconfig
842 A tool for configuring look and behavior of Qt widgets.
844 %description qtconfig -l pl
845 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
848 Summary: Qt Virtual framebuffer
849 Summary(pl): Wirtualny framebuffer dla Qt
850 Group: X11/Development/Libraries
853 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
856 %description -n qvfb -l pl
857 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
861 Summary: Demos of new Qt4 features
862 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
863 Group: X11/Development/Libraries
864 Requires: QtCore = %{version}-%{release}
865 Requires: QtXml = %{version}-%{release}
868 Demos are spiders that fly.
870 %description demos -l pl
871 Dema to lataj±ce paj±ki.
874 Summary: Qt Documentation in HTML format
875 Summary(pl): Dokumentacja Qt w formacie HTML
876 Group: X11/Development/Libraries
879 Qt documentation in HTML format.
881 %description doc -l pl
882 Dokumentacja qt w formacie HTML.
885 Summary: Example programs bundled with Qt
886 Summary(pl): Æwiczenia i przyk³ady do Qt
887 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
888 Group: X11/Development/Libraries
889 # no it does not , we cant be sure the user wants to compile them right?
890 # he might just want to take a look, anwyay no single devel package now
891 #Requires: %{name}-devel = %{version}-%{release}
893 %description examples
894 Example programs bundled with Qt version.
896 %description examples -l pl
897 Æwiczenia/przyk³ady do³±czone do Qt.
899 %description examples -l pt_BR
900 Programas exemplo para o Qt versão.
903 %setup -q -n qt-x11-opensource-src-%{version}
913 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
915 # change QMAKE_CFLAGS_RELEASE to build
916 # properly optimized libs
918 if [ "%{_lib}" != "lib" ] ; then
919 cfgf="mkspecs/linux-g++-64/qmake.conf"
921 cfgf="mkspecs/linux-g++/qmake.conf"
925 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
926 s|QMAKE_CXX.*=.*g++|QMAKE_CXX = %{__cxx}|;
927 s|QMAKE_LINK.*=.*g++|QMAKE_LINK = %{__cxx}|;
928 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|;
929 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
933 | grep -v QMAKE_CFLAGS_RELEASE \
934 | grep -v QMAKE_CXXFLAGS_RELEASE \
935 | grep -v QMAKE_CFLAGS_DEBUG \
936 | grep -v QMAKE_CXXFLAGS_DEBUG \
941 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
942 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
943 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
944 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
947 # pass OPTFLAGS to build qmake itself with optimization
948 export OPTFLAGS="%{rpmcflags}"
949 export PATH=$PWD/bin:$PATH
951 ##################################
952 # DEFAULT OPTIONS FOR ALL BUILDS #
953 ##################################
956 -DQT_CLEAN_NAMESPACE \
959 -bindir %{_qtdir}/bin \
960 -docdir %{_docdir}/%{name}-doc \
961 -headerdir %{_includedir}/qt4 \
964 -plugindir %{_qtdir}/plugins \
965 -datadir %{_datadir}/qt4 \
966 -translationdir %{_datadir}/locale/ \
967 -sysconfdir %{_sysconfdir}/qt4 \
968 -examplesdir %{_examplesdir}/qt4 \
969 -demosdir %{_examplesdir}/qt4-demos \
972 -%{!?with_AC:%{!?with_pch:no-}}pch \
973 -%{!?with_sse:no-}sse \
980 -I%{_includedir}/postgresql/server \
981 -I%{_includedir}/mysql \
982 %{?with_cups:-cups} \
983 %{?with_nas:-system-nas-sound} \
985 %{!?debug:-release} \
986 %{?with_AC:-L/usr/X11R6/lib} \
997 ##################################
998 # STATIC MULTI-THREAD #
999 ##################################
1001 %if %{with static_libs}
1003 %{?with_mysql:-qt-sql-mysql} \
1004 %{?with_odbc:-qt-sql-odbc} \
1005 %{?with_pgsql:-qt-sql-psql} \
1006 %{?with_sqlite3:-qt-sql-sqlite} \
1007 %{?with_sqlite:-qt-sql-sqlite2} \
1008 %{?with_ibase:-qt-sql-ibase} \
1011 echo "yes" | ./configure $COMMONOPT $OPT
1014 %{__make} -C tools/assistant/lib
1015 %{__make} -C tools/designer
1016 if [ ! -d staticlib ]; then
1018 cp -a lib/*.a staticlib
1023 ##################################
1024 # SHARED MULTI-THREAD #
1025 ##################################
1028 %{?with_mysql:-plugin-sql-mysql} \
1029 %{?with_odbc:-plugin-sql-odbc} \
1030 %{?with_pgsql:-plugin-sql-psql} \
1031 %{?with_sqlite3:-plugin-sql-sqlite} \
1032 %{?with_sqlite:-plugin-sql-sqlite2} \
1033 %{?with_ibase:-plugin-sql-ibase}"
1035 echo "yes" | ./configure $COMMONOPT $OPT
1038 %if %{with dont_enable}
1040 sub-tools-all-ordered \
1041 sub-demos-all-ordered \
1042 sub-examples-all-ordered
1044 cd tools/designer/designer
1045 lrelease designer_de.ts
1046 lrelease designer_fr.ts
1049 lrelease assistant_de.ts
1050 lrelease assistant_fr.ts
1052 cd tools/linguist/linguist
1053 lrelease linguist_de.ts
1054 lrelease linguist_fr.ts
1059 rm -rf $RPM_BUILD_ROOT
1060 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1061 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1064 INSTALL_ROOT=$RPM_BUILD_ROOT
1066 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1067 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,pc,prl}
1069 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_qtdir}/plugins/sqldrivers
1072 install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
1073 install bin/qvfb $RPM_BUILD_ROOT%{_bindir}
1074 install bin/pixeltool $RPM_BUILD_ROOT%{_bindir}
1075 install bin/qdbus* $RPM_BUILD_ROOT%{_bindir}
1077 cd $RPM_BUILD_ROOT%{_bindir}
1078 ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1079 ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1080 ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
1081 ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
1082 ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
1083 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1084 ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
1085 ln -sf ../%{_lib}/qt4/bin/rcc .
1086 ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1087 ln -sf ../%{_lib}/qt4/bin/uic3 .
1090 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1091 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1092 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1094 install tools/qtconfig/images/appicon.png \
1095 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
1097 install tools/linguist/linguist/images/appicon.png \
1098 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
1100 install tools/assistant/images/assistant.png \
1101 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
1103 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1104 install tools/designer/src/designer/images/designer.png \
1105 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
1107 %if %{with static_libs}
1108 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1114 rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
1115 for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm
1117 [ ! -f $file ] && continue
1118 LANG=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
1119 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
1120 [ "$LANG" == "iw" ] && LANG=he
1121 [ "$MOD" == "qt" ] && MOD=qt4
1122 mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES
1123 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES/$MOD.qm
1126 %if %{with dont_enable}
1127 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1128 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1130 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1132 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1133 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1136 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1137 for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Sql,Svg,Test,UiTools,Xml}/*
1139 if [ ! -d $f ]; then
1140 ln -sf $f `basename $f`
1145 # Ship doc & qmake stuff
1146 ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1147 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1149 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1150 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1151 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1152 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1153 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1156 if [ "$MODULE2" == "3SUPPORT" ]; then
1157 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1159 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1161 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1163 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1166 # Prepare some files list
1168 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1169 [ "$RESULT" == "" ] && return
1170 r=`echo $RESULT | awk '{ print $1 }'`
1172 if [ -d "$r" ]; then
1173 echo "%%dir $2" >> $1.files
1174 elif [ -x "$r" ] ; then
1175 echo "%%attr(755,root,root) $2" >> $1.files
1176 elif [ -f "$r" ]; then
1177 echo "$2" >> $1.files
1179 echo "Error generation devel files list!"
1180 echo "$r: no such file or direcotry!"
1187 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1188 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1189 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1190 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1191 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1192 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1193 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1195 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1197 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1198 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1200 for f in $@; do ifecho $MODULE-devel $f; done
1203 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1204 mkdevfl QtDBus %{_bindir}/qdbus %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
1214 # without *.la *.pc etc.
1215 mkdevfl QtAssistant || /bin/true
1216 mkdevfl QtDesigner || /bin/true
1217 mkdevfl QtUiTools || /bin/true
1219 echo "%defattr(644,root,root,755)" > examples.files
1220 ifecho examples %{_examplesdir}/qt4
1221 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1223 ifecho examples %{_examplesdir}/qt4/$f
1226 echo "%defattr(644,root,root,755)" > demos.files
1227 ifecho demos "%{_examplesdir}/qt4-demos"
1228 ifecho demos "%{_qtdir}/bin/qtdemo"
1229 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1231 ifecho demos %{_examplesdir}/qt4-demos/$f
1235 rm -rf $RPM_BUILD_ROOT
1240 *******************************************************
1243 * With qt 4.0.0 the single threaded version was *
1244 * removed. Also the library is modular now so be *
1245 * sure to check that you have every module you need. *
1247 *******************************************************
1249 %postun -n QtCore -p /sbin/ldconfig
1251 %post -n QtDBus -p /sbin/ldconfig
1252 %postun -n QtDBus -p /sbin/ldconfig
1254 %post -n QtGui -p /sbin/ldconfig
1255 %postun -n QtGui -p /sbin/ldconfig
1257 %post -n QtNetwork -p /sbin/ldconfig
1258 %postun -n QtNetwork -p /sbin/ldconfig
1260 %post -n QtOpenGL -p /sbin/ldconfig
1261 %postun -n QtOpenGL -p /sbin/ldconfig
1263 %post -n QtSql -p /sbin/ldconfig
1264 %postun -n QtSql -p /sbin/ldconfig
1266 %post -n QtSvg -p /sbin/ldconfig
1267 %postun -n QtSvg -p /sbin/ldconfig
1269 %post -n QtTest -p /sbin/ldconfig
1270 %postun -n QtTest -p /sbin/ldconfig
1272 %post -n QtXml -p /sbin/ldconfig
1273 %postun -n QtXml -p /sbin/ldconfig
1275 %post -n Qt3Support -p /sbin/ldconfig
1276 %postun -n Qt3Support -p /sbin/ldconfig
1278 %post -n QtAssistant -p /sbin/ldconfig
1279 %postun -n QtAssistant -p /sbin/ldconfig
1281 %post -n QtDesigner -p /sbin/ldconfig
1282 %postun -n QtDesigner -p /sbin/ldconfig
1284 %post -n QtUiTools -p /sbin/ldconfig
1285 %postun -n QtUiTools -p /sbin/ldconfig
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1292 %dir %{_qtdir}/plugins
1293 %dir %{_qtdir}/plugins/accessible
1294 #%dir %{_qtdir}/plugins/codecs
1295 %dir %{_qtdir}/plugins/crypto
1296 %dir %{_qtdir}/plugins/imageformats
1297 %dir %{_qtdir}/plugins/inputmethods
1298 %dir %{_qtdir}/plugins/network
1299 %dir %{_qtdir}/plugins/sqldrivers
1300 %dir %{_datadir}/qt4
1301 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
1302 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt4.qm
1303 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
1304 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
1305 %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
1306 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1307 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
1308 %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
1311 %defattr(644,root,root,755)
1312 %attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1317 %{_qtdir}/plugins/accessible/*.so
1318 #%{_qtdir}/plugins/codecs/*.so
1319 %{_qtdir}/plugins/imageformats/*.so
1320 %{_qtdir}/plugins/inputmethods/*.so
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1331 %defattr(644,root,root,755)
1332 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1335 %files -n QtSql-mysql
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
1341 %files -n QtSql-pgsql
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
1347 %files -n QtSql-sqlite
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1353 %files -n QtSql-sqlite3
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
1357 %exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1362 %files -n QtSql-ibase
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
1368 %files -n QtSql-odbc
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
1374 %defattr(644,root,root,755)
1375 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1378 %defattr(644,root,root,755)
1379 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1385 %files -n Qt3Support
1386 %defattr(644,root,root,755)
1387 %attr(755,root,root) %{_bindir}/uic3
1388 %attr(755,root,root) %{_qtdir}/bin/uic3
1389 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1391 %files -n QtAssistant
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1395 %files -n QtDesigner
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1398 %dir %{_qtdir}/plugins/designer
1399 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_bindir}/pixeltool
1408 %attr(755,root,root) %{_bindir}/qt4-assistant
1409 %attr(755,root,root) %{_qtdir}/bin/assistant
1410 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1411 %{_desktopdir}/qt4-assistant.desktop
1412 %{_pixmapsdir}/qt4-assistant.png
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_bindir}/rcc
1417 %attr(755,root,root) %{_bindir}/qt4-moc
1418 %attr(755,root,root) %{_bindir}/qt3to4
1419 %attr(755,root,root) %{_bindir}/qt4-uic
1420 %attr(755,root,root) %{_qtdir}/bin/rcc
1421 %attr(755,root,root) %{_qtdir}/bin/moc
1422 %attr(755,root,root) %{_qtdir}/bin/qt3to4
1423 %attr(755,root,root) %{_qtdir}/bin/uic
1424 %{_datadir}/qt4/q3porting.xml
1427 %defattr(644,root,root,755)
1428 %attr(755,root,root) %{_bindir}/qt4-designer
1429 %attr(755,root,root) %{_qtdir}/bin/designer
1430 %{_desktopdir}/qt4-designer.desktop
1431 %{_pixmapsdir}/qt4-designer.png
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_bindir}/qt4-linguist
1436 %attr(755,root,root) %{_qtdir}/bin/findtr
1437 %attr(755,root,root) %{_qtdir}/bin/linguist
1438 %attr(755,root,root) %{_qtdir}/bin/lrelease
1439 %attr(755,root,root) %{_qtdir}/bin/lupdate
1440 %attr(755,root,root) %{_qtdir}/bin/qm2ts
1441 %{_datadir}/qt4/phrasebooks
1442 %{_desktopdir}/qt4-linguist.desktop
1443 %{_pixmapsdir}/qt4-linguist.png
1446 %defattr(644,root,root,755)
1447 %attr(755,root,root) %{_bindir}/qt4-qmake
1448 %attr(755,root,root) %{_qtdir}/bin/qmake
1449 %{_datadir}/qt4/mkspecs
1453 %defattr(644,root,root,755)
1454 %attr(755,root,root) %{_bindir}/qt4-qtconfig
1455 %attr(755,root,root) %{_qtdir}/bin/qtconfig
1456 %{_desktopdir}/qt4-qtconfig.desktop
1457 %{_pixmapsdir}/qt4-qtconfig.png
1460 %defattr(644,root,root,755)
1461 %attr(755,root,root) %{_bindir}/qvfb
1464 %defattr(644,root,root,755)
1465 %{_docdir}/%{name}-doc
1468 %files -n QtCore-devel -f QtCore-devel.files
1469 %files -n QtDBus-devel -f QtDBus-devel.files
1470 %files -n QtDesigner-devel -f QtDesigner-devel.files
1471 %files -n QtGui-devel -f QtGui-devel.files
1472 %files -n QtNetwork-devel -f QtNetwork-devel.files
1473 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1474 %files -n QtSql-devel -f QtSql-devel.files
1475 %files -n QtSvg-devel -f QtSvg-devel.files
1476 %files -n QtTest-devel -f QtTest-devel.files
1477 %files -n QtXml-devel -f QtXml-devel.files
1478 %files -n Qt3Support-devel -f Qt3Support-devel.files
1479 %files -n QtAssistant-devel -f QtAssistant-devel.files
1480 %files -n QtUiTools-devel -f QtUiTools-devel.files
1482 %if %{with static_libs}
1483 %files -n QtCore-static
1484 %defattr(644,root,root,755)
1485 %{_libdir}/libQtCore*.a
1487 %files -n QtDBus-static
1488 %defattr(644,root,root,755)
1489 %{_libdir}/libQtDBus*.a
1491 %files -n QtGui-static
1492 %defattr(644,root,root,755)
1493 %{_libdir}/libQtGui*.a
1495 %files -n QtNetwork-static
1496 %defattr(644,root,root,755)
1497 %{_libdir}/libQtNetwork*.a
1499 %files -n QtOpenGL-static
1500 %defattr(644,root,root,755)
1501 %{_libdir}/libQtOpenGL*.a
1503 %files -n QtSql-static
1504 %defattr(644,root,root,755)
1505 %{_libdir}/libQtSql*.a
1507 %files -n QtSvg-static
1508 %defattr(644,root,root,755)
1509 %{_libdir}/libQtSvg*.a
1511 %files -n QtXml-static
1512 %defattr(644,root,root,755)
1513 %{_libdir}/libQtXml*.a
1515 %files -n Qt3Support-static
1516 %defattr(644,root,root,755)
1517 %{_libdir}/libQt3Support*.a
1519 %files -n QtAssistant-static
1520 %defattr(644,root,root,755)
1521 %{_libdir}/libQtAssistantClient.a
1523 %files -n QtDesigner-static
1524 %defattr(644,root,root,755)
1525 %{_libdir}/libQtDesigner*.a
1527 %files -n QtUiTools-static
1528 %defattr(644,root,root,755)
1529 %{_libdir}/libQtUiTools.a
1532 %files demos -f demos.files
1533 %files examples -f examples.files