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: 2ab1c88084f55b94809f025a8503bf18
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-libXfixes-devel
207 Requires: xorg-lib-libXi-devel
208 Requires: xorg-lib-libXinerama-devel
209 Requires: xorg-lib-libXrandr-devel
210 Requires: xorg-lib-libXrender-devel
212 %{?with_AC:Requires: X11-devel}
214 %description -n QtGui-devel
215 Graphical User Interface components - development files.
217 %description -n QtGui-devel -l pl
218 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
220 %package -n QtGui-static
221 Summary: Graphical User Interface components - static libraries
222 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
223 Group: X11/Development/Libraries
224 Requires: QtGui-devel = %{version}-%{release}
226 %description -n QtGui-static
227 Graphical User Interface components - static libraries.
229 %description -n QtGui-static -l pl
230 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
232 %package -n QtNetwork
233 Summary: Classes for network programming
234 Summary(pl): Klasy do programowania sieciowego
236 Requires: QtCore = %{version}-%{release}
238 %description -n QtNetwork
239 Classes for network programming.
241 %description -n QtNetwork -l pl
242 Klasy do programowania sieciowego.
244 %package -n QtNetwork-devel
245 Summary: Classes for network programming - development files
246 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
247 Group: X11/Development/Libraries
248 Requires: QtCore-devel = %{version}-%{release}
249 Requires: QtNetwork = %{version}-%{release}
251 %description -n QtNetwork-devel
252 Classes for network programming - development files.
254 %description -n QtNetwork-devel -l pl
255 Klasy do programowania sieciowego - pliki programistyczne.
257 %package -n QtNetwork-static
258 Summary: Classes for network programming - static libraries
259 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
260 Group: X11/Development/Libraries
261 Requires: QtNetwork-devel = %{version}-%{release}
263 %description -n QtNetwork-static
264 Classes for network programming - static libraries.
266 %description -n QtNetwork-static -l pl
267 Klasy do programowania sieciowego - biblioteki statyczne.
270 Summary: OpenGL support classes
271 Summary(pl): Klasy wspomagaj±ce OpenGL
273 Requires: QtCore = %{version}-%{release}
275 %description -n QtOpenGL
276 OpenGL support classes.
278 %description -n QtOpenGL -l pl
279 Klasy wspomagaj±ce OpenGL.
281 %package -n QtOpenGL-devel
282 Summary: OpenGL support classes - development files
283 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
284 Group: X11/Development/Libraries
285 Requires: OpenGL-GLU-devel
286 Requires: QtCore-devel = %{version}-%{release}
287 Requires: QtOpenGL = %{version}-%{release}
289 %description -n QtOpenGL-devel
290 OpenGL support classes - development files.
292 %description -n QtOpenGL-devel -l pl
293 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
295 %package -n QtOpenGL-static
296 Summary: OpenGL support classes - static libraries
297 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
298 Group: X11/Development/Libraries
299 Requires: QtOpenGL-devel = %{version}-%{release}
301 %description -n QtOpenGL-static
302 OpenGL support classes - static libraries.
304 %description -n QtOpenGL-devel -l pl
305 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
308 Summary: Classes for database integration using SQL
309 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
311 Requires: QtCore = %{version}-%{release}
313 %description -n QtSql
314 Classes for database integration using SQL.
316 %description -n QtSql -l pl
317 Klasy do integracji z bazami danych przy u¿yciu SQL.
319 %package -n QtSql-devel
320 Summary: Classes for database integration using SQL - development files
321 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
322 Group: X11/Development/Libraries
323 Requires: QtCore-devel = %{version}-%{release}
324 Requires: QtSql = %{version}-%{release}
326 %description -n QtSql-devel
327 Classes for database integration using SQL - development files.
329 %description -n QtSql-devel -l pl
330 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
333 %package -n QtSql-static
334 Summary: Classes for database integration using SQL - static libraries
335 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
336 Group: X11/Development/Libraries
337 Requires: QtSql-devel = %{version}-%{release}
339 %description -n QtSql-static
340 Classes for database integration using SQL - static libraries.
342 %description -n QtSql-static -l pl
343 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
344 statyczne. programistyczne.
346 %package -n QtSql-ibase
347 Summary: Database plugin for InterBase/Firebird Qt support
348 Summary(pl): Wtyczka InterBase/Firebird do Qt
349 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
351 Requires: QtSql = %{version}-%{release}
352 Provides: QtSql-backend = %{version}-%{release}
354 %description -n QtSql-ibase
355 This package contains a plugin for accessing Interbase/Firebird
356 database via the QSql classes.
358 %description -n QtSql-ibase -l pl
359 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
360 danych Interbase/Firebird poprzez klasy QSql.
362 %description -n QtSql-ibase -l pt_BR
363 Plugin de suporte a InterBase/Firebird para Qt.
365 %package -n QtSql-mysql
366 Summary: Database plugin for MySQL Qt support
367 Summary(pl): Wtyczka MySQL do Qt
368 Summary(pt_BR): Plugin de suporte a MySQL para Qt
370 Requires: QtSql = %{version}-%{release}
371 Provides: QtSql-backend = %{version}-%{release}
373 %description -n QtSql-mysql
374 This package contains a plugin for accessing MySQL database via the
377 %description -n QtSql-mysql -l pl
378 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
379 danych MySQL poprzez klasy QSql.
381 %description -n QtSql-mysql -l pt_BR
382 Plugin de suporte a MySQL para Qt.
384 %package -n QtSql-odbc
385 Summary: Database plugin for ODBC Qt support
386 Summary(pl): Wtyczka ODBC do Qt
387 Summary(pt_BR): Plugin de suporte a ODBC para Qt
389 Requires: QtSql = %{version}-%{release}
390 Provides: QtSql-backend = %{version}-%{release}
392 %description -n QtSql-odbc
393 This package contains a plugin for accessing unixODBC services via the
396 %description -n QtSql-odbc -l pl
397 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
398 unixODBC poprzez klasy QSql.
400 %description -n QtSql-odbc -l pt_BR
401 Plugin de suporte a ODBC para Qt.
403 %package -n QtSql-pgsql
404 Summary: Database plugin for PostgreSQL Qt support
405 Summary(pl): Wtyczka PostgreSQL do Qt
406 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
408 Requires: QtSql = %{version}-%{release}
409 Provides: QtSql-backend = %{version}-%{release}
411 %description -n QtSql-pgsql
412 This package contains a plugin for accessing PostgreSQL database via
415 %description -n QtSql-pgsql -l pl
416 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
417 danych PostgreSQL poprzez klasy QSql.
419 %description -n QtSql-pgsql -l es
420 Plugin de suporte a PostgreSQL para Qt.
422 %package -n QtSql-sqlite
423 Summary: Database plugin for SQLite 2.x Qt support
424 Summary(pl): Wtyczka SQLite 2.x do Qt
425 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
427 Requires: QtSql = %{version}-%{release}
428 Provides: QtSql-backend = %{version}-%{release}
430 %description -n QtSql-sqlite
431 This package contains a plugin for using the SQLite 2.x library (which
432 allows to acces virtually any SQL database) via the QSql classes.
434 %description -n QtSql-sqlite -l pl
435 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
436 danych SQLite 2.x poprzez klasy QSql.
438 %description -n QtSql-sqlite -l pt_BR
439 Plugin de suporte a SQLite 2.x para Qt.
441 %package -n QtSql-sqlite3
442 Summary: Database plugin for SQLite3 Qt support
443 Summary(pl): Wtyczka SQLite3 do Qt
444 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
446 Requires: QtSql = %{version}-%{release}
447 Provides: QtSql-backend = %{version}-%{release}
449 %description -n QtSql-sqlite3
450 This package contains a plugin for using the SQLite3 library (which
451 allows to acces virtually any SQL database) via the QSql classes.
453 %description -n QtSql-sqlite3 -l pl
454 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
455 danych SQLite3 poprzez klasy QSql.
457 %description -n QtSql-sqlite3 -l pt_BR
458 Plugin de suporte a SQLite3 para Qt.
462 Summary(pl): Wsparcie dla SVG
464 Requires: QtCore = %{version}-%{release}
466 %description -n QtSvg
469 %description -n QtSvg -l pl
472 %package -n QtSvg-devel
473 Summary: SVG support - development files
474 Summary(pl): Wsparcie dla SVG - pliki programistyczne
475 Group: X11/Development/Libraries
476 Requires: QtCore-devel = %{version}-%{release}
477 Requires: QtSvg = %{version}-%{release}
479 %description -n QtSvg-devel
480 SVG support - development files.
482 %description -n QtSvg-devel -l pl
483 Wsparcie dla SVG - pliki programistyczne.
485 %package -n QtSvg-static
486 Summary: SVG support - static libraries
487 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
488 Group: X11/Development/Libraries
489 Requires: QtSvg-devel = %{version}-%{release}
491 %description -n QtSvg-static
492 SVG support - static libraries.
494 %description -n QtSvg-static -l pl
495 Wsparcie dla SVG - biblioteki statyczne.
498 Summary: Test framework
499 Summary(pl): Szkielet testów
501 Requires: QtCore = %{version}-%{release}
503 %description -n QtTest
506 %description -n QtTest -l pl
509 %package -n QtTest-devel
510 Summary: Test framework - development files
511 Summary(pl): Szkielet testów - pliki programistyczne
512 Group: X11/Development/Libraries
513 Requires: QtCore-devel = %{version}-%{release}
514 Requires: QtTest = %{version}-%{release}
516 %description -n QtTest-devel
517 Test framework - development files.
519 %description -n QtTest-devel -l pl
520 Szkielet testów - pliki programistyczne.
523 Summary: Classes for handling XML
524 Summary(pl): Klasy do obs³ugi XML-a
526 Requires: QtCore = %{version}-%{release}
528 %description -n QtXml
529 Classes for handling XML.
531 %description -n QtXml -l pl
532 Klasy do obs³ugi XML-a.
534 %package -n QtXml-devel
535 Summary: Classes for handling XML - development files
536 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
537 Group: X11/Development/Libraries
538 Requires: QtCore-devel = %{version}-%{release}
539 Requires: QtXml = %{version}-%{release}
541 %description -n QtXml-devel
542 Classes for handling XML - development files.
544 %description -n QtXml-devel -l pl
545 Klasy do obs³ugi XML-a - pliki programistyczne.
547 %package -n QtXml-static
548 Summary: Classes for handling XML - static libraries
549 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
550 Group: X11/Development/Libraries
551 Requires: QtXml-devel = %{version}-%{release}
553 %description -n QtXml-static
554 Classes for handling XML - static libraries.
556 %description -n QtXml-static -l pl
557 Klasy do obs³ugi XML-a - biblioteki statyczne.
559 %package -n Qt3Support
560 Summary: Qt3 compatibility library
561 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
563 Requires: QtCore = %{version}-%{release}
565 %description -n Qt3Support
566 Qt3 compatibility library.
568 %description -n Qt3Support -l pl
569 Biblioteka kompatybilno¶ci z Qt3.
571 %package -n Qt3Support-devel
572 Summary: Qt3 compatibility library - development files
573 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
574 Group: X11/Development/Libraries
575 Requires: Qt3Support = %{version}-%{release}
576 Requires: QtCore-devel = %{version}-%{release}
578 %description -n Qt3Support-devel
579 Qt3 compatibility library - development files.
581 %description -n Qt3Support-devel -l pl
582 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
584 %package -n Qt3Support-static
585 Summary: Qt3 compatibility library - static libraries
586 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
587 Group: X11/Development/Libraries
588 Requires: Qt3Support-devel = %{version}-%{release}
590 %description -n Qt3Support-static
591 Qt3 compatibility library - static libraries.
593 %description -n Qt3Support-static -l pl
594 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
596 %package -n QtAssistant
597 Summary: Qt Assistant client library
598 Summary(pl): Biblioteka kliencka Qt Assistant
599 Group: X11/Development/Libraries
600 Requires: QtGui = %{version}-%{release}
601 Requires: QtNetwork = %{version}-%{release}
603 %description -n QtAssistant
604 This library allows to use Qt Assistant as an application's help tool.
606 %description -n QtAssistant -l pl
607 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
608 pomocy w aplikacjach.
610 %package -n QtAssistant-devel
611 Summary: Qt Assistant client library - development files
612 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
613 Group: X11/Development/Libraries
614 Requires: QtAssistant = %{version}-%{release}
615 Requires: QtNetwork-devel = %{version}-%{release}
617 %description -n QtAssistant-devel
618 Development files for Qt Assistant client library.
620 %description -n QtAssistant-devel -l pl
621 Pliki programistyczne biblioteki klienckiej Qt Assistant.
623 %package -n QtAssistant-static
624 Summary: Static Qt Assistant client library
625 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
626 Group: X11/Development/Libraries
627 Requires: QtAssistant-devel = %{version}-%{release}
629 %description -n QtAssistant-static
630 Static Qt Assistant client library.
632 %description -n QtAssistant-static -l pl
633 Statyczna biblioteka kliencka Qt Assistant.
636 Summary: Classes for D-BUS support
637 Summary(pl): Klasy do obs³ugi D-BUS
639 Requires: QtXml = %{version}-%{release}
640 # is it really required? libs should need just libs, not service
643 %description -n QtDBus
644 This module provides classes for D-BUS support. D-BUS is an
645 Inter-Process Communication (IPC) and Remote Procedure Calling (RPC)
646 mechanism originally developed for Linux to replace existing and
647 competing IPC solutions with one unified protocol.
649 %description -n QtDBus -l pl
650 Ten modu³ udostêpnia klasy do obs³ugi D-BUS. D-BUS to mechanizm
651 komunikacji miêdzy procesowej (IPC - Inter-Process Communication) i
652 zdalnego wywo³ywania procedur (RPC - Remote Procedure Calling)
653 stworzony pocz±tkowo dla Linuksa, aby zast±piæ istniej±ce i
654 konkuruj±ce ze sob± rozwi±zania IPC jednym, ujednoliconym protoko³em.
656 %package -n QtDBus-devel
657 Summary: Classes for D-BUS support - development files
658 Summary(pl): Klasy do obs³ugi D-BUS - pliki programistyczne
659 Group: X11/Development/Libraries
660 Requires: QtDBus = %{version}-%{release}
661 Requires: QtXml-devel = %{version}-%{release}
663 Requires: glib2-devel >= 2.0.0
665 %description -n QtDBus-devel
666 Classes for D-BUS support - development files.
668 %description -n QtDBus-devel -l pl
669 Klasy do obs³ugi D-BUS - pliki programistyczne.
671 %package -n QtDBus-static
672 Summary: Classes for D-BUS support - static libraries
673 Summary(pl): Klasy do obs³ugi D-BUS - biblioteki statyczne
674 Group: X11/Development/Libraries
675 Requires: QtDBus-devel = %{version}-%{release}
677 %description -n QtDBus-static
678 Classes for D-BUS support - static libraries.
680 %description -n QtDBus-static -l pl
681 Klasy do obs³ugi D-BUS - biblioteki statyczne.
683 %package -n QtDesigner
684 Summary: Classes for extending Qt Designer
685 Summary(pl): Klasy do rozbudowy Qt Designera
687 Requires: QtGui = %{version}-%{release}
688 Requires: QtNetwork = %{version}-%{release}
689 Requires: QtXml = %{version}-%{release}
690 Obsoletes: qt4-designer-libs
692 %description -n QtDesigner
693 This module provides classes that allow you to create your own custom
694 widget plugins for Qt Designer, and classes that enable you to access
695 Qt Designer's components.
697 %description -n QtDesigner -l pl
698 Ten modu³ dostarcza klasy, które pozwalaj± tworzyæ w³asne wtyczki dla
699 Qt Designera oraz klasy, które umo¿liwiaj± dostêp do jego komponentów.
701 %package -n QtDesigner-devel
702 Summary: Classes for extending Qt Designer - development files
703 Summary(pl): Klasy do rozbudowy Qt Designera - pliki programistyczne
704 Group: X11/Development/Libraries
705 Requires: QtDesigner = %{version}-%{release}
706 Requires: QtGui-devel = %{version}-%{release}
708 %description -n QtDesigner-devel
709 Classes for extending Qt Designer - development files.
711 %description -n QtDesigner-devel -l pl
712 Klasy do rozbudowy Qt Designera - pliki programistyczne.
714 %package -n QtDesigner-static
715 Summary: Classes for extending Qt Designer - static libraries
716 Summary(pl): Klasy do rozbudowy Qt Designera - biblioteki statyczne
717 Group: X11/Development/Libraries
718 Requires: QtDesigner-devel = %{version}-%{release}
720 %description -n QtDesigner-static
721 Classes for extending Qt Designer - static libraries.
723 %description -n QtDesigner-static -l pl
724 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
726 %package -n QtUiTools
727 Summary: Classes for handling Qt Designer forms in applications
728 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach
730 Requires: QtGui = %{version}-%{release}
731 Requires: QtXml = %{version}-%{release}
733 %description -n QtUiTools
734 The QtUiTools module provides classes to handle forms created with Qt
737 %description -n QtUiTools -l pl
738 Modu³ QtUiTools udostêpnia klasy do obs³ugi formularzy tworzonych przy
741 %package -n QtUiTools-devel
742 Summary: Classes for handling Qt Designer forms in applications - development files
743 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki programistyczne
744 Group: X11/Development/Libraries
745 Requires: QtCore-devel = %{version}-%{release}
746 Requires: QtUiTools = %{version}-%{release}
748 %description -n QtUiTools-devel
749 Classes for handling Qt Designer forms in applications - development
752 %description -n QtUiTools-devel -l pl
753 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki
756 %package -n QtUiTools-static
757 Summary: Classes for handling Qt Designer forms in applications - static library
758 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka statyczna
759 Group: X11/Development/Libraries
760 Requires: QtUiTools-devel = %{version}-%{release}
762 %description -n QtUiTools-static
763 Classes for handling Qt Designer forms in applications - static
766 %description -n QtUiTools-static -l pl
767 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka
771 Summary: Qt documentation browser
772 Summary(pl): Przegl±darka dokumentacji Qt
773 Group: X11/Development/Tools
774 Requires: %{name}-doc = %{version}-%{release}
775 Requires: QtAssistant = %{version}-%{release}
776 Requires: QtDBus = %{version}-%{release}
778 %description assistant
779 Qt Assistant is a tool for browsing on-line documentation with
780 indexing, bookmarks and full-text search.
782 %description assistant -l pl
783 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
784 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
787 Summary: Build tools for Qt4
788 Summary(pl): Narzêdzia do budowania dla Qt4
789 Group: X11/Development/Tools
790 Requires: QtCore = %{version}-%{release}
791 Requires: QtXml = %{version}-%{release}
794 This package includes the Qt resource compiler (rcc), meta objects
795 compiler (moc), user interface compiler (uic) and qt3to4 include names
798 %description build -l pl
799 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
800 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
801 konwerter nazw plików nag³ówkowych qt3to4.
804 Summary: IDE used for GUI designing with Qt library
805 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
806 Group: X11/Applications
807 Requires: QtAssistant = %{version}-%{release}
808 Requires: QtDesigner = %{version}-%{release}
810 %description designer
811 An advanced tool used for GUI designing with Qt library.
813 %description designer -l pl
814 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
815 za pomoc± biblioteki Qt.
818 Summary: Translation helper for Qt
819 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
820 Group: X11/Development/Tools
821 Requires: QtAssistant = %{version}-%{release}
822 Requires: QtUiTools = %{version}-%{release}
824 %description linguist
825 This program provides an interface that shortens and helps systematize
826 the process of translating GUIs. Qt Linguist takes all of the text of
827 a UI that will be shown to the user, and presents it to a human
828 translator in a simple window. When one UI text is translated, the
829 program automatically progresses to the next, until they are all
832 %description linguist -l pl
833 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
834 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
835 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
836 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
837 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
840 Summary: Qt makefile generator
841 Summary(pl): Generator plików makefile dla aplikacji Qt
842 Group: X11/Development/Tools
845 A powerful makefile generator. It can create makefiles on any platform
846 from a simple .pro definitions file.
848 %description qmake -l pl
849 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
850 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
853 Summary: Qt widgets configuration tool
854 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
855 Group: X11/Applications
856 Requires: Qt3Support = %{version}-%{release}
857 Requires: QtGui = %{version}-%{release}
858 Requires: QtNetwork = %{version}-%{release}
859 Requires: QtSql = %{version}-%{release}
860 Requires: QtXml = %{version}-%{release}
862 %description qtconfig
863 A tool for configuring look and behavior of Qt widgets.
865 %description qtconfig -l pl
866 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
869 Summary: Qt Virtual framebuffer
870 Summary(pl): Wirtualny framebuffer dla Qt
871 Group: X11/Development/Libraries
872 Requires: QtGui = %{version}-%{release}
873 Requires: QtOpenGL = %{version}-%{release}
876 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
879 %description -n qvfb -l pl
880 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
884 Summary: Demos of new Qt4 features
885 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
886 Group: X11/Development/Libraries
887 Requires: QtAssistant = %{version}-%{release}
888 Requires: QtXml = %{version}-%{release}
891 Demos are spiders that fly.
893 %description demos -l pl
894 Dema to lataj±ce paj±ki.
897 Summary: Qt Documentation in HTML format
898 Summary(pl): Dokumentacja Qt w formacie HTML
899 Group: X11/Development/Libraries
902 Qt documentation in HTML format.
904 %description doc -l pl
905 Dokumentacja qt w formacie HTML.
908 Summary: Example programs bundled with Qt
909 Summary(pl): Æwiczenia i przyk³ady do Qt
910 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
911 Group: X11/Development/Libraries
912 # no it does not , we cant be sure the user wants to compile them right?
913 # he might just want to take a look, anwyay no single devel package now
914 #Requires: %{name}-devel = %{version}-%{release}
916 %description examples
917 Example programs bundled with Qt version.
919 %description examples -l pl
920 Æwiczenia/przyk³ady do³±czone do Qt.
922 %description examples -l pt_BR
923 Programas exemplo para o Qt versão.
926 %setup -q -n qt-x11-opensource-src-%{version}
936 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
938 # change QMAKE_CFLAGS_RELEASE to build
939 # properly optimized libs
941 if [ "%{_lib}" != "lib" ] ; then
942 cfgf="mkspecs/linux-g++-64/qmake.conf"
944 cfgf="mkspecs/linux-g++/qmake.conf"
948 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
949 s|QMAKE_CXX.*=.*g++|QMAKE_CXX = %{__cxx}|;
950 s|QMAKE_LINK.*=.*g++|QMAKE_LINK = %{__cxx}|;
951 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|;
952 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
956 | grep -v QMAKE_CFLAGS_RELEASE \
957 | grep -v QMAKE_CXXFLAGS_RELEASE \
958 | grep -v QMAKE_CFLAGS_DEBUG \
959 | grep -v QMAKE_CXXFLAGS_DEBUG \
964 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
965 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
966 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
967 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
970 # pass OPTFLAGS to build qmake itself with optimization
971 export OPTFLAGS="%{rpmcflags}"
972 export PATH=$PWD/bin:$PATH
974 ##################################
975 # DEFAULT OPTIONS FOR ALL BUILDS #
976 ##################################
979 -DQT_CLEAN_NAMESPACE \
982 -bindir %{_qtdir}/bin \
983 -docdir %{_docdir}/%{name}-doc \
984 -headerdir %{_includedir}/qt4 \
987 -plugindir %{_qtdir}/plugins \
988 -datadir %{_datadir}/qt4 \
989 -translationdir %{_datadir}/locale/ \
990 -sysconfdir %{_sysconfdir}/qt4 \
991 -examplesdir %{_examplesdir}/qt4 \
992 -demosdir %{_examplesdir}/qt4-demos \
995 -%{!?with_pch:no-}pch \
996 -%{!?with_sse:no-}sse \
1003 -I%{_includedir}/postgresql/server \
1004 -I%{_includedir}/mysql \
1005 %{?with_cups:-cups} \
1006 %{?with_nas:-system-nas-sound} \
1008 %{!?debug:-release} \
1009 %{?with_AC:-L/usr/X11R6/lib} \
1013 -no-separate-debug-info \
1014 -%{?with_AC:no-}xfixes \
1023 ##################################
1024 # STATIC MULTI-THREAD #
1025 ##################################
1027 %if %{with static_libs}
1029 %{?with_mysql:-qt-sql-mysql} \
1030 %{?with_odbc:-qt-sql-odbc} \
1031 %{?with_pgsql:-qt-sql-psql} \
1032 %{?with_sqlite3:-qt-sql-sqlite} \
1033 %{?with_sqlite:-qt-sql-sqlite2} \
1034 %{?with_ibase:-qt-sql-ibase} \
1037 echo "yes" | ./configure $COMMONOPT $OPT
1040 %{__make} -C tools/assistant/lib
1041 %{__make} -C tools/designer
1042 %{__make} -C tools/qdbus/src
1043 if [ ! -d staticlib ]; then
1045 cp -a lib/*.a staticlib
1050 ##################################
1051 # SHARED MULTI-THREAD #
1052 ##################################
1055 %{?with_mysql:-plugin-sql-mysql} \
1056 %{?with_odbc:-plugin-sql-odbc} \
1057 %{?with_pgsql:-plugin-sql-psql} \
1058 %{?with_sqlite3:-plugin-sql-sqlite} \
1059 %{?with_sqlite:-plugin-sql-sqlite2} \
1060 %{?with_ibase:-plugin-sql-ibase}"
1062 echo "yes" | ./configure $COMMONOPT $OPT
1065 %if %{with dont_enable}
1067 sub-tools-all-ordered \
1068 sub-demos-all-ordered \
1069 sub-examples-all-ordered
1071 cd tools/designer/designer
1072 lrelease designer_de.ts
1073 lrelease designer_fr.ts
1076 lrelease assistant_de.ts
1077 lrelease assistant_fr.ts
1079 cd tools/linguist/linguist
1080 lrelease linguist_de.ts
1081 lrelease linguist_fr.ts
1086 rm -rf $RPM_BUILD_ROOT
1087 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1088 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1091 INSTALL_ROOT=$RPM_BUILD_ROOT
1093 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1094 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,pc,prl}
1097 install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
1098 install bin/qvfb $RPM_BUILD_ROOT%{_bindir}
1099 install bin/pixeltool $RPM_BUILD_ROOT%{_bindir}
1100 install bin/qdbus $RPM_BUILD_ROOT%{_bindir}
1101 install bin/qdbuscpp2xml $RPM_BUILD_ROOT%{_bindir}
1102 install bin/qdbusxml2cpp $RPM_BUILD_ROOT%{_bindir}
1104 cd $RPM_BUILD_ROOT%{_bindir}
1105 ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1106 ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1107 ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
1108 ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
1109 ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
1110 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1111 ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
1112 ln -sf ../%{_lib}/qt4/bin/rcc .
1113 ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1114 ln -sf ../%{_lib}/qt4/bin/uic3 .
1117 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1118 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1119 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1121 install tools/qtconfig/images/appicon.png \
1122 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
1124 install tools/linguist/linguist/images/appicon.png \
1125 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
1127 install tools/assistant/images/assistant.png \
1128 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
1130 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1131 install tools/designer/src/designer/images/designer.png \
1132 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
1134 %if %{with static_libs}
1135 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1141 rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
1142 for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm
1144 [ ! -f $file ] && continue
1145 LANG=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
1146 MOD=`echo $file | sed -r 's:.*/([a-zA-Z]*)_.*.qm:\1:'`
1147 [ "$LANG" == "iw" ] && LANG=he
1148 [ "$MOD" == "qt" ] && MOD=qt4
1149 mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES
1150 cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES/$MOD.qm
1153 %if %{with dont_enable}
1154 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1155 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1157 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1159 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1160 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1163 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1164 for f in ../Qt{3Support,Assistant,Core,DBus,Designer,Gui,Network,OpenGL,Sql,Svg,Test,UiTools,Xml}/*
1166 if [ ! -d $f ]; then
1167 ln -sf $f `basename $f`
1172 # Ship doc & qmake stuff
1173 ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1174 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1176 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1177 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1178 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1179 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1180 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1183 if [ "$MODULE2" == "3SUPPORT" ]; then
1184 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1186 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1188 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1190 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1193 # Prepare some files list
1195 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1196 [ "$RESULT" == "" ] && return
1197 r=`echo $RESULT | awk '{ print $1 }'`
1199 if [ -d "$r" ]; then
1200 echo "%%dir $2" >> $1.files
1201 elif [ -x "$r" ] ; then
1202 echo "%%attr(755,root,root) $2" >> $1.files
1203 elif [ -f "$r" ]; then
1204 echo "$2" >> $1.files
1206 echo "Error generation devel files list!"
1207 echo "$r: no such file or direcotry!"
1214 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1215 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1216 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1217 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1218 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1219 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1220 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1222 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1224 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1225 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1227 for f in $@; do ifecho $MODULE-devel $f; done
1230 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1231 mkdevfl QtDBus %{_bindir}/qdbus %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp
1241 # without *.la *.pc etc.
1242 mkdevfl QtAssistant || /bin/true
1243 mkdevfl QtDesigner || /bin/true
1244 mkdevfl QtUiTools || /bin/true
1246 echo "%defattr(644,root,root,755)" > examples.files
1247 ifecho examples %{_examplesdir}/qt4
1248 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1250 ifecho examples %{_examplesdir}/qt4/$f
1253 echo "%defattr(644,root,root,755)" > demos.files
1254 ifecho demos "%{_examplesdir}/qt4-demos"
1255 ifecho demos "%{_qtdir}/bin/qtdemo"
1256 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1258 ifecho demos %{_examplesdir}/qt4-demos/$f
1262 rm -rf $RPM_BUILD_ROOT
1267 *******************************************************
1270 * With qt 4.0.0 the single threaded version was *
1271 * removed. Also the library is modular now so be *
1272 * sure to check that you have every module you need. *
1274 *******************************************************
1276 %postun -n QtCore -p /sbin/ldconfig
1278 %post -n QtDBus -p /sbin/ldconfig
1279 %postun -n QtDBus -p /sbin/ldconfig
1281 %post -n QtGui -p /sbin/ldconfig
1282 %postun -n QtGui -p /sbin/ldconfig
1284 %post -n QtNetwork -p /sbin/ldconfig
1285 %postun -n QtNetwork -p /sbin/ldconfig
1287 %post -n QtOpenGL -p /sbin/ldconfig
1288 %postun -n QtOpenGL -p /sbin/ldconfig
1290 %post -n QtSql -p /sbin/ldconfig
1291 %postun -n QtSql -p /sbin/ldconfig
1293 %post -n QtSvg -p /sbin/ldconfig
1294 %postun -n QtSvg -p /sbin/ldconfig
1296 %post -n QtTest -p /sbin/ldconfig
1297 %postun -n QtTest -p /sbin/ldconfig
1299 %post -n QtXml -p /sbin/ldconfig
1300 %postun -n QtXml -p /sbin/ldconfig
1302 %post -n Qt3Support -p /sbin/ldconfig
1303 %postun -n Qt3Support -p /sbin/ldconfig
1305 %post -n QtAssistant -p /sbin/ldconfig
1306 %postun -n QtAssistant -p /sbin/ldconfig
1308 %post -n QtDesigner -p /sbin/ldconfig
1309 %postun -n QtDesigner -p /sbin/ldconfig
1311 %post -n QtUiTools -p /sbin/ldconfig
1312 %postun -n QtUiTools -p /sbin/ldconfig
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1319 %dir %{_qtdir}/plugins
1320 %dir %{_qtdir}/plugins/accessible
1321 %dir %{_qtdir}/plugins/codecs
1322 %dir %{_qtdir}/plugins/crypto
1323 %dir %{_qtdir}/plugins/iconengines
1324 %dir %{_qtdir}/plugins/imageformats
1325 %dir %{_qtdir}/plugins/inputmethods
1326 %dir %{_qtdir}/plugins/network
1327 %dir %{_qtdir}/plugins/sqldrivers
1328 %dir %{_datadir}/qt4
1329 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm
1330 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm
1331 %lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm
1332 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm
1333 %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm
1334 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm
1335 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm
1336 %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm
1339 %defattr(644,root,root,755)
1340 %attr(755,root,root) %{_libdir}/libQtDBus.so.*.*
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1345 %attr(755,root,root) %{_qtdir}/plugins/accessible/*.so
1346 %attr(755,root,root) %{_qtdir}/plugins/codecs/*.so
1347 %attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so
1348 %attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so
1349 %attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1364 %files -n QtSql-mysql
1365 %defattr(644,root,root,755)
1366 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
1370 %files -n QtSql-pgsql
1371 %defattr(644,root,root,755)
1372 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
1376 %files -n QtSql-sqlite
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1382 %files -n QtSql-sqlite3
1383 %defattr(644,root,root,755)
1384 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
1386 %exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1391 %files -n QtSql-ibase
1392 %defattr(644,root,root,755)
1393 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
1397 %files -n QtSql-odbc
1398 %defattr(644,root,root,755)
1399 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
1403 %defattr(644,root,root,755)
1404 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1407 %defattr(644,root,root,755)
1408 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1414 %files -n Qt3Support
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_bindir}/uic3
1417 %attr(755,root,root) %{_qtdir}/bin/uic3
1418 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1420 %files -n QtAssistant
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1424 %files -n QtDesigner
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1427 %dir %{_qtdir}/plugins/designer
1428 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1431 %defattr(644,root,root,755)
1432 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_bindir}/pixeltool
1437 %attr(755,root,root) %{_bindir}/qt4-assistant
1438 %attr(755,root,root) %{_qtdir}/bin/assistant
1439 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1440 %{_desktopdir}/qt4-assistant.desktop
1441 %{_pixmapsdir}/qt4-assistant.png
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{_bindir}/rcc
1446 %attr(755,root,root) %{_bindir}/qt4-moc
1447 %attr(755,root,root) %{_bindir}/qt3to4
1448 %attr(755,root,root) %{_bindir}/qt4-uic
1449 %attr(755,root,root) %{_qtdir}/bin/rcc
1450 %attr(755,root,root) %{_qtdir}/bin/moc
1451 %attr(755,root,root) %{_qtdir}/bin/qt3to4
1452 %attr(755,root,root) %{_qtdir}/bin/uic
1453 %{_datadir}/qt4/q3porting.xml
1456 %defattr(644,root,root,755)
1457 %attr(755,root,root) %{_bindir}/qt4-designer
1458 %attr(755,root,root) %{_qtdir}/bin/designer
1459 %{_desktopdir}/qt4-designer.desktop
1460 %{_pixmapsdir}/qt4-designer.png
1463 %defattr(644,root,root,755)
1464 %attr(755,root,root) %{_bindir}/qt4-linguist
1465 %attr(755,root,root) %{_qtdir}/bin/findtr
1466 %attr(755,root,root) %{_qtdir}/bin/linguist
1467 %attr(755,root,root) %{_qtdir}/bin/lrelease
1468 %attr(755,root,root) %{_qtdir}/bin/lupdate
1469 %{_datadir}/qt4/phrasebooks
1470 %{_desktopdir}/qt4-linguist.desktop
1471 %{_pixmapsdir}/qt4-linguist.png
1474 %defattr(644,root,root,755)
1475 %attr(755,root,root) %{_bindir}/qt4-qmake
1476 %attr(755,root,root) %{_qtdir}/bin/qmake
1477 %{_datadir}/qt4/mkspecs
1481 %defattr(644,root,root,755)
1482 %attr(755,root,root) %{_bindir}/qt4-qtconfig
1483 %attr(755,root,root) %{_qtdir}/bin/qtconfig
1484 %{_desktopdir}/qt4-qtconfig.desktop
1485 %{_pixmapsdir}/qt4-qtconfig.png
1488 %defattr(644,root,root,755)
1489 %attr(755,root,root) %{_bindir}/qvfb
1492 %defattr(644,root,root,755)
1493 %{_docdir}/%{name}-doc
1496 %files -n QtCore-devel -f QtCore-devel.files
1497 %files -n QtDBus-devel -f QtDBus-devel.files
1498 %files -n QtDesigner-devel -f QtDesigner-devel.files
1499 %files -n QtGui-devel -f QtGui-devel.files
1500 %files -n QtNetwork-devel -f QtNetwork-devel.files
1501 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1502 %files -n QtSql-devel -f QtSql-devel.files
1503 %files -n QtSvg-devel -f QtSvg-devel.files
1504 %files -n QtTest-devel -f QtTest-devel.files
1505 %files -n QtXml-devel -f QtXml-devel.files
1506 %files -n Qt3Support-devel -f Qt3Support-devel.files
1507 %files -n QtAssistant-devel -f QtAssistant-devel.files
1508 %files -n QtUiTools-devel -f QtUiTools-devel.files
1510 %if %{with static_libs}
1511 %files -n QtCore-static
1512 %defattr(644,root,root,755)
1513 %{_libdir}/libQtCore*.a
1515 %files -n QtDBus-static
1516 %defattr(644,root,root,755)
1517 %{_libdir}/libQtDBus*.a
1519 %files -n QtGui-static
1520 %defattr(644,root,root,755)
1521 %{_libdir}/libQtGui*.a
1523 %files -n QtNetwork-static
1524 %defattr(644,root,root,755)
1525 %{_libdir}/libQtNetwork*.a
1527 %files -n QtOpenGL-static
1528 %defattr(644,root,root,755)
1529 %{_libdir}/libQtOpenGL*.a
1531 %files -n QtSql-static
1532 %defattr(644,root,root,755)
1533 %{_libdir}/libQtSql*.a
1535 %files -n QtSvg-static
1536 %defattr(644,root,root,755)
1537 %{_libdir}/libQtSvg*.a
1539 %files -n QtXml-static
1540 %defattr(644,root,root,755)
1541 %{_libdir}/libQtXml*.a
1543 %files -n Qt3Support-static
1544 %defattr(644,root,root,755)
1545 %{_libdir}/libQt3Support*.a
1547 %files -n QtAssistant-static
1548 %defattr(644,root,root,755)
1549 %{_libdir}/libQtAssistantClient.a
1551 %files -n QtDesigner-static
1552 %defattr(644,root,root,755)
1553 %{_libdir}/libQtDesigner*.a
1555 %files -n QtUiTools-static
1556 %defattr(644,root,root,755)
1557 %{_libdir}/libQtUiTools.a
1560 %files demos -f demos.files
1561 %files examples -f examples.files