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-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: xcursor-devel
91 BuildRequires: xft-devel
92 BuildRequires: xrender-devel
93 BuildRequires: zlib-devel
95 Obsoletes: qt-extensions
97 Conflicts: kdelibs <= 8:3.2-0.030602.1
98 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
100 %define _noautoreqdep libGL.so.1 libGLU.so.1
101 %define _noautostrip '.*_debug\\.so*'
103 %define specflags -fno-strict-aliasing
106 Qt is a complete C++ application development framework, which includes
107 a class library and tools for multiplatform development and
108 internationalization. Using Qt, a single source code tree can build
109 applications that run natively on different platforms (Windows,
110 Unix/Linux, Mac OS X, embedded Linux).
112 Qt has a rich set of standard widgets, and lets you write custom
113 controls. It encapsulates four different platform-specific APIs, and
114 the APIs for file-handling, networking, process-handling, threading,
115 database access, etc. Qt now also has Motif migration oraz Netscape
119 Contiene las bibliotecas compartidas necesarias para ejecutar
120 aplicaciones Qt, bien como los archivos README.
123 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
124 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
125 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
126 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
127 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
129 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
130 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
131 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
132 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
133 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
134 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
135 wykorzystaniem Netscape LiveConnect.
138 Summary: Core classes used by other modules
139 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
142 %description -n QtCore
143 Core classes used by other modules.
145 %description -n QtCore -l pl
146 Podstawowe klasy u¿ywane przez inne modu³y.
148 %package -n QtCore-devel
149 Summary: Core classes used by other modules - development files
150 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
151 Group: X11/Development/Libraries
152 Requires: QtCore = %{version}-%{release}
153 Requires: libstdc++-devel
156 %description -n QtCore-devel
157 Core classes used by other modules - development files.
159 %description -n QtCore-devel -l pl
160 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
162 %package -n QtCore-static
163 Summary: Core classes used by other modules - static libraries
164 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
165 Group: X11/Development/Libraries
166 Requires: QtCore-devel = %{version}-%{release}
168 %description -n QtCore-static
169 Core classes used by other modules - static libraries.
171 %description -n QtCore-static -l pl
172 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
175 Summary: Graphical User Interface components
176 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
178 Requires: QtCore = %{version}-%{release}
179 # two following because of some plugins
180 Requires: Qt3Support = %{version}-%{release}
181 Requires: QtSql = %{version}-%{release}
183 %description -n QtGui
184 Graphical User Interface components.
186 %description -n QtGui -l pl
187 Komponenty graficznego interfejsu u¿ytkownika.
189 %package -n QtGui-devel
190 Summary: Graphical User Interface components - development files
191 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
192 Group: X11/Development/Libraries
193 Requires: QtCore-devel = %{version}-%{release}
194 Requires: QtGui = %{version}-%{release}
195 Requires: freetype-devel >= 1:2.0.0
196 Requires: fontconfig-devel
197 Requires: libpng-devel >= 2:1.0.8
198 Requires: xcursor-devel
199 Requires: xrender-devel
201 %description -n QtGui-devel
202 Graphical User Interface components - development files.
204 %description -n QtGui-devel -l pl
205 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
207 %package -n QtGui-static
208 Summary: Graphical User Interface components - static libraries
209 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
210 Group: X11/Development/Libraries
211 Requires: QtGui-devel = %{version}-%{release}
213 %description -n QtGui-static
214 Graphical User Interface components - static libraries.
216 %description -n QtGui-static -l pl
217 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
219 %package -n QtNetwork
220 Summary: Classes for network programming
221 Summary(pl): Klasy do programowania sieciowego
223 Requires: QtCore = %{version}-%{release}
225 %description -n QtNetwork
226 Classes for network programming.
228 %description -n QtNetwork -l pl
229 Klasy do programowania sieciowego.
231 %package -n QtNetwork-devel
232 Summary: Classes for network programming - development files
233 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
234 Group: X11/Development/Libraries
235 Requires: QtCore-devel = %{version}-%{release}
236 Requires: QtNetwork = %{version}-%{release}
238 %description -n QtNetwork-devel
239 Classes for network programming - development files.
241 %description -n QtNetwork-devel -l pl
242 Klasy do programowania sieciowego - pliki programistyczne.
244 %package -n QtNetwork-static
245 Summary: Classes for network programming - static libraries
246 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
247 Group: X11/Development/Libraries
248 Requires: QtNetwork-devel = %{version}-%{release}
250 %description -n QtNetwork-static
251 Classes for network programming - static libraries.
253 %description -n QtNetwork-static -l pl
254 Klasy do programowania sieciowego - biblioteki statyczne.
257 Summary: OpenGL support classes
258 Summary(pl): Klasy wspomagaj±ce OpenGL
260 Requires: QtCore = %{version}-%{release}
262 %description -n QtOpenGL
263 OpenGL support classes.
265 %description -n QtOpenGL -l pl
266 Klasy wspomagaj±ce OpenGL.
268 %package -n QtOpenGL-devel
269 Summary: OpenGL support classes - development files
270 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
271 Group: X11/Development/Libraries
272 Requires: OpenGL-devel
273 Requires: QtCore-devel = %{version}-%{release}
274 Requires: QtOpenGL = %{version}-%{release}
276 %description -n QtOpenGL-devel
277 OpenGL support classes - development files.
279 %description -n QtOpenGL-devel -l pl
280 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
282 %package -n QtOpenGL-static
283 Summary: OpenGL support classes - static libraries
284 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
285 Group: X11/Development/Libraries
286 Requires: QtOpenGL-devel = %{version}-%{release}
288 %description -n QtOpenGL-static
289 OpenGL support classes - static libraries.
291 %description -n QtOpenGL-devel -l pl
292 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
295 Summary: Classes for database integration using SQL
296 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
298 Requires: QtCore = %{version}-%{release}
300 %description -n QtSql
301 Classes for database integration using SQL.
303 %description -n QtSql -l pl
304 Klasy do integracji z bazami danych przy u¿yciu SQL.
306 %package -n QtSql-devel
307 Summary: Classes for database integration using SQL - development files
308 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
309 Group: X11/Development/Libraries
310 Requires: QtCore-devel = %{version}-%{release}
311 Requires: QtSql = %{version}-%{release}
313 %description -n QtSql-devel
314 Classes for database integration using SQL - development files.
316 %description -n QtSql-devel -l pl
317 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
320 %package -n QtSql-static
321 Summary: Classes for database integration using SQL - static libraries
322 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
323 Group: X11/Development/Libraries
324 Requires: QtSql-devel = %{version}-%{release}
326 %description -n QtSql-static
327 Classes for database integration using SQL - static libraries.
329 %description -n QtSql-static -l pl
330 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
331 statyczne. programistyczne.
333 %package -n QtSql-ibase
334 Summary: Database plugin for InterBase/Firebird Qt support
335 Summary(pl): Wtyczka InterBase/Firebird do Qt
336 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
338 Requires: QtSql = %{version}-%{release}
339 Provides: QtSql-backend = %{version}-%{release}
341 %description -n QtSql-ibase
342 This package contains a plugin for accessing Interbase/Firebird
343 database via the QSql classes.
345 %description -n QtSql-ibase -l pl
346 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
347 danych Interbase/Firebird poprzez klasy QSql.
349 %description -n QtSql-ibase -l pt_BR
350 Plugin de suporte a InterBase/Firebird para Qt.
352 %package -n QtSql-mysql
353 Summary: Database plugin for MySQL Qt support
354 Summary(pl): Wtyczka MySQL do Qt
355 Summary(pt_BR): Plugin de suporte a MySQL para Qt
357 Requires: QtSql = %{version}-%{release}
358 Provides: QtSql-backend = %{version}-%{release}
360 %description -n QtSql-mysql
361 This package contains a plugin for accessing MySQL database via the
364 %description -n QtSql-mysql -l pl
365 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
366 danych MySQL poprzez klasy QSql.
368 %description -n QtSql-mysql -l pt_BR
369 Plugin de suporte a MySQL para Qt.
371 %package -n QtSql-odbc
372 Summary: Database plugin for ODBC Qt support
373 Summary(pl): Wtyczka ODBC do Qt
374 Summary(pt_BR): Plugin de suporte a ODBC para Qt
376 Requires: QtSql = %{version}-%{release}
377 Provides: QtSql-backend = %{version}-%{release}
379 %description -n QtSql-odbc
380 This package contains a plugin for accessing unixODBC services via the
383 %description -n QtSql-odbc -l pl
384 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
385 unixODBC poprzez klasy QSql.
387 %description -n QtSql-odbc -l pt_BR
388 Plugin de suporte a ODBC para Qt.
390 %package -n QtSql-pgsql
391 Summary: Database plugin for PostgreSQL Qt support
392 Summary(pl): Wtyczka PostgreSQL do Qt
393 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
395 Requires: QtSql = %{version}-%{release}
396 Provides: QtSql-backend = %{version}-%{release}
398 %description -n QtSql-pgsql
399 This package contains a plugin for accessing PostgreSQL database via
402 %description -n QtSql-pgsql -l pl
403 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
404 danych PostgreSQL poprzez klasy QSql.
406 %description -n QtSql-pgsql -l es
407 Plugin de suporte a PostgreSQL para Qt.
409 %package -n QtSql-sqlite
410 Summary: Database plugin for SQLite 2.x Qt support
411 Summary(pl): Wtyczka SQLite 2.x do Qt
412 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
414 Requires: QtSql = %{version}-%{release}
415 Provides: QtSql-backend = %{version}-%{release}
417 %description -n QtSql-sqlite
418 This package contains a plugin for using the SQLite 2.x library (which
419 allows to acces virtually any SQL database) via the QSql classes.
421 %description -n QtSql-sqlite -l pl
422 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
423 danych SQLite 2.x poprzez klasy QSql.
425 %description -n QtSql-sqlite -l pt_BR
426 Plugin de suporte a SQLite 2.x para Qt.
428 %package -n QtSql-sqlite3
429 Summary: Database plugin for SQLite3 Qt support
430 Summary(pl): Wtyczka SQLite3 do Qt
431 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
433 Requires: QtSql = %{version}-%{release}
434 Provides: QtSql-backend = %{version}-%{release}
436 %description -n QtSql-sqlite3
437 This package contains a plugin for using the SQLite3 library (which
438 allows to acces virtually any SQL database) via the QSql classes.
440 %description -n QtSql-sqlite3 -l pl
441 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
442 danych SQLite3 poprzez klasy QSql.
444 %description -n QtSql-sqlite3 -l pt_BR
445 Plugin de suporte a SQLite3 para Qt.
449 Summary(pl): Wsparcie dla SVG
451 Requires: QtCore = %{version}-%{release}
453 %description -n QtSvg
456 %description -n QtSvg -l pl
459 %package -n QtSvg-devel
460 Summary: SVG support - development files
461 Summary(pl): Wsparcie dla SVG - pliki programistyczne
462 Group: X11/Development/Libraries
463 Requires: QtCore-devel = %{version}-%{release}
464 Requires: QtSvg = %{version}-%{release}
466 %description -n QtSvg-devel
467 SVG support - development files.
469 %description -n QtSvg-devel -l pl
470 Wsparcie dla SVG - pliki programistyczne.
472 %package -n QtSvg-static
473 Summary: SVG support - static libraries
474 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
475 Group: X11/Development/Libraries
476 Requires: QtSvg-devel = %{version}-%{release}
478 %description -n QtSvg-static
479 SVG support - static libraries.
481 %description -n QtSvg-static -l pl
482 Wsparcie dla SVG - biblioteki statyczne.
485 Summary: Test framework
486 Summary(pl): Szkielet testów
488 Requires: QtCore = %{version}-%{release}
490 %description -n QtTest
493 %description -n QtTest -l pl
496 %package -n QtTest-devel
497 Summary: Test framework - development files
498 Summary(pl): Szkielet testów - pliki programistyczne
499 Group: X11/Development/Libraries
500 Requires: QtCore-devel = %{version}-%{release}
501 Requires: QtTest = %{version}-%{release}
503 %description -n QtTest-devel
504 Test framework - development files.
506 %description -n QtTest-devel -l pl
507 Szkielet testów - pliki programistyczne.
510 Summary: Classes for handling XML
511 Summary(pl): Klasy do obs³ugi XML-a
513 Requires: QtCore = %{version}-%{release}
515 %description -n QtXml
516 Classes for handling XML.
518 %description -n QtXml -l pl
519 Klasy do obs³ugi XML-a.
521 %package -n QtXml-devel
522 Summary: Classes for handling XML - development files
523 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
524 Group: X11/Development/Libraries
525 Requires: QtCore-devel = %{version}-%{release}
526 Requires: QtXml = %{version}-%{release}
528 %description -n QtXml-devel
529 Classes for handling XML - development files.
531 %description -n QtXml-devel -l pl
532 Klasy do obs³ugi XML-a - pliki programistyczne.
534 %package -n QtXml-static
535 Summary: Classes for handling XML - static libraries
536 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
537 Group: X11/Development/Libraries
538 Requires: QtXml-devel = %{version}-%{release}
540 %description -n QtXml-static
541 Classes for handling XML - static libraries.
543 %description -n QtXml-static -l pl
544 Klasy do obs³ugi XML-a - biblioteki statyczne.
546 %package -n Qt3Support
547 Summary: Qt3 compatibility library
548 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
550 Requires: QtCore = %{version}-%{release}
552 %description -n Qt3Support
553 Qt3 compatibility library.
555 %description -n Qt3Support -l pl
556 Biblioteka kompatybilno¶ci z Qt3.
558 %package -n Qt3Support-devel
559 Summary: Qt3 compatibility library - development files
560 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
561 Group: X11/Development/Libraries
562 Requires: Qt3Support = %{version}-%{release}
563 Requires: QtCore-devel = %{version}-%{release}
565 %description -n Qt3Support-devel
566 Qt3 compatibility library - development files.
568 %description -n Qt3Support-devel -l pl
569 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
571 %package -n Qt3Support-static
572 Summary: Qt3 compatibility library - static libraries
573 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
574 Group: X11/Development/Libraries
575 Requires: Qt3Support-devel = %{version}-%{release}
577 %description -n Qt3Support-static
578 Qt3 compatibility library - static libraries.
580 %description -n Qt3Support-static -l pl
581 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
583 %package -n QtAssistant
584 Summary: Qt Assistant client library
585 Summary(pl): Biblioteka kliencka Qt Assistant
586 Group: X11/Development/Libraries
588 %description -n QtAssistant
589 This library allows to use Qt Assistant as an application's help tool.
591 %description -n QtAssistant -l pl
592 Ta biblioteka umo¿liwia wykorzystanie Qt Assistanta jako narzêdzie
593 pomocy w aplikacjach.
595 %package -n QtAssistant-devel
596 Summary: Qt Assistant client library - development files
597 Summary(pl): Biblioteka kliencka Qt Assistant - pliki programistyczne
598 Group: X11/Development/Libraries
599 Requires: QtAssistant = %{version}-%{release}
600 Requires: QtNetwork-devel = %{version}-%{release}
602 %description -n QtAssistant-devel
603 Development files for Qt Assistant client library.
605 %description -n QtAssistant-devel -l pl
606 Pliki programistyczne biblioteki klienckiej Qt Assistant.
608 %package -n QtAssistant-static
609 Summary: Static Qt Assistant client library
610 Summary(pl): Statyczna biblioteka kliencka Qt Assistant
611 Group: X11/Development/Libraries
612 Requires: QtAssistant-devel = %{version}-%{release}
614 %description -n QtAssistant-static
615 Static Qt Assistant client library.
617 %description -n QtAssistant-static -l pl
618 Statyczna biblioteka kliencka Qt Assistant.
621 Summary: Qt documentation browser
622 Summary(pl): Przegl±darka dokumentacji Qt
623 Group: X11/Development/Tools
624 Requires: %{name}-doc
626 %description assistant
627 Qt Assistant is a tool for browsing on-line documentation with
628 indexing, bookmarks and full-text search.
630 %description assistant -l pl
631 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
632 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
635 Summary: Build tools for Qt4
636 Summary(pl): Narzêdzia do budowania dla Qt4
637 Group: X11/Development/Tools
638 Requires: QtCore = %{version}-%{release}
639 Requires: QtXml = %{version}-%{release}
642 This package includes the Qt resource compiler (rcc), meta objects
643 compiler (moc), user interface compiler (uic) and qt3to4 include names
646 %description build -l pl
647 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
648 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
649 konwerter nazw plików nag³ówkowych qt3to4.
652 Summary: IDE used for GUI designing with Qt library
653 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
654 Group: X11/Applications
655 Requires: %{name}-designer-libs = %{version}-%{release}
657 %description designer
658 An advanced tool used for GUI designing with Qt library.
660 %description designer -l pl
661 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
662 za pomoc± biblioteki Qt.
664 %package designer-libs
665 Summary: Libraries IDE used for GUI designing with Qt library
666 Summary(pl): Biblioteki do IDE s³u¿±cego do projektowania GUI za pomoc± biblioteki Qt
667 Group: X11/Applications
669 %description designer-libs
670 Libraries used by the Qt GUI Designer.
672 %description designer-libs -l pl
673 Biblioteki wykorzystywane przez narzêdzie projektowania interfejsu
674 graficznego - Qt Designer.
676 %package -n QtDesigner-devel
677 Summary: IDE used for GUI designing with Qt library - development files
678 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki programistyczne
679 Group: X11/Development/Libraries
680 Requires: %{name}-designer-libs = %{version}-%{release}
681 Requires: QtCore-devel = %{version}-%{release}
683 %description -n QtDesigner-devel
684 IDE used for GUI designing with Qt library - development files.
686 %description -n QtDesigner-devel -l pl
687 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki
690 %package -n QtDesigner-static
691 Summary: IDE used for GUI designing with Qt library - static libraries
692 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki statyczne
693 Group: X11/Development/Libraries
694 Requires: QtDesigner-devel = %{version}-%{release}
696 %description -n QtDesigner-static
697 IDE used for GUI designing with Qt library - static libraries.
699 %description -n QtDesigner-static -l pl
700 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki
704 Summary: Translation helper for Qt
705 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
706 Group: X11/Development/Tools
708 %description linguist
709 This program provides an interface that shortens and helps systematize
710 the process of translating GUIs. Qt Linguist takes all of the text of
711 a UI that will be shown to the user, and presents it to a human
712 translator in a simple window. When one UI text is translated, the
713 program automatically progresses to the next, until they are all
716 %description linguist -l pl
717 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
718 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
719 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
720 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
721 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
724 Summary: Qt makefile generator
725 Summary(pl): Generator plików makefile dla aplikacji Qt
726 Group: X11/Development/Tools
730 A powerful makefile generator. It can create makefiles on any platform
731 from a simple .pro definitions file.
733 %description qmake -l pl
734 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
735 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
738 Summary: Qt widgets configuration tool
739 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
740 Group: X11/Applications
743 %description qtconfig
744 A tool for configuring look and behavior of Qt widgets.
746 %description qtconfig -l pl
747 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
750 Summary: Qt Virtual framebuffer
751 Summary(pl): Wirtualny framebuffer dla Qt
752 Group: X11/Development/Libraries
755 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
758 %description -n qvfb -l pl
759 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
763 Summary: Demos of new Qt4 features
764 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
765 Group: X11/Development/Libraries
766 Requires: QtCore = %{version}-%{release}
767 Requires: QtXml = %{version}-%{release}
770 Demos are spiders that fly.
772 %description demos -l pl
773 Dema to lataj±ce paj±ki.
776 Summary: Qt Documentation in HTML format
777 Summary(pl): Dokumentacja Qt w formacie HTML
778 Group: X11/Development/Libraries
781 Qt documentation in HTML format.
783 %description doc -l pl
784 Dokumentacja qt w formacie HTML.
787 Summary: Qt man pages
788 Summary(pl): Qt - strony man
789 Group: X11/Development/Libraries
792 Qt documentation in man pages format.
794 %description man -l pl
795 Dokumentacja Qt w formacie stron man.
798 Summary: Example programs bundled with Qt
799 Summary(pl): Æwiczenia i przyk³ady do Qt
800 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
801 Group: X11/Development/Libraries
802 # no it does not , we cant be sure the user wants to compile them right?
803 # he might just want to take a look, anwyay no single devel package now
804 #Requires: %{name}-devel = %{version}-%{release}
806 %description examples
807 Example programs bundled with Qt version.
809 %description examples -l pl
810 Æwiczenia/przyk³ady do³±czone do Qt.
812 %description examples -l pt_BR
813 Programas exemplo para o Qt versão.
816 %setup -q -n qt-x11-opensource-src-%{version}
826 %if %{with dont_enable}
831 # change QMAKE_CFLAGS_RELEASE to build
832 # properly optimized libs
834 if [ "%{_lib}" != "lib" ] ; then
835 cfgf="mkspecs/linux-g++-64/qmake.conf"
837 cfgf="mkspecs/linux-g++/qmake.conf"
841 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
842 s|QMAKE_CXX.*=.*g\+\+|QMAKE_CXX = %{__cxx}|;
843 s|QMAKE_LINK.*=.*g\+\+|QMAKE_LINK = %{__cxx}|;
844 s|QMAKE_LINK_SHLIB.*=.*g\+\+|QMAKE_LINK_SHLIB = %{__cxx}|;
845 s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT\t\t= %{_includedir}/qt4|;
849 |grep -v QMAKE_CFLAGS_RELEASE \
850 |grep -v QMAKE_CXXFLAGS_RELEASE \
851 |grep -v QMAKE_CFLAGS_DEBUG \
852 |grep -v QMAKE_CXXFLAGS_DEBUG \
857 echo -e "QMAKE_CFLAGS_RELEASE\t= %{rpmcflags}" >> $cfgf
858 echo -e "QMAKE_CXXFLAGS_RELEASE\t= %{rpmcxxflags}" >> $cfgf
859 echo -e "QMAKE_CFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
860 echo -e "QMAKE_CXXFLAGS_DEBUG\t= %{debugcflags}" >> $cfgf
863 # pass OPTFLAGS to build qmake itself with optimization
864 export OPTFLAGS="%{rpmcflags}"
865 export PATH=$PWD/bin:$PATH
867 ##################################
868 # DEFAULT OPTIONS FOR ALL BUILDS #
869 ##################################
872 -DQT_CLEAN_NAMESPACE \
875 -docdir %{_docdir}/%{name}-doc \
876 -headerdir %{_includedir}/qt4 \
880 -plugindir %{_libdir}/qt4/plugins \
881 -datadir %{_datadir}/qt4 \
882 -translationdir %{_datadir}/locale/ \
883 -sysconfdir %{_sysconfdir}/qt4 \
884 -examplesdir %{_examplesdir}/qt4 \
885 -demosdir %{_examplesdir}/qt4-demos \
887 -%{!?with_pch:no-}pch \
888 -%{!?with_sse:no-}sse \
894 -I%{_includedir}/postgresql/server \
895 -I%{_includedir}/mysql \
896 %{?with_cups:-cups} \
897 %{?with_nas:-system-nas-sound} \
899 %{!?debug:-release} \
910 ##################################
911 # STATIC MULTI-THREAD #
912 ##################################
914 %if %{with static_libs}
916 %{?with_mysql:-qt-sql-mysql} \
917 %{?with_odbc:-qt-sql-odbc} \
918 %{?with_pgsql:-qt-sql-psql} \
919 %{?with_sqlite3:-qt-sql-sqlite} \
920 %{?with_sqlite:-qt-sql-sqlite2} \
921 %{?with_ibase:-qt-sql-ibase} \
924 echo "yes" | ./configure $COMMONOPT $OPT
927 %{__make} -C tools/assistant/lib
928 %{__make} -C tools/designer/src/lib
929 if [ ! -d staticlib ]; then
931 cp -a lib/*.a staticlib
936 ##################################
937 # SHARED MULTI-THREAD #
938 ##################################
941 %{?with_mysql:-plugin-sql-mysql} \
942 %{?with_odbc:-plugin-sql-odbc} \
943 %{?with_pgsql:-plugin-sql-psql} \
944 %{?with_sqlite3:-plugin-sql-sqlite} \
945 %{?with_sqlite:-plugin-sql-sqlite2} \
946 %{?with_ibase:-plugin-sql-ibase}"
948 echo "yes" | ./configure $COMMONOPT $OPT
952 sub-tools-all-ordered \
953 sub-demos-all-ordered \
954 sub-examples-all-ordered
956 %if %{with dont_enable}
958 cd tools/designer/designer
959 lrelease designer_de.ts
960 lrelease designer_fr.ts
964 lrelease assistant_de.ts
965 lrelease assistant_fr.ts
967 cd tools/linguist/linguist
968 lrelease linguist_de.ts
969 lrelease linguist_fr.ts
973 # kill -L/inside/builddir from *.la and *.pc (bug #77152)
974 %{__sed} -i -e "s,-L$PWD/lib,,g" lib/*.{la,pc,prl}
977 rm -rf $RPM_BUILD_ROOT
978 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
981 INSTALL_ROOT=$RPM_BUILD_ROOT
984 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
985 $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/{crypto,network}
987 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/sqldrivers
988 install bin/findtr tools/qvfb/qvfb $RPM_BUILD_ROOT%{_bindir}
990 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
991 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
992 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
994 install tools/qtconfig/images/appicon.png \
995 $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig.png
997 install tools/linguist/linguist/images/appicon.png \
998 $RPM_BUILD_ROOT%{_pixmapsdir}/linguist.png
1000 install tools/assistant/images/assistant.png \
1001 $RPM_BUILD_ROOT%{_pixmapsdir}/assistant.png
1003 %if %{with designer}
1004 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
1005 install tools/designer/src/designer/images/designer.png \
1006 $RPM_BUILD_ROOT%{_pixmapsdir}/designer.png
1009 %if %{with static_libs}
1010 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
1013 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,cs,de,fr,ru,sk}/LC_MESSAGES
1014 install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1015 install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1016 install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
1017 install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1018 install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1019 install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1020 install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1022 %if %{with dont_enable}
1023 %if %{with designer}
1024 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1025 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1028 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1030 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1031 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1034 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1035 for f in ../Qt{3Support,Assistant,Core,Designer,Gui,Network,OpenGL,Sql,Svg,Test,Xml}/*
1037 if [ ! -d $f ]; then
1038 ln -sf $f `basename $f`
1041 ln -sf ../../QtCore/arch/qatomic.h arch/qatomic.h
1044 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1045 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1046 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1047 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1048 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1051 if [ "$MODULE2" == "3SUPPORT" ]; then
1052 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1054 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1056 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1058 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f
1061 # Prepare some files list
1063 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1064 [ "$RESULT" == "" ] && return
1065 r=`echo $RESULT | awk '{ print $1 }'`
1067 if [ -d "$r" ]; then
1068 echo "%%dir $2" >> $1.files
1069 elif [ -x "$r" ] ; then
1070 echo "%%attr(755,root,root) $2" >> $1.files
1071 elif [ -f "$r" ]; then
1072 echo "$2" >> $1.files
1074 echo "Error generation devel files list!"
1075 echo "$r: no such file or direcotry!"
1082 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1083 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1084 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1085 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1086 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1087 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1088 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1090 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1092 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1093 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1095 for f in $@; do ifecho $MODULE-devel $f; done
1098 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt
1108 # without *.la *.pc etc.
1109 mkdevfl QtAssistant || /bin/true
1110 mkdevfl QtDesigner || /bin/true
1112 echo "%defattr(644,root,root,755)" > examples.files
1113 ifecho examples %{_examplesdir}/qt4
1114 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1116 ifecho examples %{_examplesdir}/qt4/$f
1119 echo "%defattr(644,root,root,755)" > demos.files
1120 ifecho demos "%{_examplesdir}/qt4-demos"
1121 ifecho demos "%{_bindir}/qtdemo"
1122 ifecho demos "%{_libdir}/qt4/plugins/arthurplugin/libarthurplugin.so"
1123 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1125 ifecho demos %{_examplesdir}/qt4-demos/$f
1129 rm -rf $RPM_BUILD_ROOT
1134 *******************************************************
1137 * With qt 4.0.0 the single threaded version was *
1138 * removed. Also the library is modular now so be *
1139 * sure to check that you have every module you need. *
1141 *******************************************************
1143 %postun -n QtCore -p /sbin/ldconfig
1145 %post -n QtGui -p /sbin/ldconfig
1146 %postun -n QtGui -p /sbin/ldconfig
1148 %post -n QtNetwork -p /sbin/ldconfig
1149 %postun -n QtNetwork -p /sbin/ldconfig
1151 %post -n QtOpenGL -p /sbin/ldconfig
1152 %postun -n QtOpenGL -p /sbin/ldconfig
1154 %post -n QtSql -p /sbin/ldconfig
1155 %postun -n QtSql -p /sbin/ldconfig
1157 %post -n QtSvg -p /sbin/ldconfig
1158 %postun -n QtSvg -p /sbin/ldconfig
1160 %post -n QtTest -p /sbin/ldconfig
1161 %postun -n QtTest -p /sbin/ldconfig
1163 %post -n QtXml -p /sbin/ldconfig
1164 %postun -n QtXml -p /sbin/ldconfig
1166 %post -n Qt3Support -p /sbin/ldconfig
1167 %postun -n Qt3Support -p /sbin/ldconfig
1169 %post -n QtAssistant -p /sbin/ldconfig
1170 %postun -n QtAssistant -p /sbin/ldconfig
1172 %post designer-libs -p /sbin/ldconfig
1173 %postun designer-libs -p /sbin/ldconfig
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libQtCore.so.*.*
1179 %dir %{_libdir}/qt4/plugins
1180 %dir %{_libdir}/qt4/plugins/accessible
1181 %dir %{_libdir}/qt4/plugins/codecs
1182 %dir %{_libdir}/qt4/plugins/crypto
1183 %dir %{_libdir}/qt4/plugins/imageformats
1184 %dir %{_libdir}/qt4/plugins/network
1185 %dir %{_libdir}/qt4/plugins/sqldrivers
1186 %dir %{_datadir}/qt4
1187 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1188 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1189 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
1190 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1191 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1192 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_libdir}/libQtGui.so.*.*
1197 %{_libdir}/qt4/plugins/accessible/*
1198 %{_libdir}/qt4/plugins/codecs/*
1199 %{_libdir}/qt4/plugins/imageformats/*
1202 %defattr(644,root,root,755)
1203 %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.*
1206 %defattr(644,root,root,755)
1207 %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.*
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_libdir}/libQtSql.so.*.*
1214 %files -n QtSql-mysql
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlmysql*.so
1220 %files -n QtSql-pgsql
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlpsql*.so
1226 %files -n QtSql-sqlite
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1232 %files -n QtSql-sqlite3
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite*.so
1235 %exclude %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1239 %files -n QtSql-ibase
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlibase*.so
1245 %files -n QtSql-odbc
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlodbc*.so
1251 %defattr(644,root,root,755)
1252 %attr(755,root,root) %{_libdir}/libQtSvg.so.*.*
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_libdir}/libQtTest.so.*.*
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_libdir}/libQtXml.so.*.*
1262 %files -n Qt3Support
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_bindir}/uic3
1265 %attr(755,root,root) %{_libdir}/libQt3Support.so.*.*
1267 %files -n QtAssistant
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.*
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_bindir}/assistant
1274 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1275 %{_desktopdir}/assistant.desktop
1276 %{_pixmapsdir}/assistant.png
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_bindir}/rcc
1281 %attr(755,root,root) %{_bindir}/moc
1282 %attr(755,root,root) %{_bindir}/qt3to4
1283 %attr(755,root,root) %{_bindir}/uic
1284 %{_datadir}/qt4/q3porting.xml
1286 %if %{with designer}
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_bindir}/designer
1290 %{_desktopdir}/designer.desktop
1291 %{_pixmapsdir}/designer.png
1293 %files designer-libs
1294 %defattr(644,root,root,755)
1295 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*
1296 %dir %{_libdir}/qt4/plugins/designer
1297 %attr(755,root,root) %{_libdir}/qt4/plugins/designer/*.so
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/linguist
1303 %attr(755,root,root) %{_bindir}/findtr
1304 %attr(755,root,root) %{_bindir}/lrelease
1305 %attr(755,root,root) %{_bindir}/lupdate
1306 %attr(755,root,root) %{_bindir}/qm2ts
1307 %{_datadir}/qt4/phrasebooks
1308 %{_desktopdir}/linguist.desktop
1309 %{_pixmapsdir}/linguist.png
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_bindir}/qmake
1314 %{_datadir}/qt4/mkspecs
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_bindir}/qtconfig
1319 %{_desktopdir}/qtconfig.desktop
1320 %{_pixmapsdir}/qtconfig.png
1323 %defattr(644,root,root,755)
1324 %attr(755,root,root) %{_bindir}/qvfb
1327 %defattr(644,root,root,755)
1328 %{_docdir}/%{name}-doc
1330 %files -n QtCore-devel -f QtCore-devel.files
1331 %files -n QtDesigner-devel -f QtDesigner-devel.files
1332 %files -n QtGui-devel -f QtGui-devel.files
1333 %files -n QtNetwork-devel -f QtNetwork-devel.files
1334 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1335 %files -n QtSql-devel -f QtSql-devel.files
1336 %files -n QtSvg-devel -f QtSvg-devel.files
1337 %files -n QtTest-devel -f QtTest-devel.files
1338 %files -n QtXml-devel -f QtXml-devel.files
1339 %files -n Qt3Support-devel -f Qt3Support-devel.files
1340 %files -n QtAssistant-devel -f QtAssistant-devel.files
1342 %if %{with static_libs}
1343 %files -n QtCore-static
1344 %defattr(644,root,root,755)
1345 %{_libdir}/libQtCore*.a
1347 %files -n QtGui-static
1348 %defattr(644,root,root,755)
1349 %{_libdir}/libQtGui*.a
1351 %files -n QtNetwork-static
1352 %defattr(644,root,root,755)
1353 %{_libdir}/libQtNetwork*.a
1355 %files -n QtOpenGL-static
1356 %defattr(644,root,root,755)
1357 %{_libdir}/libQtOpenGL*.a
1359 %files -n QtSql-static
1360 %defattr(644,root,root,755)
1361 %{_libdir}/libQtSql*.a
1363 %files -n QtSvg-static
1364 %defattr(644,root,root,755)
1365 %{_libdir}/libQtSvg*.a
1367 %files -n QtXml-static
1368 %defattr(644,root,root,755)
1369 %{_libdir}/libQtXml*.a
1371 %files -n Qt3Support-static
1372 %defattr(644,root,root,755)
1373 %{_libdir}/libQt3Support*.a
1375 %files -n QtDesigner-static
1376 %defattr(644,root,root,755)
1377 %{_libdir}/libQtDesigner.a
1379 %files -n QtAssistant-static
1380 %defattr(644,root,root,755)
1381 %{_libdir}/libQtAssistantClient.a
1384 %files demos -f demos.files
1385 %files examples -f examples.files