3 # - better descriptions
5 # - check if translations are available
8 %bcond_with nas # enable NAS audio support
9 %bcond_without static_libs # build static libraries
10 %bcond_without cups # disable CUPS support
11 %bcond_without mysql # don't build MySQL plugin
12 %bcond_without odbc # don't build unixODBC plugin
13 %bcond_without pgsql # don't build PostgreSQL plugin
14 %bcond_without designer # don't build designer (it takes long)
15 %bcond_without sqlite3 # don't build SQLite3 plugin
16 %bcond_without sqlite # don't build SQLite2 plugin
17 %bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
18 %bcond_without pch # disable pch in qmake
19 %bcond_with sse # use SSE instructions in gui/painting module
20 %bcond_with dont_enable # blocks translations, they are not yet available
22 %undefine with_dont_enable
24 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
28 %ifarch pentium3 pentium4 %{x8664}
33 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
35 Summary: The Qt GUI application framework
36 Summary(es): Biblioteca para ejecutar aplicaciones GUI Qt
37 Summary(pl): Biblioteka Qt do tworzenia GUI
38 Summary(pt_BR): Estrutura para rodar aplicações GUI Qt
44 Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
45 # Source0-md5: 0e3982a54f56b6420d3062b20524410a
46 Source2: qtconfig.desktop
47 Source3: designer.desktop
48 Source4: assistant.desktop
49 Source5: linguist.desktop
50 Patch0: %{name}-tools.patch
51 %if %{with dont_enable}
54 Patch3: qt-disable_tutorials.patch
56 Patch2: %{name}-buildsystem.patch
57 Patch4: %{name}-locale.patch
58 Patch5: %{name}-debug-and-release.patch
59 Patch6: %{name}-sse.patch
60 Patch8: %{name}-antialias.patch
61 Patch10: %{name}-support-cflags-with-commas.patch
62 URL: http://www.trolltech.com/products/qt/
63 %{?with_ibase:BuildRequires: Firebird-devel}
64 BuildRequires: OpenGL-devel
65 %{?with_sqlite3:BuildRequires: sqlite3-devel}
66 # incompatible with bison
68 %{?with_cups:BuildRequires: cups-devel}
70 BuildRequires: freetype-devel >= 2.0.0
71 %{?with_pch:BuildRequires: gcc >= 5:3.4.0}
72 BuildRequires: libjpeg-devel
73 BuildRequires: libmng-devel >= 1.0.0
74 BuildRequires: libpng-devel >= 1.0.8
75 BuildRequires: libstdc++-devel
76 BuildRequires: libungif-devel
77 %{?with_mysql:BuildRequires: mysql-devel}
78 %{?with_nas:BuildRequires: nas-devel}
79 BuildRequires: perl-base
80 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
81 %{?with_pgsql:BuildRequires: postgresql-devel}
82 # uncomment this in rel. 1 - no time to upgrade rpm
83 #BuildRequires: rpmbuild(macros) >= 1.213
84 BuildRequires: sed >= 4.0
85 %{?with_sqlite:BuildRequires: sqlite-devel}
86 %{?with_odbc:BuildRequires: unixODBC-devel}
87 BuildRequires: xcursor-devel
88 BuildRequires: xft-devel
89 BuildRequires: xrender-devel
90 BuildRequires: zlib-devel
91 BuildConflicts: QtCore
93 Obsoletes: qt-extensions
95 Conflicts: kdelibs <= 8:3.2-0.030602.1
96 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
98 %define _noautoreqdep libGL.so.1 libGLU.so.1
99 %define _noautostrip '.*_debug\\.so*'
101 %define specflags -fno-strict-aliasing
104 Qt is a complete C++ application development framework, which includes
105 a class library and tools for multiplatform development and
106 internationalization. Using Qt, a single source code tree can build
107 applications that run natively on different platforms (Windows,
108 Unix/Linux, Mac OS X, embedded Linux).
110 Qt has a rich set of standard widgets, and lets you write custom
111 controls. It encapsulates four different platform-specific APIs, and
112 the APIs for file-handling, networking, process-handling, threading,
113 database access, etc. Qt now also has Motif migration oraz Netscape
117 Contiene las bibliotecas compartidas necesarias para ejecutar
118 aplicaciones Qt, bien como los archivos README.
121 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
122 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
123 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
124 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
125 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
127 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
128 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
129 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
130 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
131 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
132 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
133 wykorzystaniem Netscape LiveConnect.
136 Summary: Core classes used by other modules
137 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y
140 %description -n QtCore
141 Core classes used by other modules.
143 %description -n QtCore -l pl
144 Podstawowe klasy u¿ywane przez inne modu³y.
146 %package -n QtCore-devel
147 Summary: Core classes used by other modules - development files
148 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
149 Group: X11/Development/Libraries
150 Requires: QtCore = %{epoch}:%{version}-%{release}
151 Requires: libstdc++-devel
154 %description -n QtCore-devel
155 Core classes used by other modules - development files.
157 %description -n QtCore-devel -l pl
158 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
160 %package -n QtCore-static
161 Summary: Core classes used by other modules - static libraries
162 Summary(pl): Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
163 Group: X11/Development/Libraries
164 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
166 %description -n QtCore-static
167 Core classes used by other modules - static libraries.
169 %description -n QtCore-static -l pl
170 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
173 Summary: Graphical User Interface components
174 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika
176 Requires: QtCore = %{epoch}:%{version}-%{release}
178 %description -n QtGui
179 Graphical User Interface components.
181 %description -n QtGui -l pl
182 Komponenty graficznego interfejsu u¿ytkownika.
184 %package -n QtGui-devel
185 Summary: Graphical User Interface components - development files
186 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
187 Group: X11/Development/Libraries
188 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
189 Requires: QtGui = %{epoch}:%{version}-%{release}
190 Requires: freetype-devel >= 2.0.0
191 Requires: libpng-devel >= 1.0.8
192 Requires: xcursor-devel
193 Requires: xrender-devel
195 %description -n QtGui-devel
196 Graphical User Interface components - development files.
198 %description -n QtGui-devel -l pl
199 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
201 %package -n QtGui-static
202 Summary: Graphical User Interface components - static libraries
203 Summary(pl): Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
204 Group: X11/Development/Libraries
205 Requires: QtGui-devel = %{epoch}:%{version}-%{release}
207 %description -n QtGui-static
208 Graphical User Interface components - static libraries.
210 %description -n QtGui-static -l pl
211 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
213 %package -n QtNetwork
214 Summary: Classes for network programming
215 Summary(pl): Klasy do programowania sieciowego
217 Requires: QtCore = %{epoch}:%{version}-%{release}
219 %description -n QtNetwork
220 Classes for network programming.
222 %description -n QtNetwork -l pl
223 Klasy do programowania sieciowego.
225 %package -n QtNetwork-devel
226 Summary: Classes for network programming - development files
227 Summary(pl): Klasy do programowania sieciowego - pliki programistyczne
228 Group: X11/Development/Libraries
229 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
230 Requires: QtNetwork = %{epoch}:%{version}-%{release}
232 %description -n QtNetwork-devel
233 Classes for network programming - development files.
235 %description -n QtNetwork-devel -l pl
236 Klasy do programowania sieciowego - pliki programistyczne.
238 %package -n QtNetwork-static
239 Summary: Classes for network programming - static libraries
240 Summary(pl): Klasy do programowania sieciowego - biblioteki statyczne
241 Group: X11/Development/Libraries
242 Requires: QtNetwork-devel = %{epoch}:%{version}-%{release}
244 %description -n QtNetwork-static
245 Classes for network programming - static libraries.
247 %description -n QtNetwork-static -l pl
248 Klasy do programowania sieciowego - biblioteki statyczne.
251 Summary: OpenGL support classes
252 Summary(pl): Klasy wspomagaj±ce OpenGL
254 Requires: QtCore = %{epoch}:%{version}-%{release}
256 %description -n QtOpenGL
257 OpenGL support classes.
259 %description -n QtOpenGL -l pl
260 Klasy wspomagaj±ce OpenGL.
262 %package -n QtOpenGL-devel
263 Summary: OpenGL support classes - development files
264 Summary(pl): Klasy wspomagaj±ce OpenGL - pliki programistyczne
265 Group: X11/Development/Libraries
266 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
267 Requires: QtOpenGL = %{epoch}:%{version}-%{release}
268 Requires: OpenGL-devel
270 %description -n QtOpenGL-devel
271 OpenGL support classes - development files.
273 %description -n QtOpenGL-devel -l pl
274 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
276 %package -n QtOpenGL-static
277 Summary: OpenGL support classes - static libraries
278 Summary(pl): Klasy wspomagaj±ce OpenGL - biblioteki statyczne
279 Group: X11/Development/Libraries
280 Requires: QtOpenGL-devel = %{epoch}:%{version}-%{release}
282 %description -n QtOpenGL-static
283 OpenGL support classes - static libraries.
285 %description -n QtOpenGL-devel -l pl
286 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
289 Summary: Classes for database integration using SQL
290 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL
292 Requires: QtCore = %{epoch}:%{version}-%{release}
294 %description -n QtSql
295 Classes for database integration using SQL.
297 %description -n QtSql -l pl
298 Klasy do integracji z bazami danych przy u¿yciu SQL.
300 %package -n QtSql-devel
301 Summary: Classes for database integration using SQL - development files
302 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
303 Group: X11/Development/Libraries
304 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
305 Requires: QtSql = %{epoch}:%{version}-%{release}
307 %description -n QtSql-devel
308 Classes for database integration using SQL - development files.
310 %description -n QtSql-devel -l pl
311 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
314 %package -n QtSql-static
315 Summary: Classes for database integration using SQL - static libraries
316 Summary(pl): Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
317 Group: X11/Development/Libraries
318 Requires: QtSql-devel = %{epoch}:%{version}-%{release}
320 %description -n QtSql-static
321 Classes for database integration using SQL - static libraries.
323 %description -n QtSql-static -l pl
324 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
325 statyczne. programistyczne.
327 %package -n QtSql-ibase
328 Summary: Database plugin for InterBase/Firebird Qt support
329 Summary(pl): Wtyczka InterBase/Firebird do Qt
330 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
332 Requires: QtSql = %{epoch}:%{version}-%{release}
333 Provides: QtSql-backend = %{epoch}:%{version}-%{release}
335 %description -n QtSql-ibase
336 This package contains a plugin for accessing Interbase/Firebird
337 database via the QSql classes.
339 %description -n QtSql-ibase -l pl
340 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
341 danych Interbase/Firebird poprzez klasy QSql.
343 %description -n QtSql-ibase -l pt_BR
344 Plugin de suporte a InterBase/Firebird para Qt.
346 %package -n QtSql-mysql
347 Summary: Database plugin for MySQL Qt support
348 Summary(pl): Wtyczka MySQL do Qt
349 Summary(pt_BR): Plugin de suporte a MySQL para Qt
351 Requires: QtSql = %{epoch}:%{version}-%{release}
352 Provides: QtSql-backend = %{epoch}:%{version}-%{release}
354 %description -n QtSql-mysql
355 This package contains a plugin for accessing MySQL database via the
358 %description -n QtSql-mysql -l pl
359 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
360 danych MySQL poprzez klasy QSql.
362 %description -n QtSql-mysql -l pt_BR
363 Plugin de suporte a MySQL para Qt.
365 %package -n QtSql-odbc
366 Summary: Database plugin for ODBC Qt support
367 Summary(pl): Wtyczka ODBC do Qt
368 Summary(pt_BR): Plugin de suporte a ODBC para Qt
370 Requires: QtSql = %{epoch}:%{version}-%{release}
371 Provides: QtSql-backend = %{epoch}:%{version}-%{release}
373 %description -n QtSql-odbc
374 This package contains a plugin for accessing unixODBC services via the
377 %description -n QtSql-odbc -l pl
378 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
379 unixODBC poprzez klasy QSql.
381 %description -n QtSql-odbc -l pt_BR
382 Plugin de suporte a ODBC para Qt.
384 %package -n QtSql-pgsql
385 Summary: Database plugin for PostgreSQL Qt support
386 Summary(pl): Wtyczka PostgreSQL do Qt
387 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
389 Requires: QtSql = %{epoch}:%{version}-%{release}
390 Provides: QtSql-backend = %{epoch}:%{version}-%{release}
392 %description -n QtSql-pgsql
393 This package contains a plugin for accessing PostgreSQL database via
396 %description -n QtSql-pgsql -l pl
397 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
398 danych PostgreSQL poprzez klasy QSql.
400 %description -n QtSql-pgsql -l es
401 Plugin de suporte a PostgreSQL para Qt.
403 %package -n QtSql-sqlite
404 Summary: Database plugin for SQLite 2.x Qt support
405 Summary(pl): Wtyczka SQLite 2.x do Qt
406 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
408 Requires: QtSql = %{epoch}:%{version}-%{release}
409 Provides: QtSql-backend = %{epoch}:%{version}-%{release}
411 %description -n QtSql-sqlite
412 This package contains a plugin for using the SQLite 2.x library (which
413 allows to acces virtually any SQL database) via the QSql classes.
415 %description -n QtSql-sqlite -l pl
416 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
417 danych SQLite 2.x poprzez klasy QSql.
419 %description -n QtSql-sqlite -l pt_BR
420 Plugin de suporte a SQLite 2.x para Qt.
422 %package -n QtSql-sqlite3
423 Summary: Database plugin for SQLite3 Qt support
424 Summary(pl): Wtyczka SQLite3 do Qt
425 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
427 Requires: QtSql = %{epoch}:%{version}-%{release}
428 Provides: QtSql-backend = %{epoch}:%{version}-%{release}
430 %description -n QtSql-sqlite3
431 This package contains a plugin for using the SQLite3 library (which
432 allows to acces virtually any SQL database) via the QSql classes.
434 %description -n QtSql-sqlite3 -l pl
435 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
436 danych SQLite3 poprzez klasy QSql.
438 %description -n QtSql-sqlite3 -l pt_BR
439 Plugin de suporte a SQLite3 para Qt.
443 Summary(pl): Wsparcie dla SVG
445 Requires: QtCore = %{epoch}:%{version}-%{release}
447 %description -n QtSvg
450 %description -n QtSvg -l pl
453 %package -n QtSvg-devel
454 Summary: SVG support - development files
455 Summary(pl): Wsparcie dla SVG - pliki programistyczne
456 Group: X11/Development/Libraries
457 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
458 Requires: QtSvg = %{epoch}:%{version}-%{release}
460 %description -n QtSvg-devel
461 SVG support - development files.
463 %description -n QtSvg-devel -l pl
464 Wsparcie dla SVG - pliki programistyczne.
466 %package -n QtSvg-static
467 Summary: SVG support - static libraries
468 Summary(pl): Wsparcie dla SVG - biblioteki statyczne
469 Group: X11/Development/Libraries
470 Requires: QtSvg-devel = %{epoch}:%{version}-%{release}
472 %description -n QtSvg-static
473 SVG support - static libraries.
475 %description -n QtSvg-static -l pl
476 Wsparcie dla SVG - biblioteki statyczne.
479 Summary: Test framework
480 Summary(pl): Szkielet testów
482 Requires: QtCore = %{epoch}:%{version}-%{release}
484 %description -n QtTest
487 %description -n QtTest -l pl
490 %package -n QtTest-devel
491 Summary: Test framework - development files
492 Summary(pl): Szkielet testów - pliki programistyczne
493 Group: X11/Development/Libraries
494 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
495 Requires: QtTest = %{epoch}:%{version}-%{release}
497 %description -n QtTest-devel
498 Test framework - development files.
500 %description -n QtTest-devel -l pl
501 Szkielet testów - pliki programistyczne.
504 Summary: Classes for handling XML
505 Summary(pl): Klasy do obs³ugi XML-a
507 Requires: QtCore = %{epoch}:%{version}-%{release}
509 %description -n QtXml
510 Classes for handling XML.
512 %description -n QtXml -l pl
513 Klasy do obs³ugi XML-a.
515 %package -n QtXml-devel
516 Summary: Classes for handling XML - development files
517 Summary(pl): Klasy do obs³ugi XML-a - pliki programistyczne
518 Group: X11/Development/Libraries
519 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
520 Requires: QtXml = %{epoch}:%{version}-%{release}
522 %description -n QtXml-devel
523 Classes for handling XML - development files.
525 %description -n QtXml-devel -l pl
526 Klasy do obs³ugi XML-a - pliki programistyczne.
528 %package -n QtXml-static
529 Summary: Classes for handling XML - static libraries
530 Summary(pl): Klasy do obs³ugi XML-a - biblioteki statyczne
531 Group: X11/Development/Libraries
532 Requires: QtXml-devel = %{epoch}:%{version}-%{release}
534 %description -n QtXml-static
535 Classes for handling XML - static libraries.
537 %description -n QtXml-static -l pl
538 Klasy do obs³ugi XML-a - biblioteki statyczne.
540 %package -n Qt3Support
541 Summary: Qt3 compatibility library
542 Summary(pl): Biblioteka kompatybilno¶ci z Qt3
544 Requires: QtCore = %{epoch}:%{version}-%{release}
546 %description -n Qt3Support
547 Qt3 compatibility library.
549 %description -n Qt3Support -l pl
550 Biblioteka kompatybilno¶ci z Qt3.
552 %package -n Qt3Support-devel
553 Summary: Qt3 compatibility library - development files
554 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
555 Group: X11/Development/Libraries
556 Requires: Qt3Support = %{epoch}:%{version}-%{release}
557 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
559 %description -n Qt3Support-devel
560 Qt3 compatibility library - development files.
562 %description -n Qt3Support-devel -l pl
563 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
565 %package -n Qt3Support-static
566 Summary: Qt3 compatibility library - static libraries
567 Summary(pl): Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
568 Group: X11/Development/Libraries
569 Requires: Qt3Support-devel = %{epoch}:%{version}-%{release}
571 %description -n Qt3Support-static
572 Qt3 compatibility library - static libraries.
574 %description -n Qt3Support-static -l pl
575 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
578 Summary: Qt documentation browser
579 Summary(pl): Przegl±darka dokumentacji Qt
580 Group: X11/Development/Tools
581 Requires: %{name}-doc
583 %description assistant
584 Qt Assistant is a tool for browsing on-line documentation with
585 indexing, bookmarks and full-text search.
587 %description assistant -l pl
588 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
589 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
592 Summary: Build tools for Qt4
593 Summary(pl): Narzêdzia do budowania dla Qt4
594 Group: X11/Development/Tools
595 Requires: QtCore = %{epoch}:%{version}-%{release}
596 Requires: QtXml = %{epoch}:%{version}-%{release}
599 This package includes the Qt resource compiler (rcc), meta objects
600 compiler (moc), user interface compiler (uic) and qt3to4 include names
603 %description build -l pl
604 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
605 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
606 konwerter nazw plików nag³ówkowych qt3to4.
609 Summary: IDE used for GUI designing with Qt library
610 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
611 Group: X11/Applications
612 Requires: %{name}-designer-libs = %{epoch}:%{version}-%{release}
614 %description designer
615 An advanced tool used for GUI designing with Qt library.
617 %description designer -l pl
618 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
619 za pomoc± biblioteki Qt.
621 %package -n QtDesigner-devel
622 Summary: IDE used for GUI designing with Qt library - development files
623 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki programistyczne
624 Group: X11/Development/Libraries
625 Requires: %{name}-designer-libs = %{epoch}:%{version}-%{release}
626 Requires: QtCore-devel = %{epoch}:%{version}-%{release}
628 %description -n QtDesigner-devel
629 IDE used for GUI designing with Qt library - development files.
631 %description -n QtDesigner-devel -l pl
632 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki
635 %package -n QtDesigner-static
636 Summary: IDE used for GUI designing with Qt library - static libraries
637 Summary(pl): IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki statyczne
638 Group: X11/Development/Libraries
639 Requires: QtDesigner-devel = %{epoch}:%{version}-%{release}
641 %description -n QtDesigner-static
642 IDE used for GUI designing with Qt library - static libraries.
644 %description -n QtDesigner-static -l pl
645 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki
648 %package designer-libs
649 Summary: Libraries IDE used for GUI designing with Qt library
650 Summary(pl): Biblioteki do IDE s³u¿±cego do projektowania GUI za pomoc± biblioteki Qt
651 Group: X11/Applications
653 %description designer-libs
654 Libraries used by the Qt GUI Designer.
656 %description designer-libs -l pl
657 Biblioteki wykorzystywane przez narzêdzie projektowania interfejsu
658 graficznego - Qt Designer.
661 Summary: Translation helper for Qt
662 Summary(pl): Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
663 Group: X11/Development/Tools
665 %description linguist
666 This program provides an interface that shortens and helps systematize
667 the process of translating GUIs. Qt Linguist takes all of the text of
668 a UI that will be shown to the user, and presents it to a human
669 translator in a simple window. When one UI text is translated, the
670 program automatically progresses to the next, until they are all
673 %description linguist -l pl
674 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
675 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
676 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
677 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
678 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
680 %package -n qt4-qmake
681 Summary: Qt makefile generator
682 Summary(pl): Generator plików makefile dla aplikacji Qt
683 Group: X11/Development/Tools
685 %description -n qt4-qmake
686 A powerful makefile generator. It can create makefiles on any platform
687 from a simple .pro definitions file.
689 %description -n qt4-qmake -l pl
690 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
691 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
694 Summary: Qt widgets configuration tool
695 Summary(pl): Narzêdzie do konfigurowania widgetów Qt
696 Group: X11/Applications
698 %description -n qtconfig
699 A tool for configuring look and behavior of Qt widgets.
701 %description -n qtconfig -l pl
702 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
705 Summary: Qt Virtual framebuffer
706 Summary(pl): Wirtualny framebuffer dla Qt
707 Group: X11/Development/Libraries
710 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
713 %description -n qvfb -l pl
714 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
718 Summary: Demos of new Qt4 features
719 Summary(pl): Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
720 Group: X11/Development/Libraries
721 Requires: QtCore = %{epoch}:%{version}-%{release}
722 Requires: QtXml = %{epoch}:%{version}-%{release}
725 Demos are spiders that fly.
727 %description demos -l pl
728 Dema to lataj±ce paj±ki.
731 Summary: Qt Documentation in HTML format
732 Summary(pl): Dokumentacja Qt w formacie HTML
733 Group: X11/Development/Libraries
736 Qt documentation in HTML format.
738 %description doc -l pl
739 Dokumentacja qt w formacie HTML.
742 Summary: Qt man pages
743 Summary(pl): Qt - strony man
744 Group: X11/Development/Libraries
747 Qt documentation in man pages format.
749 %description man -l pl
750 Dokumentacja Qt w formacie stron man.
753 Summary: Example programs bundled with Qt
754 Summary(pl): Æwiczenia i przyk³ady do Qt
755 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
756 Group: X11/Development/Libraries
757 # no it does not , we cant be sure the user wants to compile them right?
758 # he might just want to take a look, anwyay no single devel package now
759 #Requires: %{name}-devel = %{epoch}:%{version}-%{release}
761 %description examples
762 Example programs bundled with Qt version.
764 %description examples -l pl
765 Æwiczenia/przyk³ady do³±czone do Qt.
767 %description examples -l pt_BR
768 Programas exemplo para o Qt versão.
771 %setup -q -n qt-x11-opensource-src-%{version}
773 %if %{with dont_enable}
784 # change QMAKE_CFLAGS_RELEASE to build
785 # properly optimized libs
786 plik="mkspecs/linux-g++/qmake.conf"
789 s|QMAKE_CC.*=.*gcc|QMAKE_CC = %{__cc}|;
790 s|QMAKE_CXX.*=.*g\+\+|QMAKE_CXX = %{__cxx}|;
791 s|QMAKE_LINK.*=.*g\+\+|QMAKE_LINK = %{__cxx}|;
792 s|QMAKE_LINK_SHLIB.*=.*g\+\+|QMAKE_LINK_SHLIB = %{__cxx}|;
793 s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|;
794 s|/usr/lib|%{_libdir}|;
795 s|\\(QTDIR\\)/lib|\\(QTDIR\\)/%{_lib}|;
799 |grep -v QMAKE_CFLAGS_RELEASE \
800 |grep -v QMAKE_CXXFLAGS_RELEASE \
801 |grep -v QMAKE_CFLAGS_DEBUG \
802 |grep -v QMAKE_CXXFLAGS_DEBUG \
807 echo -e "QMAKE_CFLAGS_RELEASE\t=\t%{rpmcflags}" >> $plik
808 echo -e "QMAKE_CXXFLAGS_RELEASE\t=\t%{rpmcxxflags}" >> $plik
809 echo -e "QMAKE_CFLAGS_DEBUG\t=\t%{debugcflags}" >> $plik
810 echo -e "QMAKE_CXXFLAGS_DEBUG\t=\t%{debugcflags}" >> $plik
815 if test -n "$LD_LIBRARY_PATH"; then
816 LD_LIBRARY_PATH=$QTDIR/%{_lib}:$LD_LIBRARY_PATH
818 LD_LIBRARY_PATH=$QTDIR/lib
821 if [ "%{_lib}" != "lib" ] ; then
825 # pass OPTFLAGS to build qmake itself with optimization
826 OPTFLAGS="%{rpmcflags}"
827 PATH=$QTDIR/bin:$PATH
828 QMAKESPEC=$QTDIR/mkspecs/linux-g++
831 export QTDIR YACC PATH LD_LIBRARY_PATH QMAKESPEC OPTFLAGS
833 ##################################
834 # DEFAULT OPTIONS FOR ALL BUILDS #
835 ##################################
838 -DQT_CLEAN_NAMESPACE \
841 -docdir %{_docdir}/%{name}-doc \
842 -headerdir %{_includedir}/qt4 \
846 -plugindir %{_libdir}/qt4/plugins \
847 -datadir %{_datadir}/qt4 \
848 -translationdir %{_datadir}/locale/ \
849 -sysconfdir %{_sysconfdir}/qt4 \
850 -examplesdir %{_examplesdir}/qt4 \
851 -demosdir %{_examplesdir}/qt4-demos \
853 -%{!?with_pch:no-}pch \
854 -%{!?with_sse:no-}sse \
860 -I%{_includedir}/postgresql/server \
861 -I%{_includedir}/mysql \
862 %{?with_cups:-cups} \
863 %{?with_nas:-system-nas-sound} \
875 ##################################
876 # STATIC MULTI-THREAD #
877 ##################################
879 %if %{with static_libs}
881 %{?with_mysql:-qt-sql-mysql} \
882 %{?with_odbc:-qt-sql-odbc} \
883 %{?with_pgsql:-qt-sql-psql} \
884 %{?with_sqlite3:-qt-sql-sqlite} \
885 %{?with_sqlite:-qt-sql-sqlite2} \
886 %{?with_ibase:-qt-sql-ibase} \
889 echo "yes" | ./configure $COMMONOPT $OPT
894 if [ ! -d staticlib ]; then
896 cp -a lib/*.a staticlib
900 ##################################
901 # SHARED MULTI-THREAD #
902 ##################################
905 %{?with_mysql:-plugin-sql-mysql} \
906 %{?with_odbc:-plugin-sql-odbc} \
907 %{?with_pgsql:-plugin-sql-psql} \
908 %{?with_sqlite3:-plugin-sql-sqlite} \
909 %{?with_sqlite:-plugin-sql-sqlite2} \
910 %{?with_ibase:-plugin-sql-ibase}"
912 echo "yes" | ./configure $COMMONOPT $OPT
916 sub-tools-all-ordered \
917 sub-demos-all-ordered \
918 sub-examples-all-ordered
920 %{?with_ibase: %{__make} -C src/plugins/sqldrivers/ibase}
921 %{?with_mysql: %{__make} -C src/plugins/sqldrivers/mysql}
922 %{?with_odbc: %{__make} -C src/plugins/sqldrivers/odbc}
923 %{?with_pgsql: %{__make} -C src/plugins/sqldrivers/psql}
924 %{?with_sqlite: %{__make} -C src/plugins/sqldrivers/sqlite2}
925 %{?with_sqlite3: %{__make} -C src/plugins/sqldrivers/sqlite}
927 %if %{with dont_enable}
929 cd tools/designer/designer
930 lrelease designer_de.ts
931 lrelease designer_fr.ts
933 cd $QTDIR/tools/assistant
934 lrelease assistant_de.ts
935 lrelease assistant_fr.ts
936 cd $QTDIR/tools/linguist/linguist
937 lrelease linguist_de.ts
938 lrelease linguist_fr.ts
943 rm -rf $RPM_BUILD_ROOT
944 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
950 INSTALL_ROOT=$RPM_BUILD_ROOT
953 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
954 $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/{crypto,network}
956 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/sqldrivers
957 install bin/findtr tools/qvfb/qvfb $RPM_BUILD_ROOT%{_bindir}
959 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
960 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
962 install tools/qtconfig/images/appicon.png \
963 $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig.png
965 install tools/linguist/linguist/images/appicon.png \
966 $RPM_BUILD_ROOT%{_pixmapsdir}/linguist.png
968 install tools/assistant/images/assistant.png \
969 $RPM_BUILD_ROOT%{_pixmapsdir}/assistant.png
972 install tools/designer/src/designer/images/designer.png \
973 $RPM_BUILD_ROOT%{_pixmapsdir}/designer.png
976 %if %{with static_libs}
977 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
981 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer.desktop
982 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
985 %if %{with dont_enable}
986 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,de,fr,ru,he,cs,sk}/LC_MESSAGES
987 install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
988 install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
989 install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
990 install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
991 install translations/qt_iw.qm $RPM_BUILD_ROOT%{_datadir}/locale/he/LC_MESSAGES/qt.qm
992 install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
993 install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
996 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
997 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1000 install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1001 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1003 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1004 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1007 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
1008 for f in ../Qt{3Support,Core,Gui,Network,OpenGL,Sql,Svg,Test,Xml,Designer}/*
1010 if [ ! -d $f ]; then
1011 ln -sf $f `basename $f`
1014 ln -sf ../../QtCore/arch/qatomic.h arch/qatomic.h
1017 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1018 for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do
1019 HAVEDEBUG=`echo $f | grep _debug | wc -l`
1020 MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1`
1021 MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::`
1024 if [ "$MODULE2" == "3SUPPORT" ]; then
1025 DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB"
1027 DEFS="$DEFS -DQT_"$MODULE2"_LIB"
1029 [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG"
1031 sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" \
1032 -e "s,-L$QTDIR/%{_lib},,g" $f
1035 # Prepare some files list
1037 RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1038 [ "$RESULT" == "" ] && return
1039 r=`echo $RESULT | awk '{ print $1 }'`
1041 if [ -d "$r" ]; then
1042 echo "%%dir $2" >> $1.files
1043 elif [ -x "$r" ] ; then
1044 echo "%%attr(755,root,root) $2" >> $1.files
1045 elif [ -f "$r" ]; then
1046 echo "$2" >> $1.files
1048 echo "Error generation devel files list!"
1049 echo "$r: no such file or direcotry!"
1056 echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1057 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1058 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1059 ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1060 ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1061 if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then
1062 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE
1064 for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1066 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1067 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1069 for f in $@; do ifecho $MODULE-devel $f; done
1072 mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt \
1073 %{_libdir}/libQtAssistantClient.prl
1082 mkdevfl QtDesigner || /bin/true # there is no libQtDesigner.la file :/
1084 echo "%defattr(644,root,root,755)" > examples.files
1085 ifecho examples %{_examplesdir}/qt4
1086 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1088 ifecho examples %{_examplesdir}/qt4/$f
1091 echo "%defattr(644,root,root,755)" > demos.files
1092 ifecho demos "%{_examplesdir}/qt4-demos"
1093 ifecho demos "%{_bindir}/qtdemo"
1094 ifecho demos "%{_libdir}/qt4/plugins/arthurplugin/libarthurplugin.so"
1095 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1097 ifecho demos %{_examplesdir}/qt4-demos/$f
1101 rm -rf $RPM_BUILD_ROOT
1106 *******************************************************
1109 * With qt 4.0.0 the single threaded version was *
1110 * removed. Also the library is modular now so be *
1111 * sure to check that you have every module you need. *
1113 *******************************************************
1115 %postun -n QtCore -p /sbin/ldconfig
1117 %post -n QtGui -p /sbin/ldconfig
1118 %postun -n QtGui -p /sbin/ldconfig
1120 %post -n QtNetwork -p /sbin/ldconfig
1121 %postun -n QtNetwork -p /sbin/ldconfig
1123 %post -n QtOpenGL -p /sbin/ldconfig
1124 %postun -n QtOpenGL -p /sbin/ldconfig
1126 %post -n QtSql -p /sbin/ldconfig
1127 %postun -n QtSql -p /sbin/ldconfig
1129 %post -n QtSvg -p /sbin/ldconfig
1130 %postun -n QtSvg -p /sbin/ldconfig
1132 %post -n QtTest -p /sbin/ldconfig
1133 %postun -n QtTest -p /sbin/ldconfig
1135 %post -n QtXml -p /sbin/ldconfig
1136 %postun -n QtXml -p /sbin/ldconfig
1138 %post -n Qt3Support -p /sbin/ldconfig
1139 %postun -n Qt3Support -p /sbin/ldconfig
1141 %post assistant -p /sbin/ldconfig
1142 %postun assistant -p /sbin/ldconfig
1144 %post designer-libs -p /sbin/ldconfig
1145 %postun designer-libs -p /sbin/ldconfig
1148 %defattr(644,root,root,755)
1149 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size)
1150 %attr(755,root,root) %{_libdir}/libQtCore*.so.*
1152 %dir %{_libdir}/qt4/plugins
1153 %dir %{_libdir}/qt4/plugins/accessible
1154 %dir %{_libdir}/qt4/plugins/codecs
1155 %dir %{_libdir}/qt4/plugins/crypto
1156 %dir %{_libdir}/qt4/plugins/imageformats
1157 %dir %{_libdir}/qt4/plugins/network
1158 %dir %{_libdir}/qt4/plugins/sqldrivers
1159 %dir %{_datadir}/qt4
1160 %{_datadir}/locale/qt_*.qm
1163 %defattr(644,root,root,755)
1164 %attr(755,root,root) %{_libdir}/libQtGui*.so.*
1165 %{_libdir}/qt4/plugins/accessible/*
1166 %{_libdir}/qt4/plugins/codecs/*
1167 %{_libdir}/qt4/plugins/imageformats/*
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/libQtNetwork*.so.*
1174 %defattr(644,root,root,755)
1175 %attr(755,root,root) %{_libdir}/libQtOpenGL*.so.*
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/libQtSql*.so.*
1182 %files -n QtSql-mysql
1183 %defattr(644,root,root,755)
1184 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlmysql*.so
1188 %files -n QtSql-pgsql
1189 %defattr(644,root,root,755)
1190 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlpsql*.so
1194 %files -n QtSql-sqlite
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1200 %files -n QtSql-sqlite3
1201 %defattr(644,root,root,755)
1202 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite*.so
1203 %exclude %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1207 %files -n QtSql-ibase
1208 %defattr(644,root,root,755)
1209 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlibase*.so
1213 %files -n QtSql-odbc
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlodbc*.so
1219 %defattr(644,root,root,755)
1220 %attr(755,root,root) %{_libdir}/libQtSvg*.so.*
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_libdir}/libQtTest*.so.*
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/libQtXml*.so.*
1230 %files -n Qt3Support
1231 %defattr(644,root,root,755)
1232 %attr(755,root,root) %{_bindir}/uic3
1233 %attr(755,root,root) %{_libdir}/libQt3Support*.so.*
1236 %defattr(644,root,root,755)
1237 %attr(755,root,root) %{_bindir}/assistant
1238 %attr(755,root,root) %{_libdir}/libQtAssistantClient*.so*
1239 #%lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1240 #%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1241 %{_desktopdir}/assistant.desktop
1242 %{_pixmapsdir}/assistant.png
1245 %defattr(644,root,root,755)
1246 %attr(755,root,root) %{_bindir}/rcc
1247 %attr(755,root,root) %{_bindir}/moc
1248 %attr(755,root,root) %{_bindir}/qt3to4
1249 %attr(755,root,root) %{_bindir}/uic
1250 %{_datadir}/qt4/q3porting.xml
1252 %if %{with designer}
1253 %files designer-libs
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*.*
1256 %dir %{_libdir}/qt4/plugins/designer
1257 %attr(755,root,root) %{_libdir}/qt4/plugins/designer/*.so
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_bindir}/designer
1262 #%dir %{_libdir}/%{name}/plugins-?t/designer
1263 #%lang(de) %{_datadir}/locale/de/LC_MESSAGES/designer.qm
1264 #%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1265 %{_desktopdir}/designer.desktop
1266 %{_pixmapsdir}/designer.png
1270 %defattr(644,root,root,755)
1271 %attr(755,root,root) %{_bindir}/linguist
1272 %attr(755,root,root) %{_bindir}/findtr
1273 %attr(755,root,root) %{_bindir}/lrelease
1274 %attr(755,root,root) %{_bindir}/lupdate
1275 %attr(755,root,root) %{_bindir}/qm2ts
1276 #%lang(de) %{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1277 #%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1278 #%{_mandir}/man1/qm2ts.1*
1279 #%{_mandir}/man1/lupdate*.1*
1280 #%{_mandir}/man1/lrelease*.1*
1281 %{_datadir}/qt4/phrasebooks
1282 %{_desktopdir}/linguist.desktop
1283 %{_pixmapsdir}/linguist.png
1286 %defattr(644,root,root,755)
1287 %attr(755,root,root) %{_bindir}/qmake
1288 %{_datadir}/qt4/mkspecs
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_bindir}/qtconfig
1293 %{_desktopdir}/qtconfig.desktop
1294 %{_pixmapsdir}/qtconfig.png
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_bindir}/qvfb
1301 %defattr(644,root,root,755)
1302 %{_docdir}/%{name}-doc
1304 %files -n QtCore-devel -f QtCore-devel.files
1305 %files -n QtDesigner-devel -f QtDesigner-devel.files
1306 %files -n QtGui-devel -f QtGui-devel.files
1307 %files -n QtNetwork-devel -f QtNetwork-devel.files
1308 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1309 %files -n QtSql-devel -f QtSql-devel.files
1310 %files -n QtSvg-devel -f QtSvg-devel.files
1311 %files -n QtTest-devel -f QtTest-devel.files
1312 %files -n QtXml-devel -f QtXml-devel.files
1313 %files -n Qt3Support-devel -f Qt3Support-devel.files
1315 %if %{with static_libs}
1316 %files -n QtCore-static
1317 %defattr(644,root,root,755)
1318 %{_libdir}/libQtCore*.a
1320 %files -n QtGui-static
1321 %defattr(644,root,root,755)
1322 %{_libdir}/libQtGui*.a
1324 %files -n QtNetwork-static
1325 %defattr(644,root,root,755)
1326 %{_libdir}/libQtNetwork*.a
1328 %files -n QtOpenGL-static
1329 %defattr(644,root,root,755)
1330 %{_libdir}/libQtOpenGL*.a
1332 %files -n QtSql-static
1333 %defattr(644,root,root,755)
1334 %{_libdir}/libQtSql*.a
1336 %files -n QtSvg-static
1337 %defattr(644,root,root,755)
1338 %{_libdir}/libQtSvg*.a
1340 %files -n QtXml-static
1341 %defattr(644,root,root,755)
1342 %{_libdir}/libQtXml*.a
1344 %files -n Qt3Support-static
1345 %defattr(644,root,root,755)
1346 %{_libdir}/libQt3Support*.a
1350 %files demos -f demos.files
1351 %files examples -f examples.files