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 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
84 %{?with_pgsql:BuildRequires: postgresql-devel}
85 BuildRequires: rpmbuild(macros) >= 1.213
86 BuildRequires: sed >= 4.0
87 %{?with_sqlite:BuildRequires: sqlite-devel}
88 %{?with_odbc:BuildRequires: unixODBC-devel}
89 BuildRequires: xorg-lib-libSM-devel
90 BuildRequires: xorg-lib-libXcursor-devel
91 BuildRequires: xorg-lib-libXext-devel
92 BuildRequires: xorg-lib-libXi-devel
93 BuildRequires: xorg-lib-libXinerama-devel
94 BuildRequires: xorg-lib-libXrandr-devel
95 BuildRequires: xorg-lib-libXrender-devel
96 BuildRequires: zlib-devel
97 Obsoletes: qt-extensions
99 Conflicts: kdelibs <= 8:3.2-0.030602.1
100 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
102 %define _noautoreqdep libGL.so.1 libGLU.so.1
103 %define _noautostrip '.*_debug\\.so*'
105 %define specflags -fno-strict-aliasing
108 Qt is a complete C++ application development framework, which includes
109 a class library and tools for multiplatform development and
110 internationalization. Using Qt, a single source code tree can build
111 applications that run natively on different platforms (Windows,
112 Unix/Linux, Mac OS X, embedded Linux).
114 Qt has a rich set of standard widgets, and lets you write custom
115 controls. It encapsulates four different platform-specific APIs, and
116 the APIs for file-handling, networking, process-handling, threading,
117 database access, etc. Qt now also has Motif migration oraz Netscape
121 Contiene las bibliotecas compartidas necesarias para ejecutar
122 aplicaciones Qt, bien como los archivos README.
125 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
126 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
127 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
128 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
129 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
131 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
132 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
133 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
134 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
135 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
136 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
137 wykorzystaniem Netscape LiveConnect.
140 Summary: Core classes used by other modules
141 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
144 %description -n QtCore
145 Core classes used by other modules.
147 %description -n QtCore -l pl
148 Podstawowe klasy u¿ywane przez inne modu³y.
150 %package -n QtCore-devel
151 Summary: Core classes used by other modules - development files
152 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
153 Group: X11/Development/Libraries
154 Requires: QtCore = %{version}-%{release}
155 Requires: libstdc++-devel
158 %description -n QtCore-devel
159 Core classes used by other modules - development files.
161 %description -n QtCore-devel -l pl
162 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
164 %package -n QtCore-static
165 Summary: Core classes used by other modules - static libraries
166 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
167 Group: X11/Development/Libraries
168 Requires: QtCore-devel = %{version}-%{release}
170 %description -n QtCore-static
171 Core classes used by other modules - static libraries.
173 %description -n QtCore-static -l pl
174 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
177 Summary: Graphical User Interface components
178 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
180 Requires: QtCore = %{version}-%{release}
181 # two following because of some plugins
182 Requires: Qt3Support = %{version}-%{release}
183 Requires: QtSql = %{version}-%{release}
185 %description -n QtGui
186 Graphical User Interface components.
188 %description -n QtGui -l pl
189 Komponenty graficznego interfejsu u¿ytkownika.
191 %package -n QtGui-devel
192 Summary: Graphical User Interface components - development files
193 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
194 Group: X11/Development/Libraries
195 Requires: QtCore-devel = %{version}-%{release}
196 Requires: QtGui = %{version}-%{release}
197 Requires: fontconfig-devel
198 Requires: freetype-devel >= 1:2.0.0
199 Requires: libpng-devel >= 2:1.0.8
200 Requires: xorg-lib-libSM-devel
201 Requires: xorg-lib-libXcursor-devel
202 Requires: xorg-lib-libXext-devel
203 Requires: xorg-lib-libXi-devel
204 Requires: xorg-lib-libXinerama-devel
205 Requires: xorg-lib-libXrandr-devel
206 Requires: xorg-lib-libXrender-devel
208 %description -n QtGui-devel
209 Graphical User Interface components - development files.
211 %description -n QtGui-devel -l pl
212 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
214 %package -n QtGui-static
215 Summary: Graphical User Interface components - static libraries
216 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
217 Group: X11/Development/Libraries
218 Requires: QtGui-devel = %{version}-%{release}
220 %description -n QtGui-static
221 Graphical User Interface components - static libraries.
223 %description -n QtGui-static -l pl
224 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
226 %package -n QtNetwork
227 Summary: Classes for network programming
228 Summary(pl): Klasy do programowania sieciowego
230 Requires: QtCore = %{version}-%{release}
232 %description -n QtNetwork
233 Classes for network programming.
235 %description -n QtNetwork -l pl
236 Klasy do programowania sieciowego.
238 %package -n QtNetwork-devel
239 Summary: Classes for network programming - development files
240 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
241 Group: X11/Development/Libraries
242 Requires: QtCore-devel = %{version}-%{release}
243 Requires: QtNetwork = %{version}-%{release}
245 %description -n QtNetwork-devel
246 Classes for network programming - development files.
248 %description -n QtNetwork-devel -l pl
249 Klasy do programowania sieciowego - pliki programistyczne.
251 %package -n QtNetwork-static
252 Summary: Classes for network programming - static libraries
253 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
254 Group: X11/Development/Libraries
255 Requires: QtNetwork-devel = %{version}-%{release}
257 %description -n QtNetwork-static
258 Classes for network programming - static libraries.
260 %description -n QtNetwork-static -l pl
261 Klasy do programowania sieciowego - biblioteki statyczne.
264 Summary: OpenGL support classes
265 Summary(pl): Klasy wspomagaj±ce OpenGL
267 Requires: QtCore = %{version}-%{release}
269 %description -n QtOpenGL
270 OpenGL support classes.
272 %description -n QtOpenGL -l pl
273 Klasy wspomagaj±ce OpenGL.
275 %package -n QtOpenGL-devel
276 Summary: OpenGL support classes - development files
277 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
278 Group: X11/Development/Libraries
279 Requires: OpenGL-GLU-devel
280 Requires: QtCore-devel = %{version}-%{release}
281 Requires: QtOpenGL = %{version}-%{release}
283 %description -n QtOpenGL-devel
284 OpenGL support classes - development files.
286 %description -n QtOpenGL-devel -l pl
287 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
289 %package -n QtOpenGL-static
290 Summary: OpenGL support classes - static libraries
291 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
292 Group: X11/Development/Libraries
293 Requires: QtOpenGL-devel = %{version}-%{release}
295 %description -n QtOpenGL-static
296 OpenGL support classes - static libraries.
298 %description -n QtOpenGL-devel -l pl
299 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
302 Summary: Classes for database integration using SQL
303 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
305 Requires: QtCore = %{version}-%{release}
307 %description -n QtSql
308 Classes for database integration using SQL.
310 %description -n QtSql -l pl
311 Klasy do integracji z bazami danych przy u¿yciu SQL.
313 %package -n QtSql-devel
314 Summary: Classes for database integration using SQL - development files
315 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
316 Group: X11/Development/Libraries
317 Requires: QtCore-devel = %{version}-%{release}
318 Requires: QtSql = %{version}-%{release}
320 %description -n QtSql-devel
321 Classes for database integration using SQL - development files.
323 %description -n QtSql-devel -l pl
324 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
327 %package -n QtSql-static
328 Summary: Classes for database integration using SQL - static libraries
329 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
330 Group: X11/Development/Libraries
331 Requires: QtSql-devel = %{version}-%{release}
333 %description -n QtSql-static
334 Classes for database integration using SQL - static libraries.
336 %description -n QtSql-static -l pl
337 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
338 statyczne. programistyczne.
340 %package -n QtSql-ibase
341 Summary: Database plugin for InterBase/Firebird Qt support
342 Summary(pl): Wtyczka InterBase/Firebird do Qt
343 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
345 Requires: QtSql = %{version}-%{release}
346 Provides: QtSql-backend = %{version}-%{release}
348 %description -n QtSql-ibase
349 This package contains a plugin for accessing Interbase/Firebird
350 database via the QSql classes.
352 %description -n QtSql-ibase -l pl
353 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
354 danych Interbase/Firebird poprzez klasy QSql.
356 %description -n QtSql-ibase -l pt_BR
357 Plugin de suporte a InterBase/Firebird para Qt.
359 %package -n QtSql-mysql
360 Summary: Database plugin for MySQL Qt support
361 Summary(pl): Wtyczka MySQL do Qt
362 Summary(pt_BR): Plugin de suporte a MySQL para Qt
364 Requires: QtSql = %{version}-%{release}
365 Provides: QtSql-backend = %{version}-%{release}
367 %description -n QtSql-mysql
368 This package contains a plugin for accessing MySQL database via the
371 %description -n QtSql-mysql -l pl
372 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
373 danych MySQL poprzez klasy QSql.
375 %description -n QtSql-mysql -l pt_BR
376 Plugin de suporte a MySQL para Qt.
378 %package -n QtSql-odbc
379 Summary: Database plugin for ODBC Qt support
380 Summary(pl): Wtyczka ODBC do Qt
381 Summary(pt_BR): Plugin de suporte a ODBC para Qt
383 Requires: QtSql = %{version}-%{release}
384 Provides: QtSql-backend = %{version}-%{release}
386 %description -n QtSql-odbc
387 This package contains a plugin for accessing unixODBC services via the
390 %description -n QtSql-odbc -l pl
391 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
392 unixODBC poprzez klasy QSql.
394 %description -n QtSql-odbc -l pt_BR
395 Plugin de suporte a ODBC para Qt.
397 %package -n QtSql-pgsql
398 Summary: Database plugin for PostgreSQL Qt support
399 Summary(pl): Wtyczka PostgreSQL do Qt
400 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
402 Requires: QtSql = %{version}-%{release}
403 Provides: QtSql-backend = %{version}-%{release}
405 %description -n QtSql-pgsql
406 This package contains a plugin for accessing PostgreSQL database via
409 %description -n QtSql-pgsql -l pl
410 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
411 danych PostgreSQL poprzez klasy QSql.
413 %description -n QtSql-pgsql -l es
414 Plugin de suporte a PostgreSQL para Qt.
416 %package -n QtSql-sqlite
417 Summary: Database plugin for SQLite 2.x Qt support
418 Summary(pl): Wtyczka SQLite 2.x do Qt
419 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
421 Requires: QtSql = %{version}-%{release}
422 Provides: QtSql-backend = %{version}-%{release}
424 %description -n QtSql-sqlite
425 This package contains a plugin for using the SQLite 2.x library (which
426 allows to acces virtually any SQL database) via the QSql classes.
428 %description -n QtSql-sqlite -l pl
429 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
430 danych SQLite 2.x poprzez klasy QSql.
432 %description -n QtSql-sqlite -l pt_BR
433 Plugin de suporte a SQLite 2.x para Qt.
435 %package -n QtSql-sqlite3
436 Summary: Database plugin for SQLite3 Qt support
437 Summary(pl): Wtyczka SQLite3 do Qt
438 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
440 Requires: QtSql = %{version}-%{release}
441 Provides: QtSql-backend = %{version}-%{release}
443 %description -n QtSql-sqlite3
444 This package contains a plugin for using the SQLite3 library (which
445 allows to acces virtually any SQL database) via the QSql classes.
447 %description -n QtSql-sqlite3 -l pl
448 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
449 danych SQLite3 poprzez klasy QSql.
451 %description -n QtSql-sqlite3 -l pt_BR
452 Plugin de suporte a SQLite3 para Qt.
456 Summary(pl): Wsparcie dla SVG
458 Requires: QtCore = %{version}-%{release}
460 %description -n QtSvg
463 %description -n QtSvg -l pl
466 %package -n QtSvg-devel
467 Summary: SVG support - development files
468 Summary(pl): Wsparcie dla SVG - pliki programistyczne
469 Group: X11/Development/Libraries
470 Requires: QtCore-devel = %{version}-%{release}
471 Requires: QtSvg = %{version}-%{release}
473 %description -n QtSvg-devel
474 SVG support - development files.
476 %description -n QtSvg-devel -l pl
477 Wsparcie dla SVG - pliki programistyczne.
479 %package -n QtSvg-static
480 Summary: SVG support - static libraries
481 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
482 Group: X11/Development/Libraries
483 Requires: QtSvg-devel = %{version}-%{release}
485 %description -n QtSvg-static
486 SVG support - static libraries.
488 %description -n QtSvg-static -l pl
489 Wsparcie dla SVG - biblioteki statyczne.
492 Summary: Test framework
493 Summary(pl): Szkielet testów
495 Requires: QtCore = %{version}-%{release}
497 %description -n QtTest
500 %description -n QtTest -l pl
503 %package -n QtTest-devel
504 Summary: Test framework - development files
505 Summary(pl): Szkielet testów - pliki programistyczne
506 Group: X11/Development/Libraries
507 Requires: QtCore-devel = %{version}-%{release}
508 Requires: QtTest = %{version}-%{release}
510 %description -n QtTest-devel
511 Test framework - development files.
513 %description -n QtTest-devel -l pl
514 Szkielet testów - pliki programistyczne.
517 Summary: Classes for handling XML
518 Summary(pl): Klasy do obs³ugi XML-a
520 Requires: QtCore = %{version}-%{release}
522 %description -n QtXml
523 Classes for handling XML.
525 %description -n QtXml -l pl
526 Klasy do obs³ugi XML-a.
528 %package -n QtXml-devel
529 Summary: Classes for handling XML - development files
530 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
531 Group: X11/Development/Libraries
532 Requires: QtCore-devel = %{version}-%{release}
533 Requires: QtXml = %{version}-%{release}
535 %description -n QtXml-devel
536 Classes for handling XML - development files.
538 %description -n QtXml-devel -l pl
539 Klasy do obs³ugi XML-a - pliki programistyczne.
541 %package -n QtXml-static
542 Summary: Classes for handling XML - static libraries
543 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
544 Group: X11/Development/Libraries
545 Requires: QtXml-devel = %{version}-%{release}
547 %description -n QtXml-static
548 Classes for handling XML - static libraries.
550 %description -n QtXml-static -l pl
551 Klasy do obs³ugi XML-a - biblioteki statyczne.
553 %package -n Qt3Support
554 Summary: Qt3 compatibility library
555 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
557 Requires: QtCore = %{version}-%{release}
559 %description -n Qt3Support
560 Qt3 compatibility library.
562 %description -n Qt3Support -l pl
563 Biblioteka kompatybilno¶ci z Qt3.
565 %package -n Qt3Support-devel
566 Summary: Qt3 compatibility library - development files
567 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
568 Group: X11/Development/Libraries
569 Requires: Qt3Support = %{version}-%{release}
570 Requires: QtCore-devel = %{version}-%{release}
572 %description -n Qt3Support-devel
573 Qt3 compatibility library - development files.
575 %description -n Qt3Support-devel -l pl
576 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
578 %package -n Qt3Support-static
579 Summary: Qt3 compatibility library - static libraries
580 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
581 Group: X11/Development/Libraries
582 Requires: Qt3Support-devel = %{version}-%{release}
584 %description -n Qt3Support-static
585 Qt3 compatibility library - static libraries.
587 %description -n Qt3Support-static -l pl
588 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
590 %package -n QtAssistant
591 Summary: Qt Assistant client library
592 Summary(pl): Biblioteka kliencka Qt Assistant
593 Group: X11/Development/Libraries
595 %description -n QtAssistant
596 This library allows to use Qt Assistant as an application's help tool.
598 %description -n QtAssistant -l pl
599 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
600 pomocy w aplikacjach.
602 %package -n QtAssistant-devel
603 Summary: Qt Assistant client library - development files
604 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
605 Group: X11/Development/Libraries
606 Requires: QtAssistant = %{version}-%{release}
607 Requires: QtNetwork-devel = %{version}-%{release}
609 %description -n QtAssistant-devel
610 Development files for Qt Assistant client library.
612 %description -n QtAssistant-devel -l pl
613 Pliki programistyczne biblioteki klienckiej Qt Assistant.
615 %package -n QtAssistant-static
616 Summary: Static Qt Assistant client library
617 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
618 Group: X11/Development/Libraries
619 Requires: QtAssistant-devel = %{version}-%{release}
621 %description -n QtAssistant-static
622 Static Qt Assistant client library.
624 %description -n QtAssistant-static -l pl
625 Statyczna biblioteka kliencka Qt Assistant.
628 Summary: Qt documentation browser
629 Summary(pl): Przegl±darka dokumentacji Qt
630 Group: X11/Development/Tools
631 Requires: %{name}-doc
633 %description assistant
634 Qt Assistant is a tool for browsing on-line documentation with
635 indexing, bookmarks and full-text search.
637 %description assistant -l pl
638 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
639 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
642 Summary: Build tools for Qt4
643 Summary(pl): Narzêdzia do budowania dla Qt4
644 Group: X11/Development/Tools
645 Requires: QtCore = %{version}-%{release}
646 Requires: QtXml = %{version}-%{release}
649 This package includes the Qt resource compiler (rcc), meta objects
650 compiler (moc), user interface compiler (uic) and qt3to4 include names
653 %description build -l pl
654 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
655 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
656 konwerter nazw plików nag³ówkowych qt3to4.
659 Summary: IDE used for GUI designing with Qt library
660 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
661 Group: X11/Applications
662 Requires: %{name}-designer-libs = %{version}-%{release}
664 %description designer
665 An advanced tool used for GUI designing with Qt library.
667 %description designer -l pl
668 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
669 za pomoc± biblioteki Qt.
671 %package designer-libs
672 Summary: Libraries IDE used for GUI designing with Qt library
673 Summary(pl): Biblioteki do IDE s³u¿±cego do projektowania GUI za pomoc± biblioteki Qt
674 Group: X11/Applications
676 %description designer-libs
677 Libraries used by the Qt GUI Designer.
679 %description designer-libs -l pl
680 Biblioteki wykorzystywane przez narzêdzie projektowania interfejsu
681 graficznego - Qt Designer.
683 %package -n QtDesigner-devel
684 Summary: IDE used for GUI designing with Qt library - development files
685 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki programistyczne
686 Group: X11/Development/Libraries
687 Requires: %{name}-designer-libs = %{version}-%{release}
688 Requires: QtCore-devel = %{version}-%{release}
690 %description -n QtDesigner-devel
691 IDE used for GUI designing with Qt library - development files.
693 %description -n QtDesigner-devel -l pl
694 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki
697 %package -n QtDesigner-static
698 Summary: IDE used for GUI designing with Qt library - static libraries
699 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki statyczne
700 Group: X11/Development/Libraries
701 Requires: QtDesigner-devel = %{version}-%{release}
703 %description -n QtDesigner-static
704 IDE used for GUI designing with Qt library - static libraries.
706 %description -n QtDesigner-static -l pl
707 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki
711 Summary: Translation helper for Qt
712 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
713 Group: X11/Development/Tools
715 %description linguist
716 This program provides an interface that shortens and helps systematize
717 the process of translating GUIs. Qt Linguist takes all of the text of
718 a UI that will be shown to the user, and presents it to a human
719 translator in a simple window. When one UI text is translated, the
720 program automatically progresses to the next, until they are all
723 %description linguist -l pl
724 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
725 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
726 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
727 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
728 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
731 Summary: Qt makefile generator
732 Summary(pl): Generator plików makefile dla aplikacji Qt
733 Group: X11/Development/Tools
737 A powerful makefile generator. It can create makefiles on any platform
738 from a simple .pro definitions file.
740 %description qmake -l pl
741 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
742 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
745 Summary: Qt widgets configuration tool
746 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
747 Group: X11/Applications
750 %description qtconfig
751 A tool for configuring look and behavior of Qt widgets.
753 %description qtconfig -l pl
754 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
757 Summary: Qt Virtual framebuffer
758 Summary(pl): Wirtualny framebuffer dla Qt
759 Group: X11/Development/Libraries
762 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
765 %description -n qvfb -l pl
766 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
770 Summary: Demos of new Qt4 features
771 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
772 Group: X11/Development/Libraries
773 Requires: QtCore = %{version}-%{release}
774 Requires: QtXml = %{version}-%{release}
777 Demos are spiders that fly.
779 %description demos -l pl
780 Dema to lataj±ce paj±ki.
783 Summary: Qt Documentation in HTML format
784 Summary(pl): Dokumentacja Qt w formacie HTML
785 Group: X11/Development/Libraries
788 Qt documentation in HTML format.
790 %description doc -l pl
791 Dokumentacja qt w formacie HTML.
794 Summary: Qt man pages
795 Summary(pl): Qt - strony man
796 Group: X11/Development/Libraries
799 Qt documentation in man pages format.
801 %description man -l pl
802 Dokumentacja Qt w formacie stron man.
805 Summary: Example programs bundled with Qt
806 Summary(pl): Æwiczenia i przyk³ady do Qt
807 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
808 Group: X11/Development/Libraries
809 # no it does not , we cant be sure the user wants to compile them right?
810 # he might just want to take a look, anwyay no single devel package now
811 #Requires: %{name}-devel = %{version}-%{release}
813 %description examples
814 Example programs bundled with Qt version.
816 %description examples -l pl
817 Æwiczenia/przyk³ady do³±czone do Qt.
819 %description examples -l pt_BR
820 Programas exemplo para o Qt versão.
823 %setup -q -n qt-x11-opensource-src-%{version}
833 %if %{with dont_enable}
838 sed -i -e 's,usr/X11R6/,usr/,' mkspecs/linux-g*/qmake.conf
840 # change QMAKE_CFLAGS_RELEASE to build
841 # properly optimized libs
843 if [ "%{_lib}" != "lib" ] ; then
844 cfgf="mkspecs/linux-g++-64/qmake.conf"
846 cfgf="mkspecs/linux-g++/qmake.conf"
850 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
851 s|QMAKE_CXX.*=.*g++|QMAKE_CXX = %{__cxx}|;
852 s|QMAKE_LINK.*=.*g++|QMAKE_LINK = %{__cxx}|;
853 s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|;
854 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|;
858 | grep -v QMAKE_CFLAGS_RELEASE \
859 | grep -v QMAKE_CXXFLAGS_RELEASE \
860 | grep -v QMAKE_CFLAGS_DEBUG \
861 | grep -v QMAKE_CXXFLAGS_DEBUG \
866 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
867 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
868 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
869 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
872 # pass OPTFLAGS to build qmake itself with optimization
873 export OPTFLAGS="%{rpmcflags}"
874 export PATH=$PWD/bin:$PATH
876 ##################################
877 # DEFAULT OPTIONS FOR ALL BUILDS #
878 ##################################
881 -DQT_CLEAN_NAMESPACE \
884 -docdir %{_docdir}/%{name}-doc \
885 -headerdir %{_includedir}/qt4 \
889 -plugindir %{_libdir}/qt4/plugins \
890 -datadir %{_datadir}/qt4 \
891 -translationdir %{_datadir}/locale/ \
892 -sysconfdir %{_sysconfdir}/qt4 \
893 -examplesdir %{_examplesdir}/qt4 \
894 -demosdir %{_examplesdir}/qt4-demos \
896 -%{!?with_pch:no-}pch \
897 -%{!?with_sse:no-}sse \
903 -I%{_includedir}/postgresql/server \
904 -I%{_includedir}/mysql \
905 %{?with_cups:-cups} \
906 %{?with_nas:-system-nas-sound} \
908 %{!?debug:-release} \
919 ##################################
920 # STATIC MULTI-THREAD #
921 ##################################
923 %if %{with static_libs}
925 %{?with_mysql:-qt-sql-mysql} \
926 %{?with_odbc:-qt-sql-odbc} \
927 %{?with_pgsql:-qt-sql-psql} \
928 %{?with_sqlite3:-qt-sql-sqlite} \
929 %{?with_sqlite:-qt-sql-sqlite2} \
930 %{?with_ibase:-qt-sql-ibase} \
933 echo "yes" | ./configure $COMMONOPT $OPT
936 %{__make} -C tools/assistant/lib
937 %{__make} -C tools/designer/src/lib
938 if [ ! -d staticlib ]; then
940 cp -a lib/*.a staticlib
945 ##################################
946 # SHARED MULTI-THREAD #
947 ##################################
950 %{?with_mysql:-plugin-sql-mysql} \
951 %{?with_odbc:-plugin-sql-odbc} \
952 %{?with_pgsql:-plugin-sql-psql} \
953 %{?with_sqlite3:-plugin-sql-sqlite} \
954 %{?with_sqlite:-plugin-sql-sqlite2} \
955 %{?with_ibase:-plugin-sql-ibase}"
957 echo "yes" | ./configure $COMMONOPT $OPT
961 sub-tools-all-ordered \
962 sub-demos-all-ordered \
963 sub-examples-all-ordered
965 %if %{with dont_enable}
967 cd tools/designer/designer
968 lrelease designer_de.ts
969 lrelease designer_fr.ts
973 lrelease assistant_de.ts
974 lrelease assistant_fr.ts
976 cd tools/linguist/linguist
977 lrelease linguist_de.ts
978 lrelease linguist_fr.ts
982 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
983 %{__sed} -i -e "s,-L$PWD/lib,,g" lib/*.{la,pc,prl}
986 rm -rf $RPM_BUILD_ROOT
987 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
990 INSTALL_ROOT=$RPM_BUILD_ROOT
993 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
994 $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/{crypto,network}
996 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/sqldrivers
997 install bin/findtr tools/qvfb/qvfb $RPM_BUILD_ROOT%{_bindir}
999 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
1000 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
1001 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
1003 install tools/qtconfig/images/appicon.png \
1004 $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig.png
1006 install tools/linguist/linguist/images/appicon.png \
1007 $RPM_BUILD_ROOT%{_pixmapsdir}/linguist.png
1009 install tools/assistant/images/assistant.png \
1010 $RPM_BUILD_ROOT%{_pixmapsdir}/assistant.png
1012 %if %{with designer}
1013 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1014 install tools/designer/src/designer/images/designer.png \
1015 $RPM_BUILD_ROOT%{_pixmapsdir}/designer.png
1018 %if %{with static_libs}
1019 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1022 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,cs,de,fr,ru,sk}/LC_MESSAGES
1023 install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1024 install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1025 install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
1026 install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1027 install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1028 install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1029 install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1031 %if %{with dont_enable}
1032 %if %{with designer}
1033 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1034 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1037 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1039 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1040 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1043 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1044 for f in ../Qt{3Support,Assistant,Core,Designer,Gui,Network,OpenGL,Sql,Svg,Test,Xml}/*
1046 if [ ! -d $f ]; then
1047 ln -sf $f `basename $f`
1050 ln -sf ../../QtCore/arch/qatomic.h arch/qatomic.h
1053 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1054 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1055 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1056 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1057 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1060 if [ "$MODULE2" == "3SUPPORT" ]; then
1061 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1063 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1065 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1067 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1070 # Prepare some files list
1072 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1073 [ "$RESULT" == "" ] && return
1074 r=`echo $RESULT | awk '{ print $1 }'`
1076 if [ -d "$r" ]; then
1077 echo "%%dir $2" >> $1.files
1078 elif [ -x "$r" ] ; then
1079 echo "%%attr(755,root,root) $2" >> $1.files
1080 elif [ -f "$r" ]; then
1081 echo "$2" >> $1.files
1083 echo "Error generation devel files list!"
1084 echo "$r: no such file or direcotry!"
1091 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1092 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1093 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1094 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1095 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1096 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1097 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1099 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1101 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1102 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1104 for f in $@; do ifecho $MODULE-devel $f; done
1107 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1117 # without *.la *.pc etc.
1118 mkdevfl QtAssistant || /bin/true
1119 mkdevfl QtDesigner || /bin/true
1121 echo "%defattr(644,root,root,755)" > examples.files
1122 ifecho examples %{_examplesdir}/qt4
1123 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1125 ifecho examples %{_examplesdir}/qt4/$f
1128 echo "%defattr(644,root,root,755)" > demos.files
1129 ifecho demos "%{_examplesdir}/qt4-demos"
1130 ifecho demos "%{_bindir}/qtdemo"
1131 ifecho demos "%{_libdir}/qt4/plugins/arthurplugin/libarthurplugin.so"
1132 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1134 ifecho demos %{_examplesdir}/qt4-demos/$f
1138 rm -rf $RPM_BUILD_ROOT
1143 *******************************************************
1146 * With qt 4.0.0 the single threaded version was *
1147 * removed. Also the library is modular now so be *
1148 * sure to check that you have every module you need. *
1150 *******************************************************
1152 %postun -n QtCore -p /sbin/ldconfig
1154 %post -n QtGui -p /sbin/ldconfig
1155 %postun -n QtGui -p /sbin/ldconfig
1157 %post -n QtNetwork -p /sbin/ldconfig
1158 %postun -n QtNetwork -p /sbin/ldconfig
1160 %post -n QtOpenGL -p /sbin/ldconfig
1161 %postun -n QtOpenGL -p /sbin/ldconfig
1163 %post -n QtSql -p /sbin/ldconfig
1164 %postun -n QtSql -p /sbin/ldconfig
1166 %post -n QtSvg -p /sbin/ldconfig
1167 %postun -n QtSvg -p /sbin/ldconfig
1169 %post -n QtTest -p /sbin/ldconfig
1170 %postun -n QtTest -p /sbin/ldconfig
1172 %post -n QtXml -p /sbin/ldconfig
1173 %postun -n QtXml -p /sbin/ldconfig
1175 %post -n Qt3Support -p /sbin/ldconfig
1176 %postun -n Qt3Support -p /sbin/ldconfig
1178 %post -n QtAssistant -p /sbin/ldconfig
1179 %postun -n QtAssistant -p /sbin/ldconfig
1181 %post designer-libs -p /sbin/ldconfig
1182 %postun designer-libs -p /sbin/ldconfig
1185 %defattr(644,root,root,755)
1186 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1188 %dir %{_libdir}/qt4/plugins
1189 %dir %{_libdir}/qt4/plugins/accessible
1190 %dir %{_libdir}/qt4/plugins/codecs
1191 %dir %{_libdir}/qt4/plugins/crypto
1192 %dir %{_libdir}/qt4/plugins/imageformats
1193 %dir %{_libdir}/qt4/plugins/network
1194 %dir %{_libdir}/qt4/plugins/sqldrivers
1195 %dir %{_datadir}/qt4
1196 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1197 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1198 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
1199 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1200 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1201 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1204 %defattr(644,root,root,755)
1205 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1206 %{_libdir}/qt4/plugins/accessible/*
1207 %{_libdir}/qt4/plugins/codecs/*
1208 %{_libdir}/qt4/plugins/imageformats/*
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1223 %files -n QtSql-mysql
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlmysql*.so
1229 %files -n QtSql-pgsql
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlpsql*.so
1235 %files -n QtSql-sqlite
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1241 %files -n QtSql-sqlite3
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite*.so
1244 %exclude %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1248 %files -n QtSql-ibase
1249 %defattr(644,root,root,755)
1250 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlibase*.so
1254 %files -n QtSql-odbc
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlodbc*.so
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1271 %files -n Qt3Support
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_bindir}/uic3
1274 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1276 %files -n QtAssistant
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1281 %defattr(644,root,root,755)
1282 %attr(755,root,root) %{_bindir}/assistant
1283 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1284 %{_desktopdir}/assistant.desktop
1285 %{_pixmapsdir}/assistant.png
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_bindir}/rcc
1290 %attr(755,root,root) %{_bindir}/moc
1291 %attr(755,root,root) %{_bindir}/qt3to4
1292 %attr(755,root,root) %{_bindir}/uic
1293 %{_datadir}/qt4/q3porting.xml
1295 %if %{with designer}
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_bindir}/designer
1299 %{_desktopdir}/designer.desktop
1300 %{_pixmapsdir}/designer.png
1302 %files designer-libs
1303 %defattr(644,root,root,755)
1304 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1305 %dir %{_libdir}/qt4/plugins/designer
1306 %attr(755,root,root) %{_libdir}/qt4/plugins/designer/*.so
1310 %defattr(644,root,root,755)
1311 %attr(755,root,root) %{_bindir}/linguist
1312 %attr(755,root,root) %{_bindir}/findtr
1313 %attr(755,root,root) %{_bindir}/lrelease
1314 %attr(755,root,root) %{_bindir}/lupdate
1315 %attr(755,root,root) %{_bindir}/qm2ts
1316 %{_datadir}/qt4/phrasebooks
1317 %{_desktopdir}/linguist.desktop
1318 %{_pixmapsdir}/linguist.png
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_bindir}/qmake
1323 %{_datadir}/qt4/mkspecs
1326 %defattr(644,root,root,755)
1327 %attr(755,root,root) %{_bindir}/qtconfig
1328 %{_desktopdir}/qtconfig.desktop
1329 %{_pixmapsdir}/qtconfig.png
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_bindir}/qvfb
1336 %defattr(644,root,root,755)
1337 %{_docdir}/%{name}-doc
1339 %files -n QtCore-devel -f QtCore-devel.files
1340 %files -n QtDesigner-devel -f QtDesigner-devel.files
1341 %files -n QtGui-devel -f QtGui-devel.files
1342 %files -n QtNetwork-devel -f QtNetwork-devel.files
1343 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1344 %files -n QtSql-devel -f QtSql-devel.files
1345 %files -n QtSvg-devel -f QtSvg-devel.files
1346 %files -n QtTest-devel -f QtTest-devel.files
1347 %files -n QtXml-devel -f QtXml-devel.files
1348 %files -n Qt3Support-devel -f Qt3Support-devel.files
1349 %files -n QtAssistant-devel -f QtAssistant-devel.files
1351 %if %{with static_libs}
1352 %files -n QtCore-static
1353 %defattr(644,root,root,755)
1354 %{_libdir}/libQtCore*.a
1356 %files -n QtGui-static
1357 %defattr(644,root,root,755)
1358 %{_libdir}/libQtGui*.a
1360 %files -n QtNetwork-static
1361 %defattr(644,root,root,755)
1362 %{_libdir}/libQtNetwork*.a
1364 %files -n QtOpenGL-static
1365 %defattr(644,root,root,755)
1366 %{_libdir}/libQtOpenGL*.a
1368 %files -n QtSql-static
1369 %defattr(644,root,root,755)
1370 %{_libdir}/libQtSql*.a
1372 %files -n QtSvg-static
1373 %defattr(644,root,root,755)
1374 %{_libdir}/libQtSvg*.a
1376 %files -n QtXml-static
1377 %defattr(644,root,root,755)
1378 %{_libdir}/libQtXml*.a
1380 %files -n Qt3Support-static
1381 %defattr(644,root,root,755)
1382 %{_libdir}/libQt3Support*.a
1384 %files -n QtDesigner-static
1385 %defattr(644,root,root,755)
1386 %{_libdir}/libQtDesigner.a
1388 %files -n QtAssistant-static
1389 %defattr(644,root,root,755)
1390 %{_libdir}/libQtAssistantClient.a
1393 %files demos -f demos.files
1394 %files examples -f examples.files