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 Obsoletes: qt-extensions
91 Conflicts: kdelibs <= 8:3.2-0.030602.1
92 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
94 %define _noautoreqdep libGL.so.1 libGLU.so.1
95 %define _noautostrip '.*_debug\\.so*'
97 %define specflags -fno-strict-aliasing
99 %define _qtdir %{_libdir}/qt4
102 Qt is a complete C++ application development framework, which includes
103 a class library and tools for multiplatform development and
104 internationalization. Using Qt, a single source code tree can build
105 applications that run natively on different platforms (Windows,
106 Unix/Linux, Mac OS X, embedded Linux).
108 Qt has a rich set of standard widgets, and lets you write custom
109 controls. It encapsulates four different platform-specific APIs, and
110 the APIs for file-handling, networking, process-handling, threading,
111 database access, etc. Qt now also has Motif migration oraz Netscape
115 Contiene las bibliotecas compartidas necesarias para ejecutar
116 aplicaciones Qt, bien como los archivos README.
119 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
120 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
121 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
122 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
123 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
125 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
126 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
127 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
128 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
129 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
130 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
131 wykorzystaniem Netscape LiveConnect.
134 Summary: Core classes used by other modules
135 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
138 %description -n QtCore
139 Core classes used by other modules.
141 %description -n QtCore -l pl
142 Podstawowe klasy u¿ywane przez inne modu³y.
144 %package -n QtCore-devel
145 Summary: Core classes used by other modules - development files
146 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
147 Group: X11/Development/Libraries
148 Requires: QtCore = %{version}-%{release}
149 Requires: libstdc++-devel
152 %description -n QtCore-devel
153 Core classes used by other modules - development files.
155 %description -n QtCore-devel -l pl
156 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
158 %package -n QtCore-static
159 Summary: Core classes used by other modules - static libraries
160 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
161 Group: X11/Development/Libraries
162 Requires: QtCore-devel = %{version}-%{release}
164 %description -n QtCore-static
165 Core classes used by other modules - static libraries.
167 %description -n QtCore-static -l pl
168 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
171 Summary: Graphical User Interface components
172 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
174 Requires: QtCore = %{version}-%{release}
175 # two following because of some plugins
176 Requires: Qt3Support = %{version}-%{release}
177 Requires: QtSql = %{version}-%{release}
179 %description -n QtGui
180 Graphical User Interface components.
182 %description -n QtGui -l pl
183 Komponenty graficznego interfejsu u¿ytkownika.
185 %package -n QtGui-devel
186 Summary: Graphical User Interface components - development files
187 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
188 Group: X11/Development/Libraries
189 Requires: QtCore-devel = %{version}-%{release}
190 Requires: QtGui = %{version}-%{release}
191 Requires: fontconfig-devel
192 Requires: freetype-devel >= 1:2.0.0
193 Requires: libpng-devel >= 2:1.0.8
194 Requires: xorg-lib-libSM-devel
195 Requires: xorg-lib-libXcursor-devel
196 Requires: xorg-lib-libXext-devel
197 Requires: xorg-lib-libXi-devel
198 Requires: xorg-lib-libXinerama-devel
199 Requires: xorg-lib-libXrandr-devel
200 Requires: xorg-lib-libXrender-devel
202 %description -n QtGui-devel
203 Graphical User Interface components - development files.
205 %description -n QtGui-devel -l pl
206 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
208 %package -n QtGui-static
209 Summary: Graphical User Interface components - static libraries
210 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
211 Group: X11/Development/Libraries
212 Requires: QtGui-devel = %{version}-%{release}
214 %description -n QtGui-static
215 Graphical User Interface components - static libraries.
217 %description -n QtGui-static -l pl
218 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
220 %package -n QtNetwork
221 Summary: Classes for network programming
222 Summary(pl): Klasy do programowania sieciowego
224 Requires: QtCore = %{version}-%{release}
226 %description -n QtNetwork
227 Classes for network programming.
229 %description -n QtNetwork -l pl
230 Klasy do programowania sieciowego.
232 %package -n QtNetwork-devel
233 Summary: Classes for network programming - development files
234 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
235 Group: X11/Development/Libraries
236 Requires: QtCore-devel = %{version}-%{release}
237 Requires: QtNetwork = %{version}-%{release}
239 %description -n QtNetwork-devel
240 Classes for network programming - development files.
242 %description -n QtNetwork-devel -l pl
243 Klasy do programowania sieciowego - pliki programistyczne.
245 %package -n QtNetwork-static
246 Summary: Classes for network programming - static libraries
247 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
248 Group: X11/Development/Libraries
249 Requires: QtNetwork-devel = %{version}-%{release}
251 %description -n QtNetwork-static
252 Classes for network programming - static libraries.
254 %description -n QtNetwork-static -l pl
255 Klasy do programowania sieciowego - biblioteki statyczne.
258 Summary: OpenGL support classes
259 Summary(pl): Klasy wspomagaj±ce OpenGL
261 Requires: QtCore = %{version}-%{release}
263 %description -n QtOpenGL
264 OpenGL support classes.
266 %description -n QtOpenGL -l pl
267 Klasy wspomagaj±ce OpenGL.
269 %package -n QtOpenGL-devel
270 Summary: OpenGL support classes - development files
271 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
272 Group: X11/Development/Libraries
273 Requires: OpenGL-GLU-devel
274 Requires: QtCore-devel = %{version}-%{release}
275 Requires: QtOpenGL = %{version}-%{release}
277 %description -n QtOpenGL-devel
278 OpenGL support classes - development files.
280 %description -n QtOpenGL-devel -l pl
281 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
283 %package -n QtOpenGL-static
284 Summary: OpenGL support classes - static libraries
285 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
286 Group: X11/Development/Libraries
287 Requires: QtOpenGL-devel = %{version}-%{release}
289 %description -n QtOpenGL-static
290 OpenGL support classes - static libraries.
292 %description -n QtOpenGL-devel -l pl
293 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
296 Summary: Classes for database integration using SQL
297 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
299 Requires: QtCore = %{version}-%{release}
301 %description -n QtSql
302 Classes for database integration using SQL.
304 %description -n QtSql -l pl
305 Klasy do integracji z bazami danych przy u¿yciu SQL.
307 %package -n QtSql-devel
308 Summary: Classes for database integration using SQL - development files
309 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
310 Group: X11/Development/Libraries
311 Requires: QtCore-devel = %{version}-%{release}
312 Requires: QtSql = %{version}-%{release}
314 %description -n QtSql-devel
315 Classes for database integration using SQL - development files.
317 %description -n QtSql-devel -l pl
318 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
321 %package -n QtSql-static
322 Summary: Classes for database integration using SQL - static libraries
323 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
324 Group: X11/Development/Libraries
325 Requires: QtSql-devel = %{version}-%{release}
327 %description -n QtSql-static
328 Classes for database integration using SQL - static libraries.
330 %description -n QtSql-static -l pl
331 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
332 statyczne. programistyczne.
334 %package -n QtSql-ibase
335 Summary: Database plugin for InterBase/Firebird Qt support
336 Summary(pl): Wtyczka InterBase/Firebird do Qt
337 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
339 Requires: QtSql = %{version}-%{release}
340 Provides: QtSql-backend = %{version}-%{release}
342 %description -n QtSql-ibase
343 This package contains a plugin for accessing Interbase/Firebird
344 database via the QSql classes.
346 %description -n QtSql-ibase -l pl
347 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
348 danych Interbase/Firebird poprzez klasy QSql.
350 %description -n QtSql-ibase -l pt_BR
351 Plugin de suporte a InterBase/Firebird para Qt.
353 %package -n QtSql-mysql
354 Summary: Database plugin for MySQL Qt support
355 Summary(pl): Wtyczka MySQL do Qt
356 Summary(pt_BR): Plugin de suporte a MySQL para Qt
358 Requires: QtSql = %{version}-%{release}
359 Provides: QtSql-backend = %{version}-%{release}
361 %description -n QtSql-mysql
362 This package contains a plugin for accessing MySQL database via the
365 %description -n QtSql-mysql -l pl
366 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
367 danych MySQL poprzez klasy QSql.
369 %description -n QtSql-mysql -l pt_BR
370 Plugin de suporte a MySQL para Qt.
372 %package -n QtSql-odbc
373 Summary: Database plugin for ODBC Qt support
374 Summary(pl): Wtyczka ODBC do Qt
375 Summary(pt_BR): Plugin de suporte a ODBC para Qt
377 Requires: QtSql = %{version}-%{release}
378 Provides: QtSql-backend = %{version}-%{release}
380 %description -n QtSql-odbc
381 This package contains a plugin for accessing unixODBC services via the
384 %description -n QtSql-odbc -l pl
385 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
386 unixODBC poprzez klasy QSql.
388 %description -n QtSql-odbc -l pt_BR
389 Plugin de suporte a ODBC para Qt.
391 %package -n QtSql-pgsql
392 Summary: Database plugin for PostgreSQL Qt support
393 Summary(pl): Wtyczka PostgreSQL do Qt
394 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
396 Requires: QtSql = %{version}-%{release}
397 Provides: QtSql-backend = %{version}-%{release}
399 %description -n QtSql-pgsql
400 This package contains a plugin for accessing PostgreSQL database via
403 %description -n QtSql-pgsql -l pl
404 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
405 danych PostgreSQL poprzez klasy QSql.
407 %description -n QtSql-pgsql -l es
408 Plugin de suporte a PostgreSQL para Qt.
410 %package -n QtSql-sqlite
411 Summary: Database plugin for SQLite 2.x Qt support
412 Summary(pl): Wtyczka SQLite 2.x do Qt
413 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
415 Requires: QtSql = %{version}-%{release}
416 Provides: QtSql-backend = %{version}-%{release}
418 %description -n QtSql-sqlite
419 This package contains a plugin for using the SQLite 2.x library (which
420 allows to acces virtually any SQL database) via the QSql classes.
422 %description -n QtSql-sqlite -l pl
423 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
424 danych SQLite 2.x poprzez klasy QSql.
426 %description -n QtSql-sqlite -l pt_BR
427 Plugin de suporte a SQLite 2.x para Qt.
429 %package -n QtSql-sqlite3
430 Summary: Database plugin for SQLite3 Qt support
431 Summary(pl): Wtyczka SQLite3 do Qt
432 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
434 Requires: QtSql = %{version}-%{release}
435 Provides: QtSql-backend = %{version}-%{release}
437 %description -n QtSql-sqlite3
438 This package contains a plugin for using the SQLite3 library (which
439 allows to acces virtually any SQL database) via the QSql classes.
441 %description -n QtSql-sqlite3 -l pl
442 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
443 danych SQLite3 poprzez klasy QSql.
445 %description -n QtSql-sqlite3 -l pt_BR
446 Plugin de suporte a SQLite3 para Qt.
450 Summary(pl): Wsparcie dla SVG
452 Requires: QtCore = %{version}-%{release}
454 %description -n QtSvg
457 %description -n QtSvg -l pl
460 %package -n QtSvg-devel
461 Summary: SVG support - development files
462 Summary(pl): Wsparcie dla SVG - pliki programistyczne
463 Group: X11/Development/Libraries
464 Requires: QtCore-devel = %{version}-%{release}
465 Requires: QtSvg = %{version}-%{release}
467 %description -n QtSvg-devel
468 SVG support - development files.
470 %description -n QtSvg-devel -l pl
471 Wsparcie dla SVG - pliki programistyczne.
473 %package -n QtSvg-static
474 Summary: SVG support - static libraries
475 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
476 Group: X11/Development/Libraries
477 Requires: QtSvg-devel = %{version}-%{release}
479 %description -n QtSvg-static
480 SVG support - static libraries.
482 %description -n QtSvg-static -l pl
483 Wsparcie dla SVG - biblioteki statyczne.
486 Summary: Test framework
487 Summary(pl): Szkielet testów
489 Requires: QtCore = %{version}-%{release}
491 %description -n QtTest
494 %description -n QtTest -l pl
497 %package -n QtTest-devel
498 Summary: Test framework - development files
499 Summary(pl): Szkielet testów - pliki programistyczne
500 Group: X11/Development/Libraries
501 Requires: QtCore-devel = %{version}-%{release}
502 Requires: QtTest = %{version}-%{release}
504 %description -n QtTest-devel
505 Test framework - development files.
507 %description -n QtTest-devel -l pl
508 Szkielet testów - pliki programistyczne.
511 Summary: Classes for handling XML
512 Summary(pl): Klasy do obs³ugi XML-a
514 Requires: QtCore = %{version}-%{release}
516 %description -n QtXml
517 Classes for handling XML.
519 %description -n QtXml -l pl
520 Klasy do obs³ugi XML-a.
522 %package -n QtXml-devel
523 Summary: Classes for handling XML - development files
524 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
525 Group: X11/Development/Libraries
526 Requires: QtCore-devel = %{version}-%{release}
527 Requires: QtXml = %{version}-%{release}
529 %description -n QtXml-devel
530 Classes for handling XML - development files.
532 %description -n QtXml-devel -l pl
533 Klasy do obs³ugi XML-a - pliki programistyczne.
535 %package -n QtXml-static
536 Summary: Classes for handling XML - static libraries
537 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
538 Group: X11/Development/Libraries
539 Requires: QtXml-devel = %{version}-%{release}
541 %description -n QtXml-static
542 Classes for handling XML - static libraries.
544 %description -n QtXml-static -l pl
545 Klasy do obs³ugi XML-a - biblioteki statyczne.
547 %package -n Qt3Support
548 Summary: Qt3 compatibility library
549 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
551 Requires: QtCore = %{version}-%{release}
553 %description -n Qt3Support
554 Qt3 compatibility library.
556 %description -n Qt3Support -l pl
557 Biblioteka kompatybilno¶ci z Qt3.
559 %package -n Qt3Support-devel
560 Summary: Qt3 compatibility library - development files
561 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
562 Group: X11/Development/Libraries
563 Requires: Qt3Support = %{version}-%{release}
564 Requires: QtCore-devel = %{version}-%{release}
566 %description -n Qt3Support-devel
567 Qt3 compatibility library - development files.
569 %description -n Qt3Support-devel -l pl
570 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
572 %package -n Qt3Support-static
573 Summary: Qt3 compatibility library - static libraries
574 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
575 Group: X11/Development/Libraries
576 Requires: Qt3Support-devel = %{version}-%{release}
578 %description -n Qt3Support-static
579 Qt3 compatibility library - static libraries.
581 %description -n Qt3Support-static -l pl
582 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
584 %package -n QtAssistant
585 Summary: Qt Assistant client library
586 Summary(pl): Biblioteka kliencka Qt Assistant
587 Group: X11/Development/Libraries
589 %description -n QtAssistant
590 This library allows to use Qt Assistant as an application's help tool.
592 %description -n QtAssistant -l pl
593 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
594 pomocy w aplikacjach.
596 %package -n QtAssistant-devel
597 Summary: Qt Assistant client library - development files
598 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
599 Group: X11/Development/Libraries
600 Requires: QtAssistant = %{version}-%{release}
601 Requires: QtNetwork-devel = %{version}-%{release}
603 %description -n QtAssistant-devel
604 Development files for Qt Assistant client library.
606 %description -n QtAssistant-devel -l pl
607 Pliki programistyczne biblioteki klienckiej Qt Assistant.
609 %package -n QtAssistant-static
610 Summary: Static Qt Assistant client library
611 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
612 Group: X11/Development/Libraries
613 Requires: QtAssistant-devel = %{version}-%{release}
615 %description -n QtAssistant-static
616 Static Qt Assistant client library.
618 %description -n QtAssistant-static -l pl
619 Statyczna biblioteka kliencka Qt Assistant.
621 %package -n QtDesigner
622 Summary: Classes for extending Qt Designer
623 Summary(pl): Klasy do rozbudowy Qt Designera
625 Requires: QtGui = %{version}-%{release}
626 Requires: QtNetwork = %{version}-%{release}
627 Requires: QtXml = %{version}-%{release}
628 Obsoletes: qt4-designer-libs
630 %description -n QtDesigner
631 This module provides classes that allow you to create your own custom
632 widget plugins for Qt Designer, and classes that enable you to access
633 Qt Designer's components.
635 %description -n QtDesigner -l pl
636 Ten modu³ dostarcza klasy, które pozwalaj± tworzyæ w³asne wtyczki dla
637 Qt Designera oraz klasy, które umo¿liwiaj± dostêp do jego komponentów.
639 %package -n QtDesigner-devel
640 Summary: Classes for extending Qt Designer - development files
641 Summary(pl): Klasy do rozbudowy Qt Designera - pliki programistyczne
642 Group: X11/Development/Libraries
643 Requires: QtCore-devel = %{version}-%{release}
644 Requires: QtDesigner = %{version}-%{release}
646 %description -n QtDesigner-devel
647 Classes for extending Qt Designer - development files.
649 %description -n QtDesigner-devel -l pl
650 Klasy do rozbudowy Qt Designera - pliki programistyczne.
652 %package -n QtDesigner-static
653 Summary: Classes for extending Qt Designer - static libraries
654 Summary(pl): Klasy do rozbudowy Qt Designera - biblioteki statyczne
655 Group: X11/Development/Libraries
656 Requires: QtDesigner-devel = %{version}-%{release}
658 %description -n QtDesigner-static
659 Classes for extending Qt Designer - static libraries.
661 %description -n QtDesigner-static -l pl
662 Klasy do rozbudowy Qt Designera - biblioteki statyczne.
664 %package -n QtUiTools
665 Summary: Classes for handling Qt Designer forms in applications
666 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach
669 %description -n QtUiTools
670 The QtUiTools module provides classes to handle forms created with Qt
673 %description -n QtUiTools -l pl
674 Modu³ QtUiTools udostêpnia klasy do obs³ugi formularzy tworzonych przy
677 %package -n QtUiTools-devel
678 Summary: Classes for handling Qt Designer forms in applications - development files
679 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki programistyczne
680 Group: X11/Development/Libraries
682 %description -n QtUiTools-devel
683 Classes for handling Qt Designer forms in applications - development
686 %description -n QtUiTools-devel -l pl
687 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - pliki
690 %package -n QtUiTools-static
691 Summary: Classes for handling Qt Designer forms in applications - static library
692 Summary(pl): Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka statyczna
693 Group: X11/Development/Libraries
695 %description -n QtUiTools-static
696 Classes for handling Qt Designer forms in applications - static
699 %description -n QtUiTools-static -l pl
700 Klasy do obs³ugi formularzy Qt Designera w aplikacjach - biblioteka
704 Summary: Qt documentation browser
705 Summary(pl): Przegl±darka dokumentacji Qt
706 Group: X11/Development/Tools
707 Requires: %{name}-doc = %{version}-%{release}
709 %description assistant
710 Qt Assistant is a tool for browsing on-line documentation with
711 indexing, bookmarks and full-text search.
713 %description assistant -l pl
714 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
715 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
718 Summary: Build tools for Qt4
719 Summary(pl): Narzêdzia do budowania dla Qt4
720 Group: X11/Development/Tools
721 Requires: QtCore = %{version}-%{release}
722 Requires: QtXml = %{version}-%{release}
725 This package includes the Qt resource compiler (rcc), meta objects
726 compiler (moc), user interface compiler (uic) and qt3to4 include names
729 %description build -l pl
730 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
731 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
732 konwerter nazw plików nag³ówkowych qt3to4.
735 Summary: IDE used for GUI designing with Qt library
736 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
737 Group: X11/Applications
738 Requires: QtDesigner = %{version}-%{release}
740 %description designer
741 An advanced tool used for GUI designing with Qt library.
743 %description designer -l pl
744 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
745 za pomoc± biblioteki Qt.
748 Summary: Translation helper for Qt
749 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
750 Group: X11/Development/Tools
752 %description linguist
753 This program provides an interface that shortens and helps systematize
754 the process of translating GUIs. Qt Linguist takes all of the text of
755 a UI that will be shown to the user, and presents it to a human
756 translator in a simple window. When one UI text is translated, the
757 program automatically progresses to the next, until they are all
760 %description linguist -l pl
761 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
762 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
763 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
764 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
765 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
768 Summary: Qt makefile generator
769 Summary(pl): Generator plików makefile dla aplikacji Qt
770 Group: X11/Development/Tools
773 A powerful makefile generator. It can create makefiles on any platform
774 from a simple .pro definitions file.
776 %description qmake -l pl
777 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
778 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
781 Summary: Qt widgets configuration tool
782 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
783 Group: X11/Applications
785 %description qtconfig
786 A tool for configuring look and behavior of Qt widgets.
788 %description qtconfig -l pl
789 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
792 Summary: Qt Virtual framebuffer
793 Summary(pl): Wirtualny framebuffer dla Qt
794 Group: X11/Development/Libraries
797 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
800 %description -n qvfb -l pl
801 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
805 Summary: Demos of new Qt4 features
806 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
807 Group: X11/Development/Libraries
808 Requires: QtCore = %{version}-%{release}
809 Requires: QtXml = %{version}-%{release}
812 Demos are spiders that fly.
814 %description demos -l pl
815 Dema to lataj±ce paj±ki.
818 Summary: Qt Documentation in HTML format
819 Summary(pl): Dokumentacja Qt w formacie HTML
820 Group: X11/Development/Libraries
823 Qt documentation in HTML format.
825 %description doc -l pl
826 Dokumentacja qt w formacie HTML.
829 Summary: Example programs bundled with Qt
830 Summary(pl): Æwiczenia i przyk³ady do Qt
831 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
832 Group: X11/Development/Libraries
833 # no it does not , we cant be sure the user wants to compile them right?
834 # he might just want to take a look, anwyay no single devel package now
835 #Requires: %{name}-devel = %{version}-%{release}
837 %description examples
838 Example programs bundled with Qt version.
840 %description examples -l pl
841 Æwiczenia/przyk³ady do³±czone do Qt.
843 %description examples -l pt_BR
844 Programas exemplo para o Qt versão.
847 %setup -q -n qt-x11-opensource-src-%{version}
859 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
861 # change QMAKE_CFLAGS_RELEASE to build
862 # properly optimized libs
864 if [ "%{_lib}" != "lib" ] ; then
865 cfgf="mkspecs/linux-g++-64/qmake.conf"
867 cfgf="mkspecs/linux-g++/qmake.conf"
871 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
872 s|QMAKE_CXX.*=.*g++|QMAKE_CXX = %{__cxx}|;
873 s|QMAKE_LINK.*=.*g++|QMAKE_LINK = %{__cxx}|;
874 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|;
875 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
879 | grep -v QMAKE_CFLAGS_RELEASE \
880 | grep -v QMAKE_CXXFLAGS_RELEASE \
881 | grep -v QMAKE_CFLAGS_DEBUG \
882 | grep -v QMAKE_CXXFLAGS_DEBUG \
887 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
888 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
889 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
890 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
893 # pass OPTFLAGS to build qmake itself with optimization
894 export OPTFLAGS="%{rpmcflags}"
895 export PATH=$PWD/bin:$PATH
897 ##################################
898 # DEFAULT OPTIONS FOR ALL BUILDS #
899 ##################################
902 -DQT_CLEAN_NAMESPACE \
905 -bindir %{_qtdir}/bin \
906 -docdir %{_docdir}/%{name}-doc \
907 -headerdir %{_includedir}/qt4 \
910 -plugindir %{_qtdir}/plugins \
911 -datadir %{_datadir}/qt4 \
912 -translationdir %{_datadir}/locale/ \
913 -sysconfdir %{_sysconfdir}/qt4 \
914 -examplesdir %{_examplesdir}/qt4 \
915 -demosdir %{_examplesdir}/qt4-demos \
917 -%{!?with_pch:no-}pch \
918 -%{!?with_sse:no-}sse \
924 -I%{_includedir}/postgresql/server \
925 -I%{_includedir}/mysql \
926 %{?with_cups:-cups} \
927 %{?with_nas:-system-nas-sound} \
929 %{!?debug:-release} \
940 ##################################
941 # STATIC MULTI-THREAD #
942 ##################################
944 %if %{with static_libs}
946 %{?with_mysql:-qt-sql-mysql} \
947 %{?with_odbc:-qt-sql-odbc} \
948 %{?with_pgsql:-qt-sql-psql} \
949 %{?with_sqlite3:-qt-sql-sqlite} \
950 %{?with_sqlite:-qt-sql-sqlite2} \
951 %{?with_ibase:-qt-sql-ibase} \
954 echo "yes" | ./configure $COMMONOPT $OPT
957 %{__make} -C tools/assistant/lib
958 %{__make} -C tools/designer
959 if [ ! -d staticlib ]; then
961 cp -a lib/*.a staticlib
966 ##################################
967 # SHARED MULTI-THREAD #
968 ##################################
971 %{?with_mysql:-plugin-sql-mysql} \
972 %{?with_odbc:-plugin-sql-odbc} \
973 %{?with_pgsql:-plugin-sql-psql} \
974 %{?with_sqlite3:-plugin-sql-sqlite} \
975 %{?with_sqlite:-plugin-sql-sqlite2} \
976 %{?with_ibase:-plugin-sql-ibase}"
978 echo "yes" | ./configure $COMMONOPT $OPT
981 %if %{with dont_enable}
983 sub-tools-all-ordered \
984 sub-demos-all-ordered \
985 sub-examples-all-ordered
987 cd tools/designer/designer
988 lrelease designer_de.ts
989 lrelease designer_fr.ts
992 lrelease assistant_de.ts
993 lrelease assistant_fr.ts
995 cd tools/linguist/linguist
996 lrelease linguist_de.ts
997 lrelease linguist_fr.ts
1002 rm -rf $RPM_BUILD_ROOT
1003 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}}
1004 install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network}
1007 INSTALL_ROOT=$RPM_BUILD_ROOT
1009 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
1010 %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,pc,prl}
1013 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
1014 $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/{crypto,network}
1016 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_qtdir}/plugins/sqldrivers
1019 install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin
1020 install tools/qvfb/qvfb $RPM_BUILD_ROOT%{_bindir}
1022 cd $RPM_BUILD_ROOT%{_bindir}
1023 ln -sf ../%{_lib}/qt4/bin/assistant qt4-assistant
1024 ln -sf ../%{_lib}/qt4/bin/designer qt4-designer
1025 ln -sf ../%{_lib}/qt4/bin/linguist qt4-linguist
1026 ln -sf ../%{_lib}/qt4/bin/qmake qt4-qmake
1027 ln -sf ../%{_lib}/qt4/bin/qtconfig qt4-qtconfig
1030 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1031 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1032 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1034 install tools/qtconfig/images/appicon.png \
1035 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-qtconfig.png
1037 install tools/linguist/linguist/images/appicon.png \
1038 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-linguist.png
1040 install tools/assistant/images/assistant.png \
1041 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-assistant.png
1043 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1044 install tools/designer/src/designer/images/designer.png \
1045 $RPM_BUILD_ROOT%{_pixmapsdir}/qt4-designer.png
1047 %if %{with static_libs}
1048 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1051 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,cs,de,fr,ru,sk}/LC_MESSAGES
1052 install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1053 install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1054 install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
1055 install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1056 install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1057 install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1058 install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1060 %if %{with dont_enable}
1061 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1062 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1064 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1066 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1067 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1070 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1071 for f in ../Qt{3Support,Assistant,Core,Designer,Gui,Network,OpenGL,Sql,Svg,Test,UiTools,Xml}/*
1073 if [ ! -d $f ]; then
1074 ln -sf $f `basename $f`
1077 ln -sf ../../QtCore/arch/qatomic.h arch/qatomic.h
1080 # Ship doc & qmake stuff
1081 ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc
1082 ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs
1084 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1085 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1086 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1087 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1088 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1091 if [ "$MODULE2" == "3SUPPORT" ]; then
1092 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1094 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1096 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1098 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1101 # Prepare some files list
1103 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1104 [ "$RESULT" == "" ] && return
1105 r=`echo $RESULT | awk '{ print $1 }'`
1107 if [ -d "$r" ]; then
1108 echo "%%dir $2" >> $1.files
1109 elif [ -x "$r" ] ; then
1110 echo "%%attr(755,root,root) $2" >> $1.files
1111 elif [ -f "$r" ]; then
1112 echo "$2" >> $1.files
1114 echo "Error generation devel files list!"
1115 echo "$r: no such file or direcotry!"
1122 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1123 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1124 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1125 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1126 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1127 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1128 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1130 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1132 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1133 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1135 for f in $@; do ifecho $MODULE-devel $f; done
1138 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1148 # without *.la *.pc etc.
1149 mkdevfl QtAssistant || /bin/true
1150 mkdevfl QtDesigner || /bin/true
1151 mkdevfl QtUiTools || /bin/true
1153 echo "%defattr(644,root,root,755)" > examples.files
1154 ifecho examples %{_examplesdir}/qt4
1155 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1157 ifecho examples %{_examplesdir}/qt4/$f
1160 echo "%defattr(644,root,root,755)" > demos.files
1161 ifecho demos "%{_examplesdir}/qt4-demos"
1162 ifecho demos "%{_qtdir}/bin/qtdemo"
1163 ifecho demos "%{_qtdir}/plugins/arthurplugin/libarthurplugin.so"
1164 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1166 ifecho demos %{_examplesdir}/qt4-demos/$f
1170 rm -rf $RPM_BUILD_ROOT
1175 *******************************************************
1178 * With qt 4.0.0 the single threaded version was *
1179 * removed. Also the library is modular now so be *
1180 * sure to check that you have every module you need. *
1182 *******************************************************
1184 %postun -n QtCore -p /sbin/ldconfig
1186 %post -n QtGui -p /sbin/ldconfig
1187 %postun -n QtGui -p /sbin/ldconfig
1189 %post -n QtNetwork -p /sbin/ldconfig
1190 %postun -n QtNetwork -p /sbin/ldconfig
1192 %post -n QtOpenGL -p /sbin/ldconfig
1193 %postun -n QtOpenGL -p /sbin/ldconfig
1195 %post -n QtSql -p /sbin/ldconfig
1196 %postun -n QtSql -p /sbin/ldconfig
1198 %post -n QtSvg -p /sbin/ldconfig
1199 %postun -n QtSvg -p /sbin/ldconfig
1201 %post -n QtTest -p /sbin/ldconfig
1202 %postun -n QtTest -p /sbin/ldconfig
1204 %post -n QtXml -p /sbin/ldconfig
1205 %postun -n QtXml -p /sbin/ldconfig
1207 %post -n Qt3Support -p /sbin/ldconfig
1208 %postun -n Qt3Support -p /sbin/ldconfig
1210 %post -n QtAssistant -p /sbin/ldconfig
1211 %postun -n QtAssistant -p /sbin/ldconfig
1213 %post -n QtDesigner -p /sbin/ldconfig
1214 %postun -n QtDesigner -p /sbin/ldconfig
1216 %post -n QtUiTools -p /sbin/ldconfig
1217 %postun -n QtUiTools -p /sbin/ldconfig
1220 %defattr(644,root,root,755)
1221 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1224 %dir %{_qtdir}/plugins
1225 %dir %{_qtdir}/plugins/accessible
1226 %dir %{_qtdir}/plugins/codecs
1227 %dir %{_qtdir}/plugins/crypto
1228 %dir %{_qtdir}/plugins/imageformats
1229 %dir %{_qtdir}/plugins/network
1230 %dir %{_qtdir}/plugins/sqldrivers
1231 %dir %{_datadir}/qt4
1232 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1233 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1234 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
1235 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1236 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1237 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1242 %{_qtdir}/plugins/accessible/*
1243 %{_qtdir}/plugins/codecs/*
1244 %{_qtdir}/plugins/imageformats/*
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1259 %files -n QtSql-mysql
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql*.so
1265 %files -n QtSql-pgsql
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql*.so
1271 %files -n QtSql-sqlite
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1277 %files -n QtSql-sqlite3
1278 %defattr(644,root,root,755)
1279 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite*.so
1280 %exclude %{_qtdir}/plugins/sqldrivers/libqsqlite2*.so
1284 %files -n QtSql-ibase
1285 %defattr(644,root,root,755)
1286 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase*.so
1290 %files -n QtSql-odbc
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc*.so
1296 %defattr(644,root,root,755)
1297 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1304 %defattr(644,root,root,755)
1305 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1307 %files -n Qt3Support
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_qtdir}/bin/uic3
1310 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1312 %files -n QtAssistant
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1316 %files -n QtDesigner
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1319 %dir %{_qtdir}/plugins/designer
1320 %attr(755,root,root) %{_qtdir}/plugins/designer/*.so
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.*
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_bindir}/qt4-assistant
1329 %attr(755,root,root) %{_qtdir}/bin/assistant
1330 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1331 %{_desktopdir}/qt4-assistant.desktop
1332 %{_pixmapsdir}/qt4-assistant.png
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_qtdir}/bin/rcc
1337 %attr(755,root,root) %{_qtdir}/bin/moc
1338 %attr(755,root,root) %{_qtdir}/bin/qt3to4
1339 %attr(755,root,root) %{_qtdir}/bin/uic
1340 %{_datadir}/qt4/q3porting.xml
1343 %defattr(644,root,root,755)
1344 %attr(755,root,root) %{_bindir}/qt4-designer
1345 %attr(755,root,root) %{_qtdir}/bin/designer
1346 %{_desktopdir}/qt4-designer.desktop
1347 %{_pixmapsdir}/qt4-designer.png
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_bindir}/qt4-linguist
1352 %attr(755,root,root) %{_qtdir}/bin/findtr
1353 %attr(755,root,root) %{_qtdir}/bin/linguist
1354 %attr(755,root,root) %{_qtdir}/bin/lrelease
1355 %attr(755,root,root) %{_qtdir}/bin/lupdate
1356 %attr(755,root,root) %{_qtdir}/bin/qm2ts
1357 %{_datadir}/qt4/phrasebooks
1358 %{_desktopdir}/qt4-linguist.desktop
1359 %{_pixmapsdir}/qt4-linguist.png
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{_bindir}/qt4-qmake
1364 %attr(755,root,root) %{_qtdir}/bin/qmake
1365 %{_datadir}/qt4/mkspecs
1369 %defattr(644,root,root,755)
1370 %attr(755,root,root) %{_bindir}/qt4-qtconfig
1371 %attr(755,root,root) %{_qtdir}/bin/qtconfig
1372 %{_desktopdir}/qt4-qtconfig.desktop
1373 %{_pixmapsdir}/qt4-qtconfig.png
1376 %defattr(644,root,root,755)
1377 %attr(755,root,root) %{_bindir}/qvfb
1380 %defattr(644,root,root,755)
1381 %{_docdir}/%{name}-doc
1384 %files -n QtCore-devel -f QtCore-devel.files
1385 %files -n QtDesigner-devel -f QtDesigner-devel.files
1386 %files -n QtGui-devel -f QtGui-devel.files
1387 %files -n QtNetwork-devel -f QtNetwork-devel.files
1388 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1389 %files -n QtSql-devel -f QtSql-devel.files
1390 %files -n QtSvg-devel -f QtSvg-devel.files
1391 %files -n QtTest-devel -f QtTest-devel.files
1392 %files -n QtXml-devel -f QtXml-devel.files
1393 %files -n Qt3Support-devel -f Qt3Support-devel.files
1394 %files -n QtAssistant-devel -f QtAssistant-devel.files
1395 %files -n QtUiTools-devel -f QtUiTools-devel.files
1397 %if %{with static_libs}
1398 %files -n QtCore-static
1399 %defattr(644,root,root,755)
1400 %{_libdir}/libQtCore*.a
1402 %files -n QtGui-static
1403 %defattr(644,root,root,755)
1404 %{_libdir}/libQtGui*.a
1406 %files -n QtNetwork-static
1407 %defattr(644,root,root,755)
1408 %{_libdir}/libQtNetwork*.a
1410 %files -n QtOpenGL-static
1411 %defattr(644,root,root,755)
1412 %{_libdir}/libQtOpenGL*.a
1414 %files -n QtSql-static
1415 %defattr(644,root,root,755)
1416 %{_libdir}/libQtSql*.a
1418 %files -n QtSvg-static
1419 %defattr(644,root,root,755)
1420 %{_libdir}/libQtSvg*.a
1422 %files -n QtXml-static
1423 %defattr(644,root,root,755)
1424 %{_libdir}/libQtXml*.a
1426 %files -n Qt3Support-static
1427 %defattr(644,root,root,755)
1428 %{_libdir}/libQt3Support*.a
1430 %files -n QtAssistant-static
1431 %defattr(644,root,root,755)
1432 %{_libdir}/libQtAssistantClient.a
1435 %files -n QtDesigner-static
1436 %defattr(644,root,root,755)
1437 %{_libdir}/libQtDesigner*.a
1439 %files -n QtUiTools-static
1440 %defattr(644,root,root,755)
1441 %{_libdir}/libQtUiTools.a
1443 %files demos -f demos.files
1444 %files examples -f examples.files