1 # TODO: use system sqlite
4 %bcond_with dlopen_gl # dlopen libGL.so and libXmu.so instead of direct linking (NOTE: should dlopen by soname, not *.so like it does now!)
5 %bcond_with nas # enable NAS audio support
6 %bcond_with single # enable single-threaded libraries
7 %bcond_without static_libs # don't build static libraries
8 %bcond_without cups # disable CUPS support
9 %bcond_without mysql # don't build MySQL plugin
10 %bcond_without odbc # don't build unixODBC plugin
11 %bcond_without pgsql # don't build PostgreSQL plugin
12 %bcond_without designer # don't build designer (it takes long)
13 %bcond_without sqlite # don't build SQLite plugin
14 %bcond_without ibase # don't build ibase (InterBase/Firebird) plugin
15 %bcond_without pch # don't enable pch in qmake
17 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha ppc
21 %{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine with_sql}}}}}
25 Summary: The Qt3 GUI application framework
26 Summary(es.UTF-8): Biblioteca para ejecutar aplicaciones GUI Qt
27 Summary(pl.UTF-8): Biblioteka Qt3 do tworzenia GUI
28 Summary(pt_BR.UTF-8): Estrutura para rodar aplicações GUI Qt
33 License: QPL v1, GPL v2 or GPL v3
35 Source0: http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/qt3-%{version}.tar.gz
36 # Source0-md5: 78dc675e84aed595375449818cbb589a
37 Source1: %{name}config.desktop
38 Source2: designer.desktop
39 Source3: assistant.desktop
40 Source4: linguist.desktop
42 Source6: assistant.png
44 # generated using notes from kdebase-SuSE/qtkdeintegration/README
45 Source8: qtkdeintegration_x11.cpp
46 Source9: qtkdeintegration_x11_p.h
47 Patch1: %{name}-FHS.patch
48 Patch2: %{name}-qmake-nostatic.patch
49 Patch3: %{name}-disable_tutorials.patch
50 Patch4: %{name}-locale.patch
51 Patch5: %{name}-make_use_of_locale.patch
52 Patch6: %{name}-qmake-opt.patch
53 Patch7: %{name}-locale-charmap.patch
54 Patch8: %{name}-gcc34.patch
55 Patch9: %{name}-support-cflags-with-commas.patch
57 Patch10: %{name}-antialias.patch
58 Patch11: %{name}-x11-free-quiet.patch
59 Patch12: %{name}-fvisibility.patch
60 Patch13: qt-buildkey-fixed.patch
61 Patch14: %{name}-odbc.patch
62 Patch15: qt-3.3.8.d-libpng15-1.patch
64 Patch17: %{name}-psql.patch
65 URL: http://www.trolltech.com/products/qt/
66 %{?with_ibase:BuildRequires: Firebird-devel >= 1.5.0}
67 BuildRequires: OpenGL-GLU-devel
68 %{?with_cups:BuildRequires: cups-devel}
70 BuildRequires: freetype-devel >= 2.0.9
71 %{?with_pch:BuildRequires: gcc >= 5:3.4.0}
72 BuildRequires: giflib-devel
73 BuildRequires: libjpeg-devel
74 BuildRequires: libmng-devel >= 1.0.0
75 BuildRequires: libpng-devel >= 2:1.0.8
76 BuildRequires: libstdc++-devel
77 BuildRequires: libtirpc-devel
78 %{?with_mysql:BuildRequires: mysql-devel}
79 %{?with_nas:BuildRequires: nas-devel}
80 BuildRequires: perl-base
81 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
82 %{?with_pgsql:BuildRequires: postgresql-devel}
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: xorg-lib-libSM-devel
88 BuildRequires: xorg-lib-libXcursor-devel
89 BuildRequires: xorg-lib-libXext-devel
90 BuildRequires: xorg-lib-libXft-devel
91 BuildRequires: xorg-lib-libXinerama-devel
92 BuildRequires: xorg-lib-libXmu-devel
93 BuildRequires: xorg-lib-libXrandr-devel
94 BuildRequires: xorg-lib-libXrender-devel
95 BuildRequires: zlib-devel
96 Requires: freetype >= 2.0.9
97 Requires: libmng >= 1.0.0
98 Obsoletes: qt-extensions < 1:3
99 Obsoletes: qt-utils < 6:3.3.3
100 Conflicts: kdelibs <= 8:3.2-0.030602.1
101 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
103 %define Werror_cflags %{nil}
105 %define specflags -fno-strict-aliasing
107 # <begin main library description>
110 Qt is a complete C++ application development framework, which includes
111 a class library and tools for multiplatform development and
112 internationalization. Using Qt, a single source code tree can build
113 applications that run natively on different platforms (Windows,
114 Unix/Linux, Mac OS X, embedded Linux).
116 Qt has a rich set of standard widgets, and lets you write custom
117 controls. It encapsulates four different platform-specific APIs, and
118 the APIs for file-handling, networking, process-handling, threading,
119 database access, etc. Qt now also has Motif migration support and
120 Netscape LiveConnect plugin.
122 This package contains the shared, multi-threaded, Linux version of the
123 Qt library, the style plugins and translation files for Qt. Please
124 install qt-st if you need the single-threaded version of this library
125 (which isn't usually necessary).
127 %description -l es.UTF-8
128 Qt es un completo framework de desarrollo de aplicaciones en C++, el
129 que incluye una biblioteca de clases y unas herramientas para el
130 desarrollo multiplataforma e internacionalizado. Usando Qt, un
131 genérico árbol de código fuente se puede usar para construir
132 aplicaciones que puedan ejecutarse nativamente en varias plataformas
133 (Windows, Unix/Linux, Mac OS X, Linux embebido).
135 Qt provee un rico conjunto de componentes estándares y le permite
136 escribir unos propios. Encapsula cuatro APIs diferentes dependientes
137 de la plataforma y también APIs para el manejo de ficheros, la red, el
138 manejo de los procesos e hilos, acceso a bases de datos, etc. También
139 está incluido soporte de migración de Motif y un plugin para Netscape
142 Este paquete contiene la versión compartida multi-hilvanada de la
143 biblioteca Qt, los plugin de estilo y ficheros de traducción para Qt.
144 Instálese qt-st si necesita la versión mono-hilvanada de esta
145 biblioteca (lo cual normalmente no es necesario).
147 %description -l pl.UTF-8
148 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
149 języku C++, w którego skład wchodzi biblioteka z klasami oraz
150 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
151 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
152 różnych platformach (Windows, Unix/Linux, Mac OS X).
154 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
155 pozwala również na pisanie własnych elementów. Łączy w sposób
156 niewidoczny dla programisty interfejsy programowania różnych systemów,
157 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
158 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
159 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
160 wykorzystaniem Netscape LiveConnect.
162 Ten pakiet zawiera współdzieloną, wielowątkową, linuksową wersję
163 biblioteki Qt, wtyczki ze stylami oraz pliki tłumaczeń Qt. Zainstaluj
164 qt-st jeśli potrzebujesz wersji jednowątkowej tej biblioteki (co
165 zwykle nie jest konieczne).
167 %description -l pt_BR.UTF-8
168 Contém as bibliotecas compartilhadas necessárias para rodar aplicações
169 Qt, bem como os arquivos README.
172 Summary: Development files for the Qt GUI toolkit
173 Summary(es.UTF-8): Archivos de inclusión necesaria para compilar aplicaciones Qt
174 Summary(pl.UTF-8): Pliki nagłówkowe, przykłady i dokumentacja do biblioteki
175 Summary(pt_BR.UTF-8): Arquivos de inclusão necessária para compilar aplicações Qt
176 Group: X11/Development/Libraries
177 Requires: %{name} = %{epoch}:%{version}-%{release}
178 %{!?with_dlopen_gl:Requires: OpenGL-devel}
179 Requires: freetype-devel >= 2.0.9
180 Requires: libjpeg-devel
181 Requires: libmng-devel >= 1.0.0
182 Requires: libpng-devel
183 Requires: libstdc++-devel
184 Requires: xorg-lib-libSM-devel
185 Requires: xorg-lib-libXcursor-devel
186 Requires: xorg-lib-libXext-devel
187 Requires: xorg-lib-libXft-devel
188 Requires: xorg-lib-libXinerama-devel
189 Requires: xorg-lib-libXmu-devel
190 Requires: xorg-lib-libXrandr-devel
191 Requires: xorg-lib-libXrender-devel
196 This package contains the Qt development tools: the metaobjects
197 compiler (moc) and the user interface compiler (uic); Qt include
198 files, pkgconfig helpers and tools for preserving compatibility
199 between versions of Qt.
201 %description devel -l pl.UTF-8
202 Ten pakiet zawiera narzędzia programistyczne Qt: kompilator
203 metaobiektów (moc), kompilator interfejsu użytkownika (uic); pliki
204 nagłówkowe, wsparcie dla pkgconfig oraz narzędzia ułatwiające
205 zachowanie kompatybilności niezależnie od wersji Qt.
208 Summary: Qt static library
209 Summary(pl.UTF-8): Biblioteka statyczna Qt
210 Group: X11/Development/Libraries
211 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
214 Qt is a complete C++ application development framework, which includes
215 a class library and tools for multiplatform development and
216 internationalization. Using Qt, a single source code tree can build
217 applications that run natively on different platforms (Windows,
218 Unix/Linux, Mac OS X, embedded Linux).
220 Qt has a rich set of standard widgets, and lets you write custom
221 controls. It encapsulates four different platform-specific APIs, and
222 the APIs for file-handling, networking, process-handling, threading,
223 database access, etc. Qt now also has Motif migration oraz Netscape
226 This package contains the static, multi-threaded, linux version of the
229 %description static -l pl.UTF-8
230 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
231 języku C++, w którego skład wchodzi biblioteka z klasami oraz
232 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
233 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
234 różnych platformach (Windows, Unix/Linux, Mac OS X).
236 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
237 pozwala również na pisanie własnych elementów. Łączy w sposób
238 niewidoczny dla programisty interfejsy programowania różnych systemów,
239 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
240 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
241 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
242 wykorzystaniem Netscape LiveConnect.
244 Ten pakiet zawiera statyczną, wielowątkową, linuksową wersję
248 Summary: Qt Documentation in HTML format
249 Summary(pl.UTF-8): Dokumentacja Qt w formacie HTML
250 Group: X11/Development/Libraries
251 Obsoletes: qt-doc-html < 6:3.2.1
254 Qt documentation in HTML format.
256 %description doc -l pl.UTF-8
257 Dokumentacja qt w formacie HTML.
260 Summary: Qt man pages
261 Summary(pl.UTF-8): Qt - strony man
262 Group: X11/Development/Libraries
263 Obsoletes: qt-doc-man < 6:3.1.2-5
266 Qt documentation in man pages format.
268 %description man -l pl.UTF-8
269 Dokumentacja Qt w formacie stron man.
272 Summary: Example programs bundled with Qt
273 Summary(pl.UTF-8): Ćwiczenia i przykłady do Qt
274 Summary(pt_BR.UTF-8): Programas exemplo desenvolvidos com o Qt
275 Group: X11/Development/Libraries
276 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
278 %description examples
279 Example programs bundled with Qt version.
281 %description examples -l pl.UTF-8
282 Ćwiczenia/przykłady dołączone do Qt.
284 %description examples -l pt_BR.UTF-8
285 Programas exemplo para o Qt versão.
287 # <end main library desc>
289 # <start multithreaded plugins desc>
291 %package plugin-ibase
292 Summary: Database plugin for InterBase/Firebird Qt support
293 Summary(pl.UTF-8): Wtyczka InterBase/Firebird do Qt
294 Summary(pt_BR.UTF-8): Plugin de suporte a InterBase/Firebird para Qt
296 Requires: %{name} = %{epoch}:%{version}-%{release}
297 Requires: Firebird-lib >= 1.5.0
298 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
300 %description plugin-ibase
301 This package contains a multi-thread enabled plugin for accessing
302 Interbase/Firebird database via the QSql classes.
304 %description plugin-ibase -l pl.UTF-8
305 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
306 korzystanie z baz danych Interbase/Firebird poprzez klasy QSql.
308 %description plugin-ibase -l pt_BR.UTF-8
309 Plugin de suporte a InterBase/Firebird para Qt.
311 %package plugin-mysql
312 Summary: Database plugin for MySQL Qt support
313 Summary(pl.UTF-8): Wtyczka MySQL do Qt
314 Summary(pt_BR.UTF-8): Plugin de suporte a MySQL para Qt
316 Requires: %{name} = %{epoch}:%{version}-%{release}
317 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
318 Obsoletes: qt-plugins-mysql < 6:3.2.1
320 %description plugin-mysql
321 This package contains a multi-thread enabled plugin for accessing
322 MySQL database via the QSql classes.
324 %description plugin-mysql -l pl.UTF-8
325 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
326 korzystanie z baz danych MySQL poprzez klasy QSql.
328 %description plugin-mysql -l pt_BR.UTF-8
329 Plugin de suporte a MySQL para Qt.
332 Summary: Database plugin for ODBC Qt support
333 Summary(pl.UTF-8): Wtyczka ODBC do Qt
334 Summary(pt_BR.UTF-8): Plugin de suporte a ODBC para Qt
336 Requires: %{name} = %{epoch}:%{version}-%{release}
337 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
338 Obsoletes: qt-plugins-odbc < 6:3.2.1
340 %description plugin-odbc
341 This package contains a multi-thread enabled plugin for accessing
342 unixODBC services via the QSql classes.
344 %description plugin-odbc -l pl.UTF-8
345 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
346 korzystanie z usług unixODBC poprzez klasy QSql.
348 %description plugin-odbc -l pt_BR.UTF-8
349 Plugin de suporte a ODBC para Qt.
352 Summary: Database plugin for PostgreSQL Qt support
353 Summary(pl.UTF-8): Wtyczka PostgreSQL do Qt
354 Summary(pt_BR.UTF-8): Plugin de suporte a PostgreSQL para Qt
356 Requires: %{name} = %{epoch}:%{version}-%{release}
357 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
358 Obsoletes: qt-plugins-psql < 6:3.2.1
360 %description plugin-psql
361 This package contains a multi-thread enabled plugin for accessing
362 PostgreSQL database via the QSql classes.
364 %description plugin-psql -l es.UTF-8
365 Plugin de suporte a PostgreSQL para Qt.
367 %description plugin-psql -l pl.UTF-8
368 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
369 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
371 %package plugin-sqlite
372 Summary: Database plugin for SQLite Qt support
373 Summary(pl.UTF-8): Wtyczka SQLite do Qt
374 Summary(pt_BR.UTF-8): Plugin de suporte a SQLite para Qt
376 Requires: %{name} = %{epoch}:%{version}-%{release}
377 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
379 %description plugin-sqlite
380 This package contains a multi-thread enabled plugin for using the
381 SQLite library (which allows to acces virtually any SQL database) via
384 %description plugin-sqlite -l pl.UTF-8
385 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
386 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
388 %description plugin-sqlite -l pt_BR.UTF-8
389 Plugin de suporte a SQLite para Qt.
391 # <end multithreaded plugins desc>
393 # <begin single threaded desc>
396 Summary: Single-threaded Qt library
397 Summary(pl.UTF-8): Jednowątkowa wersja biblioteki Qt
399 Requires: %{name} = %{epoch}:%{version}-%{release}
402 Qt is a complete C++ application development framework, which includes
403 a class library and tools for multiplatform development and
404 internationalization. Using Qt, a single source code tree can build
405 applications that run natively on different platforms (Windows,
406 Unix/Linux, Mac OS X, embedded Linux).
408 Qt has a rich set of standard widgets, and lets you write custom
409 controls. It encapsulates four different platform-specific APIs, and
410 the APIs for file-handling, networking, process-handling, threading,
411 database access, etc. Qt now also has Motif migration oraz Netscape
414 This package contains the shared, single-threaded, linux version of
415 the Qt library and single-threaded styles for Qt. This version is
416 deprecated, please do not install it unless you explicitly need to.
418 %description st -l pl.UTF-8
419 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
420 języku C++, w którego skład wchodzi biblioteka z klasami oraz
421 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
422 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
423 różnych platformach (Windows, Unix/Linux, Mac OS X).
425 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
426 pozwala również na pisanie własnych elementów. Łączy w sposób
427 niewidoczny dla programisty interfejsy programowania różnych systemów,
428 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
429 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
430 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
431 wykorzystaniem Netscape LiveConnect.
433 Ten pakiet zawiera współdzieloną, jednowątkową, linuksową wersję
434 biblioteki Qt oraz jednowątkowe wtyczki ze stylami. Ta wersja nie jest
435 już wspierana i nie zaleca się jej instalowania bez wyraźnej potrzeby.
438 Summary: Development files for single-threaded Qt library
439 Summary(pl.UTF-8): Pliki programistyczne dla jednowątkowej biblioteki Qt
440 Group: X11/Development/Libraries
441 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
442 Requires: %{name}-st = %{epoch}:%{version}-%{release}
444 %description st-devel
445 This package contains the single threaded
447 %description st-devel -l pl.UTF-8
448 Pliki programistyczne dla jednowątkowej biblioteki Qt.
451 Summary: Single-threaded Qt static libraries
452 Summary(pl.UTF-8): Jednowątkowa statyczna biblioteka Qt
453 Group: X11/Development/Libraries
454 Requires: %{name}-st-devel = %{epoch}:%{version}-%{release}
456 %description st-static
457 Qt is a complete C++ application development framework, which includes
458 a class library and tools for multiplatform development and
459 internationalization. Using Qt, a single source code tree can build
460 applications that run natively on different platforms (Windows,
461 Unix/Linux, Mac OS X, embedded Linux).
463 Qt has a rich set of standard widgets, and lets you write custom
464 controls. It encapsulates four different platform-specific APIs, and
465 the APIs for file-handling, networking, process-handling, threading,
466 database access, etc. Qt now also has Motif migration oraz Netscape
469 This package contains the static, single-threaded, linux version of
470 the Qt library and single-threaded styles for Qt. This version is
471 deprecated, please do not install it unless you explicitly need to.
473 %description st-static -l pl.UTF-8
474 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
475 języku C++, w którego skład wchodzi biblioteka z klasami oraz
476 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
477 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
478 różnych platformach (Windows, Unix/Linux, Mac OS X).
480 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
481 pozwala również na pisanie własnych elementów. Łączy w sposób
482 niewidoczny dla programisty interfejsy programowania różnych systemów,
483 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
484 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
485 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
486 wykorzystaniem Netscape LiveConnect.
488 Ten pakiet zawiera współdzieloną, jednowątkową, linuksową wersję
489 biblioteki Qt oraz jednowątkowe wtyczki ze stylami. Ta wersja nie jest
490 już wspierana i nie zaleca się jej instalowania bez wyraźnej potrzeby.
492 %package st-plugin-ibase
493 Summary: Database plugin for InterBase/Firebird support in single-threaded Qt
494 Summary(pl.UTF-8): Wtyczka InterBase/Firebird do jednowątkowej wersji Qt
496 Requires: %{name}-st = %{epoch}:%{version}-%{release}
497 Requires: Firebird-lib >= 1.5.0
498 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
500 %description st-plugin-ibase
501 This package contains a single-thread plugin for accessing
502 InterBase/Firebird database via the QSql classes.
504 %description st-plugin-ibase -l pl.UTF-8
505 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
506 korzystanie z baz danych InterBase/Firebird poprzez klasy QSql.
508 %package st-plugin-mysql
509 Summary: Database plugin for MySQL support in single-threaded Qt
510 Summary(pl.UTF-8): Wtyczka MySQL do jednowątkowej wersji Qt
512 Requires: %{name}-st = %{epoch}:%{version}-%{release}
513 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
515 %description st-plugin-mysql
516 This package contains a single-thread plugin for accessing MySQL
517 database via the QSql classes.
519 %description st-plugin-mysql -l pl.UTF-8
520 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
521 korzystanie z baz danych MySQL poprzez klasy QSql.
523 %package st-plugin-odbc
524 Summary: Database plugin for ODBC support in single-threaded Qt
525 Summary(pl.UTF-8): Wtyczka ODBC do jednowątkowej wersji Qt
527 Requires: %{name}-st = %{epoch}:%{version}-%{release}
528 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
530 %description st-plugin-odbc
531 This package contains a single-thread enabled plugin for accessing
532 unixODBC services via the QSql classes.
534 %description st-plugin-odbc -l pl.UTF-8
535 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
536 korzystanie z usług unixODBC poprzez klasy QSql.
538 %package st-plugin-psql
539 Summary: Database plugin for PostgreSQL support in single-threaded Qt
540 Summary(pl.UTF-8): Wtyczka PostgreSQL do jednowątkowej wersji Qt
541 Summary(pt_BR.UTF-8): Plugin de suporte a PostgreSQL para Qt
543 Requires: %{name}-st = %{epoch}:%{version}-%{release}
544 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
546 %description st-plugin-psql
547 This package contains a single-thread plugin for accessing PostgreSQL
548 database via the QSql classes.
550 %description st-plugin-psql -l pl.UTF-8
551 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
552 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
554 %package st-plugin-sqlite
555 Summary: Database plugin for SQLite support in single-threaded Qt
556 Summary(pl.UTF-8): Wtyczka SQLite do jednowątkowej wersji Qt
558 Requires: %{name}-st = %{epoch}:%{version}-%{release}
559 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
561 %description st-plugin-sqlite
562 This package contains a single-thread plugin for using the SQLite
563 library (which allows to acces virtually any SQL database)
565 %description st-plugin-sqlite -l pl.UTF-8
566 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
567 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
570 Summary: Translation helper for Qt
571 Summary(pl.UTF-8): Aplikacja ułatwiająca tłumaczenie aplikacji oparty o Qt
572 Group: X11/Development/Tools
573 Requires: %{name} = %{epoch}:%{version}-%{release}
574 Conflicts: qt-devel < 6:3.3.2-3
576 %description linguist
577 This program provides an interface that shortens and helps systematize
578 the process of translating GUIs. Qt Linguist takes all of the text of
579 a UI that will be shown to the user, and presents it to a human
580 translator in a simple window. When one UI text is translated, the
581 program automatically progresses to the next, until they are all
584 %description linguist -l pl.UTF-8
585 Ten program oferuje interfejs znacznie przyśpieszający proces
586 tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty
587 przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie.
588 Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do
589 następnego, aż wszystkie będą przetłumaczone.
592 Summary: Qt documentation browser
593 Summary(pl.UTF-8): Przeglądarka dokumentacji Qt
594 Group: X11/Development/Tools
595 Requires: %{name} = %{epoch}:%{version}-%{release}
596 Requires: %{name}-doc
597 Conflicts: qt-devel < 6:3.3.2-3
599 %description assistant
600 Qt Assistant is a tool for browsing on-line documentation with
601 indexing, bookmarks and full-text search.
603 %description assistant -l pl.UTF-8
604 Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością
605 indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania.
608 Summary: Qt makefile generator
609 Summary(pl.UTF-8): Generator plików makefile dla aplikacji Qt
610 Group: X11/Development/Tools
611 Conflicts: qt-devel < 6:3.3.2-3
613 %description -n qmake
614 A powerful makefile generator. It can create makefiles on any platform
615 from a simple .pro definitions file.
617 %description -n qmake -l pl.UTF-8
618 Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile
619 na każdej platformie na podstawie łatwego w przygotowaniu pliku .pro.
622 Summary: Qt widgets configuration tool
623 Summary(pl.UTF-8): Narzędzie do konfigurowania widgetów Qt
624 Group: X11/Applications
625 Requires: %{name} = %{epoch}:%{version}-%{release}
627 %description -n qtconfig
628 A tool for configuring look and behavior of Qt widgets.
630 %description -n qtconfig -l pl.UTF-8
631 Narzędie do konfiguracji wyglądu i zachowania widgetów Qt.
634 Summary: IDE used for GUI designing with Qt library
635 Summary(pl.UTF-8): IDE służące do projektowania GUI za pomocą biblioteki Qt
636 Group: X11/Applications
637 Requires: %{name}-designer-libs = %{epoch}:%{version}-%{release}
639 %description designer
640 An advanced tool used for GUI designing with Qt library.
642 %description designer -l pl.UTF-8
643 Zaawansowane narzędzie służące do projektowania interfejsu graficznego
644 za pomocą biblioteki Qt.
646 %package designer-libs
647 Summary: Libraries IDE used for GUI designing with Qt library
648 Summary(pl.UTF-8): Biblioteki do IDE służącego do projektowania GUI za pomocą biblioteki Qt
649 Group: X11/Applications
650 Requires: %{name} = %{epoch}:%{version}-%{release}
652 %description designer-libs
653 Libraries used by the Qt GUI Designer.
655 %description designer-libs -l pl.UTF-8
656 Biblioteki wykorzystywane przez narzędzie projektowania interfejsu
657 graficznego - Qt Designer.
679 # copy qt kde integration files
680 cp %{SOURCE8} %{SOURCE9} src/kernel
681 cp %{SOURCE9} include/private
683 # change QMAKE_CFLAGS_RELEASE to build
684 # properly optimized libs
685 cp mkspecs/linux-g++/qmake.conf{,.orig}
687 s|/usr/lib|%{_libdir}|;
688 s|/usr/X11R6/lib|/usr/%{_lib}|;
689 s|/usr/X11R6/include|/usr/include|;
690 s|(QTDIR)/lib|(QTDIR)/%{_lib}|;
691 s|QMAKE_RPATH\s*=.*|QMAKE_RPATH =|
692 s|QMAKE_STRIP\s*=.*|QMAKE_STRIP =|
693 s|QMAKE_STRIPFLAGS_LIB\s*+=.*|QMAKE_STRIPFLAGS_LIB =|
694 s|QMAKE_LINK\s*=.*g++|QMAKE_LINK = %{__cxx}|
695 s|QMAKE_LINK_SHLIB\s*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|
696 s|QMAKE_CC\s*=.*gcc|QMAKE_CC = %{__cc}|
697 s|QMAKE_CXX\s*=.*g++|QMAKE_CXX = %{__cxx}|
698 s|QMAKE_CFLAGS\s*=.*-pipe|QMAKE_CFLAGS\t=\t%{rpmcflags} -pipe -I/usr/include/tirpc|
699 s|QMAKE_CFLAGS_RELEASE\s*=.*|QMAKE_CFLAGS_RELEASE\t=\t%{rpmcflags} -I/usr/include/tirpc|
700 s|QMAKE_CFLAGS_DEBUG\s*=.*|QMAKE_CFLAGS_DEBUG\t=\t%{debugcflags} -I/usr/include/tirpc|
701 s|QMAKE_CXXFLAGS_RELEASE\s*=.*|QMAKE_CXXFLAGS_RELEASE\t=\t%{rpmcxxflags} -I/usr/include/tirpc|
702 s|QMAKE_CXXFLAGS_DEBUG\s*=.*|QMAKE_CXXFLAGS_DEBUG\t=\t%{debugcflags} -I/usr/include/tirpc|
703 s|QMAKE_LFLAGS_RELEASE\s*=.*|QMAKE_LFLAGS_RELEASE\t=\t%{rpmldflags} -ltirpc|
704 s|QMAKE_LFLAGS_DEBUG\s*=.*|QMAKE_LFLAGS_DEBUG\t=\t%{rpmldflags} -ltirpc|
705 ' mkspecs/linux-g++/qmake.conf
707 # default ODBC headers are used (from unixODBC), not iodbc ones; so link with unixODBC not libiodbc
708 %{__sed} -i -e 's/-liodbc/-lodbc/' src/sql/qt_sql.pri
709 %{__sed} -i -e 's/-liodbc/-lodbc/' plugins/src/sqldrivers/odbc/odbc.pro
713 export PATH=$QTDIR/bin:$PATH
714 export LD_LIBRARY_PATH=$QTDIR/%{_lib}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
716 %if "%{_lib}" != "lib"
720 # pass OPTFLAGS to build qmake itself with optimization
721 export OPTFLAGS="%{rpmcxxflags}"
723 ##################################
724 # DEFAULT OPTIONS FOR ALL BUILDS #
725 ##################################
728 %if "%{_lib}" != "lib"
731 -DQT_CLEAN_NAMESPACE \
733 -buildkey pld-linux \
738 -headerdir %{_includedir}/qt \
739 -datadir %{_datadir}/qt \
740 -docdir %{_docdir}/%{name}-doc \
741 -sysconfdir %{_sysconfdir}/qt \
742 -translationdir %{_datadir}/locale/ \
751 -I%{_includedir}/postgresql/server \
752 -I%{_includedir}/mysql \
753 %{!?with_cups:-no}-cups \
754 %{?with_nas:-system-nas-sound} \
755 %{?with_dlopen_gl:-dlopen-opengl} \
759 ##################################
760 # OPTIONS FOR STATIC-{ST,MT} #
761 ##################################
763 %if %{with static_libs}
768 %{?with_ibase:-qt-sql-ibase} \
769 %{?with_mysql:-qt-sql-mysql} \
770 %{?with_odbc:-qt-sql-odbc} \
771 %{?with_pgsql:-qt-sql-psql} \
772 %{?with_sqlite:-qt-sql-sqlite} \
776 ##################################
777 # STATIC SINGLE-THREAD #
778 ##################################
780 %if %{with static_libs} && %{with single}
787 # Do not build tutorial and examples. Provide them as sources.
788 %{__make} symlinks src-qmake src-moc sub-src
790 # This will not remove previously compiled libraries.
794 ##################################
795 # STATIC MULTI-THREAD #
796 ##################################
798 %if %{with static_libs}
807 # Do not build tutorial and examples. Provide them as sources.
808 %{__make} symlinks src-qmake src-moc sub-src
810 # This will not remove previously compiled libraries.
814 ##################################
815 # OPTIONS FOR SHARED-{ST,MT} #
816 ##################################
819 -plugin-imgfmt-jpeg \
822 %{?with_mysql:-plugin-sql-mysql} \
823 %{?with_odbc:-plugin-sql-odbc} \
824 %{?with_pgsql:-plugin-sql-psql} \
825 %{?with_sqlite:-plugin-sql-sqlite} \
826 %{?with_ibase:-plugin-sql-ibase} \
828 -plugin-style-compact \
829 -plugin-style-motif \
830 -plugin-style-motifplus \
831 -plugin-style-platinum \
833 -plugin-style-windows"
835 ##################################
836 # SHARED SINGLE-THREAD #
837 ##################################
840 # workaround for some nasty bug to avoid
841 # linking plugins statically with -lqt-mt
842 rm -f %{_lib}/libqt-mt.prl
847 -plugindir %{_libdir}/qt/plugins-st \
852 # Do not build tutorial and examples. Provide them as sources.
853 %{__make} symlinks src-qmake src-moc sub-src
855 # Do not make tools, only plugins.
856 %{__make} -C plugins/src sub-imageformats sub-sqldrivers sub-styles
858 # This will not remove previously compiled libraries. But WILL remove
859 # plugins. And even if they weren't removed, they would be overwritten
860 # by next compilation. So they must be backed up.
863 cp -R plugins/{imageformats,styles} plugins-st
864 %{?with_sql:cp -R plugins/sqldrivers plugins-st}
868 ##################################
869 # SHARED MULTI-THREAD #
870 ##################################
876 -plugindir %{_libdir}/qt/plugins-mt \
881 %if %{without designer}
882 grep -v designer tools/tools.pro > tools/tools.pro.1
883 mv tools/tools.pro{.1,}
884 %{__make} -C tools/designer/uic \
885 UIC="LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 $QTDIR/bin/uic -L $QTDIR/plugins"
888 # Do not build tutorial and examples. Provide them as sources.
889 #%%{__make} symlinks src-qmake src-moc sub-src sub-tools
890 # with __make -jN we can got (making qmake_image_collection.o):
891 # cc1plus: error: designercore: No such file or directory
892 # cc1plus: error: one or more PCH files were found, but they were invalid
893 # cc1plus: error: use -Winvalid-pch for more information
894 %{__make} -j1 sub-tools \
895 UIC="LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 $QTDIR/bin/uic -L $QTDIR/plugins"
898 cd tools/designer/designer
899 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease designer_de.ts
900 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease designer_fr.ts
902 cd $QTDIR/tools/assistant
903 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease assistant_de.ts
904 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease assistant_fr.ts
905 cd $QTDIR/tools/linguist/linguist
906 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease linguist_de.ts
907 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease linguist_fr.ts
908 cd $QTDIR/translations/
910 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease ${i}
914 ##make -C extensions/nsplugin/src
917 rm -rf $RPM_BUILD_ROOT
922 INSTALL_ROOT=$RPM_BUILD_ROOT
925 $RPM_BUILD_ROOT%{_sysconfdir}/qt \
926 $RPM_BUILD_ROOT%{_libdir}/qt/plugins-mt/{crypto,network} \
927 %{?with_single:$RPM_BUILD_ROOT%{_libdir}/qt/plugins-st/network} \
928 $RPM_BUILD_ROOT%{_examplesdir}/%{name}/lib \
929 $RPM_BUILD_ROOT%{_mandir}/man{1,3} \
930 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
932 install -p bin/{findtr,qt20fix,qtrename140} \
933 tools/{msg2qm/msg2qm,mergetr/mergetr} \
934 $RPM_BUILD_ROOT%{_bindir}
936 %if %{with static_libs}
937 cp -a %{_lib}/libqt*.a $RPM_BUILD_ROOT%{_libdir}
941 install -p %{_lib}/libqt.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
942 ln -sf libqt.so.%{ver} $RPM_BUILD_ROOT%{_libdir}/libqt.so
943 cp -a %{_lib}/qt.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
944 cp -R plugins-st/* $RPM_BUILD_ROOT%{_libdir}/qt/plugins-st
947 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
950 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/designer.desktop
951 install %{SOURCE5} $RPM_BUILD_ROOT%{_pixmapsdir}
954 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
955 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
957 install %{SOURCE6} %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}
959 cp -a tools/qtconfig/images/appicon.png \
960 $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig.png
962 %if %{without designer}
963 install -p bin/uic $RPM_BUILD_ROOT%{_bindir}
966 # Because trolltech fails to think.
967 rm -rf $RPM_BUILD_ROOT%{_bindir}/qmake
968 install -p qmake/qmake $RPM_BUILD_ROOT%{_bindir}/qmake
970 cp -a doc/man/man1/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
971 cp -a doc/man/man3/*.3qt $RPM_BUILD_ROOT%{_mandir}/man3
973 cp -dpR examples tutorial $RPM_BUILD_ROOT%{_examplesdir}/%{name}
975 mv $RPM_BUILD_ROOT{%{_libdir}/*.prl,%{_examplesdir}/%{name}/lib}
978 # From now QMAKE_INCDIR_QT becomes %{_includedir}/qt
979 s|\(QMAKE_INCDIR_QT\s*=\s*\$(QTDIR)/include\)|\1/qt|
980 # Remove ccache if any
981 /QMAKE_\(CC\|CXX\|LINK\)/s|ccache ||;
982 ' $RPM_BUILD_ROOT%{_datadir}/qt/mkspecs/linux-g++/qmake.conf
983 rm $RPM_BUILD_ROOT%{_datadir}/qt/mkspecs/linux-g++/qmake.conf.orig
985 # We provide qt style classes as plugins,
986 # so make corresponding changes to the qconfig.h.
987 chmod u+w $RPM_BUILD_ROOT%{_includedir}/qt/qconfig.h
989 cat >> $RPM_BUILD_ROOT%{_includedir}/qt/qconfig.h << EOF
991 /* All of these style classes we provide as plugins */
992 #define QT_NO_STYLE_CDE
993 #define QT_NO_STYLE_COMPACT
994 #define QT_NO_STYLE_MOTIF
995 #define QT_NO_STYLE_MOTIFPLUS
996 #define QT_NO_STYLE_PLATINUM
997 #define QT_NO_STYLE_SGI
998 #define QT_NO_STYLE_WINDOWS
1002 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,ca,cs,de,es,fr,he,it,ja,nb,pt,pt_BR,ru,sk,zh_CN,zh_TW}/LC_MESSAGES
1003 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ar.qm,ar/LC_MESSAGES/qt.qm}
1004 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ca.qm,ca/LC_MESSAGES/qt.qm}
1005 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_cs.qm,cs/LC_MESSAGES/qt.qm}
1006 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_de.qm,de/LC_MESSAGES/qt.qm}
1007 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_es.qm,es/LC_MESSAGES/qt.qm}
1008 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_fr.qm,fr/LC_MESSAGES/qt.qm}
1009 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_he.qm,he/LC_MESSAGES/qt.qm}
1010 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_it.qm,it/LC_MESSAGES/qt.qm}
1011 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ja.qm,ja/LC_MESSAGES/qt.qm}
1012 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_nb.qm,nb/LC_MESSAGES/qt.qm}
1013 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_pt-br.qm,pt_BR/LC_MESSAGES/qt.qm}
1014 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ru.qm,ru/LC_MESSAGES/qt.qm}
1015 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_sk.qm,sk/LC_MESSAGES/qt.qm}
1016 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_zh-cn.qm,zh_CN/LC_MESSAGES/qt.qm}
1017 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_zh-tw.qm,zh_TW/LC_MESSAGES/qt.qm}
1019 %if %{with designer}
1020 cp -a tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1021 cp -a tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1024 mv $RPM_BUILD_ROOT%{_datadir}/locale/{assistant_de.qm,de/LC_MESSAGES/assistant.qm}
1025 cp -a tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1027 cp -a tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1028 cp -a tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1030 cp -a tools/linguist/qm2ts/qm2ts.1 $RPM_BUILD_ROOT%{_mandir}/man1
1032 find $RPM_BUILD_ROOT -name CVS | xargs rm -rf
1034 cd $RPM_BUILD_ROOT%{_examplesdir}/%{name}/examples
1035 for i in $(find -name Makefile); do
1036 %{__sed} -i -e "s,$RPM_BUILD_DIR,/usr,g" $i
1037 %{__sed} -i -e "s,examples,src/examples/qt/examples,g" $i
1040 cd $RPM_BUILD_ROOT%{_examplesdir}/%{name}/tutorial
1041 for i in $(find -name Makefile); do
1042 %{__sed} -i -e "s,$RPM_BUILD_DIR,/usr,g" $i
1043 %{__sed} -i -e "s,examples,src/examples/qt/tutorial,g" $i
1046 # drop some bad symlink
1047 rm -f $RPM_BUILD_ROOT%{_datadir}/qt/mkspecs/linux-g++/linux-g++
1050 rm $RPM_BUILD_ROOT%{_libdir}/libdesignercore.so.1.0
1051 rm $RPM_BUILD_ROOT%{_libdir}/libeditor.so.1.0
1052 rm $RPM_BUILD_ROOT%{_libdir}/libqassistantclient.so.1.0
1053 rm $RPM_BUILD_ROOT%{_libdir}/libqt-mt.so.3.3
1054 rm $RPM_BUILD_ROOT%{_libdir}/libqui.so.1.0
1057 rm -rf $RPM_BUILD_ROOT
1059 %post -p /sbin/ldconfig
1060 %postun -p /sbin/ldconfig
1062 %post st -p /sbin/ldconfig
1063 %postun st -p /sbin/ldconfig
1065 %post designer-libs -p /sbin/ldconfig
1066 %postun designer-libs -p /sbin/ldconfig
1069 %defattr(644,root,root,755)
1070 %doc FAQ LICENSE.* README* changes*
1071 %dir %{_sysconfdir}/qt
1072 %attr(755,root,root) %{_libdir}/libqassistantclient.so.*.*.*
1073 %attr(755,root,root) %ghost %{_libdir}/libqassistantclient.so.1
1074 %attr(755,root,root) %{_libdir}/libqt-mt.so.*.*.*
1075 %attr(755,root,root) %ghost %{_libdir}/libqt-mt.so.3
1076 %dir %{_libdir}/%{name}
1077 %dir %{_libdir}/%{name}/plugins-mt
1078 %dir %{_libdir}/%{name}/plugins-mt/crypto
1079 %dir %{_libdir}/%{name}/plugins-mt/imageformats
1080 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/imageformats/*.so
1081 %dir %{_libdir}/%{name}/plugins-mt/inputmethods
1082 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqimsw-multi.so
1083 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqimsw-none.so
1084 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqsimple.so
1085 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqxim.so
1086 %dir %{_libdir}/%{name}/plugins-mt/network
1087 %{?with_sql:%dir %{_libdir}/%{name}/plugins-mt/sqldrivers}
1088 %dir %{_libdir}/%{name}/plugins-mt/styles
1089 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/styles/*.so
1091 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1092 %lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/qt.qm
1093 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1094 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
1095 %lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt.qm
1096 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1097 %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt.qm
1098 %lang(it) %{_datadir}/locale/it/LC_MESSAGES/qt.qm
1099 %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt.qm
1100 %lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/qt.qm
1101 %lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/qt.qm
1102 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1103 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1104 %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt.qm
1105 %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt.qm
1108 %defattr(644,root,root,755)
1109 %attr(755,root,root) %{_bindir}/makeqpf
1110 %attr(755,root,root) %{_bindir}/moc
1111 %attr(755,root,root) %{_bindir}/qembed
1112 %attr(755,root,root) %{_bindir}/qt20fix
1113 #%attr(755,root,root) %{_bindir}/qt32castcompat
1114 %attr(755,root,root) %{_bindir}/qtrename140
1115 %attr(755,root,root) %{_bindir}/uic
1117 %{_libdir}/libqassistantclient.so
1118 %{_libdir}/libqt-mt.la
1119 %{_libdir}/libqt-mt.so
1120 %{_mandir}/man1/moc*
1121 %{_mandir}/man1/uic*
1122 %{_pkgconfigdir}/qt-mt.pc
1125 %defattr(644,root,root,755)
1126 %attr(755,root,root) %{_bindir}/qmake
1127 %{_datadir}/qt/mkspecs
1129 %if %{with static_libs}
1131 %defattr(644,root,root,755)
1132 %{_libdir}/libqt-mt.a
1136 %defattr(644,root,root,755)
1137 %{_docdir}/%{name}-doc
1140 %defattr(644,root,root,755)
1141 %{_examplesdir}/%{name}
1144 %defattr(644,root,root,755)
1145 %{_mandir}/man3/Q*.3qt*
1146 %{_mandir}/man3/q*.3qt*
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlmysql.so
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlpsql.so
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlodbc.so
1167 %files plugin-sqlite
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlite.so
1174 %defattr(644,root,root,755)
1175 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlibase.so
1180 %defattr(644,root,root,755)
1181 %attr(755,root,root) %{_libdir}/libqt.so.*.*.*
1182 %dir %{_libdir}/%{name}/plugins-st
1183 %dir %{_libdir}/%{name}/plugins-st/network
1184 %{?with_sql:%dir %{_libdir}/%{name}/plugins-st/sqldrivers}
1185 %dir %{_libdir}/%{name}/plugins-st/imageformats
1186 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/imageformats/*.so
1187 %dir %{_libdir}/%{name}/plugins-st/styles
1188 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/styles/*.so
1191 %defattr(644,root,root,755)
1192 %attr(755,root,root) %{_libdir}/libqt.so
1193 %{_pkgconfigdir}/qt.pc
1195 %if %{with static_libs}
1197 %defattr(644,root,root,755)
1202 %files st-plugin-mysql
1203 %defattr(644,root,root,755)
1204 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlmysql.so
1208 %files st-plugin-psql
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlpsql.so
1214 %files st-plugin-odbc
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlodbc.so
1220 %files st-plugin-sqlite
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlite.so
1226 %files st-plugin-ibase
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlibase.so
1232 %if %{with designer}
1233 %files designer-libs
1234 %defattr(644,root,root,755)
1235 %attr(755,root,root) %{_libdir}/libdesignercore.so.*.*.*
1236 %attr(755,root,root) %ghost %{_libdir}/libdesignercore.so.1
1237 %attr(755,root,root) %{_libdir}/libeditor.so.*.*.*
1238 %attr(755,root,root) %ghost %{_libdir}/libeditor.so.1
1239 %attr(755,root,root) %{_libdir}/libqui.so.*.*.*
1240 %attr(755,root,root) %ghost %{_libdir}/libqui.so.1
1241 %attr(755,root,root) %{_libdir}/libdesignercore.so
1242 %attr(755,root,root) %{_libdir}/libeditor.so
1243 %attr(755,root,root) %{_libdir}/libqui.so
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_bindir}/createcw
1248 %attr(755,root,root) %{_bindir}/designer
1249 %attr(755,root,root) %{_libdir}/%{name}/plugins-?t/designer/*.so
1250 %dir %{_libdir}/%{name}/plugins-?t/designer
1251 %{_datadir}/qt/designer
1252 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/designer.qm
1253 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1254 %{_desktopdir}/designer.desktop
1255 %{_pixmapsdir}/designer.png
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) %{_bindir}/assistant
1261 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1262 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1263 %{_desktopdir}/assistant.desktop
1264 %{_pixmapsdir}/assistant.png
1267 %defattr(644,root,root,755)
1268 %attr(755,root,root) %{_bindir}/linguist
1269 %attr(755,root,root) %{_bindir}/findtr
1270 %attr(755,root,root) %{_bindir}/lrelease
1271 %attr(755,root,root) %{_bindir}/lupdate
1272 %attr(755,root,root) %{_bindir}/mergetr
1273 %attr(755,root,root) %{_bindir}/qm2ts
1274 %attr(755,root,root) %{_bindir}/msg2qm
1275 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1276 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1277 %{_datadir}/qt/phrasebooks
1278 %{_desktopdir}/linguist.desktop
1279 %{_pixmapsdir}/linguist.png
1281 %{_mandir}/man1/*qm*
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_bindir}/qtconfig
1286 %{_desktopdir}/qtconfig.desktop
1287 %{_pixmapsdir}/qtconfig.png