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}}}}}}
34 %{?with_AC:%undefine with_pch}
36 Summary: The Qt GUI application framework
37 Summary(es): Biblioteca para ejecutar aplicaciones GUI Qt
38 Summary(pl): Biblioteka Qt do tworzenia GUI
39 Summary(pt_BR): Estrutura para rodar aplicações GUI Qt
45 Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
46 # Source0-md5: 2c062a125d5ca66397e3430ba537fbec
47 Source2: %{name}-qtconfig.desktop
48 Source3: %{name}-designer.desktop
49 Source4: %{name}-assistant.desktop
50 Source5: %{name}-linguist.desktop
51 Patch0: %{name}-tools.patch
52 Patch2: %{name}-buildsystem.patch
53 Patch3: %{name}-locale.patch
54 Patch5: %{name}-sse.patch
55 Patch6: %{name}-antialias.patch
56 Patch7: %{name}-support-cflags-with-commas.patch
57 Patch8: %{name}-build-lib-static.patch
58 Patch9: %{name}-x11_fonts.patch
59 URL: http://www.trolltech.com/products/qt/
60 %{?with_ibase:BuildRequires: Firebird-devel}
61 BuildRequires: OpenGL-GLU-devel
62 %{?with_sqlite3:BuildRequires: sqlite3-devel}
63 # incompatible with bison
64 %{?with_cups:BuildRequires: cups-devel}
65 BuildRequires: dbus-devel
66 BuildRequires: fontconfig-devel
67 BuildRequires: freetype-devel >= 1:2.0.0
68 %{!?with_AC:%{?with_pch:BuildRequires: gcc >= 5:4.0}}
69 BuildRequires: giflib-devel
70 BuildRequires: glib2-devel >= 2.0.0
71 BuildRequires: libjpeg-devel
72 BuildRequires: libmng-devel >= 1.0.0
73 BuildRequires: libpng-devel >= 2:1.0.8
74 BuildRequires: libstdc++-devel
75 %{?with_mysql:BuildRequires: mysql-devel}
76 %{?with_nas:BuildRequires: nas-devel}
77 BuildRequires: pkgconfig
78 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
79 %{?with_pgsql:BuildRequires: postgresql-devel}
80 BuildRequires: rpmbuild(macros) >= 1.213
81 BuildRequires: sed >= 4.0
82 %{?with_sqlite:BuildRequires: sqlite-devel}
83 %{?with_odbc:BuildRequires: unixODBC-devel}
85 BuildRequires: xorg-lib-libSM-devel
86 BuildRequires: xorg-lib-libXcursor-devel
87 BuildRequires: xorg-lib-libXext-devel
88 BuildRequires: xorg-lib-libXfixes-devel
89 BuildRequires: xorg-lib-libXi-devel
90 BuildRequires: xorg-lib-libXinerama-devel
91 BuildRequires: xorg-lib-libXrandr-devel
92 BuildRequires: xorg-lib-libXrender-devel
94 %{?with_AC:BuildRequires: X11-devel}
95 BuildRequires: zlib-devel
96 BuildConflicts: QtCore-devel < %{version}
97 Obsoletes: qt-extensions
99 Conflicts: kdelibs <= 8:3.2-0.030602.1
100 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
102 %define _noautoreqdep libGL.so.1 libGLU.so.1
103 %define _noautostrip '.*_debug\\.so*'
105 %define specflags -fno-strict-aliasing
107 %define _qtdir %{_libdir}/qt4
110 Qt is a complete C++ application development framework, which includes
111 a class library and tools for multiplatform development and
112 internationalization. Using Qt, a single source code tree can build
113 applications that run natively on different platforms (Windows,
114 Unix/Linux, Mac OS X, embedded Linux).
116 Qt has a rich set of standard widgets, and lets you write custom
117 controls. It encapsulates four different platform-specific APIs, and
118 the APIs for file-handling, networking, process-handling, threading,
119 database access, etc. Qt now also has Motif migration oraz Netscape
123 Contiene las bibliotecas compartidas necesarias para ejecutar
124 aplicaciones Qt, bien como los archivos README.
127 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
128 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
129 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
130 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
131 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
133 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
134 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
135 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
136 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
137 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
138 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
139 wykorzystaniem Netscape LiveConnect.
142 Summary: Core classes used by other modules
143 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
146 %description -n QtCore
147 Core classes used by other modules.
149 %description -n QtCore -l pl
150 Podstawowe klasy u¿ywane przez inne modu³y.
152 %package -n QtCore-devel
153 Summary: Core classes used by other modules - development files
154 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
155 Group: X11/Development/Libraries
156 Requires: QtCore = %{version}-%{release}
157 Requires: libstdc++-devel
160 %description -n QtCore-devel
161 Core classes used by other modules - development files.
163 %description -n QtCore-devel -l pl
164 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
166 %package -n QtCore-static
167 Summary: Core classes used by other modules - static libraries
168 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
169 Group: X11/Development/Libraries
170 Requires: QtCore-devel = %{version}-%{release}
172 %description -n QtCore-static
173 Core classes used by other modules - static libraries.
175 %description -n QtCore-static -l pl
176 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
179 Summary: Graphical User Interface components
180 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
182 Requires: QtCore = %{version}-%{release}
183 # two following because of some plugins
184 Requires: Qt3Support = %{version}-%{release}
185 Requires: QtSql = %{version}-%{release}
187 %description -n QtGui
188 Graphical User Interface components.
190 %description -n QtGui -l pl
191 Komponenty graficznego interfejsu u¿ytkownika.
193 %package -n QtGui-devel
194 Summary: Graphical User Interface components - development files
195 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
196 Group: X11/Development/Libraries
197 Requires: QtCore-devel = %{version}-%{release}
198 Requires: QtGui = %{version}-%{release}
199 Requires: fontconfig-devel
200 Requires: freetype-devel >= 1:2.0.0
201 Requires: libpng-devel >= 2:1.0.8
203 Requires: xorg-lib-libSM-devel
204 Requires: xorg-lib-libXcursor-devel
205 Requires: xorg-lib-libXext-devel
206 Requires: xorg-lib-libXi-devel
207 Requires: xorg-lib-libXinerama-devel
208 Requires: xorg-lib-libXrandr-devel
209 Requires: xorg-lib-libXrender-devel
211 %{?with_AC:Requires: X11-devel}
213 %description -n QtGui-devel
214 Graphical User Interface components - development files.
216 %description -n QtGui-devel -l pl
217 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
219 %package -n QtGui-static
220 Summary: Graphical User Interface components - static libraries
221 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
222 Group: X11/Development/Libraries
223 Requires: QtGui-devel = %{version}-%{release}
225 %description -n QtGui-static
226 Graphical User Interface components - static libraries.
228 %description -n QtGui-static -l pl
229 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
231 %package -n QtNetwork
232 Summary: Classes for network programming
233 Summary(pl): Klasy do programowania sieciowego
235 Requires: QtCore = %{version}-%{release}
237 %description -n QtNetwork
238 Classes for network programming.
240 %description -n QtNetwork -l pl
241 Klasy do programowania sieciowego.
243 %package -n QtNetwork-devel
244 Summary: Classes for network programming - development files
245 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
246 Group: X11/Development/Libraries
247 Requires: QtCore-devel = %{version}-%{release}
248 Requires: QtNetwork = %{version}-%{release}
250 %description -n QtNetwork-devel
251 Classes for network programming - development files.
253 %description -n QtNetwork-devel -l pl
254 Klasy do programowania sieciowego - pliki programistyczne.
256 %package -n QtNetwork-static
257 Summary: Classes for network programming - static libraries
258 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
259 Group: X11/Development/Libraries
260 Requires: QtNetwork-devel = %{version}-%{release}
262 %description -n QtNetwork-static
263 Classes for network programming - static libraries.
265 %description -n QtNetwork-static -l pl
266 Klasy do programowania sieciowego - biblioteki statyczne.
269 Summary: OpenGL support classes
270 Summary(pl): Klasy wspomagaj±ce OpenGL
272 Requires: QtCore = %{version}-%{release}
274 %description -n QtOpenGL
275 OpenGL support classes.
277 %description -n QtOpenGL -l pl
278 Klasy wspomagaj±ce OpenGL.
280 %package -n QtOpenGL-devel
281 Summary: OpenGL support classes - development files
282 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
283 Group: X11/Development/Libraries
284 Requires: OpenGL-GLU-devel
285 Requires: QtCore-devel = %{version}-%{release}
286 Requires: QtOpenGL = %{version}-%{release}
288 %description -n QtOpenGL-devel
289 OpenGL support classes - development files.
291 %description -n QtOpenGL-devel -l pl
292 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
294 %package -n QtOpenGL-static
295 Summary: OpenGL support classes - static libraries
296 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
297 Group: X11/Development/Libraries
298 Requires: QtOpenGL-devel = %{version}-%{release}
300 %description -n QtOpenGL-static
301 OpenGL support classes - static libraries.
303 %description -n QtOpenGL-devel -l pl
304 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
307 Summary: Classes for database integration using SQL
308 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
310 Requires: QtCore = %{version}-%{release}
312 %description -n QtSql
313 Classes for database integration using SQL.
315 %description -n QtSql -l pl
316 Klasy do integracji z bazami danych przy u¿yciu SQL.
318 %package -n QtSql-devel
319 Summary: Classes for database integration using SQL - development files
320 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
321 Group: X11/Development/Libraries
322 Requires: QtCore-devel = %{version}-%{release}
323 Requires: QtSql = %{version}-%{release}
325 %description -n QtSql-devel
326 Classes for database integration using SQL - development files.
328 %description -n QtSql-devel -l pl
329 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
332 %package -n QtSql-static
333 Summary: Classes for database integration using SQL - static libraries
334 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
335 Group: X11/Development/Libraries
336 Requires: QtSql-devel = %{version}-%{release}
338 %description -n QtSql-static
339 Classes for database integration using SQL - static libraries.
341 %description -n QtSql-static -l pl
342 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
343 statyczne. programistyczne.
345 %package -n QtSql-ibase
346 Summary: Database plugin for InterBase/Firebird Qt support
347 Summary(pl): Wtyczka InterBase/Firebird do Qt
348 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
350 Requires: QtSql = %{version}-%{release}
351 Provides: QtSql-backend = %{version}-%{release}
353 %description -n QtSql-ibase
354 This package contains a plugin for accessing Interbase/Firebird
355 database via the QSql classes.
357 %description -n QtSql-ibase -l pl
358 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
359 danych Interbase/Firebird poprzez klasy QSql.
361 %description -n QtSql-ibase -l pt_BR
362 Plugin de suporte a InterBase/Firebird para Qt.
364 %package -n QtSql-mysql
365 Summary: Database plugin for MySQL Qt support
366 Summary(pl): Wtyczka MySQL do Qt
367 Summary(pt_BR): Plugin de suporte a MySQL para Qt
369 Requires: QtSql = %{version}-%{release}
370 Provides: QtSql-backend = %{version}-%{release}
372 %description -n QtSql-mysql
373 This package contains a plugin for accessing MySQL database via the
376 %description -n QtSql-mysql -l pl
377 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
378 danych MySQL poprzez klasy QSql.
380 %description -n QtSql-mysql -l pt_BR
381 Plugin de suporte a MySQL para Qt.
383 %package -n QtSql-odbc
384 Summary: Database plugin for ODBC Qt support
385 Summary(pl): Wtyczka ODBC do Qt
386 Summary(pt_BR): Plugin de suporte a ODBC para Qt
388 Requires: QtSql = %{version}-%{release}
389 Provides: QtSql-backend = %{version}-%{release}
391 %description -n QtSql-odbc
392 This package contains a plugin for accessing unixODBC services via the
395 %description -n QtSql-odbc -l pl
396 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
397 unixODBC poprzez klasy QSql.
399 %description -n QtSql-odbc -l pt_BR
400 Plugin de suporte a ODBC para Qt.
402 %package -n QtSql-pgsql
403 Summary: Database plugin for PostgreSQL Qt support
404 Summary(pl): Wtyczka PostgreSQL do Qt
405 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
407 Requires: QtSql = %{version}-%{release}
408 Provides: QtSql-backend = %{version}-%{release}
410 %description -n QtSql-pgsql
411 This package contains a plugin for accessing PostgreSQL database via
414 %description -n QtSql-pgsql -l pl
415 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
416 danych PostgreSQL poprzez klasy QSql.
418 %description -n QtSql-pgsql -l es
419 Plugin de suporte a PostgreSQL para Qt.
421 %package -n QtSql-sqlite
422 Summary: Database plugin for SQLite 2.x Qt support
423 Summary(pl): Wtyczka SQLite 2.x do Qt
424 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
426 Requires: QtSql = %{version}-%{release}
427 Provides: QtSql-backend = %{version}-%{release}
429 %description -n QtSql-sqlite
430 This package contains a plugin for using the SQLite 2.x library (which
431 allows to acces virtually any SQL database) via the QSql classes.
433 %description -n QtSql-sqlite -l pl
434 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
435 danych SQLite 2.x poprzez klasy QSql.
437 %description -n QtSql-sqlite -l pt_BR
438 Plugin de suporte a SQLite 2.x para Qt.
440 %package -n QtSql-sqlite3
441 Summary: Database plugin for SQLite3 Qt support
442 Summary(pl): Wtyczka SQLite3 do Qt
443 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
445 Requires: QtSql = %{version}-%{release}
446 Provides: QtSql-backend = %{version}-%{release}
448 %description -n QtSql-sqlite3
449 This package contains a plugin for using the SQLite3 library (which
450 allows to acces virtually any SQL database) via the QSql classes.
452 %description -n QtSql-sqlite3 -l pl
453 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
454 danych SQLite3 poprzez klasy QSql.
456 %description -n QtSql-sqlite3 -l pt_BR
457 Plugin de suporte a SQLite3 para Qt.
461 Summary(pl): Wsparcie dla SVG
463 Requires: QtCore = %{version}-%{release}
465 %description -n QtSvg
468 %description -n QtSvg -l pl
471 %package -n QtSvg-devel
472 Summary: SVG support - development files
473 Summary(pl): Wsparcie dla SVG - pliki programistyczne
474 Group: X11/Development/Libraries
475 Requires: QtCore-devel = %{version}-%{release}
476 Requires: QtSvg = %{version}-%{release}
478 %description -n QtSvg-devel
479 SVG support - development files.
481 %description -n QtSvg-devel -l pl
482 Wsparcie dla SVG - pliki programistyczne.
484 %package -n QtSvg-static
485 Summary: SVG support - static libraries
486 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
487 Group: X11/Development/Libraries
488 Requires: QtSvg-devel = %{version}-%{release}
490 %description -n QtSvg-static
491 SVG support - static libraries.
493 %description -n QtSvg-static -l pl
494 Wsparcie dla SVG - biblioteki statyczne.
497 Summary: Test framework
498 Summary(pl): Szkielet testów
500 Requires: QtCore = %{version}-%{release}
502 %description -n QtTest
505 %description -n QtTest -l pl
508 %package -n QtTest-devel
509 Summary: Test framework - development files
510 Summary(pl): Szkielet testów - pliki programistyczne
511 Group: X11/Development/Libraries
512 Requires: QtCore-devel = %{version}-%{release}
513 Requires: QtTest = %{version}-%{release}
515 %description -n QtTest-devel
516 Test framework - development files.
518 %description -n QtTest-devel -l pl
519 Szkielet testów - pliki programistyczne.
522 Summary: Classes for handling XML
523 Summary(pl): Klasy do obs³ugi XML-a
525 Requires: QtCore = %{version}-%{release}
527 %description -n QtXml
528 Classes for handling XML.
530 %description -n QtXml -l pl
531 Klasy do obs³ugi XML-a.
533 %package -n QtXml-devel
534 Summary: Classes for handling XML - development files
535 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
536 Group: X11/Development/Libraries
537 Requires: QtCore-devel = %{version}-%{release}
538 Requires: QtXml = %{version}-%{release}
540 %description -n QtXml-devel
541 Classes for handling XML - development files.
543 %description -n QtXml-devel -l pl
544 Klasy do obs³ugi XML-a - pliki programistyczne.
546 %package -n QtXml-static
547 Summary: Classes for handling XML - static libraries
548 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
549 Group: X11/Development/Libraries
550 Requires: QtXml-devel = %{version}-%{release}
552 %description -n QtXml-static
553 Classes for handling XML - static libraries.
555 %description -n QtXml-static -l pl
556 Klasy do obs³ugi XML-a - biblioteki statyczne.
558 %package -n Qt3Support
559 Summary: Qt3 compatibility library
560 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
562 Requires: QtCore = %{version}-%{release}
564 %description -n Qt3Support
565 Qt3 compatibility library.
567 %description -n Qt3Support -l pl
568 Biblioteka kompatybilno¶ci z Qt3.
570 %package -n Qt3Support-devel
571 Summary: Qt3 compatibility library - development files
572 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
573 Group: X11/Development/Libraries
574 Requires: Qt3Support = %{version}-%{release}
575 Requires: QtCore-devel = %{version}-%{release}
577 %description -n Qt3Support-devel
578 Qt3 compatibility library - development files.
580 %description -n Qt3Support-devel -l pl
581 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
583 %package -n Qt3Support-static
584 Summary: Qt3 compatibility library - static libraries
585 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
586 Group: X11/Development/Libraries
587 Requires: Qt3Support-devel = %{version}-%{release}
589 %description -n Qt3Support-static
590 Qt3 compatibility library - static libraries.
592 %description -n Qt3Support-static -l pl
593 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
595 %package -n QtAssistant
596 Summary: Qt Assistant client library
597 Summary(pl): Biblioteka kliencka Qt Assistant
598 Group: X11/Development/Libraries
599 Requires: QtGui = %{version}-%{release}
600 Requires: QtNetwork = %{version}-%{release}
602 %description -n QtAssistant
603 This library allows to use Qt Assistant as an application's help tool.
605 %description -n QtAssistant -l pl
606 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
607 pomocy w aplikacjach.
609 %package -n QtAssistant-devel
610 Summary: Qt Assistant client library - development files
611 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
612 Group: X11/Development/Libraries
613 Requires: QtAssistant = %{version}-%{release}
614 Requires: QtNetwork-devel = %{version}-%{release}
616 %description -n QtAssistant-devel
617 Development files for Qt Assistant client library.
619 %description -n QtAssistant-devel -l pl
620 Pliki programistyczne biblioteki klienckiej Qt Assistant.
622 %package -n QtAssistant-static
623 Summary: Static Qt Assistant client library
624 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
625 Group: X11/Development/Libraries
626 Requires: QtAssistant-devel = %{version}-%{release}
628 %description -n QtAssistant-static
629 Static Qt Assistant client library.
631 %description -n QtAssistant-static -l pl
632 Statyczna biblioteka kliencka Qt Assistant.
635 Summary: Classes for D-BUS support
636 Summary(pl): Klasy do obs³ugi D-BUS
638 Requires: QtXml = %{version}-%{release}
639 # is it really required? libs should need just libs, not service
642 %description -n QtDBus
643 This module provides classes for D-BUS support. D-BUS is an
644 Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
645 mechanism originally developed for Linux to replace existing and
646 competing IPC solutions with one unified protocol.
648 %description -n QtDBus -l pl
649 Ten modu³ udostêpnia klasy do obs³ugi D-BUS. D-BUS to mechanizm
650 komunikacji miêdzy procesowej (IPC - Inter-Process Communication) i
651 zdalnego wywo³ywania procedur (RPC - Remote Procedure Calling)
652 stworzony pocz±tkowo dla Linuksa, aby zast±piæ istniej±ce i
653 konkuruj±ce ze sob± rozwi±zania IPC jednym, ujednoliconym protoko³em.
655 %package -n QtDBus-devel
656 Summary: Classes for D-BUS support - development files
657 Summary(pl): Klasy do obs³ugi D-BUS - pliki programistyczne
658 Group: X11/Development/Libraries
659 Requires: QtDBus = %{version}-%{release}
660 Requires: QtXml-devel = %{version}-%{release}
662 Requires: glib2-devel >= 2.0.0
664 %description -n QtDBus-devel
665 Classes for D-BUS support - development files.
667 %description -n QtDBus-devel -l pl
668 Klasy do obs³ugi D-BUS - pliki programistyczne.
670 %package -n QtDBus-static
671 Summary: Classes for D-BUS support - static libraries
672 Summary(pl): Klasy do obs³ugi D-BUS - biblioteki statyczne
673 Group: X11/Development/Libraries
674 Requires: QtDBus-devel = %{version}-%{release}
676 %description -n QtDBus-static
677 Classes for D-BUS support - static libraries.
679 %description -n QtDBus-static -l pl
680 Klasy do obs³ugi D-BUS - biblioteki statyczne.
682 %package -n QtDesigner
683 Summary: Classes for extending Qt Designer
684 Summary(pl): Klasy do rozbudowy Qt Designera
686 Requires: QtGui = %{version}-%{release}
687 Requires: QtNetwork = %{version}-%{release}
688 Requires: QtXml = %{version}-%{release}
689 Obsoletes: qt4-designer-libs
691 %description -n QtDesigner
692 This module provides classes that allow you to create your own custom
693 widget plugins for Qt Designer, and classes that enable you to access
694 Qt Designer's components.
696 %description -n QtDesigner -l pl
697 Ten modu³ dostarcza klasy, które pozwalaj± tworzyæ w³asne wtyczki dla
698 Qt Designera oraz klasy, które umo¿liwiaj± dostêp do jego komponentów.
700 %package -n QtDesigner-devel
701 Summary: Classes for extending Qt Designer - development files
702 Summary(pl): Klasy do rozbudowy Qt Designera - pliki programistyczne
703 Group: X11/Development/Libraries
704 Requires: QtDesigner = %{version}-%{release}
705 Requires: QtGui-devel = %{version}-%{release}
707 %description -n QtDesigner-devel
708 Classes for extending Qt Designer - development files.
710 %description -n QtDesigner-devel -l pl
711 Klasy do rozbudowy Qt Designera - pliki programistyczne.
713 %package -n QtDesigner-static
714 Summary: Classes for extending Qt Designer - static libraries
715 Summary(pl): Klasy do rozbudowy Qt Designera - biblioteki statyczne
716 Group: X11/Development/Libraries
717 Requires: QtDesigner-devel = %{version}-%{release}
719 %description -n QtDesigner-static
720 Classes for extending Qt Designer - static libraries.
722 %description -n QtDesigner-static -l pl
723 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
725 %package -n QtUiTools
726 Summary: Classes for handling Qt Designer forms in applications
727 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach
729 Requires: QtGui = %{version}-%{release}
730 Requires: QtXml = %{version}-%{release}
732 %description -n QtUiTools
733 The QtUiTools module provides classes to handle forms created with Qt
736 %description -n QtUiTools -l pl
737 Modu³ QtUiTools udostêpnia klasy do obs³ugi formularzy tworzonych przy
740 %package -n QtUiTools-devel
741 Summary: Classes for handling Qt Designer forms in applications - development files
742 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki programistyczne
743 Group: X11/Development/Libraries
744 Requires: QtCore-devel = %{version}-%{release}
745 Requires: QtUiTools = %{version}-%{release}
747 %description -n QtUiTools-devel
748 Classes for handling Qt Designer forms in applications - development
751 %description -n QtUiTools-devel -l pl
752 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki
755 %package -n QtUiTools-static
756 Summary: Classes for handling Qt Designer forms in applications - static library
757 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka statyczna
758 Group: X11/Development/Libraries
759 Requires: QtUiTools-devel = %{version}-%{release}
761 %description -n QtUiTools-static
762 Classes for handling Qt Designer forms in applications - static
765 %description -n QtUiTools-static -l pl
766 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka
770 Summary: Qt documentation browser
771 Summary(pl): Przegl±darka dokumentacji Qt
772 Group: X11/Development/Tools
773 Requires: %{name}-doc = %{version}-%{release}
774 Requires: QtAssistant = %{version}-%{release}
775 Requires: QtDBus = %{version}-%{release}
777 %description assistant
778 Qt Assistant is a tool for browsing on-line documentation with
779 indexing, bookmarks and full-text search.
781 %description assistant -l pl
782 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
783 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
786 Summary: Build tools for Qt4
787 Summary(pl): Narzêdzia do budowania dla Qt4
788 Group: X11/Development/Tools
789 Requires: QtCore = %{version}-%{release}
790 Requires: QtXml = %{version}-%{release}
793 This package includes the Qt resource compiler (rcc), meta objects
794 compiler (moc), user interface compiler (uic) and qt3to4 include names
797 %description build -l pl
798 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
799 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
800 konwerter nazw plików nag³ówkowych qt3to4.
803 Summary: IDE used for GUI designing with Qt library
804 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
805 Group: X11/Applications
806 Requires: QtAssistant = %{version}-%{release}
807 Requires: QtDesigner = %{version}-%{release}
809 %description designer
810 An advanced tool used for GUI designing with Qt library.
812 %description designer -l pl
813 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
814 za pomoc± biblioteki Qt.
817 Summary: Translation helper for Qt
818 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
819 Group: X11/Development/Tools
820 Requires: QtAssistant = %{version}-%{release}
821 Requires: QtUiTools = %{version}-%{release}
823 %description linguist
824 This program provides an interface that shortens and helps systematize
825 the process of translating GUIs. Qt Linguist takes all of the text of
826 a UI that will be shown to the user, and presents it to a human
827 translator in a simple window. When one UI text is translated, the
828 program automatically progresses to the next, until they are all
831 %description linguist -l pl
832 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
833 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
834 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
835 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
836 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
839 Summary: Qt makefile generator
840 Summary(pl): Generator plików makefile dla aplikacji Qt
841 Group: X11/Development/Tools
844 A powerful makefile generator. It can create makefiles on any platform
845 from a simple .pro definitions file.
847 %description qmake -l pl
848 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
849 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
852 Summary: Qt widgets configuration tool
853 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
854 Group: X11/Applications
855 Requires: Qt3Support = %{version}-%{release}
856 Requires: QtGui = %{version}-%{release}
857 Requires: QtNetwork = %{version}-%{release}
858 Requires: QtSql = %{version}-%{release}
859 Requires: QtXml = %{version}-%{release}
861 %description qtconfig
862 A tool for configuring look and behavior of Qt widgets.
864 %description qtconfig -l pl
865 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
868 Summary: Qt Virtual framebuffer
869 Summary(pl): Wirtualny framebuffer dla Qt
870 Group: X11/Development/Libraries
871 Requires: QtGui = %{version}-%{release}
872 Requires: QtOpenGL = %{version}-%{release}
875 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
878 %description -n qvfb -l pl
879 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
883 Summary: Demos of new Qt4 features
884 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
885 Group: X11/Development/Libraries
886 Requires: QtAssistant = %{version}-%{release}
887 Requires: QtXml = %{version}-%{release}
890 Demos are spiders that fly.
892 %description demos -l pl
893 Dema to lataj±ce paj±ki.
896 Summary: Qt Documentation in HTML format
897 Summary(pl): Dokumentacja Qt w formacie HTML
898 Group: X11/Development/Libraries
901 Qt documentation in HTML format.
903 %description doc -l pl
904 Dokumentacja qt w formacie HTML.
907 Summary: Example programs bundled with Qt
908 Summary(pl): Æwiczenia i przyk³ady do Qt
909 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
910 Group: X11/Development/Libraries
911 # no it does not , we cant be sure the user wants to compile them right?
912 # he might just want to take a look, anwyay no single devel package now
913 #Requires: %{name}-devel = %{version}-%{release}
915 %description examples
916 Example programs bundled with Qt version.
918 %description examples -l pl
919 Æwiczenia/przyk³ady do³±czone do Qt.
921 %description examples -l pt_BR
922 Programas exemplo para o Qt versão.
925 %setup -q -n qt-x11-opensource-src-%{version}
935 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
937 # change QMAKE_CFLAGS_RELEASE to build
938 # properly optimized libs
940 if [ "%{_lib}" != "lib" ] ; then
941 cfgf="mkspecs/linux-g++-64/qmake.conf"
943 cfgf="mkspecs/linux-g++/qmake.conf"
947 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
948 s|QMAKE_CXX.*=.*g++|QMAKE_CXX = %{__cxx}|;
949 s|QMAKE_LINK.*=.*g++|QMAKE_LINK = %{__cxx}|;
950 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|;
951 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
955 | grep -v QMAKE_CFLAGS_RELEASE \
956 | grep -v QMAKE_CXXFLAGS_RELEASE \
957 | grep -v QMAKE_CFLAGS_DEBUG \
958 | grep -v QMAKE_CXXFLAGS_DEBUG \
963 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
964 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
965 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
966 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
969 # pass OPTFLAGS to build qmake itself with optimization
970 export OPTFLAGS="%{rpmcflags}"
971 export PATH=$PWD/bin:$PATH
973 ##################################
974 # DEFAULT OPTIONS FOR ALL BUILDS #
975 ##################################
978 -DQT_CLEAN_NAMESPACE \
981 -bindir %{_qtdir}/bin \
982 -docdir %{_docdir}/%{name}-doc \
983 -headerdir %{_includedir}/qt4 \
986 -plugindir %{_qtdir}/plugins \
987 -datadir %{_datadir}/qt4 \
988 -translationdir %{_datadir}/locale/ \
989 -sysconfdir %{_sysconfdir}/qt4 \
990 -examplesdir %{_examplesdir}/qt4 \
991 -demosdir %{_examplesdir}/qt4-demos \
994 -%{!?with_pch:no-}pch \
995 -%{!?with_sse:no-}sse \
1002 -I%{_includedir}/postgresql/server \
1003 -I%{_includedir}/mysql \
1004 %{?with_cups:-cups} \
1005 %{?with_nas:-system-nas-sound} \
1007 %{!?debug:-release} \
1008 %{?with_AC:-L/usr/X11R6/lib} \
1012 -no-separate-debug-info \
1013 -%{?with_AC:no-}xfixes \
1022 ##################################
1023 # STATIC MULTI-THREAD #
1024 ##################################
1026 %if %{with static_libs}
1028 %{?with_mysql:-qt-sql-mysql} \
1029 %{?with_odbc:-qt-sql-odbc} \
1030 %{?with_pgsql:-qt-sql-psql} \
1031 %{?with_sqlite3:-qt-sql-sqlite} \
1032 %{?with_sqlite:-qt-sql-sqlite2} \
1033 %{?with_ibase:-qt-sql-ibase} \
1036 echo "yes" | ./configure $COMMONOPT $OPT
1039 %{__make} -C tools/assistant/lib
1040 %{__make} -C tools/designer
1041 %{__make} -C tools/qdbus/src
1042 if [ ! -d staticlib ]; then
1044 cp -a lib/*.a staticlib
1049 ##################################
1050 # SHARED MULTI-THREAD #
1051 ##################################
1054 %{?with_mysql:-plugin-sql-mysql} \
1055 %{?with_odbc:-plugin-sql-odbc} \
1056 %{?with_pgsql:-plugin-sql-psql} \
1057 %{?with_sqlite3:-plugin-sql-sqlite} \
1058 %{?with_sqlite:-plugin-sql-sqlite2} \
1059 %{?with_ibase:-plugin-sql-ibase}"
1061 echo "yes" | ./configure $COMMONOPT $OPT
1064 %if %{with dont_enable}
1066 sub-tools-all-ordered \
1067 sub-demos-all-ordered \
1068 sub-examples-all-ordered
1070 cd tools/designer/designer
1071 lrelease designer_de.ts
1072 lrelease designer_fr.ts
1075 lrelease assistant_de.ts
1076 lrelease assistant_fr.ts
1078 cd tools/linguist/linguist
1079 lrelease linguist_de.ts
1080 lrelease linguist_fr.ts
1085 rm -rf $RPM_BUILD_ROOT
1086 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1087 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1090 INSTALL_ROOT=$RPM_BUILD_ROOT
1092 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1093 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,pc,prl}
1096 install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
1097 install bin/qvfb $RPM_BUILD_ROOT%{_bindir}
1098 install bin/pixeltool $RPM_BUILD_ROOT%{_bindir}
1099 install bin/qdbus $RPM_BUILD_ROOT%{_bindir}
1100 install bin/qdbuscpp2xml $RPM_BUILD_ROOT%{_bindir}
1101 install bin/qdbusxml2cpp $RPM_BUILD_ROOT%{_bindir}
1103 cd $RPM_BUILD_ROOT%{_bindir}
1104 ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1105 ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1106 ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
1107 ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
1108 ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
1109 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1110 ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
1111 ln -sf ../%{_lib}/qt4/bin/rcc .
1112 ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1113 ln -sf ../%{_lib}/qt4/bin/uic3 .
1116 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1117 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1118 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1120 install tools/qtconfig/images/appicon.png \
1121 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
1123 install tools/linguist/linguist/images/appicon.png \
1124 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
1126 install tools/assistant/images/assistant.png \
1127 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
1129 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1130 install tools/designer/src/designer/images/designer.png \
1131 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
1133 %if %{with static_libs}
1134 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1140 rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
1141 for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm
1143 [ ! -f $file ] && continue
1144 LANG=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
1145 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
1146 [ "$LANG" == "iw" ] && LANG=he
1147 [ "$MOD" == "qt" ] && MOD=qt4
1148 mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES
1149 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES/$MOD.qm
1152 %if %{with dont_enable}
1153 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1154 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1156 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1158 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1159 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1162 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1163 for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Sql,Svg,Test,UiTools,Xml}/*
1165 if [ ! -d $f ]; then
1166 ln -sf $f `basename $f`
1171 # Ship doc & qmake stuff
1172 ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1173 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1175 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1176 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1177 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1178 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1179 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1182 if [ "$MODULE2" == "3SUPPORT" ]; then
1183 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1185 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1187 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1189 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1192 # Prepare some files list
1194 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1195 [ "$RESULT" == "" ] && return
1196 r=`echo $RESULT | awk '{ print $1 }'`
1198 if [ -d "$r" ]; then
1199 echo "%%dir $2" >> $1.files
1200 elif [ -x "$r" ] ; then
1201 echo "%%attr(755,root,root) $2" >> $1.files
1202 elif [ -f "$r" ]; then
1203 echo "$2" >> $1.files
1205 echo "Error generation devel files list!"
1206 echo "$r: no such file or direcotry!"
1213 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1214 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1215 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1216 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1217 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1218 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1219 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1221 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1223 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1224 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1226 for f in $@; do ifecho $MODULE-devel $f; done
1229 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1230 mkdevfl QtDBus %{_bindir}/qdbus %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
1240 # without *.la *.pc etc.
1241 mkdevfl QtAssistant || /bin/true
1242 mkdevfl QtDesigner || /bin/true
1243 mkdevfl QtUiTools || /bin/true
1245 echo "%defattr(644,root,root,755)" > examples.files
1246 ifecho examples %{_examplesdir}/qt4
1247 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1249 ifecho examples %{_examplesdir}/qt4/$f
1252 echo "%defattr(644,root,root,755)" > demos.files
1253 ifecho demos "%{_examplesdir}/qt4-demos"
1254 ifecho demos "%{_qtdir}/bin/qtdemo"
1255 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1257 ifecho demos %{_examplesdir}/qt4-demos/$f
1261 rm -rf $RPM_BUILD_ROOT
1266 *******************************************************
1269 * With qt 4.0.0 the single threaded version was *
1270 * removed. Also the library is modular now so be *
1271 * sure to check that you have every module you need. *
1273 *******************************************************
1275 %postun -n QtCore -p /sbin/ldconfig
1277 %post -n QtDBus -p /sbin/ldconfig
1278 %postun -n QtDBus -p /sbin/ldconfig
1280 %post -n QtGui -p /sbin/ldconfig
1281 %postun -n QtGui -p /sbin/ldconfig
1283 %post -n QtNetwork -p /sbin/ldconfig
1284 %postun -n QtNetwork -p /sbin/ldconfig
1286 %post -n QtOpenGL -p /sbin/ldconfig
1287 %postun -n QtOpenGL -p /sbin/ldconfig
1289 %post -n QtSql -p /sbin/ldconfig
1290 %postun -n QtSql -p /sbin/ldconfig
1292 %post -n QtSvg -p /sbin/ldconfig
1293 %postun -n QtSvg -p /sbin/ldconfig
1295 %post -n QtTest -p /sbin/ldconfig
1296 %postun -n QtTest -p /sbin/ldconfig
1298 %post -n QtXml -p /sbin/ldconfig
1299 %postun -n QtXml -p /sbin/ldconfig
1301 %post -n Qt3Support -p /sbin/ldconfig
1302 %postun -n Qt3Support -p /sbin/ldconfig
1304 %post -n QtAssistant -p /sbin/ldconfig
1305 %postun -n QtAssistant -p /sbin/ldconfig
1307 %post -n QtDesigner -p /sbin/ldconfig
1308 %postun -n QtDesigner -p /sbin/ldconfig
1310 %post -n QtUiTools -p /sbin/ldconfig
1311 %postun -n QtUiTools -p /sbin/ldconfig
1314 %defattr(644,root,root,755)
1315 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1318 %dir %{_qtdir}/plugins
1319 %dir %{_qtdir}/plugins/accessible
1320 %dir %{_qtdir}/plugins/codecs
1321 %dir %{_qtdir}/plugins/crypto
1322 %dir %{_qtdir}/plugins/iconengines
1323 %dir %{_qtdir}/plugins/imageformats
1324 %dir %{_qtdir}/plugins/inputmethods
1325 %dir %{_qtdir}/plugins/network
1326 %dir %{_qtdir}/plugins/sqldrivers
1327 %dir %{_datadir}/qt4
1328 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
1329 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
1330 %lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm
1331 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
1332 %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
1333 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1334 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
1335 %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
1338 %defattr(644,root,root,755)
1339 %attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1344 %attr(755,root,root) %{_qtdir}/plugins/accessible/*.so
1345 %attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
1346 %attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so
1347 %attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so
1348 %attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
1351 %defattr(644,root,root,755)
1352 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1355 %defattr(644,root,root,755)
1356 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1363 %files -n QtSql-mysql
1364 %defattr(644,root,root,755)
1365 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
1369 %files -n QtSql-pgsql
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
1375 %files -n QtSql-sqlite
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1381 %files -n QtSql-sqlite3
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
1385 %exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1390 %files -n QtSql-ibase
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
1396 %files -n QtSql-odbc
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
1402 %defattr(644,root,root,755)
1403 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1413 %files -n Qt3Support
1414 %defattr(644,root,root,755)
1415 %attr(755,root,root) %{_bindir}/uic3
1416 %attr(755,root,root) %{_qtdir}/bin/uic3
1417 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1419 %files -n QtAssistant
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1423 %files -n QtDesigner
1424 %defattr(644,root,root,755)
1425 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1426 %dir %{_qtdir}/plugins/designer
1427 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_bindir}/pixeltool
1436 %attr(755,root,root) %{_bindir}/qt4-assistant
1437 %attr(755,root,root) %{_qtdir}/bin/assistant
1438 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1439 %{_desktopdir}/qt4-assistant.desktop
1440 %{_pixmapsdir}/qt4-assistant.png
1443 %defattr(644,root,root,755)
1444 %attr(755,root,root) %{_bindir}/rcc
1445 %attr(755,root,root) %{_bindir}/qt4-moc
1446 %attr(755,root,root) %{_bindir}/qt3to4
1447 %attr(755,root,root) %{_bindir}/qt4-uic
1448 %attr(755,root,root) %{_qtdir}/bin/rcc
1449 %attr(755,root,root) %{_qtdir}/bin/moc
1450 %attr(755,root,root) %{_qtdir}/bin/qt3to4
1451 %attr(755,root,root) %{_qtdir}/bin/uic
1452 %{_datadir}/qt4/q3porting.xml
1455 %defattr(644,root,root,755)
1456 %attr(755,root,root) %{_bindir}/qt4-designer
1457 %attr(755,root,root) %{_qtdir}/bin/designer
1458 %{_desktopdir}/qt4-designer.desktop
1459 %{_pixmapsdir}/qt4-designer.png
1462 %defattr(644,root,root,755)
1463 %attr(755,root,root) %{_bindir}/qt4-linguist
1464 %attr(755,root,root) %{_qtdir}/bin/findtr
1465 %attr(755,root,root) %{_qtdir}/bin/linguist
1466 %attr(755,root,root) %{_qtdir}/bin/lrelease
1467 %attr(755,root,root) %{_qtdir}/bin/lupdate
1468 %{_datadir}/qt4/phrasebooks
1469 %{_desktopdir}/qt4-linguist.desktop
1470 %{_pixmapsdir}/qt4-linguist.png
1473 %defattr(644,root,root,755)
1474 %attr(755,root,root) %{_bindir}/qt4-qmake
1475 %attr(755,root,root) %{_qtdir}/bin/qmake
1476 %{_datadir}/qt4/mkspecs
1480 %defattr(644,root,root,755)
1481 %attr(755,root,root) %{_bindir}/qt4-qtconfig
1482 %attr(755,root,root) %{_qtdir}/bin/qtconfig
1483 %{_desktopdir}/qt4-qtconfig.desktop
1484 %{_pixmapsdir}/qt4-qtconfig.png
1487 %defattr(644,root,root,755)
1488 %attr(755,root,root) %{_bindir}/qvfb
1491 %defattr(644,root,root,755)
1492 %{_docdir}/%{name}-doc
1495 %files -n QtCore-devel -f QtCore-devel.files
1496 %files -n QtDBus-devel -f QtDBus-devel.files
1497 %files -n QtDesigner-devel -f QtDesigner-devel.files
1498 %files -n QtGui-devel -f QtGui-devel.files
1499 %files -n QtNetwork-devel -f QtNetwork-devel.files
1500 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1501 %files -n QtSql-devel -f QtSql-devel.files
1502 %files -n QtSvg-devel -f QtSvg-devel.files
1503 %files -n QtTest-devel -f QtTest-devel.files
1504 %files -n QtXml-devel -f QtXml-devel.files
1505 %files -n Qt3Support-devel -f Qt3Support-devel.files
1506 %files -n QtAssistant-devel -f QtAssistant-devel.files
1507 %files -n QtUiTools-devel -f QtUiTools-devel.files
1509 %if %{with static_libs}
1510 %files -n QtCore-static
1511 %defattr(644,root,root,755)
1512 %{_libdir}/libQtCore*.a
1514 %files -n QtDBus-static
1515 %defattr(644,root,root,755)
1516 %{_libdir}/libQtDBus*.a
1518 %files -n QtGui-static
1519 %defattr(644,root,root,755)
1520 %{_libdir}/libQtGui*.a
1522 %files -n QtNetwork-static
1523 %defattr(644,root,root,755)
1524 %{_libdir}/libQtNetwork*.a
1526 %files -n QtOpenGL-static
1527 %defattr(644,root,root,755)
1528 %{_libdir}/libQtOpenGL*.a
1530 %files -n QtSql-static
1531 %defattr(644,root,root,755)
1532 %{_libdir}/libQtSql*.a
1534 %files -n QtSvg-static
1535 %defattr(644,root,root,755)
1536 %{_libdir}/libQtSvg*.a
1538 %files -n QtXml-static
1539 %defattr(644,root,root,755)
1540 %{_libdir}/libQtXml*.a
1542 %files -n Qt3Support-static
1543 %defattr(644,root,root,755)
1544 %{_libdir}/libQt3Support*.a
1546 %files -n QtAssistant-static
1547 %defattr(644,root,root,755)
1548 %{_libdir}/libQtAssistantClient.a
1550 %files -n QtDesigner-static
1551 %defattr(644,root,root,755)
1552 %{_libdir}/libQtDesigner*.a
1554 %files -n QtUiTools-static
1555 %defattr(644,root,root,755)
1556 %{_libdir}/libQtUiTools.a
1559 %files demos -f demos.files
1560 %files examples -f examples.files