3 # - QtUiTools to subpackage
4 # (headers in %{_includedir}/qt4/QtUiTools, but (static-only) lib is not installed)
5 # - qt4-designer-libs vs QtDesigner-{devel,static} naming inconsistency
6 # - better descriptions
8 # - check if translations are available
11 %bcond_with nas # enable NAS audio support
12 %bcond_without static_libs # build static libraries
13 %bcond_without cups # disable CUPS support
14 %bcond_without mysql # don't build MySQL plugin
15 %bcond_without odbc # don't build unixODBC plugin
16 %bcond_without pgsql # don't build PostgreSQL plugin
17 %bcond_without designer # don't build designer (it takes long)
18 %bcond_without sqlite3 # don't build SQLite3 plugin
19 %bcond_without sqlite # don't build SQLite2 plugin
20 %bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
21 %bcond_without pch # disable pch in qmake
22 %bcond_with sse # use SSE instructions in gui/painting module
23 %bcond_with dont_enable # blocks translations, they are not yet available
25 %undefine with_dont_enable
27 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
31 %ifarch pentium3 pentium4 %{x8664}
36 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
38 Summary: The Qt GUI application framework
39 Summary(es): Biblioteca para ejecutar aplicaciones GUI Qt
40 Summary(pl): Biblioteka Qt do tworzenia GUI
41 Summary(pt_BR): Estrutura para rodar aplicações GUI Qt
47 Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
48 # Source0-md5: 0e3982a54f56b6420d3062b20524410a
49 Source2: qtconfig.desktop
50 Source3: designer.desktop
51 Source4: assistant.desktop
52 Source5: linguist.desktop
53 Patch0: %{name}-tools.patch
54 Patch1: %{name}-alpha.patch
55 Patch2: %{name}-buildsystem.patch
56 Patch3: %{name}-locale.patch
57 Patch4: %{name}-debug-and-release.patch
58 Patch5: %{name}-sse.patch
59 Patch6: %{name}-antialias.patch
60 Patch7: %{name}-support-cflags-with-commas.patch
61 Patch8: %{name}-build-lib-static.patch
62 %if %{with dont_enable}
65 Patch10: qt-disable_tutorials.patch
67 URL: http://www.trolltech.com/products/qt/
68 %{?with_ibase:BuildRequires: Firebird-devel}
69 BuildRequires: OpenGL-GLU-devel
70 %{?with_sqlite3:BuildRequires: sqlite3-devel}
71 # incompatible with bison
72 %{?with_cups:BuildRequires: cups-devel}
73 BuildRequires: fontconfig-devel
74 BuildRequires: freetype-devel >= 1:2.0.0
75 %{?with_pch:BuildRequires: gcc >= 5:3.4.0}
76 BuildRequires: libjpeg-devel
77 BuildRequires: libmng-devel >= 1.0.0
78 BuildRequires: libpng-devel >= 2:1.0.8
79 BuildRequires: libstdc++-devel
80 BuildRequires: libungif-devel
81 %{?with_mysql:BuildRequires: mysql-devel}
82 %{?with_nas:BuildRequires: nas-devel}
83 BuildRequires: perl-base
84 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
85 %{?with_pgsql:BuildRequires: postgresql-devel}
86 BuildRequires: rpmbuild(macros) >= 1.213
87 BuildRequires: sed >= 4.0
88 %{?with_sqlite:BuildRequires: sqlite-devel}
89 %{?with_odbc:BuildRequires: unixODBC-devel}
90 BuildRequires: xorg-lib-libSM-devel
91 BuildRequires: xorg-lib-libXcursor-devel
92 BuildRequires: xorg-lib-libXext-devel
93 BuildRequires: xorg-lib-libXi-devel
94 BuildRequires: xorg-lib-libXinerama-devel
95 BuildRequires: xorg-lib-libXrandr-devel
96 BuildRequires: xorg-lib-libXrender-devel
97 BuildRequires: zlib-devel
98 Obsoletes: qt-extensions
100 Conflicts: kdelibs <= 8:3.2-0.030602.1
101 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
103 %define _noautoreqdep libGL.so.1 libGLU.so.1
104 %define _noautostrip '.*_debug\\.so*'
106 %define specflags -fno-strict-aliasing
109 Qt is a complete C++ application development framework, which includes
110 a class library and tools for multiplatform development and
111 internationalization. Using Qt, a single source code tree can build
112 applications that run natively on different platforms (Windows,
113 Unix/Linux, Mac OS X, embedded Linux).
115 Qt has a rich set of standard widgets, and lets you write custom
116 controls. It encapsulates four different platform-specific APIs, and
117 the APIs for file-handling, networking, process-handling, threading,
118 database access, etc. Qt now also has Motif migration oraz Netscape
122 Contiene las bibliotecas compartidas necesarias para ejecutar
123 aplicaciones Qt, bien como los archivos README.
126 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
127 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
128 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
129 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
130 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
132 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
133 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
134 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
135 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
136 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
137 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
138 wykorzystaniem Netscape LiveConnect.
141 Summary: Core classes used by other modules
142 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
145 %description -n QtCore
146 Core classes used by other modules.
148 %description -n QtCore -l pl
149 Podstawowe klasy u¿ywane przez inne modu³y.
151 %package -n QtCore-devel
152 Summary: Core classes used by other modules - development files
153 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
154 Group: X11/Development/Libraries
155 Requires: QtCore = %{version}-%{release}
156 Requires: libstdc++-devel
159 %description -n QtCore-devel
160 Core classes used by other modules - development files.
162 %description -n QtCore-devel -l pl
163 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
165 %package -n QtCore-static
166 Summary: Core classes used by other modules - static libraries
167 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
168 Group: X11/Development/Libraries
169 Requires: QtCore-devel = %{version}-%{release}
171 %description -n QtCore-static
172 Core classes used by other modules - static libraries.
174 %description -n QtCore-static -l pl
175 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
178 Summary: Graphical User Interface components
179 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
181 Requires: QtCore = %{version}-%{release}
182 # two following because of some plugins
183 Requires: Qt3Support = %{version}-%{release}
184 Requires: QtSql = %{version}-%{release}
186 %description -n QtGui
187 Graphical User Interface components.
189 %description -n QtGui -l pl
190 Komponenty graficznego interfejsu u¿ytkownika.
192 %package -n QtGui-devel
193 Summary: Graphical User Interface components - development files
194 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
195 Group: X11/Development/Libraries
196 Requires: QtCore-devel = %{version}-%{release}
197 Requires: QtGui = %{version}-%{release}
198 Requires: freetype-devel >= 1:2.0.0
199 Requires: fontconfig-devel
200 Requires: libpng-devel >= 2:1.0.8
201 Requires: xorg-lib-libSM-devel
202 Requires: xorg-lib-libXcursor-devel
203 Requires: xorg-lib-libXext-devel
204 Requires: xorg-lib-libXi-devel
205 Requires: xorg-lib-libXinerama-devel
206 Requires: xorg-lib-libXrandr-devel
207 Requires: xorg-lib-libXrender-devel
208 Requires: xcursor-devel
209 Requires: xrender-devel
211 %description -n QtGui-devel
212 Graphical User Interface components - development files.
214 %description -n QtGui-devel -l pl
215 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
217 %package -n QtGui-static
218 Summary: Graphical User Interface components - static libraries
219 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
220 Group: X11/Development/Libraries
221 Requires: QtGui-devel = %{version}-%{release}
223 %description -n QtGui-static
224 Graphical User Interface components - static libraries.
226 %description -n QtGui-static -l pl
227 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
229 %package -n QtNetwork
230 Summary: Classes for network programming
231 Summary(pl): Klasy do programowania sieciowego
233 Requires: QtCore = %{version}-%{release}
235 %description -n QtNetwork
236 Classes for network programming.
238 %description -n QtNetwork -l pl
239 Klasy do programowania sieciowego.
241 %package -n QtNetwork-devel
242 Summary: Classes for network programming - development files
243 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
244 Group: X11/Development/Libraries
245 Requires: QtCore-devel = %{version}-%{release}
246 Requires: QtNetwork = %{version}-%{release}
248 %description -n QtNetwork-devel
249 Classes for network programming - development files.
251 %description -n QtNetwork-devel -l pl
252 Klasy do programowania sieciowego - pliki programistyczne.
254 %package -n QtNetwork-static
255 Summary: Classes for network programming - static libraries
256 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
257 Group: X11/Development/Libraries
258 Requires: QtNetwork-devel = %{version}-%{release}
260 %description -n QtNetwork-static
261 Classes for network programming - static libraries.
263 %description -n QtNetwork-static -l pl
264 Klasy do programowania sieciowego - biblioteki statyczne.
267 Summary: OpenGL support classes
268 Summary(pl): Klasy wspomagaj±ce OpenGL
270 Requires: QtCore = %{version}-%{release}
272 %description -n QtOpenGL
273 OpenGL support classes.
275 %description -n QtOpenGL -l pl
276 Klasy wspomagaj±ce OpenGL.
278 %package -n QtOpenGL-devel
279 Summary: OpenGL support classes - development files
280 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
281 Group: X11/Development/Libraries
282 Requires: OpenGL-GLU-devel
283 Requires: QtCore-devel = %{version}-%{release}
284 Requires: QtOpenGL = %{version}-%{release}
286 %description -n QtOpenGL-devel
287 OpenGL support classes - development files.
289 %description -n QtOpenGL-devel -l pl
290 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
292 %package -n QtOpenGL-static
293 Summary: OpenGL support classes - static libraries
294 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
295 Group: X11/Development/Libraries
296 Requires: QtOpenGL-devel = %{version}-%{release}
298 %description -n QtOpenGL-static
299 OpenGL support classes - static libraries.
301 %description -n QtOpenGL-devel -l pl
302 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
305 Summary: Classes for database integration using SQL
306 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
308 Requires: QtCore = %{version}-%{release}
310 %description -n QtSql
311 Classes for database integration using SQL.
313 %description -n QtSql -l pl
314 Klasy do integracji z bazami danych przy u¿yciu SQL.
316 %package -n QtSql-devel
317 Summary: Classes for database integration using SQL - development files
318 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
319 Group: X11/Development/Libraries
320 Requires: QtCore-devel = %{version}-%{release}
321 Requires: QtSql = %{version}-%{release}
323 %description -n QtSql-devel
324 Classes for database integration using SQL - development files.
326 %description -n QtSql-devel -l pl
327 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
330 %package -n QtSql-static
331 Summary: Classes for database integration using SQL - static libraries
332 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
333 Group: X11/Development/Libraries
334 Requires: QtSql-devel = %{version}-%{release}
336 %description -n QtSql-static
337 Classes for database integration using SQL - static libraries.
339 %description -n QtSql-static -l pl
340 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
341 statyczne. programistyczne.
343 %package -n QtSql-ibase
344 Summary: Database plugin for InterBase/Firebird Qt support
345 Summary(pl): Wtyczka InterBase/Firebird do Qt
346 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
348 Requires: QtSql = %{version}-%{release}
349 Provides: QtSql-backend = %{version}-%{release}
351 %description -n QtSql-ibase
352 This package contains a plugin for accessing Interbase/Firebird
353 database via the QSql classes.
355 %description -n QtSql-ibase -l pl
356 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
357 danych Interbase/Firebird poprzez klasy QSql.
359 %description -n QtSql-ibase -l pt_BR
360 Plugin de suporte a InterBase/Firebird para Qt.
362 %package -n QtSql-mysql
363 Summary: Database plugin for MySQL Qt support
364 Summary(pl): Wtyczka MySQL do Qt
365 Summary(pt_BR): Plugin de suporte a MySQL para Qt
367 Requires: QtSql = %{version}-%{release}
368 Provides: QtSql-backend = %{version}-%{release}
370 %description -n QtSql-mysql
371 This package contains a plugin for accessing MySQL database via the
374 %description -n QtSql-mysql -l pl
375 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
376 danych MySQL poprzez klasy QSql.
378 %description -n QtSql-mysql -l pt_BR
379 Plugin de suporte a MySQL para Qt.
381 %package -n QtSql-odbc
382 Summary: Database plugin for ODBC Qt support
383 Summary(pl): Wtyczka ODBC do Qt
384 Summary(pt_BR): Plugin de suporte a ODBC para Qt
386 Requires: QtSql = %{version}-%{release}
387 Provides: QtSql-backend = %{version}-%{release}
389 %description -n QtSql-odbc
390 This package contains a plugin for accessing unixODBC services via the
393 %description -n QtSql-odbc -l pl
394 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
395 unixODBC poprzez klasy QSql.
397 %description -n QtSql-odbc -l pt_BR
398 Plugin de suporte a ODBC para Qt.
400 %package -n QtSql-pgsql
401 Summary: Database plugin for PostgreSQL Qt support
402 Summary(pl): Wtyczka PostgreSQL do Qt
403 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
405 Requires: QtSql = %{version}-%{release}
406 Provides: QtSql-backend = %{version}-%{release}
408 %description -n QtSql-pgsql
409 This package contains a plugin for accessing PostgreSQL database via
412 %description -n QtSql-pgsql -l pl
413 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
414 danych PostgreSQL poprzez klasy QSql.
416 %description -n QtSql-pgsql -l es
417 Plugin de suporte a PostgreSQL para Qt.
419 %package -n QtSql-sqlite
420 Summary: Database plugin for SQLite 2.x Qt support
421 Summary(pl): Wtyczka SQLite 2.x do Qt
422 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
424 Requires: QtSql = %{version}-%{release}
425 Provides: QtSql-backend = %{version}-%{release}
427 %description -n QtSql-sqlite
428 This package contains a plugin for using the SQLite 2.x library (which
429 allows to acces virtually any SQL database) via the QSql classes.
431 %description -n QtSql-sqlite -l pl
432 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
433 danych SQLite 2.x poprzez klasy QSql.
435 %description -n QtSql-sqlite -l pt_BR
436 Plugin de suporte a SQLite 2.x para Qt.
438 %package -n QtSql-sqlite3
439 Summary: Database plugin for SQLite3 Qt support
440 Summary(pl): Wtyczka SQLite3 do Qt
441 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
443 Requires: QtSql = %{version}-%{release}
444 Provides: QtSql-backend = %{version}-%{release}
446 %description -n QtSql-sqlite3
447 This package contains a plugin for using the SQLite3 library (which
448 allows to acces virtually any SQL database) via the QSql classes.
450 %description -n QtSql-sqlite3 -l pl
451 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
452 danych SQLite3 poprzez klasy QSql.
454 %description -n QtSql-sqlite3 -l pt_BR
455 Plugin de suporte a SQLite3 para Qt.
459 Summary(pl): Wsparcie dla SVG
461 Requires: QtCore = %{version}-%{release}
463 %description -n QtSvg
466 %description -n QtSvg -l pl
469 %package -n QtSvg-devel
470 Summary: SVG support - development files
471 Summary(pl): Wsparcie dla SVG - pliki programistyczne
472 Group: X11/Development/Libraries
473 Requires: QtCore-devel = %{version}-%{release}
474 Requires: QtSvg = %{version}-%{release}
476 %description -n QtSvg-devel
477 SVG support - development files.
479 %description -n QtSvg-devel -l pl
480 Wsparcie dla SVG - pliki programistyczne.
482 %package -n QtSvg-static
483 Summary: SVG support - static libraries
484 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
485 Group: X11/Development/Libraries
486 Requires: QtSvg-devel = %{version}-%{release}
488 %description -n QtSvg-static
489 SVG support - static libraries.
491 %description -n QtSvg-static -l pl
492 Wsparcie dla SVG - biblioteki statyczne.
495 Summary: Test framework
496 Summary(pl): Szkielet testów
498 Requires: QtCore = %{version}-%{release}
500 %description -n QtTest
503 %description -n QtTest -l pl
506 %package -n QtTest-devel
507 Summary: Test framework - development files
508 Summary(pl): Szkielet testów - pliki programistyczne
509 Group: X11/Development/Libraries
510 Requires: QtCore-devel = %{version}-%{release}
511 Requires: QtTest = %{version}-%{release}
513 %description -n QtTest-devel
514 Test framework - development files.
516 %description -n QtTest-devel -l pl
517 Szkielet testów - pliki programistyczne.
520 Summary: Classes for handling XML
521 Summary(pl): Klasy do obs³ugi XML-a
523 Requires: QtCore = %{version}-%{release}
525 %description -n QtXml
526 Classes for handling XML.
528 %description -n QtXml -l pl
529 Klasy do obs³ugi XML-a.
531 %package -n QtXml-devel
532 Summary: Classes for handling XML - development files
533 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
534 Group: X11/Development/Libraries
535 Requires: QtCore-devel = %{version}-%{release}
536 Requires: QtXml = %{version}-%{release}
538 %description -n QtXml-devel
539 Classes for handling XML - development files.
541 %description -n QtXml-devel -l pl
542 Klasy do obs³ugi XML-a - pliki programistyczne.
544 %package -n QtXml-static
545 Summary: Classes for handling XML - static libraries
546 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
547 Group: X11/Development/Libraries
548 Requires: QtXml-devel = %{version}-%{release}
550 %description -n QtXml-static
551 Classes for handling XML - static libraries.
553 %description -n QtXml-static -l pl
554 Klasy do obs³ugi XML-a - biblioteki statyczne.
556 %package -n Qt3Support
557 Summary: Qt3 compatibility library
558 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
560 Requires: QtCore = %{version}-%{release}
562 %description -n Qt3Support
563 Qt3 compatibility library.
565 %description -n Qt3Support -l pl
566 Biblioteka kompatybilno¶ci z Qt3.
568 %package -n Qt3Support-devel
569 Summary: Qt3 compatibility library - development files
570 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
571 Group: X11/Development/Libraries
572 Requires: Qt3Support = %{version}-%{release}
573 Requires: QtCore-devel = %{version}-%{release}
575 %description -n Qt3Support-devel
576 Qt3 compatibility library - development files.
578 %description -n Qt3Support-devel -l pl
579 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
581 %package -n Qt3Support-static
582 Summary: Qt3 compatibility library - static libraries
583 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
584 Group: X11/Development/Libraries
585 Requires: Qt3Support-devel = %{version}-%{release}
587 %description -n Qt3Support-static
588 Qt3 compatibility library - static libraries.
590 %description -n Qt3Support-static -l pl
591 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
593 %package -n QtAssistant
594 Summary: Qt Assistant client library
595 Summary(pl): Biblioteka kliencka Qt Assistant
596 Group: X11/Development/Libraries
598 %description -n QtAssistant
599 This library allows to use Qt Assistant as an application's help tool.
601 %description -n QtAssistant -l pl
602 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
603 pomocy w aplikacjach.
605 %package -n QtAssistant-devel
606 Summary: Qt Assistant client library - development files
607 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
608 Group: X11/Development/Libraries
609 Requires: QtAssistant = %{version}-%{release}
610 Requires: QtNetwork-devel = %{version}-%{release}
612 %description -n QtAssistant-devel
613 Development files for Qt Assistant client library.
615 %description -n QtAssistant-devel -l pl
616 Pliki programistyczne biblioteki klienckiej Qt Assistant.
618 %package -n QtAssistant-static
619 Summary: Static Qt Assistant client library
620 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
621 Group: X11/Development/Libraries
622 Requires: QtAssistant-devel = %{version}-%{release}
624 %description -n QtAssistant-static
625 Static Qt Assistant client library.
627 %description -n QtAssistant-static -l pl
628 Statyczna biblioteka kliencka Qt Assistant.
631 Summary: Qt documentation browser
632 Summary(pl): Przegl±darka dokumentacji Qt
633 Group: X11/Development/Tools
634 Requires: %{name}-doc
636 %description assistant
637 Qt Assistant is a tool for browsing on-line documentation with
638 indexing, bookmarks and full-text search.
640 %description assistant -l pl
641 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
642 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
645 Summary: Build tools for Qt4
646 Summary(pl): Narzêdzia do budowania dla Qt4
647 Group: X11/Development/Tools
648 Requires: QtCore = %{version}-%{release}
649 Requires: QtXml = %{version}-%{release}
652 This package includes the Qt resource compiler (rcc), meta objects
653 compiler (moc), user interface compiler (uic) and qt3to4 include names
656 %description build -l pl
657 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
658 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
659 konwerter nazw plików nag³ówkowych qt3to4.
662 Summary: IDE used for GUI designing with Qt library
663 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
664 Group: X11/Applications
665 Requires: %{name}-designer-libs = %{version}-%{release}
667 %description designer
668 An advanced tool used for GUI designing with Qt library.
670 %description designer -l pl
671 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
672 za pomoc± biblioteki Qt.
674 %package designer-libs
675 Summary: Libraries IDE used for GUI designing with Qt library
676 Summary(pl): Biblioteki do IDE s³u¿±cego do projektowania GUI za pomoc± biblioteki Qt
677 Group: X11/Applications
679 %description designer-libs
680 Libraries used by the Qt GUI Designer.
682 %description designer-libs -l pl
683 Biblioteki wykorzystywane przez narzêdzie projektowania interfejsu
684 graficznego - Qt Designer.
686 %package -n QtDesigner-devel
687 Summary: IDE used for GUI designing with Qt library - development files
688 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki programistyczne
689 Group: X11/Development/Libraries
690 Requires: %{name}-designer-libs = %{version}-%{release}
691 Requires: QtCore-devel = %{version}-%{release}
693 %description -n QtDesigner-devel
694 IDE used for GUI designing with Qt library - development files.
696 %description -n QtDesigner-devel -l pl
697 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki
700 %package -n QtDesigner-static
701 Summary: IDE used for GUI designing with Qt library - static libraries
702 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki statyczne
703 Group: X11/Development/Libraries
704 Requires: QtDesigner-devel = %{version}-%{release}
706 %description -n QtDesigner-static
707 IDE used for GUI designing with Qt library - static libraries.
709 %description -n QtDesigner-static -l pl
710 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki
714 Summary: Translation helper for Qt
715 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
716 Group: X11/Development/Tools
718 %description linguist
719 This program provides an interface that shortens and helps systematize
720 the process of translating GUIs. Qt Linguist takes all of the text of
721 a UI that will be shown to the user, and presents it to a human
722 translator in a simple window. When one UI text is translated, the
723 program automatically progresses to the next, until they are all
726 %description linguist -l pl
727 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
728 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
729 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
730 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
731 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
734 Summary: Qt makefile generator
735 Summary(pl): Generator plików makefile dla aplikacji Qt
736 Group: X11/Development/Tools
740 A powerful makefile generator. It can create makefiles on any platform
741 from a simple .pro definitions file.
743 %description qmake -l pl
744 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
745 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
748 Summary: Qt widgets configuration tool
749 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
750 Group: X11/Applications
753 %description qtconfig
754 A tool for configuring look and behavior of Qt widgets.
756 %description qtconfig -l pl
757 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
760 Summary: Qt Virtual framebuffer
761 Summary(pl): Wirtualny framebuffer dla Qt
762 Group: X11/Development/Libraries
765 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
768 %description -n qvfb -l pl
769 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
773 Summary: Demos of new Qt4 features
774 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
775 Group: X11/Development/Libraries
776 Requires: QtCore = %{version}-%{release}
777 Requires: QtXml = %{version}-%{release}
780 Demos are spiders that fly.
782 %description demos -l pl
783 Dema to lataj±ce paj±ki.
786 Summary: Qt Documentation in HTML format
787 Summary(pl): Dokumentacja Qt w formacie HTML
788 Group: X11/Development/Libraries
791 Qt documentation in HTML format.
793 %description doc -l pl
794 Dokumentacja qt w formacie HTML.
797 Summary: Qt man pages
798 Summary(pl): Qt - strony man
799 Group: X11/Development/Libraries
802 Qt documentation in man pages format.
804 %description man -l pl
805 Dokumentacja Qt w formacie stron man.
808 Summary: Example programs bundled with Qt
809 Summary(pl): Æwiczenia i przyk³ady do Qt
810 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
811 Group: X11/Development/Libraries
812 # no it does not , we cant be sure the user wants to compile them right?
813 # he might just want to take a look, anwyay no single devel package now
814 #Requires: %{name}-devel = %{version}-%{release}
816 %description examples
817 Example programs bundled with Qt version.
819 %description examples -l pl
820 Æwiczenia/przyk³ady do³±czone do Qt.
822 %description examples -l pt_BR
823 Programas exemplo para o Qt versão.
826 %setup -q -n qt-x11-opensource-src-%{version}
836 %if %{with dont_enable}
841 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
843 # change QMAKE_CFLAGS_RELEASE to build
844 # properly optimized libs
846 if [ "%{_lib}" != "lib" ] ; then
847 cfgf="mkspecs/linux-g++-64/qmake.conf"
849 cfgf="mkspecs/linux-g++/qmake.conf"
853 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
854 s|QMAKE_CXX.*=.*g\+\+|QMAKE_CXX = %{__cxx}|;
855 s|QMAKE_LINK.*=.*g\+\+|QMAKE_LINK = %{__cxx}|;
856 s|QMAKE_LINK_SHLIB.*=.*g\+\+|QMAKE_LINK_SHLIB = %{__cxx}|;
857 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT\t\t= %{_includedir}/qt4|;
861 |grep -v QMAKE_CFLAGS_RELEASE \
862 |grep -v QMAKE_CXXFLAGS_RELEASE \
863 |grep -v QMAKE_CFLAGS_DEBUG \
864 |grep -v QMAKE_CXXFLAGS_DEBUG \
869 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
870 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
871 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
872 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
875 # pass OPTFLAGS to build qmake itself with optimization
876 export OPTFLAGS="%{rpmcflags}"
877 export PATH=$PWD/bin:$PATH
879 ##################################
880 # DEFAULT OPTIONS FOR ALL BUILDS #
881 ##################################
884 -DQT_CLEAN_NAMESPACE \
887 -docdir %{_docdir}/%{name}-doc \
888 -headerdir %{_includedir}/qt4 \
892 -plugindir %{_libdir}/qt4/plugins \
893 -datadir %{_datadir}/qt4 \
894 -translationdir %{_datadir}/locale/ \
895 -sysconfdir %{_sysconfdir}/qt4 \
896 -examplesdir %{_examplesdir}/qt4 \
897 -demosdir %{_examplesdir}/qt4-demos \
899 -%{!?with_pch:no-}pch \
900 -%{!?with_sse:no-}sse \
906 -I%{_includedir}/postgresql/server \
907 -I%{_includedir}/mysql \
908 %{?with_cups:-cups} \
909 %{?with_nas:-system-nas-sound} \
911 %{!?debug:-release} \
922 ##################################
923 # STATIC MULTI-THREAD #
924 ##################################
926 %if %{with static_libs}
928 %{?with_mysql:-qt-sql-mysql} \
929 %{?with_odbc:-qt-sql-odbc} \
930 %{?with_pgsql:-qt-sql-psql} \
931 %{?with_sqlite3:-qt-sql-sqlite} \
932 %{?with_sqlite:-qt-sql-sqlite2} \
933 %{?with_ibase:-qt-sql-ibase} \
936 echo "yes" | ./configure $COMMONOPT $OPT
939 %{__make} -C tools/assistant/lib
940 %{__make} -C tools/designer/src/lib
941 if [ ! -d staticlib ]; then
943 cp -a lib/*.a staticlib
948 ##################################
949 # SHARED MULTI-THREAD #
950 ##################################
953 %{?with_mysql:-plugin-sql-mysql} \
954 %{?with_odbc:-plugin-sql-odbc} \
955 %{?with_pgsql:-plugin-sql-psql} \
956 %{?with_sqlite3:-plugin-sql-sqlite} \
957 %{?with_sqlite:-plugin-sql-sqlite2} \
958 %{?with_ibase:-plugin-sql-ibase}"
960 echo "yes" | ./configure $COMMONOPT $OPT
964 sub-tools-all-ordered \
965 sub-demos-all-ordered \
966 sub-examples-all-ordered
968 %if %{with dont_enable}
970 cd tools/designer/designer
971 lrelease designer_de.ts
972 lrelease designer_fr.ts
976 lrelease assistant_de.ts
977 lrelease assistant_fr.ts
979 cd tools/linguist/linguist
980 lrelease linguist_de.ts
981 lrelease linguist_fr.ts
985 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
986 %{__sed} -i -e "s,-L$PWD/lib,,g" lib/*.{la,pc,prl}
989 rm -rf $RPM_BUILD_ROOT
990 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
993 INSTALL_ROOT=$RPM_BUILD_ROOT
996 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
997 $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/{crypto,network}
999 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/sqldrivers
1000 install bin/findtr tools/qvfb/qvfb $RPM_BUILD_ROOT%{_bindir}
1002 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1003 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1004 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1006 install tools/qtconfig/images/appicon.png \
1007 $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig.png
1009 install tools/linguist/linguist/images/appicon.png \
1010 $RPM_BUILD_ROOT%{_pixmapsdir}/linguist.png
1012 install tools/assistant/images/assistant.png \
1013 $RPM_BUILD_ROOT%{_pixmapsdir}/assistant.png
1015 %if %{with designer}
1016 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1017 install tools/designer/src/designer/images/designer.png \
1018 $RPM_BUILD_ROOT%{_pixmapsdir}/designer.png
1021 %if %{with static_libs}
1022 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1025 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,cs,de,fr,ru,sk}/LC_MESSAGES
1026 install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1027 install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1028 install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
1029 install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1030 install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1031 install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1032 install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1034 %if %{with dont_enable}
1035 %if %{with designer}
1036 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1037 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1040 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1042 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1043 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1046 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1047 for f in ../Qt{3Support,Assistant,Core,Designer,Gui,Network,OpenGL,Sql,Svg,Test,Xml}/*
1049 if [ ! -d $f ]; then
1050 ln -sf $f `basename $f`
1053 ln -sf ../../QtCore/arch/qatomic.h arch/qatomic.h
1056 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1057 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1058 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1059 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1060 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1063 if [ "$MODULE2" == "3SUPPORT" ]; then
1064 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1066 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1068 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1070 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1073 # Prepare some files list
1075 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1076 [ "$RESULT" == "" ] && return
1077 r=`echo $RESULT | awk '{ print $1 }'`
1079 if [ -d "$r" ]; then
1080 echo "%%dir $2" >> $1.files
1081 elif [ -x "$r" ] ; then
1082 echo "%%attr(755,root,root) $2" >> $1.files
1083 elif [ -f "$r" ]; then
1084 echo "$2" >> $1.files
1086 echo "Error generation devel files list!"
1087 echo "$r: no such file or direcotry!"
1094 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1095 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1096 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1097 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1098 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1099 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1100 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1102 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1104 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1105 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1107 for f in $@; do ifecho $MODULE-devel $f; done
1110 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1120 # without *.la *.pc etc.
1121 mkdevfl QtAssistant || /bin/true
1122 mkdevfl QtDesigner || /bin/true
1124 echo "%defattr(644,root,root,755)" > examples.files
1125 ifecho examples %{_examplesdir}/qt4
1126 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1128 ifecho examples %{_examplesdir}/qt4/$f
1131 echo "%defattr(644,root,root,755)" > demos.files
1132 ifecho demos "%{_examplesdir}/qt4-demos"
1133 ifecho demos "%{_bindir}/qtdemo"
1134 ifecho demos "%{_libdir}/qt4/plugins/arthurplugin/libarthurplugin.so"
1135 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1137 ifecho demos %{_examplesdir}/qt4-demos/$f
1141 rm -rf $RPM_BUILD_ROOT
1146 *******************************************************
1149 * With qt 4.0.0 the single threaded version was *
1150 * removed. Also the library is modular now so be *
1151 * sure to check that you have every module you need. *
1153 *******************************************************
1155 %postun -n QtCore -p /sbin/ldconfig
1157 %post -n QtGui -p /sbin/ldconfig
1158 %postun -n QtGui -p /sbin/ldconfig
1160 %post -n QtNetwork -p /sbin/ldconfig
1161 %postun -n QtNetwork -p /sbin/ldconfig
1163 %post -n QtOpenGL -p /sbin/ldconfig
1164 %postun -n QtOpenGL -p /sbin/ldconfig
1166 %post -n QtSql -p /sbin/ldconfig
1167 %postun -n QtSql -p /sbin/ldconfig
1169 %post -n QtSvg -p /sbin/ldconfig
1170 %postun -n QtSvg -p /sbin/ldconfig
1172 %post -n QtTest -p /sbin/ldconfig
1173 %postun -n QtTest -p /sbin/ldconfig
1175 %post -n QtXml -p /sbin/ldconfig
1176 %postun -n QtXml -p /sbin/ldconfig
1178 %post -n Qt3Support -p /sbin/ldconfig
1179 %postun -n Qt3Support -p /sbin/ldconfig
1181 %post -n QtAssistant -p /sbin/ldconfig
1182 %postun -n QtAssistant -p /sbin/ldconfig
1184 %post designer-libs -p /sbin/ldconfig
1185 %postun designer-libs -p /sbin/ldconfig
1188 %defattr(644,root,root,755)
1189 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1191 %dir %{_libdir}/qt4/plugins
1192 %dir %{_libdir}/qt4/plugins/accessible
1193 %dir %{_libdir}/qt4/plugins/codecs
1194 %dir %{_libdir}/qt4/plugins/crypto
1195 %dir %{_libdir}/qt4/plugins/imageformats
1196 %dir %{_libdir}/qt4/plugins/network
1197 %dir %{_libdir}/qt4/plugins/sqldrivers
1198 %dir %{_datadir}/qt4
1199 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1200 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1201 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
1202 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1203 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1204 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1207 %defattr(644,root,root,755)
1208 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1209 %{_libdir}/qt4/plugins/accessible/*
1210 %{_libdir}/qt4/plugins/codecs/*
1211 %{_libdir}/qt4/plugins/imageformats/*
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1218 %defattr(644,root,root,755)
1219 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1222 %defattr(644,root,root,755)
1223 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1226 %files -n QtSql-mysql
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlmysql*.so
1232 %files -n QtSql-pgsql
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlpsql*.so
1238 %files -n QtSql-sqlite
1239 %defattr(644,root,root,755)
1240 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1244 %files -n QtSql-sqlite3
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite*.so
1247 %exclude %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1251 %files -n QtSql-ibase
1252 %defattr(644,root,root,755)
1253 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlibase*.so
1257 %files -n QtSql-odbc
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlodbc*.so
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1271 %defattr(644,root,root,755)
1272 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1274 %files -n Qt3Support
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_bindir}/uic3
1277 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1279 %files -n QtAssistant
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_bindir}/assistant
1286 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1287 %{_desktopdir}/assistant.desktop
1288 %{_pixmapsdir}/assistant.png
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_bindir}/rcc
1293 %attr(755,root,root) %{_bindir}/moc
1294 %attr(755,root,root) %{_bindir}/qt3to4
1295 %attr(755,root,root) %{_bindir}/uic
1296 %{_datadir}/qt4/q3porting.xml
1298 %if %{with designer}
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_bindir}/designer
1302 %{_desktopdir}/designer.desktop
1303 %{_pixmapsdir}/designer.png
1305 %files designer-libs
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1308 %dir %{_libdir}/qt4/plugins/designer
1309 %attr(755,root,root) %{_libdir}/qt4/plugins/designer/*.so
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_bindir}/linguist
1315 %attr(755,root,root) %{_bindir}/findtr
1316 %attr(755,root,root) %{_bindir}/lrelease
1317 %attr(755,root,root) %{_bindir}/lupdate
1318 %attr(755,root,root) %{_bindir}/qm2ts
1319 %{_datadir}/qt4/phrasebooks
1320 %{_desktopdir}/linguist.desktop
1321 %{_pixmapsdir}/linguist.png
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_bindir}/qmake
1326 %{_datadir}/qt4/mkspecs
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_bindir}/qtconfig
1331 %{_desktopdir}/qtconfig.desktop
1332 %{_pixmapsdir}/qtconfig.png
1335 %defattr(644,root,root,755)
1336 %attr(755,root,root) %{_bindir}/qvfb
1339 %defattr(644,root,root,755)
1340 %{_docdir}/%{name}-doc
1342 %files -n QtCore-devel -f QtCore-devel.files
1343 %files -n QtDesigner-devel -f QtDesigner-devel.files
1344 %files -n QtGui-devel -f QtGui-devel.files
1345 %files -n QtNetwork-devel -f QtNetwork-devel.files
1346 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1347 %files -n QtSql-devel -f QtSql-devel.files
1348 %files -n QtSvg-devel -f QtSvg-devel.files
1349 %files -n QtTest-devel -f QtTest-devel.files
1350 %files -n QtXml-devel -f QtXml-devel.files
1351 %files -n Qt3Support-devel -f Qt3Support-devel.files
1352 %files -n QtAssistant-devel -f QtAssistant-devel.files
1354 %if %{with static_libs}
1355 %files -n QtCore-static
1356 %defattr(644,root,root,755)
1357 %{_libdir}/libQtCore*.a
1359 %files -n QtGui-static
1360 %defattr(644,root,root,755)
1361 %{_libdir}/libQtGui*.a
1363 %files -n QtNetwork-static
1364 %defattr(644,root,root,755)
1365 %{_libdir}/libQtNetwork*.a
1367 %files -n QtOpenGL-static
1368 %defattr(644,root,root,755)
1369 %{_libdir}/libQtOpenGL*.a
1371 %files -n QtSql-static
1372 %defattr(644,root,root,755)
1373 %{_libdir}/libQtSql*.a
1375 %files -n QtSvg-static
1376 %defattr(644,root,root,755)
1377 %{_libdir}/libQtSvg*.a
1379 %files -n QtXml-static
1380 %defattr(644,root,root,755)
1381 %{_libdir}/libQtXml*.a
1383 %files -n Qt3Support-static
1384 %defattr(644,root,root,755)
1385 %{_libdir}/libQt3Support*.a
1387 %files -n QtDesigner-static
1388 %defattr(644,root,root,755)
1389 %{_libdir}/libQtDesigner.a
1391 %files -n QtAssistant-static
1392 %defattr(644,root,root,755)
1393 %{_libdir}/libQtAssistantClient.a
1396 %files demos -f demos.files
1397 %files examples -f examples.files