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
21 %undefine with_dont_enable
23 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
27 %ifarch pentium3 pentium4 %{x8664}
32 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
34 Summary: The Qt GUI application framework
35 Summary(es): Biblioteca para ejecutar aplicaciones GUI Qt
36 Summary(pl): Biblioteka Qt do tworzenia GUI
37 Summary(pt_BR): Estrutura para rodar aplicações GUI Qt
43 Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
44 # Source0-md5: d82b0374d481f93e481aad4e3f26893a
45 Source2: %{name}-qtconfig.desktop
46 Source3: %{name}-designer.desktop
47 Source4: %{name}-assistant.desktop
48 Source5: %{name}-linguist.desktop
49 Patch0: %{name}-tools.patch
51 Patch2: %{name}-buildsystem.patch
52 Patch3: %{name}-locale.patch
53 Patch4: %{name}-debug-and-release.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: fontconfig-devel
66 BuildRequires: freetype-devel >= 1:2.0.0
67 %{?with_pch:BuildRequires: gcc >= 5:3.4.0}
68 BuildRequires: libjpeg-devel
69 BuildRequires: libmng-devel >= 1.0.0
70 BuildRequires: libpng-devel >= 2:1.0.8
71 BuildRequires: libstdc++-devel
72 BuildRequires: libungif-devel
73 %{?with_mysql:BuildRequires: mysql-devel}
74 %{?with_nas:BuildRequires: nas-devel}
75 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
76 %{?with_pgsql:BuildRequires: postgresql-devel}
77 BuildRequires: rpmbuild(macros) >= 1.213
78 BuildRequires: sed >= 4.0
79 %{?with_sqlite:BuildRequires: sqlite-devel}
80 %{?with_odbc:BuildRequires: unixODBC-devel}
81 BuildRequires: xorg-lib-libSM-devel
82 BuildRequires: xorg-lib-libXcursor-devel
83 BuildRequires: xorg-lib-libXext-devel
84 BuildRequires: xorg-lib-libXi-devel
85 BuildRequires: xorg-lib-libXinerama-devel
86 BuildRequires: xorg-lib-libXrandr-devel
87 BuildRequires: xorg-lib-libXrender-devel
88 BuildRequires: zlib-devel
89 # due to -L%{_libdir} before -L%{builddir}/... in makefiles
90 BuildConflicts: QtCore-devel < %{version}
91 Obsoletes: qt-extensions
93 Conflicts: kdelibs <= 8:3.2-0.030602.1
94 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
96 %define _noautoreqdep libGL.so.1 libGLU.so.1
97 %define _noautostrip '.*_debug\\.so*'
99 %define specflags -fno-strict-aliasing
101 %define _qtdir %{_libdir}/qt4
104 Qt is a complete C++ application development framework, which includes
105 a class library and tools for multiplatform development and
106 internationalization. Using Qt, a single source code tree can build
107 applications that run natively on different platforms (Windows,
108 Unix/Linux, Mac OS X, embedded Linux).
110 Qt has a rich set of standard widgets, and lets you write custom
111 controls. It encapsulates four different platform-specific APIs, and
112 the APIs for file-handling, networking, process-handling, threading,
113 database access, etc. Qt now also has Motif migration oraz Netscape
117 Contiene las bibliotecas compartidas necesarias para ejecutar
118 aplicaciones Qt, bien como los archivos README.
121 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
122 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
123 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
124 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
125 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
127 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
128 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
129 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
130 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
131 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
132 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
133 wykorzystaniem Netscape LiveConnect.
136 Summary: Core classes used by other modules
137 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
140 %description -n QtCore
141 Core classes used by other modules.
143 %description -n QtCore -l pl
144 Podstawowe klasy u¿ywane przez inne modu³y.
146 %package -n QtCore-devel
147 Summary: Core classes used by other modules - development files
148 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
149 Group: X11/Development/Libraries
150 Requires: QtCore = %{version}-%{release}
151 Requires: libstdc++-devel
154 %description -n QtCore-devel
155 Core classes used by other modules - development files.
157 %description -n QtCore-devel -l pl
158 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
160 %package -n QtCore-static
161 Summary: Core classes used by other modules - static libraries
162 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
163 Group: X11/Development/Libraries
164 Requires: QtCore-devel = %{version}-%{release}
166 %description -n QtCore-static
167 Core classes used by other modules - static libraries.
169 %description -n QtCore-static -l pl
170 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
173 Summary: Graphical User Interface components
174 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
176 Requires: QtCore = %{version}-%{release}
177 # two following because of some plugins
178 Requires: Qt3Support = %{version}-%{release}
179 Requires: QtSql = %{version}-%{release}
181 %description -n QtGui
182 Graphical User Interface components.
184 %description -n QtGui -l pl
185 Komponenty graficznego interfejsu u¿ytkownika.
187 %package -n QtGui-devel
188 Summary: Graphical User Interface components - development files
189 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
190 Group: X11/Development/Libraries
191 Requires: QtCore-devel = %{version}-%{release}
192 Requires: QtGui = %{version}-%{release}
193 Requires: fontconfig-devel
194 Requires: freetype-devel >= 1:2.0.0
195 Requires: libpng-devel >= 2:1.0.8
196 Requires: xorg-lib-libSM-devel
197 Requires: xorg-lib-libXcursor-devel
198 Requires: xorg-lib-libXext-devel
199 Requires: xorg-lib-libXi-devel
200 Requires: xorg-lib-libXinerama-devel
201 Requires: xorg-lib-libXrandr-devel
202 Requires: xorg-lib-libXrender-devel
204 %description -n QtGui-devel
205 Graphical User Interface components - development files.
207 %description -n QtGui-devel -l pl
208 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
210 %package -n QtGui-static
211 Summary: Graphical User Interface components - static libraries
212 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
213 Group: X11/Development/Libraries
214 Requires: QtGui-devel = %{version}-%{release}
216 %description -n QtGui-static
217 Graphical User Interface components - static libraries.
219 %description -n QtGui-static -l pl
220 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
222 %package -n QtNetwork
223 Summary: Classes for network programming
224 Summary(pl): Klasy do programowania sieciowego
226 Requires: QtCore = %{version}-%{release}
228 %description -n QtNetwork
229 Classes for network programming.
231 %description -n QtNetwork -l pl
232 Klasy do programowania sieciowego.
234 %package -n QtNetwork-devel
235 Summary: Classes for network programming - development files
236 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
237 Group: X11/Development/Libraries
238 Requires: QtCore-devel = %{version}-%{release}
239 Requires: QtNetwork = %{version}-%{release}
241 %description -n QtNetwork-devel
242 Classes for network programming - development files.
244 %description -n QtNetwork-devel -l pl
245 Klasy do programowania sieciowego - pliki programistyczne.
247 %package -n QtNetwork-static
248 Summary: Classes for network programming - static libraries
249 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
250 Group: X11/Development/Libraries
251 Requires: QtNetwork-devel = %{version}-%{release}
253 %description -n QtNetwork-static
254 Classes for network programming - static libraries.
256 %description -n QtNetwork-static -l pl
257 Klasy do programowania sieciowego - biblioteki statyczne.
260 Summary: OpenGL support classes
261 Summary(pl): Klasy wspomagaj±ce OpenGL
263 Requires: QtCore = %{version}-%{release}
265 %description -n QtOpenGL
266 OpenGL support classes.
268 %description -n QtOpenGL -l pl
269 Klasy wspomagaj±ce OpenGL.
271 %package -n QtOpenGL-devel
272 Summary: OpenGL support classes - development files
273 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
274 Group: X11/Development/Libraries
275 Requires: OpenGL-GLU-devel
276 Requires: QtCore-devel = %{version}-%{release}
277 Requires: QtOpenGL = %{version}-%{release}
279 %description -n QtOpenGL-devel
280 OpenGL support classes - development files.
282 %description -n QtOpenGL-devel -l pl
283 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
285 %package -n QtOpenGL-static
286 Summary: OpenGL support classes - static libraries
287 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
288 Group: X11/Development/Libraries
289 Requires: QtOpenGL-devel = %{version}-%{release}
291 %description -n QtOpenGL-static
292 OpenGL support classes - static libraries.
294 %description -n QtOpenGL-devel -l pl
295 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
298 Summary: Classes for database integration using SQL
299 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
301 Requires: QtCore = %{version}-%{release}
303 %description -n QtSql
304 Classes for database integration using SQL.
306 %description -n QtSql -l pl
307 Klasy do integracji z bazami danych przy u¿yciu SQL.
309 %package -n QtSql-devel
310 Summary: Classes for database integration using SQL - development files
311 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
312 Group: X11/Development/Libraries
313 Requires: QtCore-devel = %{version}-%{release}
314 Requires: QtSql = %{version}-%{release}
316 %description -n QtSql-devel
317 Classes for database integration using SQL - development files.
319 %description -n QtSql-devel -l pl
320 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
323 %package -n QtSql-static
324 Summary: Classes for database integration using SQL - static libraries
325 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
326 Group: X11/Development/Libraries
327 Requires: QtSql-devel = %{version}-%{release}
329 %description -n QtSql-static
330 Classes for database integration using SQL - static libraries.
332 %description -n QtSql-static -l pl
333 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
334 statyczne. programistyczne.
336 %package -n QtSql-ibase
337 Summary: Database plugin for InterBase/Firebird Qt support
338 Summary(pl): Wtyczka InterBase/Firebird do Qt
339 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
341 Requires: QtSql = %{version}-%{release}
342 Provides: QtSql-backend = %{version}-%{release}
344 %description -n QtSql-ibase
345 This package contains a plugin for accessing Interbase/Firebird
346 database via the QSql classes.
348 %description -n QtSql-ibase -l pl
349 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
350 danych Interbase/Firebird poprzez klasy QSql.
352 %description -n QtSql-ibase -l pt_BR
353 Plugin de suporte a InterBase/Firebird para Qt.
355 %package -n QtSql-mysql
356 Summary: Database plugin for MySQL Qt support
357 Summary(pl): Wtyczka MySQL do Qt
358 Summary(pt_BR): Plugin de suporte a MySQL para Qt
360 Requires: QtSql = %{version}-%{release}
361 Provides: QtSql-backend = %{version}-%{release}
363 %description -n QtSql-mysql
364 This package contains a plugin for accessing MySQL database via the
367 %description -n QtSql-mysql -l pl
368 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
369 danych MySQL poprzez klasy QSql.
371 %description -n QtSql-mysql -l pt_BR
372 Plugin de suporte a MySQL para Qt.
374 %package -n QtSql-odbc
375 Summary: Database plugin for ODBC Qt support
376 Summary(pl): Wtyczka ODBC do Qt
377 Summary(pt_BR): Plugin de suporte a ODBC para Qt
379 Requires: QtSql = %{version}-%{release}
380 Provides: QtSql-backend = %{version}-%{release}
382 %description -n QtSql-odbc
383 This package contains a plugin for accessing unixODBC services via the
386 %description -n QtSql-odbc -l pl
387 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
388 unixODBC poprzez klasy QSql.
390 %description -n QtSql-odbc -l pt_BR
391 Plugin de suporte a ODBC para Qt.
393 %package -n QtSql-pgsql
394 Summary: Database plugin for PostgreSQL Qt support
395 Summary(pl): Wtyczka PostgreSQL do Qt
396 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
398 Requires: QtSql = %{version}-%{release}
399 Provides: QtSql-backend = %{version}-%{release}
401 %description -n QtSql-pgsql
402 This package contains a plugin for accessing PostgreSQL database via
405 %description -n QtSql-pgsql -l pl
406 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
407 danych PostgreSQL poprzez klasy QSql.
409 %description -n QtSql-pgsql -l es
410 Plugin de suporte a PostgreSQL para Qt.
412 %package -n QtSql-sqlite
413 Summary: Database plugin for SQLite 2.x Qt support
414 Summary(pl): Wtyczka SQLite 2.x do Qt
415 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
417 Requires: QtSql = %{version}-%{release}
418 Provides: QtSql-backend = %{version}-%{release}
420 %description -n QtSql-sqlite
421 This package contains a plugin for using the SQLite 2.x library (which
422 allows to acces virtually any SQL database) via the QSql classes.
424 %description -n QtSql-sqlite -l pl
425 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
426 danych SQLite 2.x poprzez klasy QSql.
428 %description -n QtSql-sqlite -l pt_BR
429 Plugin de suporte a SQLite 2.x para Qt.
431 %package -n QtSql-sqlite3
432 Summary: Database plugin for SQLite3 Qt support
433 Summary(pl): Wtyczka SQLite3 do Qt
434 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
436 Requires: QtSql = %{version}-%{release}
437 Provides: QtSql-backend = %{version}-%{release}
439 %description -n QtSql-sqlite3
440 This package contains a plugin for using the SQLite3 library (which
441 allows to acces virtually any SQL database) via the QSql classes.
443 %description -n QtSql-sqlite3 -l pl
444 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
445 danych SQLite3 poprzez klasy QSql.
447 %description -n QtSql-sqlite3 -l pt_BR
448 Plugin de suporte a SQLite3 para Qt.
452 Summary(pl): Wsparcie dla SVG
454 Requires: QtCore = %{version}-%{release}
456 %description -n QtSvg
459 %description -n QtSvg -l pl
462 %package -n QtSvg-devel
463 Summary: SVG support - development files
464 Summary(pl): Wsparcie dla SVG - pliki programistyczne
465 Group: X11/Development/Libraries
466 Requires: QtCore-devel = %{version}-%{release}
467 Requires: QtSvg = %{version}-%{release}
469 %description -n QtSvg-devel
470 SVG support - development files.
472 %description -n QtSvg-devel -l pl
473 Wsparcie dla SVG - pliki programistyczne.
475 %package -n QtSvg-static
476 Summary: SVG support - static libraries
477 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
478 Group: X11/Development/Libraries
479 Requires: QtSvg-devel = %{version}-%{release}
481 %description -n QtSvg-static
482 SVG support - static libraries.
484 %description -n QtSvg-static -l pl
485 Wsparcie dla SVG - biblioteki statyczne.
488 Summary: Test framework
489 Summary(pl): Szkielet testów
491 Requires: QtCore = %{version}-%{release}
493 %description -n QtTest
496 %description -n QtTest -l pl
499 %package -n QtTest-devel
500 Summary: Test framework - development files
501 Summary(pl): Szkielet testów - pliki programistyczne
502 Group: X11/Development/Libraries
503 Requires: QtCore-devel = %{version}-%{release}
504 Requires: QtTest = %{version}-%{release}
506 %description -n QtTest-devel
507 Test framework - development files.
509 %description -n QtTest-devel -l pl
510 Szkielet testów - pliki programistyczne.
513 Summary: Classes for handling XML
514 Summary(pl): Klasy do obs³ugi XML-a
516 Requires: QtCore = %{version}-%{release}
518 %description -n QtXml
519 Classes for handling XML.
521 %description -n QtXml -l pl
522 Klasy do obs³ugi XML-a.
524 %package -n QtXml-devel
525 Summary: Classes for handling XML - development files
526 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
527 Group: X11/Development/Libraries
528 Requires: QtCore-devel = %{version}-%{release}
529 Requires: QtXml = %{version}-%{release}
531 %description -n QtXml-devel
532 Classes for handling XML - development files.
534 %description -n QtXml-devel -l pl
535 Klasy do obs³ugi XML-a - pliki programistyczne.
537 %package -n QtXml-static
538 Summary: Classes for handling XML - static libraries
539 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
540 Group: X11/Development/Libraries
541 Requires: QtXml-devel = %{version}-%{release}
543 %description -n QtXml-static
544 Classes for handling XML - static libraries.
546 %description -n QtXml-static -l pl
547 Klasy do obs³ugi XML-a - biblioteki statyczne.
549 %package -n Qt3Support
550 Summary: Qt3 compatibility library
551 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
553 Requires: QtCore = %{version}-%{release}
555 %description -n Qt3Support
556 Qt3 compatibility library.
558 %description -n Qt3Support -l pl
559 Biblioteka kompatybilno¶ci z Qt3.
561 %package -n Qt3Support-devel
562 Summary: Qt3 compatibility library - development files
563 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
564 Group: X11/Development/Libraries
565 Requires: Qt3Support = %{version}-%{release}
566 Requires: QtCore-devel = %{version}-%{release}
568 %description -n Qt3Support-devel
569 Qt3 compatibility library - development files.
571 %description -n Qt3Support-devel -l pl
572 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
574 %package -n Qt3Support-static
575 Summary: Qt3 compatibility library - static libraries
576 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
577 Group: X11/Development/Libraries
578 Requires: Qt3Support-devel = %{version}-%{release}
580 %description -n Qt3Support-static
581 Qt3 compatibility library - static libraries.
583 %description -n Qt3Support-static -l pl
584 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
586 %package -n QtAssistant
587 Summary: Qt Assistant client library
588 Summary(pl): Biblioteka kliencka Qt Assistant
589 Group: X11/Development/Libraries
591 %description -n QtAssistant
592 This library allows to use Qt Assistant as an application's help tool.
594 %description -n QtAssistant -l pl
595 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
596 pomocy w aplikacjach.
598 %package -n QtAssistant-devel
599 Summary: Qt Assistant client library - development files
600 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
601 Group: X11/Development/Libraries
602 Requires: QtAssistant = %{version}-%{release}
603 Requires: QtNetwork-devel = %{version}-%{release}
605 %description -n QtAssistant-devel
606 Development files for Qt Assistant client library.
608 %description -n QtAssistant-devel -l pl
609 Pliki programistyczne biblioteki klienckiej Qt Assistant.
611 %package -n QtAssistant-static
612 Summary: Static Qt Assistant client library
613 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
614 Group: X11/Development/Libraries
615 Requires: QtAssistant-devel = %{version}-%{release}
617 %description -n QtAssistant-static
618 Static Qt Assistant client library.
620 %description -n QtAssistant-static -l pl
621 Statyczna biblioteka kliencka Qt Assistant.
623 %package -n QtDesigner
624 Summary: Classes for extending Qt Designer
625 Summary(pl): Klasy do rozbudowy Qt Designera
627 Requires: QtGui = %{version}-%{release}
628 Requires: QtNetwork = %{version}-%{release}
629 Requires: QtXml = %{version}-%{release}
630 Obsoletes: qt4-designer-libs
632 %description -n QtDesigner
633 This module provides classes that allow you to create your own custom
634 widget plugins for Qt Designer, and classes that enable you to access
635 Qt Designer's components.
637 %description -n QtDesigner -l pl
638 Ten modu³ dostarcza klasy, które pozwalaj± tworzyæ w³asne wtyczki dla
639 Qt Designera oraz klasy, które umo¿liwiaj± dostêp do jego komponentów.
641 %package -n QtDesigner-devel
642 Summary: Classes for extending Qt Designer - development files
643 Summary(pl): Klasy do rozbudowy Qt Designera - pliki programistyczne
644 Group: X11/Development/Libraries
645 Requires: QtCore-devel = %{version}-%{release}
646 Requires: QtDesigner = %{version}-%{release}
648 %description -n QtDesigner-devel
649 Classes for extending Qt Designer - development files.
651 %description -n QtDesigner-devel -l pl
652 Klasy do rozbudowy Qt Designera - pliki programistyczne.
654 %package -n QtDesigner-static
655 Summary: Classes for extending Qt Designer - static libraries
656 Summary(pl): Klasy do rozbudowy Qt Designera - biblioteki statyczne
657 Group: X11/Development/Libraries
658 Requires: QtDesigner-devel = %{version}-%{release}
660 %description -n QtDesigner-static
661 Classes for extending Qt Designer - static libraries.
663 %description -n QtDesigner-static -l pl
664 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
666 %package -n QtUiTools
667 Summary: Classes for handling Qt Designer forms in applications
668 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach
671 %description -n QtUiTools
672 The QtUiTools module provides classes to handle forms created with Qt
675 %description -n QtUiTools -l pl
676 Modu³ QtUiTools udostêpnia klasy do obs³ugi formularzy tworzonych przy
679 %package -n QtUiTools-devel
680 Summary: Classes for handling Qt Designer forms in applications - development files
681 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki programistyczne
682 Group: X11/Development/Libraries
684 %description -n QtUiTools-devel
685 Classes for handling Qt Designer forms in applications - development
688 %description -n QtUiTools-devel -l pl
689 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki
692 %package -n QtUiTools-static
693 Summary: Classes for handling Qt Designer forms in applications - static library
694 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka statyczna
695 Group: X11/Development/Libraries
697 %description -n QtUiTools-static
698 Classes for handling Qt Designer forms in applications - static
701 %description -n QtUiTools-static -l pl
702 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka
706 Summary: Qt documentation browser
707 Summary(pl): Przegl±darka dokumentacji Qt
708 Group: X11/Development/Tools
709 Requires: %{name}-doc = %{version}-%{release}
711 %description assistant
712 Qt Assistant is a tool for browsing on-line documentation with
713 indexing, bookmarks and full-text search.
715 %description assistant -l pl
716 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
717 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
720 Summary: Build tools for Qt4
721 Summary(pl): Narzêdzia do budowania dla Qt4
722 Group: X11/Development/Tools
723 Requires: QtCore = %{version}-%{release}
724 Requires: QtXml = %{version}-%{release}
727 This package includes the Qt resource compiler (rcc), meta objects
728 compiler (moc), user interface compiler (uic) and qt3to4 include names
731 %description build -l pl
732 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
733 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
734 konwerter nazw plików nag³ówkowych qt3to4.
737 Summary: IDE used for GUI designing with Qt library
738 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
739 Group: X11/Applications
740 Requires: QtDesigner = %{version}-%{release}
742 %description designer
743 An advanced tool used for GUI designing with Qt library.
745 %description designer -l pl
746 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
747 za pomoc± biblioteki Qt.
750 Summary: Translation helper for Qt
751 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
752 Group: X11/Development/Tools
754 %description linguist
755 This program provides an interface that shortens and helps systematize
756 the process of translating GUIs. Qt Linguist takes all of the text of
757 a UI that will be shown to the user, and presents it to a human
758 translator in a simple window. When one UI text is translated, the
759 program automatically progresses to the next, until they are all
762 %description linguist -l pl
763 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
764 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
765 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
766 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
767 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
770 Summary: Qt makefile generator
771 Summary(pl): Generator plików makefile dla aplikacji Qt
772 Group: X11/Development/Tools
775 A powerful makefile generator. It can create makefiles on any platform
776 from a simple .pro definitions file.
778 %description qmake -l pl
779 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
780 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
783 Summary: Qt widgets configuration tool
784 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
785 Group: X11/Applications
787 %description qtconfig
788 A tool for configuring look and behavior of Qt widgets.
790 %description qtconfig -l pl
791 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
794 Summary: Qt Virtual framebuffer
795 Summary(pl): Wirtualny framebuffer dla Qt
796 Group: X11/Development/Libraries
799 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
802 %description -n qvfb -l pl
803 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
807 Summary: Demos of new Qt4 features
808 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
809 Group: X11/Development/Libraries
810 Requires: QtCore = %{version}-%{release}
811 Requires: QtXml = %{version}-%{release}
814 Demos are spiders that fly.
816 %description demos -l pl
817 Dema to lataj±ce paj±ki.
820 Summary: Qt Documentation in HTML format
821 Summary(pl): Dokumentacja Qt w formacie HTML
822 Group: X11/Development/Libraries
825 Qt documentation in HTML format.
827 %description doc -l pl
828 Dokumentacja qt w formacie HTML.
831 Summary: Example programs bundled with Qt
832 Summary(pl): Æwiczenia i przyk³ady do Qt
833 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
834 Group: X11/Development/Libraries
835 # no it does not , we cant be sure the user wants to compile them right?
836 # he might just want to take a look, anwyay no single devel package now
837 #Requires: %{name}-devel = %{version}-%{release}
839 %description examples
840 Example programs bundled with Qt version.
842 %description examples -l pl
843 Æwiczenia/przyk³ady do³±czone do Qt.
845 %description examples -l pt_BR
846 Programas exemplo para o Qt versão.
849 %setup -q -n qt-x11-opensource-src-%{version}
861 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
863 # change QMAKE_CFLAGS_RELEASE to build
864 # properly optimized libs
866 if [ "%{_lib}" != "lib" ] ; then
867 cfgf="mkspecs/linux-g++-64/qmake.conf"
869 cfgf="mkspecs/linux-g++/qmake.conf"
873 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
874 s|QMAKE_CXX.*=.*g++|QMAKE_CXX = %{__cxx}|;
875 s|QMAKE_LINK.*=.*g++|QMAKE_LINK = %{__cxx}|;
876 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|;
877 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
881 | grep -v QMAKE_CFLAGS_RELEASE \
882 | grep -v QMAKE_CXXFLAGS_RELEASE \
883 | grep -v QMAKE_CFLAGS_DEBUG \
884 | grep -v QMAKE_CXXFLAGS_DEBUG \
889 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
890 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
891 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
892 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
895 # pass OPTFLAGS to build qmake itself with optimization
896 export OPTFLAGS="%{rpmcflags}"
897 export PATH=$PWD/bin:$PATH
899 ##################################
900 # DEFAULT OPTIONS FOR ALL BUILDS #
901 ##################################
904 -DQT_CLEAN_NAMESPACE \
907 -bindir %{_qtdir}/bin \
908 -docdir %{_docdir}/%{name}-doc \
909 -headerdir %{_includedir}/qt4 \
912 -plugindir %{_qtdir}/plugins \
913 -datadir %{_datadir}/qt4 \
914 -translationdir %{_datadir}/locale/ \
915 -sysconfdir %{_sysconfdir}/qt4 \
916 -examplesdir %{_examplesdir}/qt4 \
917 -demosdir %{_examplesdir}/qt4-demos \
919 -%{!?with_pch:no-}pch \
920 -%{!?with_sse:no-}sse \
926 -I%{_includedir}/postgresql/server \
927 -I%{_includedir}/mysql \
928 %{?with_cups:-cups} \
929 %{?with_nas:-system-nas-sound} \
931 %{!?debug:-release} \
942 ##################################
943 # STATIC MULTI-THREAD #
944 ##################################
946 %if %{with static_libs}
948 %{?with_mysql:-qt-sql-mysql} \
949 %{?with_odbc:-qt-sql-odbc} \
950 %{?with_pgsql:-qt-sql-psql} \
951 %{?with_sqlite3:-qt-sql-sqlite} \
952 %{?with_sqlite:-qt-sql-sqlite2} \
953 %{?with_ibase:-qt-sql-ibase} \
956 echo "yes" | ./configure $COMMONOPT $OPT
959 %{__make} -C tools/assistant/lib
960 %{__make} -C tools/designer
961 if [ ! -d staticlib ]; then
963 cp -a lib/*.a staticlib
968 ##################################
969 # SHARED MULTI-THREAD #
970 ##################################
973 %{?with_mysql:-plugin-sql-mysql} \
974 %{?with_odbc:-plugin-sql-odbc} \
975 %{?with_pgsql:-plugin-sql-psql} \
976 %{?with_sqlite3:-plugin-sql-sqlite} \
977 %{?with_sqlite:-plugin-sql-sqlite2} \
978 %{?with_ibase:-plugin-sql-ibase}"
980 echo "yes" | ./configure $COMMONOPT $OPT
983 %if %{with dont_enable}
985 sub-tools-all-ordered \
986 sub-demos-all-ordered \
987 sub-examples-all-ordered
989 cd tools/designer/designer
990 lrelease designer_de.ts
991 lrelease designer_fr.ts
994 lrelease assistant_de.ts
995 lrelease assistant_fr.ts
997 cd tools/linguist/linguist
998 lrelease linguist_de.ts
999 lrelease linguist_fr.ts
1004 rm -rf $RPM_BUILD_ROOT
1005 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1006 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1009 INSTALL_ROOT=$RPM_BUILD_ROOT
1011 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1012 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,pc,prl}
1014 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_qtdir}/plugins/sqldrivers
1017 install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
1018 install tools/qvfb/qvfb $RPM_BUILD_ROOT%{_bindir}
1020 cd $RPM_BUILD_ROOT%{_bindir}
1021 ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1022 ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1023 ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
1024 ln -sf ../%{_lib}/qt4/bin/moc qt4-moc
1025 ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
1026 ln -sf ../%{_lib}/qt4/bin/qt3to4 .
1027 ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
1028 ln -sf ../%{_lib}/qt4/bin/rcc .
1029 ln -sf ../%{_lib}/qt4/bin/uic qt4-uic
1030 ln -sf ../%{_lib}/qt4/bin/uic3 .
1033 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1034 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1035 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1037 install tools/qtconfig/images/appicon.png \
1038 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
1040 install tools/linguist/linguist/images/appicon.png \
1041 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
1043 install tools/assistant/images/assistant.png \
1044 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
1046 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1047 install tools/designer/src/designer/images/designer.png \
1048 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
1050 %if %{with static_libs}
1051 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1054 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,cs,de,fr,ru,sk}/LC_MESSAGES
1055 install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1056 install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1057 install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
1058 install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1059 install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1060 install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1061 install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1063 %if %{with dont_enable}
1064 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1065 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1067 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1069 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1070 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1073 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1074 for f in ../Qt{3Support,Assistant,Core,Designer,Gui,Network,OpenGL,Sql,Svg,Test,UiTools,Xml}/*
1076 if [ ! -d $f ]; then
1077 ln -sf $f `basename $f`
1080 ln -sf ../../QtCore/arch/qatomic.h arch/qatomic.h
1083 # Ship doc & qmake stuff
1084 ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1085 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1087 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1088 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1089 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1090 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1091 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1094 if [ "$MODULE2" == "3SUPPORT" ]; then
1095 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1097 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1099 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1101 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1104 # Prepare some files list
1106 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1107 [ "$RESULT" == "" ] && return
1108 r=`echo $RESULT | awk '{ print $1 }'`
1110 if [ -d "$r" ]; then
1111 echo "%%dir $2" >> $1.files
1112 elif [ -x "$r" ] ; then
1113 echo "%%attr(755,root,root) $2" >> $1.files
1114 elif [ -f "$r" ]; then
1115 echo "$2" >> $1.files
1117 echo "Error generation devel files list!"
1118 echo "$r: no such file or direcotry!"
1125 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1126 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1127 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1128 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1129 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1130 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1131 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1133 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1135 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1136 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1138 for f in $@; do ifecho $MODULE-devel $f; done
1141 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1151 # without *.la *.pc etc.
1152 mkdevfl QtAssistant || /bin/true
1153 mkdevfl QtDesigner || /bin/true
1154 mkdevfl QtUiTools || /bin/true
1156 echo "%defattr(644,root,root,755)" > examples.files
1157 ifecho examples %{_examplesdir}/qt4
1158 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1160 ifecho examples %{_examplesdir}/qt4/$f
1163 echo "%defattr(644,root,root,755)" > demos.files
1164 ifecho demos "%{_examplesdir}/qt4-demos"
1165 ifecho demos "%{_qtdir}/bin/qtdemo"
1166 ifecho demos "%{_qtdir}/plugins/arthurplugin/libarthurplugin.so"
1167 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1169 ifecho demos %{_examplesdir}/qt4-demos/$f
1173 rm -rf $RPM_BUILD_ROOT
1178 *******************************************************
1181 * With qt 4.0.0 the single threaded version was *
1182 * removed. Also the library is modular now so be *
1183 * sure to check that you have every module you need. *
1185 *******************************************************
1187 %postun -n QtCore -p /sbin/ldconfig
1189 %post -n QtGui -p /sbin/ldconfig
1190 %postun -n QtGui -p /sbin/ldconfig
1192 %post -n QtNetwork -p /sbin/ldconfig
1193 %postun -n QtNetwork -p /sbin/ldconfig
1195 %post -n QtOpenGL -p /sbin/ldconfig
1196 %postun -n QtOpenGL -p /sbin/ldconfig
1198 %post -n QtSql -p /sbin/ldconfig
1199 %postun -n QtSql -p /sbin/ldconfig
1201 %post -n QtSvg -p /sbin/ldconfig
1202 %postun -n QtSvg -p /sbin/ldconfig
1204 %post -n QtTest -p /sbin/ldconfig
1205 %postun -n QtTest -p /sbin/ldconfig
1207 %post -n QtXml -p /sbin/ldconfig
1208 %postun -n QtXml -p /sbin/ldconfig
1210 %post -n Qt3Support -p /sbin/ldconfig
1211 %postun -n Qt3Support -p /sbin/ldconfig
1213 %post -n QtAssistant -p /sbin/ldconfig
1214 %postun -n QtAssistant -p /sbin/ldconfig
1216 %post -n QtDesigner -p /sbin/ldconfig
1217 %postun -n QtDesigner -p /sbin/ldconfig
1219 %post -n QtUiTools -p /sbin/ldconfig
1220 %postun -n QtUiTools -p /sbin/ldconfig
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1227 %dir %{_qtdir}/plugins
1228 %dir %{_qtdir}/plugins/accessible
1229 %dir %{_qtdir}/plugins/codecs
1230 %dir %{_qtdir}/plugins/crypto
1231 %dir %{_qtdir}/plugins/imageformats
1232 %dir %{_qtdir}/plugins/inputmethods
1233 %dir %{_qtdir}/plugins/network
1234 %dir %{_qtdir}/plugins/sqldrivers
1235 %dir %{_datadir}/qt4
1236 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1237 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1238 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
1239 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1240 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1241 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1244 %defattr(644,root,root,755)
1245 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1246 %{_qtdir}/plugins/accessible/*.so
1247 %{_qtdir}/plugins/codecs/*.so
1248 %{_qtdir}/plugins/imageformats/*.so
1249 %{_qtdir}/plugins/inputmethods/*.so
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1264 %files -n QtSql-mysql
1265 %defattr(644,root,root,755)
1266 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
1270 %files -n QtSql-pgsql
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
1276 %files -n QtSql-sqlite
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1282 %files -n QtSql-sqlite3
1283 %defattr(644,root,root,755)
1284 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
1285 %exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1289 %files -n QtSql-ibase
1290 %defattr(644,root,root,755)
1291 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
1295 %files -n QtSql-odbc
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1312 %files -n Qt3Support
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_bindir}/uic3
1315 %attr(755,root,root) %{_qtdir}/bin/uic3
1316 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1318 %files -n QtAssistant
1319 %defattr(644,root,root,755)
1320 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1322 %files -n QtDesigner
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1325 %dir %{_qtdir}/plugins/designer
1326 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_bindir}/qt4-assistant
1335 %attr(755,root,root) %{_qtdir}/bin/assistant
1336 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1337 %{_desktopdir}/qt4-assistant.desktop
1338 %{_pixmapsdir}/qt4-assistant.png
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_bindir}/rcc
1343 %attr(755,root,root) %{_bindir}/qt4-moc
1344 %attr(755,root,root) %{_bindir}/qt3to4
1345 %attr(755,root,root) %{_bindir}/qt4-uic
1346 %attr(755,root,root) %{_qtdir}/bin/rcc
1347 %attr(755,root,root) %{_qtdir}/bin/moc
1348 %attr(755,root,root) %{_qtdir}/bin/qt3to4
1349 %attr(755,root,root) %{_qtdir}/bin/uic
1350 %{_datadir}/qt4/q3porting.xml
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_bindir}/qt4-designer
1355 %attr(755,root,root) %{_qtdir}/bin/designer
1356 %{_desktopdir}/qt4-designer.desktop
1357 %{_pixmapsdir}/qt4-designer.png
1360 %defattr(644,root,root,755)
1361 %attr(755,root,root) %{_bindir}/qt4-linguist
1362 %attr(755,root,root) %{_qtdir}/bin/findtr
1363 %attr(755,root,root) %{_qtdir}/bin/linguist
1364 %attr(755,root,root) %{_qtdir}/bin/lrelease
1365 %attr(755,root,root) %{_qtdir}/bin/lupdate
1366 %attr(755,root,root) %{_qtdir}/bin/qm2ts
1367 %{_datadir}/qt4/phrasebooks
1368 %{_desktopdir}/qt4-linguist.desktop
1369 %{_pixmapsdir}/qt4-linguist.png
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_bindir}/qt4-qmake
1374 %attr(755,root,root) %{_qtdir}/bin/qmake
1375 %{_datadir}/qt4/mkspecs
1379 %defattr(644,root,root,755)
1380 %attr(755,root,root) %{_bindir}/qt4-qtconfig
1381 %attr(755,root,root) %{_qtdir}/bin/qtconfig
1382 %{_desktopdir}/qt4-qtconfig.desktop
1383 %{_pixmapsdir}/qt4-qtconfig.png
1386 %defattr(644,root,root,755)
1387 %attr(755,root,root) %{_bindir}/qvfb
1390 %defattr(644,root,root,755)
1391 %{_docdir}/%{name}-doc
1394 %files -n QtCore-devel -f QtCore-devel.files
1395 %files -n QtDesigner-devel -f QtDesigner-devel.files
1396 %files -n QtGui-devel -f QtGui-devel.files
1397 %files -n QtNetwork-devel -f QtNetwork-devel.files
1398 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1399 %files -n QtSql-devel -f QtSql-devel.files
1400 %files -n QtSvg-devel -f QtSvg-devel.files
1401 %files -n QtTest-devel -f QtTest-devel.files
1402 %files -n QtXml-devel -f QtXml-devel.files
1403 %files -n Qt3Support-devel -f Qt3Support-devel.files
1404 %files -n QtAssistant-devel -f QtAssistant-devel.files
1405 %files -n QtUiTools-devel -f QtUiTools-devel.files
1407 %if %{with static_libs}
1408 %files -n QtCore-static
1409 %defattr(644,root,root,755)
1410 %{_libdir}/libQtCore*.a
1412 %files -n QtGui-static
1413 %defattr(644,root,root,755)
1414 %{_libdir}/libQtGui*.a
1416 %files -n QtNetwork-static
1417 %defattr(644,root,root,755)
1418 %{_libdir}/libQtNetwork*.a
1420 %files -n QtOpenGL-static
1421 %defattr(644,root,root,755)
1422 %{_libdir}/libQtOpenGL*.a
1424 %files -n QtSql-static
1425 %defattr(644,root,root,755)
1426 %{_libdir}/libQtSql*.a
1428 %files -n QtSvg-static
1429 %defattr(644,root,root,755)
1430 %{_libdir}/libQtSvg*.a
1432 %files -n QtXml-static
1433 %defattr(644,root,root,755)
1434 %{_libdir}/libQtXml*.a
1436 %files -n Qt3Support-static
1437 %defattr(644,root,root,755)
1438 %{_libdir}/libQt3Support*.a
1440 %files -n QtAssistant-static
1441 %defattr(644,root,root,755)
1442 %{_libdir}/libQtAssistantClient.a
1444 %files -n QtDesigner-static
1445 %defattr(644,root,root,755)
1446 %{_libdir}/libQtDesigner*.a
1448 %files -n QtUiTools-static
1449 %defattr(644,root,root,755)
1450 %{_libdir}/libQtUiTools.a
1453 %files demos -f demos.files
1454 %files examples -f examples.files