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
91 BuildRequires: xorg-lib-libXfixes-devel
93 %{?with_AC:BuildRequires: X11-devel}
94 BuildRequires: zlib-devel
95 BuildConflicts: QtCore-devel < %{version}
96 Obsoletes: qt-extensions
98 Conflicts: kdelibs <= 8:3.2-0.030602.1
99 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
101 %define _noautoreqdep libGL.so.1 libGLU.so.1
102 %define _noautostrip '.*_debug\\.so*'
104 %define specflags -fno-strict-aliasing
106 %define _qtdir %{_libdir}/qt4
109 Qt is a complete C++ application development framework, which includes
110 a class library and tools for multiplatform development and
111 internationalization. Using Qt, a single source code tree can build
112 applications that run natively on different platforms (Windows,
113 Unix/Linux, Mac OS X, embedded Linux).
115 Qt has a rich set of standard widgets, and lets you write custom
116 controls. It encapsulates four different platform-specific APIs, and
117 the APIs for file-handling, networking, process-handling, threading,
118 database access, etc. Qt now also has Motif migration oraz Netscape
122 Contiene las bibliotecas compartidas necesarias para ejecutar
123 aplicaciones Qt, bien como los archivos README.
126 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
127 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
128 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
129 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
130 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
132 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
133 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
134 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
135 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
136 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
137 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
138 wykorzystaniem Netscape LiveConnect.
141 Summary: Core classes used by other modules
142 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
145 %description -n QtCore
146 Core classes used by other modules.
148 %description -n QtCore -l pl
149 Podstawowe klasy u¿ywane przez inne modu³y.
151 %package -n QtCore-devel
152 Summary: Core classes used by other modules - development files
153 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
154 Group: X11/Development/Libraries
155 Requires: QtCore = %{version}-%{release}
156 Requires: libstdc++-devel
159 %description -n QtCore-devel
160 Core classes used by other modules - development files.
162 %description -n QtCore-devel -l pl
163 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
165 %package -n QtCore-static
166 Summary: Core classes used by other modules - static libraries
167 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
168 Group: X11/Development/Libraries
169 Requires: QtCore-devel = %{version}-%{release}
171 %description -n QtCore-static
172 Core classes used by other modules - static libraries.
174 %description -n QtCore-static -l pl
175 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
178 Summary: Graphical User Interface components
179 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
181 Requires: QtCore = %{version}-%{release}
182 # two following because of some plugins
183 Requires: Qt3Support = %{version}-%{release}
184 Requires: QtSql = %{version}-%{release}
186 %description -n QtGui
187 Graphical User Interface components.
189 %description -n QtGui -l pl
190 Komponenty graficznego interfejsu u¿ytkownika.
192 %package -n QtGui-devel
193 Summary: Graphical User Interface components - development files
194 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
195 Group: X11/Development/Libraries
196 Requires: QtCore-devel = %{version}-%{release}
197 Requires: QtGui = %{version}-%{release}
198 Requires: fontconfig-devel
199 Requires: freetype-devel >= 1:2.0.0
200 Requires: libpng-devel >= 2:1.0.8
202 Requires: xorg-lib-libSM-devel
203 Requires: xorg-lib-libXcursor-devel
204 Requires: xorg-lib-libXext-devel
205 Requires: xorg-lib-libXi-devel
206 Requires: xorg-lib-libXinerama-devel
207 Requires: xorg-lib-libXrandr-devel
208 Requires: xorg-lib-libXrender-devel
210 %{?with_AC:Requires: X11-devel}
212 %description -n QtGui-devel
213 Graphical User Interface components - development files.
215 %description -n QtGui-devel -l pl
216 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
218 %package -n QtGui-static
219 Summary: Graphical User Interface components - static libraries
220 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
221 Group: X11/Development/Libraries
222 Requires: QtGui-devel = %{version}-%{release}
224 %description -n QtGui-static
225 Graphical User Interface components - static libraries.
227 %description -n QtGui-static -l pl
228 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
230 %package -n QtNetwork
231 Summary: Classes for network programming
232 Summary(pl): Klasy do programowania sieciowego
234 Requires: QtCore = %{version}-%{release}
236 %description -n QtNetwork
237 Classes for network programming.
239 %description -n QtNetwork -l pl
240 Klasy do programowania sieciowego.
242 %package -n QtNetwork-devel
243 Summary: Classes for network programming - development files
244 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
245 Group: X11/Development/Libraries
246 Requires: QtCore-devel = %{version}-%{release}
247 Requires: QtNetwork = %{version}-%{release}
249 %description -n QtNetwork-devel
250 Classes for network programming - development files.
252 %description -n QtNetwork-devel -l pl
253 Klasy do programowania sieciowego - pliki programistyczne.
255 %package -n QtNetwork-static
256 Summary: Classes for network programming - static libraries
257 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
258 Group: X11/Development/Libraries
259 Requires: QtNetwork-devel = %{version}-%{release}
261 %description -n QtNetwork-static
262 Classes for network programming - static libraries.
264 %description -n QtNetwork-static -l pl
265 Klasy do programowania sieciowego - biblioteki statyczne.
268 Summary: OpenGL support classes
269 Summary(pl): Klasy wspomagaj±ce OpenGL
271 Requires: QtCore = %{version}-%{release}
273 %description -n QtOpenGL
274 OpenGL support classes.
276 %description -n QtOpenGL -l pl
277 Klasy wspomagaj±ce OpenGL.
279 %package -n QtOpenGL-devel
280 Summary: OpenGL support classes - development files
281 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
282 Group: X11/Development/Libraries
283 Requires: OpenGL-GLU-devel
284 Requires: QtCore-devel = %{version}-%{release}
285 Requires: QtOpenGL = %{version}-%{release}
287 %description -n QtOpenGL-devel
288 OpenGL support classes - development files.
290 %description -n QtOpenGL-devel -l pl
291 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
293 %package -n QtOpenGL-static
294 Summary: OpenGL support classes - static libraries
295 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
296 Group: X11/Development/Libraries
297 Requires: QtOpenGL-devel = %{version}-%{release}
299 %description -n QtOpenGL-static
300 OpenGL support classes - static libraries.
302 %description -n QtOpenGL-devel -l pl
303 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
306 Summary: Classes for database integration using SQL
307 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
309 Requires: QtCore = %{version}-%{release}
311 %description -n QtSql
312 Classes for database integration using SQL.
314 %description -n QtSql -l pl
315 Klasy do integracji z bazami danych przy u¿yciu SQL.
317 %package -n QtSql-devel
318 Summary: Classes for database integration using SQL - development files
319 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
320 Group: X11/Development/Libraries
321 Requires: QtCore-devel = %{version}-%{release}
322 Requires: QtSql = %{version}-%{release}
324 %description -n QtSql-devel
325 Classes for database integration using SQL - development files.
327 %description -n QtSql-devel -l pl
328 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
331 %package -n QtSql-static
332 Summary: Classes for database integration using SQL - static libraries
333 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
334 Group: X11/Development/Libraries
335 Requires: QtSql-devel = %{version}-%{release}
337 %description -n QtSql-static
338 Classes for database integration using SQL - static libraries.
340 %description -n QtSql-static -l pl
341 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
342 statyczne. programistyczne.
344 %package -n QtSql-ibase
345 Summary: Database plugin for InterBase/Firebird Qt support
346 Summary(pl): Wtyczka InterBase/Firebird do Qt
347 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
349 Requires: QtSql = %{version}-%{release}
350 Provides: QtSql-backend = %{version}-%{release}
352 %description -n QtSql-ibase
353 This package contains a plugin for accessing Interbase/Firebird
354 database via the QSql classes.
356 %description -n QtSql-ibase -l pl
357 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
358 danych Interbase/Firebird poprzez klasy QSql.
360 %description -n QtSql-ibase -l pt_BR
361 Plugin de suporte a InterBase/Firebird para Qt.
363 %package -n QtSql-mysql
364 Summary: Database plugin for MySQL Qt support
365 Summary(pl): Wtyczka MySQL do Qt
366 Summary(pt_BR): Plugin de suporte a MySQL para Qt
368 Requires: QtSql = %{version}-%{release}
369 Provides: QtSql-backend = %{version}-%{release}
371 %description -n QtSql-mysql
372 This package contains a plugin for accessing MySQL database via the
375 %description -n QtSql-mysql -l pl
376 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
377 danych MySQL poprzez klasy QSql.
379 %description -n QtSql-mysql -l pt_BR
380 Plugin de suporte a MySQL para Qt.
382 %package -n QtSql-odbc
383 Summary: Database plugin for ODBC Qt support
384 Summary(pl): Wtyczka ODBC do Qt
385 Summary(pt_BR): Plugin de suporte a ODBC para Qt
387 Requires: QtSql = %{version}-%{release}
388 Provides: QtSql-backend = %{version}-%{release}
390 %description -n QtSql-odbc
391 This package contains a plugin for accessing unixODBC services via the
394 %description -n QtSql-odbc -l pl
395 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
396 unixODBC poprzez klasy QSql.
398 %description -n QtSql-odbc -l pt_BR
399 Plugin de suporte a ODBC para Qt.
401 %package -n QtSql-pgsql
402 Summary: Database plugin for PostgreSQL Qt support
403 Summary(pl): Wtyczka PostgreSQL do Qt
404 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
406 Requires: QtSql = %{version}-%{release}
407 Provides: QtSql-backend = %{version}-%{release}
409 %description -n QtSql-pgsql
410 This package contains a plugin for accessing PostgreSQL database via
413 %description -n QtSql-pgsql -l pl
414 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
415 danych PostgreSQL poprzez klasy QSql.
417 %description -n QtSql-pgsql -l es
418 Plugin de suporte a PostgreSQL para Qt.
420 %package -n QtSql-sqlite
421 Summary: Database plugin for SQLite 2.x Qt support
422 Summary(pl): Wtyczka SQLite 2.x do Qt
423 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
425 Requires: QtSql = %{version}-%{release}
426 Provides: QtSql-backend = %{version}-%{release}
428 %description -n QtSql-sqlite
429 This package contains a plugin for using the SQLite 2.x library (which
430 allows to acces virtually any SQL database) via the QSql classes.
432 %description -n QtSql-sqlite -l pl
433 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
434 danych SQLite 2.x poprzez klasy QSql.
436 %description -n QtSql-sqlite -l pt_BR
437 Plugin de suporte a SQLite 2.x para Qt.
439 %package -n QtSql-sqlite3
440 Summary: Database plugin for SQLite3 Qt support
441 Summary(pl): Wtyczka SQLite3 do Qt
442 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
444 Requires: QtSql = %{version}-%{release}
445 Provides: QtSql-backend = %{version}-%{release}
447 %description -n QtSql-sqlite3
448 This package contains a plugin for using the SQLite3 library (which
449 allows to acces virtually any SQL database) via the QSql classes.
451 %description -n QtSql-sqlite3 -l pl
452 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
453 danych SQLite3 poprzez klasy QSql.
455 %description -n QtSql-sqlite3 -l pt_BR
456 Plugin de suporte a SQLite3 para Qt.
460 Summary(pl): Wsparcie dla SVG
462 Requires: QtCore = %{version}-%{release}
464 %description -n QtSvg
467 %description -n QtSvg -l pl
470 %package -n QtSvg-devel
471 Summary: SVG support - development files
472 Summary(pl): Wsparcie dla SVG - pliki programistyczne
473 Group: X11/Development/Libraries
474 Requires: QtCore-devel = %{version}-%{release}
475 Requires: QtSvg = %{version}-%{release}
477 %description -n QtSvg-devel
478 SVG support - development files.
480 %description -n QtSvg-devel -l pl
481 Wsparcie dla SVG - pliki programistyczne.
483 %package -n QtSvg-static
484 Summary: SVG support - static libraries
485 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
486 Group: X11/Development/Libraries
487 Requires: QtSvg-devel = %{version}-%{release}
489 %description -n QtSvg-static
490 SVG support - static libraries.
492 %description -n QtSvg-static -l pl
493 Wsparcie dla SVG - biblioteki statyczne.
496 Summary: Test framework
497 Summary(pl): Szkielet testów
499 Requires: QtCore = %{version}-%{release}
501 %description -n QtTest
504 %description -n QtTest -l pl
507 %package -n QtTest-devel
508 Summary: Test framework - development files
509 Summary(pl): Szkielet testów - pliki programistyczne
510 Group: X11/Development/Libraries
511 Requires: QtCore-devel = %{version}-%{release}
512 Requires: QtTest = %{version}-%{release}
514 %description -n QtTest-devel
515 Test framework - development files.
517 %description -n QtTest-devel -l pl
518 Szkielet testów - pliki programistyczne.
521 Summary: Classes for handling XML
522 Summary(pl): Klasy do obs³ugi XML-a
524 Requires: QtCore = %{version}-%{release}
526 %description -n QtXml
527 Classes for handling XML.
529 %description -n QtXml -l pl
530 Klasy do obs³ugi XML-a.
532 %package -n QtXml-devel
533 Summary: Classes for handling XML - development files
534 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
535 Group: X11/Development/Libraries
536 Requires: QtCore-devel = %{version}-%{release}
537 Requires: QtXml = %{version}-%{release}
539 %description -n QtXml-devel
540 Classes for handling XML - development files.
542 %description -n QtXml-devel -l pl
543 Klasy do obs³ugi XML-a - pliki programistyczne.
545 %package -n QtXml-static
546 Summary: Classes for handling XML - static libraries
547 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
548 Group: X11/Development/Libraries
549 Requires: QtXml-devel = %{version}-%{release}
551 %description -n QtXml-static
552 Classes for handling XML - static libraries.
554 %description -n QtXml-static -l pl
555 Klasy do obs³ugi XML-a - biblioteki statyczne.
557 %package -n Qt3Support
558 Summary: Qt3 compatibility library
559 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
561 Requires: QtCore = %{version}-%{release}
563 %description -n Qt3Support
564 Qt3 compatibility library.
566 %description -n Qt3Support -l pl
567 Biblioteka kompatybilno¶ci z Qt3.
569 %package -n Qt3Support-devel
570 Summary: Qt3 compatibility library - development files
571 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
572 Group: X11/Development/Libraries
573 Requires: Qt3Support = %{version}-%{release}
574 Requires: QtCore-devel = %{version}-%{release}
576 %description -n Qt3Support-devel
577 Qt3 compatibility library - development files.
579 %description -n Qt3Support-devel -l pl
580 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
582 %package -n Qt3Support-static
583 Summary: Qt3 compatibility library - static libraries
584 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
585 Group: X11/Development/Libraries
586 Requires: Qt3Support-devel = %{version}-%{release}
588 %description -n Qt3Support-static
589 Qt3 compatibility library - static libraries.
591 %description -n Qt3Support-static -l pl
592 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
594 %package -n QtAssistant
595 Summary: Qt Assistant client library
596 Summary(pl): Biblioteka kliencka Qt Assistant
597 Group: X11/Development/Libraries
598 Requires: QtGui = %{version}-%{release}
599 Requires: QtNetwork = %{version}-%{release}
601 %description -n QtAssistant
602 This library allows to use Qt Assistant as an application's help tool.
604 %description -n QtAssistant -l pl
605 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
606 pomocy w aplikacjach.
608 %package -n QtAssistant-devel
609 Summary: Qt Assistant client library - development files
610 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
611 Group: X11/Development/Libraries
612 Requires: QtAssistant = %{version}-%{release}
613 Requires: QtNetwork-devel = %{version}-%{release}
615 %description -n QtAssistant-devel
616 Development files for Qt Assistant client library.
618 %description -n QtAssistant-devel -l pl
619 Pliki programistyczne biblioteki klienckiej Qt Assistant.
621 %package -n QtAssistant-static
622 Summary: Static Qt Assistant client library
623 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
624 Group: X11/Development/Libraries
625 Requires: QtAssistant-devel = %{version}-%{release}
627 %description -n QtAssistant-static
628 Static Qt Assistant client library.
630 %description -n QtAssistant-static -l pl
631 Statyczna biblioteka kliencka Qt Assistant.
634 Summary: Classes for D-BUS support
635 Summary(pl): Klasy do obs³ugi D-BUS
637 Requires: QtXml = %{version}-%{release}
638 # is it really required? libs should need just libs, not service
641 %description -n QtDBus
642 This module provides classes for D-BUS support. D-BUS is an
643 Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
644 mechanism originally developed for Linux to replace existing and
645 competing IPC solutions with one unified protocol.
647 %description -n QtDBus -l pl
648 Ten modu³ udostêpnia klasy do obs³ugi D-BUS. D-BUS to mechanizm
649 komunikacji miêdzy procesowej (IPC - Inter-Process Communication) i
650 zdalnego wywo³ywania procedur (RPC - Remote Procedure Calling)
651 stworzony pocz±tkowo dla Linuksa, aby zast±piæ istniej±ce i
652 konkuruj±ce ze sob± rozwi±zania IPC jednym, ujednoliconym protoko³em.
654 %package -n QtDBus-devel
655 Summary: Classes for D-BUS support - development files
656 Summary(pl): Klasy do obs³ugi D-BUS - pliki programistyczne
657 Group: X11/Development/Libraries
658 Requires: QtDBus = %{version}-%{release}
659 Requires: QtXml-devel = %{version}-%{release}
661 Requires: glib2-devel >= 2.0.0
663 %description -n QtDBus-devel
664 Classes for D-BUS support - development files.
666 %description -n QtDBus-devel -l pl
667 Klasy do obs³ugi D-BUS - pliki programistyczne.
669 %package -n QtDBus-static
670 Summary: Classes for D-BUS support - static libraries
671 Summary(pl): Klasy do obs³ugi D-BUS - biblioteki statyczne
672 Group: X11/Development/Libraries
673 Requires: QtDBus-devel = %{version}-%{release}
675 %description -n QtDBus-static
676 Classes for D-BUS support - static libraries.
678 %description -n QtDBus-static -l pl
679 Klasy do obs³ugi D-BUS - biblioteki statyczne.
681 %package -n QtDesigner
682 Summary: Classes for extending Qt Designer
683 Summary(pl): Klasy do rozbudowy Qt Designera
685 Requires: QtGui = %{version}-%{release}
686 Requires: QtNetwork = %{version}-%{release}
687 Requires: QtXml = %{version}-%{release}
688 Obsoletes: qt4-designer-libs
690 %description -n QtDesigner
691 This module provides classes that allow you to create your own custom
692 widget plugins for Qt Designer, and classes that enable you to access
693 Qt Designer's components.
695 %description -n QtDesigner -l pl
696 Ten modu³ dostarcza klasy, które pozwalaj± tworzyæ w³asne wtyczki dla
697 Qt Designera oraz klasy, które umo¿liwiaj± dostêp do jego komponentów.
699 %package -n QtDesigner-devel
700 Summary: Classes for extending Qt Designer - development files
701 Summary(pl): Klasy do rozbudowy Qt Designera - pliki programistyczne
702 Group: X11/Development/Libraries
703 Requires: QtDesigner = %{version}-%{release}
704 Requires: QtGui-devel = %{version}-%{release}
706 %description -n QtDesigner-devel
707 Classes for extending Qt Designer - development files.
709 %description -n QtDesigner-devel -l pl
710 Klasy do rozbudowy Qt Designera - pliki programistyczne.
712 %package -n QtDesigner-static
713 Summary: Classes for extending Qt Designer - static libraries
714 Summary(pl): Klasy do rozbudowy Qt Designera - biblioteki statyczne
715 Group: X11/Development/Libraries
716 Requires: QtDesigner-devel = %{version}-%{release}
718 %description -n QtDesigner-static
719 Classes for extending Qt Designer - static libraries.
721 %description -n QtDesigner-static -l pl
722 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
724 %package -n QtUiTools
725 Summary: Classes for handling Qt Designer forms in applications
726 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach
728 Requires: QtGui = %{version}-%{release}
729 Requires: QtXml = %{version}-%{release}
731 %description -n QtUiTools
732 The QtUiTools module provides classes to handle forms created with Qt
735 %description -n QtUiTools -l pl
736 Modu³ QtUiTools udostêpnia klasy do obs³ugi formularzy tworzonych przy
739 %package -n QtUiTools-devel
740 Summary: Classes for handling Qt Designer forms in applications - development files
741 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki programistyczne
742 Group: X11/Development/Libraries
743 Requires: QtCore-devel = %{version}-%{release}
744 Requires: QtUiTools = %{version}-%{release}
746 %description -n QtUiTools-devel
747 Classes for handling Qt Designer forms in applications - development
750 %description -n QtUiTools-devel -l pl
751 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki
754 %package -n QtUiTools-static
755 Summary: Classes for handling Qt Designer forms in applications - static library
756 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka statyczna
757 Group: X11/Development/Libraries
758 Requires: QtUiTools-devel = %{version}-%{release}
760 %description -n QtUiTools-static
761 Classes for handling Qt Designer forms in applications - static
764 %description -n QtUiTools-static -l pl
765 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka
769 Summary: Qt documentation browser
770 Summary(pl): Przegl±darka dokumentacji Qt
771 Group: X11/Development/Tools
772 Requires: %{name}-doc = %{version}-%{release}
773 Requires: QtAssistant = %{version}-%{release}
774 Requires: QtDBus = %{version}-%{release}
776 %description assistant
777 Qt Assistant is a tool for browsing on-line documentation with
778 indexing, bookmarks and full-text search.
780 %description assistant -l pl
781 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
782 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
785 Summary: Build tools for Qt4
786 Summary(pl): Narzêdzia do budowania dla Qt4
787 Group: X11/Development/Tools
788 Requires: QtCore = %{version}-%{release}
789 Requires: QtXml = %{version}-%{release}
792 This package includes the Qt resource compiler (rcc), meta objects
793 compiler (moc), user interface compiler (uic) and qt3to4 include names
796 %description build -l pl
797 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
798 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
799 konwerter nazw plików nag³ówkowych qt3to4.
802 Summary: IDE used for GUI designing with Qt library
803 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
804 Group: X11/Applications
805 Requires: QtAssistant = %{version}-%{release}
806 Requires: QtDesigner = %{version}-%{release}
808 %description designer
809 An advanced tool used for GUI designing with Qt library.
811 %description designer -l pl
812 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
813 za pomoc± biblioteki Qt.
816 Summary: Translation helper for Qt
817 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
818 Group: X11/Development/Tools
819 Requires: QtAssistant = %{version}-%{release}
820 Requires: QtUiTools = %{version}-%{release}
822 %description linguist
823 This program provides an interface that shortens and helps systematize
824 the process of translating GUIs. Qt Linguist takes all of the text of
825 a UI that will be shown to the user, and presents it to a human
826 translator in a simple window. When one UI text is translated, the
827 program automatically progresses to the next, until they are all
830 %description linguist -l pl
831 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
832 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
833 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
834 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
835 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
838 Summary: Qt makefile generator
839 Summary(pl): Generator plików makefile dla aplikacji Qt
840 Group: X11/Development/Tools
843 A powerful makefile generator. It can create makefiles on any platform
844 from a simple .pro definitions file.
846 %description qmake -l pl
847 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
848 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
851 Summary: Qt widgets configuration tool
852 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
853 Group: X11/Applications
854 Requires: Qt3Support = %{version}-%{release}
855 Requires: QtGui = %{version}-%{release}
856 Requires: QtNetwork = %{version}-%{release}
857 Requires: QtSql = %{version}-%{release}
858 Requires: QtXml = %{version}-%{release}
860 %description qtconfig
861 A tool for configuring look and behavior of Qt widgets.
863 %description qtconfig -l pl
864 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
867 Summary: Qt Virtual framebuffer
868 Summary(pl): Wirtualny framebuffer dla Qt
869 Group: X11/Development/Libraries
870 Requires: QtGui = %{version}-%{release}
871 Requires: QtOpenGL = %{version}-%{release}
874 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
877 %description -n qvfb -l pl
878 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
882 Summary: Demos of new Qt4 features
883 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
884 Group: X11/Development/Libraries
885 Requires: QtAssistant = %{version}-%{release}
886 Requires: QtXml = %{version}-%{release}
889 Demos are spiders that fly.
891 %description demos -l pl
892 Dema to lataj±ce paj±ki.
895 Summary: Qt Documentation in HTML format
896 Summary(pl): Dokumentacja Qt w formacie HTML
897 Group: X11/Development/Libraries
900 Qt documentation in HTML format.
902 %description doc -l pl
903 Dokumentacja qt w formacie HTML.
906 Summary: Example programs bundled with Qt
907 Summary(pl): Æwiczenia i przyk³ady do Qt
908 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
909 Group: X11/Development/Libraries
910 # no it does not , we cant be sure the user wants to compile them right?
911 # he might just want to take a look, anwyay no single devel package now
912 #Requires: %{name}-devel = %{version}-%{release}
914 %description examples
915 Example programs bundled with Qt version.
917 %description examples -l pl
918 Æwiczenia/przyk³ady do³±czone do Qt.
920 %description examples -l pt_BR
921 Programas exemplo para o Qt versão.
924 %setup -q -n qt-x11-opensource-src-%{version}
934 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
936 # change QMAKE_CFLAGS_RELEASE to build
937 # properly optimized libs
939 if [ "%{_lib}" != "lib" ] ; then
940 cfgf="mkspecs/linux-g++-64/qmake.conf"
942 cfgf="mkspecs/linux-g++/qmake.conf"
946 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
947 s|QMAKE_CXX.*=.*g++|QMAKE_CXX = %{__cxx}|;
948 s|QMAKE_LINK.*=.*g++|QMAKE_LINK = %{__cxx}|;
949 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|;
950 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
954 | grep -v QMAKE_CFLAGS_RELEASE \
955 | grep -v QMAKE_CXXFLAGS_RELEASE \
956 | grep -v QMAKE_CFLAGS_DEBUG \
957 | grep -v QMAKE_CXXFLAGS_DEBUG \
962 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
963 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
964 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
965 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
968 # pass OPTFLAGS to build qmake itself with optimization
969 export OPTFLAGS="%{rpmcflags}"
970 export PATH=$PWD/bin:$PATH
972 ##################################
973 # DEFAULT OPTIONS FOR ALL BUILDS #
974 ##################################
977 -DQT_CLEAN_NAMESPACE \
980 -bindir %{_qtdir}/bin \
981 -docdir %{_docdir}/%{name}-doc \
982 -headerdir %{_includedir}/qt4 \
985 -plugindir %{_qtdir}/plugins \
986 -datadir %{_datadir}/qt4 \
987 -translationdir %{_datadir}/locale/ \
988 -sysconfdir %{_sysconfdir}/qt4 \
989 -examplesdir %{_examplesdir}/qt4 \
990 -demosdir %{_examplesdir}/qt4-demos \
993 -%{!?with_AC:%{!?with_pch:no-}}pch \
994 -%{!?with_sse:no-}sse \
1001 -I%{_includedir}/postgresql/server \
1002 -I%{_includedir}/mysql \
1003 %{?with_cups:-cups} \
1004 %{?with_nas:-system-nas-sound} \
1006 %{!?debug:-release} \
1007 %{?with_AC:-L/usr/X11R6/lib} \
1011 -no-separate-debug-info \
1012 -%{?with_AC:no-}xfixes \
1021 ##################################
1022 # STATIC MULTI-THREAD #
1023 ##################################
1025 %if %{with static_libs}
1027 %{?with_mysql:-qt-sql-mysql} \
1028 %{?with_odbc:-qt-sql-odbc} \
1029 %{?with_pgsql:-qt-sql-psql} \
1030 %{?with_sqlite3:-qt-sql-sqlite} \
1031 %{?with_sqlite:-qt-sql-sqlite2} \
1032 %{?with_ibase:-qt-sql-ibase} \
1035 echo "yes" | ./configure $COMMONOPT $OPT
1038 %{__make} -C tools/assistant/lib
1039 %{__make} -C tools/designer
1040 %{__make} -C tools/qdbus/src
1041 if [ ! -d staticlib ]; then
1043 cp -a lib/*.a staticlib
1048 ##################################
1049 # SHARED MULTI-THREAD #
1050 ##################################
1053 %{?with_mysql:-plugin-sql-mysql} \
1054 %{?with_odbc:-plugin-sql-odbc} \
1055 %{?with_pgsql:-plugin-sql-psql} \
1056 %{?with_sqlite3:-plugin-sql-sqlite} \
1057 %{?with_sqlite:-plugin-sql-sqlite2} \
1058 %{?with_ibase:-plugin-sql-ibase}"
1060 echo "yes" | ./configure $COMMONOPT $OPT
1063 %if %{with dont_enable}
1065 sub-tools-all-ordered \
1066 sub-demos-all-ordered \
1067 sub-examples-all-ordered
1069 cd tools/designer/designer
1070 lrelease designer_de.ts
1071 lrelease designer_fr.ts
1074 lrelease assistant_de.ts
1075 lrelease assistant_fr.ts
1077 cd tools/linguist/linguist
1078 lrelease linguist_de.ts
1079 lrelease linguist_fr.ts
1084 rm -rf $RPM_BUILD_ROOT
1085 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1086 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1089 INSTALL_ROOT=$RPM_BUILD_ROOT
1091 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1092 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,pc,prl}
1095 install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
1096 install bin/qvfb $RPM_BUILD_ROOT%{_bindir}
1097 install bin/pixeltool $RPM_BUILD_ROOT%{_bindir}
1098 install bin/qdbus $RPM_BUILD_ROOT%{_bindir}
1099 install bin/qdbuscpp2xml $RPM_BUILD_ROOT%{_bindir}
1100 install bin/qdbusxml2cpp $RPM_BUILD_ROOT%{_bindir}
1102 cd $RPM_BUILD_ROOT%{_bindir}
1103 ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1104 ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1105 ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
1106 ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
1107 ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
1108 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1109 ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
1110 ln -sf ../%{_lib}/qt4/bin/rcc .
1111 ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1112 ln -sf ../%{_lib}/qt4/bin/uic3 .
1115 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1116 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1117 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1119 install tools/qtconfig/images/appicon.png \
1120 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
1122 install tools/linguist/linguist/images/appicon.png \
1123 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
1125 install tools/assistant/images/assistant.png \
1126 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
1128 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1129 install tools/designer/src/designer/images/designer.png \
1130 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
1132 %if %{with static_libs}
1133 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1139 rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
1140 for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm
1142 [ ! -f $file ] && continue
1143 LANG=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
1144 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
1145 [ "$LANG" == "iw" ] && LANG=he
1146 [ "$MOD" == "qt" ] && MOD=qt4
1147 mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES
1148 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES/$MOD.qm
1151 %if %{with dont_enable}
1152 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1153 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1155 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1157 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1158 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1161 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1162 for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Sql,Svg,Test,UiTools,Xml}/*
1164 if [ ! -d $f ]; then
1165 ln -sf $f `basename $f`
1170 # Ship doc & qmake stuff
1171 ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1172 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1174 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1175 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1176 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1177 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1178 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1181 if [ "$MODULE2" == "3SUPPORT" ]; then
1182 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1184 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1186 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1188 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1191 # Prepare some files list
1193 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1194 [ "$RESULT" == "" ] && return
1195 r=`echo $RESULT | awk '{ print $1 }'`
1197 if [ -d "$r" ]; then
1198 echo "%%dir $2" >> $1.files
1199 elif [ -x "$r" ] ; then
1200 echo "%%attr(755,root,root) $2" >> $1.files
1201 elif [ -f "$r" ]; then
1202 echo "$2" >> $1.files
1204 echo "Error generation devel files list!"
1205 echo "$r: no such file or direcotry!"
1212 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1213 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1214 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1215 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1216 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1217 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1218 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1220 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1222 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1223 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1225 for f in $@; do ifecho $MODULE-devel $f; done
1228 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1229 mkdevfl QtDBus %{_bindir}/qdbus %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
1239 # without *.la *.pc etc.
1240 mkdevfl QtAssistant || /bin/true
1241 mkdevfl QtDesigner || /bin/true
1242 mkdevfl QtUiTools || /bin/true
1244 echo "%defattr(644,root,root,755)" > examples.files
1245 ifecho examples %{_examplesdir}/qt4
1246 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1248 ifecho examples %{_examplesdir}/qt4/$f
1251 echo "%defattr(644,root,root,755)" > demos.files
1252 ifecho demos "%{_examplesdir}/qt4-demos"
1253 ifecho demos "%{_qtdir}/bin/qtdemo"
1254 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1256 ifecho demos %{_examplesdir}/qt4-demos/$f
1260 rm -rf $RPM_BUILD_ROOT
1265 *******************************************************
1268 * With qt 4.0.0 the single threaded version was *
1269 * removed. Also the library is modular now so be *
1270 * sure to check that you have every module you need. *
1272 *******************************************************
1274 %postun -n QtCore -p /sbin/ldconfig
1276 %post -n QtDBus -p /sbin/ldconfig
1277 %postun -n QtDBus -p /sbin/ldconfig
1279 %post -n QtGui -p /sbin/ldconfig
1280 %postun -n QtGui -p /sbin/ldconfig
1282 %post -n QtNetwork -p /sbin/ldconfig
1283 %postun -n QtNetwork -p /sbin/ldconfig
1285 %post -n QtOpenGL -p /sbin/ldconfig
1286 %postun -n QtOpenGL -p /sbin/ldconfig
1288 %post -n QtSql -p /sbin/ldconfig
1289 %postun -n QtSql -p /sbin/ldconfig
1291 %post -n QtSvg -p /sbin/ldconfig
1292 %postun -n QtSvg -p /sbin/ldconfig
1294 %post -n QtTest -p /sbin/ldconfig
1295 %postun -n QtTest -p /sbin/ldconfig
1297 %post -n QtXml -p /sbin/ldconfig
1298 %postun -n QtXml -p /sbin/ldconfig
1300 %post -n Qt3Support -p /sbin/ldconfig
1301 %postun -n Qt3Support -p /sbin/ldconfig
1303 %post -n QtAssistant -p /sbin/ldconfig
1304 %postun -n QtAssistant -p /sbin/ldconfig
1306 %post -n QtDesigner -p /sbin/ldconfig
1307 %postun -n QtDesigner -p /sbin/ldconfig
1309 %post -n QtUiTools -p /sbin/ldconfig
1310 %postun -n QtUiTools -p /sbin/ldconfig
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1317 %dir %{_qtdir}/plugins
1318 %dir %{_qtdir}/plugins/accessible
1319 %dir %{_qtdir}/plugins/codecs
1320 %dir %{_qtdir}/plugins/crypto
1321 %dir %{_qtdir}/plugins/iconengines
1322 %dir %{_qtdir}/plugins/imageformats
1323 %dir %{_qtdir}/plugins/inputmethods
1324 %dir %{_qtdir}/plugins/network
1325 %dir %{_qtdir}/plugins/sqldrivers
1326 %dir %{_datadir}/qt4
1327 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
1328 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
1329 %lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm
1330 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
1331 %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
1332 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1333 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
1334 %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1343 %attr(755,root,root) %{_qtdir}/plugins/accessible/*.so
1344 %attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
1345 %attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so
1346 %attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so
1347 %attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1362 %files -n QtSql-mysql
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
1368 %files -n QtSql-pgsql
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
1374 %files -n QtSql-sqlite
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1380 %files -n QtSql-sqlite3
1381 %defattr(644,root,root,755)
1382 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
1384 %exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1389 %files -n QtSql-ibase
1390 %defattr(644,root,root,755)
1391 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
1395 %files -n QtSql-odbc
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1412 %files -n Qt3Support
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_bindir}/uic3
1415 %attr(755,root,root) %{_qtdir}/bin/uic3
1416 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1418 %files -n QtAssistant
1419 %defattr(644,root,root,755)
1420 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1422 %files -n QtDesigner
1423 %defattr(644,root,root,755)
1424 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1425 %dir %{_qtdir}/plugins/designer
1426 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1429 %defattr(644,root,root,755)
1430 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
1433 %defattr(644,root,root,755)
1434 %attr(755,root,root) %{_bindir}/pixeltool
1435 %attr(755,root,root) %{_bindir}/qt4-assistant
1436 %attr(755,root,root) %{_qtdir}/bin/assistant
1437 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1438 %{_desktopdir}/qt4-assistant.desktop
1439 %{_pixmapsdir}/qt4-assistant.png
1442 %defattr(644,root,root,755)
1443 %attr(755,root,root) %{_bindir}/rcc
1444 %attr(755,root,root) %{_bindir}/qt4-moc
1445 %attr(755,root,root) %{_bindir}/qt3to4
1446 %attr(755,root,root) %{_bindir}/qt4-uic
1447 %attr(755,root,root) %{_qtdir}/bin/rcc
1448 %attr(755,root,root) %{_qtdir}/bin/moc
1449 %attr(755,root,root) %{_qtdir}/bin/qt3to4
1450 %attr(755,root,root) %{_qtdir}/bin/uic
1451 %{_datadir}/qt4/q3porting.xml
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_bindir}/qt4-designer
1456 %attr(755,root,root) %{_qtdir}/bin/designer
1457 %{_desktopdir}/qt4-designer.desktop
1458 %{_pixmapsdir}/qt4-designer.png
1461 %defattr(644,root,root,755)
1462 %attr(755,root,root) %{_bindir}/qt4-linguist
1463 %attr(755,root,root) %{_qtdir}/bin/findtr
1464 %attr(755,root,root) %{_qtdir}/bin/linguist
1465 %attr(755,root,root) %{_qtdir}/bin/lrelease
1466 %attr(755,root,root) %{_qtdir}/bin/lupdate
1467 %{_datadir}/qt4/phrasebooks
1468 %{_desktopdir}/qt4-linguist.desktop
1469 %{_pixmapsdir}/qt4-linguist.png
1472 %defattr(644,root,root,755)
1473 %attr(755,root,root) %{_bindir}/qt4-qmake
1474 %attr(755,root,root) %{_qtdir}/bin/qmake
1475 %{_datadir}/qt4/mkspecs
1479 %defattr(644,root,root,755)
1480 %attr(755,root,root) %{_bindir}/qt4-qtconfig
1481 %attr(755,root,root) %{_qtdir}/bin/qtconfig
1482 %{_desktopdir}/qt4-qtconfig.desktop
1483 %{_pixmapsdir}/qt4-qtconfig.png
1486 %defattr(644,root,root,755)
1487 %attr(755,root,root) %{_bindir}/qvfb
1490 %defattr(644,root,root,755)
1491 %{_docdir}/%{name}-doc
1494 %files -n QtCore-devel -f QtCore-devel.files
1495 %files -n QtDBus-devel -f QtDBus-devel.files
1496 %files -n QtDesigner-devel -f QtDesigner-devel.files
1497 %files -n QtGui-devel -f QtGui-devel.files
1498 %files -n QtNetwork-devel -f QtNetwork-devel.files
1499 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1500 %files -n QtSql-devel -f QtSql-devel.files
1501 %files -n QtSvg-devel -f QtSvg-devel.files
1502 %files -n QtTest-devel -f QtTest-devel.files
1503 %files -n QtXml-devel -f QtXml-devel.files
1504 %files -n Qt3Support-devel -f Qt3Support-devel.files
1505 %files -n QtAssistant-devel -f QtAssistant-devel.files
1506 %files -n QtUiTools-devel -f QtUiTools-devel.files
1508 %if %{with static_libs}
1509 %files -n QtCore-static
1510 %defattr(644,root,root,755)
1511 %{_libdir}/libQtCore*.a
1513 %files -n QtDBus-static
1514 %defattr(644,root,root,755)
1515 %{_libdir}/libQtDBus*.a
1517 %files -n QtGui-static
1518 %defattr(644,root,root,755)
1519 %{_libdir}/libQtGui*.a
1521 %files -n QtNetwork-static
1522 %defattr(644,root,root,755)
1523 %{_libdir}/libQtNetwork*.a
1525 %files -n QtOpenGL-static
1526 %defattr(644,root,root,755)
1527 %{_libdir}/libQtOpenGL*.a
1529 %files -n QtSql-static
1530 %defattr(644,root,root,755)
1531 %{_libdir}/libQtSql*.a
1533 %files -n QtSvg-static
1534 %defattr(644,root,root,755)
1535 %{_libdir}/libQtSvg*.a
1537 %files -n QtXml-static
1538 %defattr(644,root,root,755)
1539 %{_libdir}/libQtXml*.a
1541 %files -n Qt3Support-static
1542 %defattr(644,root,root,755)
1543 %{_libdir}/libQt3Support*.a
1545 %files -n QtAssistant-static
1546 %defattr(644,root,root,755)
1547 %{_libdir}/libQtAssistantClient.a
1549 %files -n QtDesigner-static
1550 %defattr(644,root,root,755)
1551 %{_libdir}/libQtDesigner*.a
1553 %files -n QtUiTools-static
1554 %defattr(644,root,root,755)
1555 %{_libdir}/libQtUiTools.a
1558 %files demos -f demos.files
1559 %files examples -f examples.files