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} 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
63 URL: http://www.trolltech.com/products/qt/
64 %{?with_ibase:BuildRequires: Firebird-devel >= 1.5.0}
65 BuildRequires: OpenGL-GLU-devel
66 %{?with_cups:BuildRequires: cups-devel}
68 BuildRequires: freetype-devel >= 2.0.9
69 %{?with_pch:BuildRequires: gcc >= 5:3.4.0}
70 BuildRequires: giflib-devel
71 BuildRequires: libjpeg-devel
72 BuildRequires: libmng-devel >= 1.0.0
73 BuildRequires: libpng-devel >= 2:1.0.8
74 BuildRequires: libstdc++-devel
75 %{?with_mysql:BuildRequires: mysql-devel}
76 %{?with_nas:BuildRequires: nas-devel}
77 BuildRequires: perl-base
78 %{?with_pgsql:BuildRequires: postgresql-backend-devel}
79 %{?with_pgsql:BuildRequires: postgresql-devel}
80 BuildRequires: rpmbuild(macros) >= 1.213
81 BuildRequires: sed >= 4.0
82 %{?with_sqlite:BuildRequires: sqlite-devel}
83 %{?with_odbc:BuildRequires: unixODBC-devel}
84 BuildRequires: xorg-lib-libSM-devel
85 BuildRequires: xorg-lib-libXcursor-devel
86 BuildRequires: xorg-lib-libXext-devel
87 BuildRequires: xorg-lib-libXft-devel
88 BuildRequires: xorg-lib-libXinerama-devel
89 BuildRequires: xorg-lib-libXmu-devel
90 BuildRequires: xorg-lib-libXrandr-devel
91 BuildRequires: xorg-lib-libXrender-devel
92 BuildRequires: zlib-devel
93 Requires: freetype >= 2.0.9
94 Requires: libmng >= 1.0.0
95 Obsoletes: qt-extensions
97 Conflicts: kdelibs <= 8:3.2-0.030602.1
98 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
100 %define Werror_cflags %{nil}
102 %define _noautoreqdep libGL.so.1 libGLU.so.1
103 %define specflags -fno-strict-aliasing
105 # <begin main library description>
108 Qt is a complete C++ application development framework, which includes
109 a class library and tools for multiplatform development and
110 internationalization. Using Qt, a single source code tree can build
111 applications that run natively on different platforms (Windows,
112 Unix/Linux, Mac OS X, embedded Linux).
114 Qt has a rich set of standard widgets, and lets you write custom
115 controls. It encapsulates four different platform-specific APIs, and
116 the APIs for file-handling, networking, process-handling, threading,
117 database access, etc. Qt now also has Motif migration support and
118 Netscape LiveConnect plugin.
120 This package contains the shared, multi-threaded, Linux version of the
121 Qt library, the style plugins and translation files for Qt. Please
122 install qt-st if you need the single-threaded version of this library
123 (which isn't usually necessary).
125 %description -l es.UTF-8
126 Qt es un completo framework de desarrollo de aplicaciones en C++, el
127 que incluye una biblioteca de clases y unas herramientas para el
128 desarrollo multiplataforma e internacionalizado. Usando Qt, un
129 genérico árbol de código fuente se puede usar para construir
130 aplicaciones que puedan ejecutarse nativamente en varias plataformas
131 (Windows, Unix/Linux, Mac OS X, Linux embebido).
133 Qt provee un rico conjunto de componentes estándares y le permite
134 escribir unos propios. Encapsula cuatro APIs diferentes dependientes
135 de la plataforma y también APIs para el manejo de ficheros, la red, el
136 manejo de los procesos e hilos, acceso a bases de datos, etc. También
137 está incluido soporte de migración de Motif y un plugin para Netscape
140 Este paquete contiene la versión compartida multi-hilvanada de la
141 biblioteca Qt, los plugin de estilo y ficheros de traducción para Qt.
142 Instálese qt-st si necesita la versión mono-hilvanada de esta
143 biblioteca (lo cual normalmente no es necesario).
145 %description -l pl.UTF-8
146 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
147 języku C++, w którego skład wchodzi biblioteka z klasami oraz
148 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
149 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
150 różnych platformach (Windows, Unix/Linux, Mac OS X).
152 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
153 pozwala również na pisanie własnych elementów. Łączy w sposób
154 niewidoczny dla programisty interfejsy programowania różnych systemów,
155 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
156 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
157 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
158 wykorzystaniem Netscape LiveConnect.
160 Ten pakiet zawiera współdzieloną, wielowątkową, linuksową wersję
161 biblioteki Qt, wtyczki ze stylami oraz pliki tłumaczeń Qt. Zainstaluj
162 qt-st jeśli potrzebujesz wersji jednowątkowej tej biblioteki (co
163 zwykle nie jest konieczne).
165 %description -l pt_BR.UTF-8
166 Contém as bibliotecas compartilhadas necessárias para rodar aplicações
167 Qt, bem como os arquivos README.
170 Summary: Development files for the Qt GUI toolkit
171 Summary(es.UTF-8): Archivos de inclusión necesaria para compilar aplicaciones Qt
172 Summary(pl.UTF-8): Pliki nagłówkowe, przykłady i dokumentacja do biblioteki
173 Summary(pt_BR.UTF-8): Arquivos de inclusão necessária para compilar aplicações Qt
174 Group: X11/Development/Libraries
175 Requires: %{name} = %{epoch}:%{version}-%{release}
176 %{!?with_dlopen_gl:Requires: OpenGL-devel}
177 Requires: freetype-devel >= 2.0.9
178 Requires: libjpeg-devel
179 Requires: libmng-devel >= 1.0.0
180 Requires: libpng-devel
181 Requires: libstdc++-devel
182 Requires: xorg-lib-libSM-devel
183 Requires: xorg-lib-libXcursor-devel
184 Requires: xorg-lib-libXext-devel
185 Requires: xorg-lib-libXft-devel
186 Requires: xorg-lib-libXinerama-devel
187 Requires: xorg-lib-libXmu-devel
188 Requires: xorg-lib-libXrandr-devel
189 Requires: xorg-lib-libXrender-devel
194 This package contains the Qt development tools: the metaobjects
195 compiler (moc) and the user interface compiler (uic); Qt include
196 files, pkgconfig helpers and tools for preserving compatibility
197 between versions of Qt.
199 %description devel -l pl.UTF-8
200 Ten pakiet zawiera narzędzia programistyczne Qt: kompilator
201 metaobiektów (moc), kompilator interfejsu użytkownika (uic); pliki
202 nagłówkowe, wsparcie dla pkgconfig oraz narzędzia ułatwiające
203 zachowanie kompatybilności niezależnie od wersji Qt.
206 Summary: Qt static library
207 Summary(pl.UTF-8): Biblioteka statyczna Qt
208 Group: X11/Development/Libraries
209 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
212 Qt is a complete C++ application development framework, which includes
213 a class library and tools for multiplatform development and
214 internationalization. Using Qt, a single source code tree can build
215 applications that run natively on different platforms (Windows,
216 Unix/Linux, Mac OS X, embedded Linux).
218 Qt has a rich set of standard widgets, and lets you write custom
219 controls. It encapsulates four different platform-specific APIs, and
220 the APIs for file-handling, networking, process-handling, threading,
221 database access, etc. Qt now also has Motif migration oraz Netscape
224 This package contains the static, multi-threaded, linux version of the
227 %description static -l pl.UTF-8
228 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
229 języku C++, w którego skład wchodzi biblioteka z klasami oraz
230 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
231 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
232 różnych platformach (Windows, Unix/Linux, Mac OS X).
234 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
235 pozwala również na pisanie własnych elementów. Łączy w sposób
236 niewidoczny dla programisty interfejsy programowania różnych systemów,
237 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
238 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
239 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
240 wykorzystaniem Netscape LiveConnect.
242 Ten pakiet zawiera statyczną, wielowątkową, linuksową wersję
246 Summary: Qt Documentation in HTML format
247 Summary(pl.UTF-8): Dokumentacja Qt w formacie HTML
248 Group: X11/Development/Libraries
249 Obsoletes: qt-doc-html
252 Qt documentation in HTML format.
254 %description doc -l pl.UTF-8
255 Dokumentacja qt w formacie HTML.
258 Summary: Qt man pages
259 Summary(pl.UTF-8): Qt - strony man
260 Group: X11/Development/Libraries
261 Obsoletes: qt-doc-man
264 Qt documentation in man pages format.
266 %description man -l pl.UTF-8
267 Dokumentacja Qt w formacie stron man.
270 Summary: Example programs bundled with Qt
271 Summary(pl.UTF-8): Ćwiczenia i przykłady do Qt
272 Summary(pt_BR.UTF-8): Programas exemplo desenvolvidos com o Qt
273 Group: X11/Development/Libraries
274 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
276 %description examples
277 Example programs bundled with Qt version.
279 %description examples -l pl.UTF-8
280 Ćwiczenia/przykłady dołączone do Qt.
282 %description examples -l pt_BR.UTF-8
283 Programas exemplo para o Qt versão.
285 # <end main library desc>
287 # <start multithreaded plugins desc>
289 %package plugin-ibase
290 Summary: Database plugin for InterBase/Firebird Qt support
291 Summary(pl.UTF-8): Wtyczka InterBase/Firebird do Qt
292 Summary(pt_BR.UTF-8): Plugin de suporte a InterBase/Firebird para Qt
294 Requires: %{name} = %{epoch}:%{version}-%{release}
295 Requires: Firebird-lib >= 1.5.0
296 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
298 %description plugin-ibase
299 This package contains a multi-thread enabled plugin for accessing
300 Interbase/Firebird database via the QSql classes.
302 %description plugin-ibase -l pl.UTF-8
303 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
304 korzystanie z baz danych Interbase/Firebird poprzez klasy QSql.
306 %description plugin-ibase -l pt_BR.UTF-8
307 Plugin de suporte a InterBase/Firebird para Qt.
309 %package plugin-mysql
310 Summary: Database plugin for MySQL Qt support
311 Summary(pl.UTF-8): Wtyczka MySQL do Qt
312 Summary(pt_BR.UTF-8): Plugin de suporte a MySQL para Qt
314 Requires: %{name} = %{epoch}:%{version}-%{release}
315 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
316 Obsoletes: qt-plugins-mysql
318 %description plugin-mysql
319 This package contains a multi-thread enabled plugin for accessing
320 MySQL database via the QSql classes.
322 %description plugin-mysql -l pl.UTF-8
323 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
324 korzystanie z baz danych MySQL poprzez klasy QSql.
326 %description plugin-mysql -l pt_BR.UTF-8
327 Plugin de suporte a MySQL para Qt.
330 Summary: Database plugin for ODBC Qt support
331 Summary(pl.UTF-8): Wtyczka ODBC do Qt
332 Summary(pt_BR.UTF-8): Plugin de suporte a ODBC para Qt
334 Requires: %{name} = %{epoch}:%{version}-%{release}
335 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
336 Obsoletes: qt-plugins-odbc
338 %description plugin-odbc
339 This package contains a multi-thread enabled plugin for accessing
340 unixODBC services via the QSql classes.
342 %description plugin-odbc -l pl.UTF-8
343 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
344 korzystanie z usług unixODBC poprzez klasy QSql.
346 %description plugin-odbc -l pt_BR.UTF-8
347 Plugin de suporte a ODBC para Qt.
350 Summary: Database plugin for PostgreSQL Qt support
351 Summary(pl.UTF-8): Wtyczka PostgreSQL do Qt
352 Summary(pt_BR.UTF-8): Plugin de suporte a PostgreSQL para Qt
354 Requires: %{name} = %{epoch}:%{version}-%{release}
355 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
356 Obsoletes: qt-plugins-psql
358 %description plugin-psql
359 This package contains a multi-thread enabled plugin for accessing
360 PostgreSQL database via the QSql classes.
362 %description plugin-psql -l es.UTF-8
363 Plugin de suporte a PostgreSQL para Qt.
365 %description plugin-psql -l pl.UTF-8
366 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
367 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
369 %package plugin-sqlite
370 Summary: Database plugin for SQLite Qt support
371 Summary(pl.UTF-8): Wtyczka SQLite do Qt
372 Summary(pt_BR.UTF-8): Plugin de suporte a SQLite para Qt
374 Requires: %{name} = %{epoch}:%{version}-%{release}
375 Provides: %{name}-plugin-sql = %{epoch}:%{version}-%{release}
377 %description plugin-sqlite
378 This package contains a multi-thread enabled plugin for using the
379 SQLite library (which allows to acces virtually any SQL database) via
382 %description plugin-sqlite -l pl.UTF-8
383 Ten pakiet zawiera wielowątkową wersję wtyczki do Qt umożliwiającej
384 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
386 %description plugin-sqlite -l pt_BR.UTF-8
387 Plugin de suporte a SQLite para Qt.
389 # <end multithreaded plugins desc>
391 # <begin single threaded desc>
394 Summary: Single-threaded Qt library
395 Summary(pl.UTF-8): Jednowątkowa wersja biblioteki Qt
397 Requires: %{name} = %{epoch}:%{version}-%{release}
400 Qt is a complete C++ application development framework, which includes
401 a class library and tools for multiplatform development and
402 internationalization. Using Qt, a single source code tree can build
403 applications that run natively on different platforms (Windows,
404 Unix/Linux, Mac OS X, embedded Linux).
406 Qt has a rich set of standard widgets, and lets you write custom
407 controls. It encapsulates four different platform-specific APIs, and
408 the APIs for file-handling, networking, process-handling, threading,
409 database access, etc. Qt now also has Motif migration oraz Netscape
412 This package contains the shared, single-threaded, linux version of
413 the Qt library and single-threaded styles for Qt. This version is
414 deprecated, please do not install it unless you explicitly need to.
416 %description st -l pl.UTF-8
417 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
418 języku C++, w którego skład wchodzi biblioteka z klasami oraz
419 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
420 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
421 różnych platformach (Windows, Unix/Linux, Mac OS X).
423 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
424 pozwala również na pisanie własnych elementów. Łączy w sposób
425 niewidoczny dla programisty interfejsy programowania różnych systemów,
426 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
427 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
428 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
429 wykorzystaniem Netscape LiveConnect.
431 Ten pakiet zawiera współdzieloną, jednowątkową, linuksową wersję
432 biblioteki Qt oraz jednowątkowe wtyczki ze stylami. Ta wersja nie jest
433 już wspierana i nie zaleca się jej instalowania bez wyraźnej potrzeby.
436 Summary: Development files for single-threaded Qt library
437 Summary(pl.UTF-8): Pliki programistyczne dla jednowątkowej biblioteki Qt
438 Group: X11/Development/Libraries
439 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
440 Requires: %{name}-st = %{epoch}:%{version}-%{release}
442 %description st-devel
443 This package contains the single threaded
445 %description st-devel -l pl.UTF-8
446 Pliki programistyczne dla jednowątkowej biblioteki Qt.
449 Summary: Single-threaded Qt static libraries
450 Summary(pl.UTF-8): Jednowątkowa statyczna biblioteka Qt
451 Group: X11/Development/Libraries
452 Requires: %{name}-st-devel = %{epoch}:%{version}-%{release}
454 %description st-static
455 Qt is a complete C++ application development framework, which includes
456 a class library and tools for multiplatform development and
457 internationalization. Using Qt, a single source code tree can build
458 applications that run natively on different platforms (Windows,
459 Unix/Linux, Mac OS X, embedded Linux).
461 Qt has a rich set of standard widgets, and lets you write custom
462 controls. It encapsulates four different platform-specific APIs, and
463 the APIs for file-handling, networking, process-handling, threading,
464 database access, etc. Qt now also has Motif migration oraz Netscape
467 This package contains the static, single-threaded, linux version of
468 the Qt library and single-threaded styles for Qt. This version is
469 deprecated, please do not install it unless you explicitly need to.
471 %description st-static -l pl.UTF-8
472 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
473 języku C++, w którego skład wchodzi biblioteka z klasami oraz
474 wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji.
475 Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na
476 różnych platformach (Windows, Unix/Linux, Mac OS X).
478 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
479 pozwala również na pisanie własnych elementów. Łączy w sposób
480 niewidoczny dla programisty interfejsy programowania różnych systemów,
481 tworząc w ten sposób jeden interfejs dla obsługi plików, sieci,
482 procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie
483 na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z
484 wykorzystaniem Netscape LiveConnect.
486 Ten pakiet zawiera współdzieloną, jednowątkową, linuksową wersję
487 biblioteki Qt oraz jednowątkowe wtyczki ze stylami. Ta wersja nie jest
488 już wspierana i nie zaleca się jej instalowania bez wyraźnej potrzeby.
490 %package st-plugin-ibase
491 Summary: Database plugin for InterBase/Firebird support in single-threaded Qt
492 Summary(pl.UTF-8): Wtyczka InterBase/Firebird do jednowątkowej wersji Qt
494 Requires: %{name}-st = %{epoch}:%{version}-%{release}
495 Requires: Firebird-lib >= 1.5.0
496 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
498 %description st-plugin-ibase
499 This package contains a single-thread plugin for accessing
500 InterBase/Firebird database via the QSql classes.
502 %description st-plugin-ibase -l pl.UTF-8
503 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
504 korzystanie z baz danych InterBase/Firebird poprzez klasy QSql.
506 %package st-plugin-mysql
507 Summary: Database plugin for MySQL support in single-threaded Qt
508 Summary(pl.UTF-8): Wtyczka MySQL do jednowątkowej wersji Qt
510 Requires: %{name}-st = %{epoch}:%{version}-%{release}
511 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
513 %description st-plugin-mysql
514 This package contains a single-thread plugin for accessing MySQL
515 database via the QSql classes.
517 %description st-plugin-mysql -l pl.UTF-8
518 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
519 korzystanie z baz danych MySQL poprzez klasy QSql.
521 %package st-plugin-odbc
522 Summary: Database plugin for ODBC support in single-threaded Qt
523 Summary(pl.UTF-8): Wtyczka ODBC do jednowątkowej wersji Qt
525 Requires: %{name}-st = %{epoch}:%{version}-%{release}
526 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
528 %description st-plugin-odbc
529 This package contains a single-thread enabled plugin for accessing
530 unixODBC services via the QSql classes.
532 %description st-plugin-odbc -l pl.UTF-8
533 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
534 korzystanie z usług unixODBC poprzez klasy QSql.
536 %package st-plugin-psql
537 Summary: Database plugin for PostgreSQL support in single-threaded Qt
538 Summary(pl.UTF-8): Wtyczka PostgreSQL do jednowątkowej wersji Qt
539 Summary(pt_BR.UTF-8): Plugin de suporte a PostgreSQL para Qt
541 Requires: %{name}-st = %{epoch}:%{version}-%{release}
542 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
544 %description st-plugin-psql
545 This package contains a single-thread plugin for accessing PostgreSQL
546 database via the QSql classes.
548 %description st-plugin-psql -l pl.UTF-8
549 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
550 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
552 %package st-plugin-sqlite
553 Summary: Database plugin for SQLite support in single-threaded Qt
554 Summary(pl.UTF-8): Wtyczka SQLite do jednowątkowej wersji Qt
556 Requires: %{name}-st = %{epoch}:%{version}-%{release}
557 Provides: %{name}-st-plugin-sql = %{epoch}:%{version}-%{release}
559 %description st-plugin-sqlite
560 This package contains a single-thread plugin for using the SQLite
561 library (which allows to acces virtually any SQL database)
563 %description st-plugin-sqlite -l pl.UTF-8
564 Ten pakiet zawiera jednowątkową wersję wtyczki do Qt umożliwiającej
565 korzystanie z baz danych PostgreSQL poprzez klasy QSql.
568 Summary: Translation helper for Qt
569 Summary(pl.UTF-8): Aplikacja ułatwiająca tłumaczenie aplikacji oparty o Qt
570 Group: X11/Development/Tools
571 Requires: %{name} = %{epoch}:%{version}-%{release}
572 Conflicts: qt-devel < 6:3.3.2-3
574 %description linguist
575 This program provides an interface that shortens and helps systematize
576 the process of translating GUIs. Qt Linguist takes all of the text of
577 a UI that will be shown to the user, and presents it to a human
578 translator in a simple window. When one UI text is translated, the
579 program automatically progresses to the next, until they are all
582 %description linguist -l pl.UTF-8
583 Ten program oferuje interfejs znacznie przyśpieszający proces
584 tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty
585 przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie.
586 Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do
587 następnego, aż wszystkie będą przetłumaczone.
590 Summary: Qt documentation browser
591 Summary(pl.UTF-8): Przeglądarka dokumentacji Qt
592 Group: X11/Development/Tools
593 Requires: %{name} = %{epoch}:%{version}-%{release}
594 Requires: %{name}-doc
595 Conflicts: qt-devel < 6:3.3.2-3
597 %description assistant
598 Qt Assistant is a tool for browsing on-line documentation with
599 indexing, bookmarks and full-text search.
601 %description assistant -l pl.UTF-8
602 Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością
603 indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania.
606 Summary: Qt makefile generator
607 Summary(pl.UTF-8): Generator plików makefile dla aplikacji Qt
608 Group: X11/Development/Tools
609 Conflicts: qt-devel < 6:3.3.2-3
611 %description -n qmake
612 A powerful makefile generator. It can create makefiles on any platform
613 from a simple .pro definitions file.
615 %description -n qmake -l pl.UTF-8
616 Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile
617 na każdej platformie na podstawie łatwego w przygotowaniu pliku .pro.
620 Summary: Qt widgets configuration tool
621 Summary(pl.UTF-8): Narzędzie do konfigurowania widgetów Qt
622 Group: X11/Applications
623 Requires: %{name} = %{epoch}:%{version}-%{release}
625 %description -n qtconfig
626 A tool for configuring look and behavior of Qt widgets.
628 %description -n qtconfig -l pl.UTF-8
629 Narzędie do konfiguracji wyglądu i zachowania widgetów Qt.
632 Summary: IDE used for GUI designing with Qt library
633 Summary(pl.UTF-8): IDE służące do projektowania GUI za pomocą biblioteki Qt
634 Group: X11/Applications
635 Requires: %{name}-designer-libs = %{epoch}:%{version}-%{release}
637 %description designer
638 An advanced tool used for GUI designing with Qt library.
640 %description designer -l pl.UTF-8
641 Zaawansowane narzędzie służące do projektowania interfejsu graficznego
642 za pomocą biblioteki Qt.
644 %package designer-libs
645 Summary: Libraries IDE used for GUI designing with Qt library
646 Summary(pl.UTF-8): Biblioteki do IDE służącego do projektowania GUI za pomocą biblioteki Qt
647 Group: X11/Applications
648 Requires: %{name} = %{epoch}:%{version}-%{release}
650 %description designer-libs
651 Libraries used by the Qt GUI Designer.
653 %description designer-libs -l pl.UTF-8
654 Biblioteki wykorzystywane przez narzędzie projektowania interfejsu
655 graficznego - Qt Designer.
675 # copy qt kde integration files
676 cp %{SOURCE8} %{SOURCE9} src/kernel
677 cp %{SOURCE9} include/private
679 # change QMAKE_CFLAGS_RELEASE to build
680 # properly optimized libs
681 cp mkspecs/linux-g++/qmake.conf{,.orig}
683 s|/usr/lib|%{_libdir}|;
684 s|/usr/X11R6/lib|/usr/%{_lib}|;
685 s|/usr/X11R6/include|/usr/include|;
686 s|(QTDIR)/lib|(QTDIR)/%{_lib}|;
687 s|QMAKE_RPATH\s*=.*|QMAKE_RPATH =|
688 s|QMAKE_STRIP\s*=.*|QMAKE_STRIP =|
689 s|QMAKE_STRIPFLAGS_LIB\s*+=.*|QMAKE_STRIPFLAGS_LIB =|
690 s|QMAKE_LINK\s*=.*g++|QMAKE_LINK = %{__cxx}|
691 s|QMAKE_LINK_SHLIB\s*=.*g++|QMAKE_LINK_SHLIB = %{__cxx}|
692 s|QMAKE_CC\s*=.*gcc|QMAKE_CC = %{__cc}|
693 s|QMAKE_CXX\s*=.*g++|QMAKE_CXX = %{__cxx}|
694 s|QMAKE_CFLAGS\s*=.*-pipe|QMAKE_CFLAGS\t=\t%{rpmcflags} -pipe|
695 s|QMAKE_CFLAGS_RELEASE\s*=.*|QMAKE_CFLAGS_RELEASE\t=\t%{rpmcflags}|
696 s|QMAKE_CFLAGS_DEBUG\s*=.*|QMAKE_CFLAGS_DEBUG\t=\t%{debugcflags}|
697 s|QMAKE_CXXFLAGS_RELEASE\s*=.*|QMAKE_CXXFLAGS_RELEASE\t=\t%{rpmcxxflags}|
698 s|QMAKE_CXXFLAGS_DEBUG\s*=.*|QMAKE_CXXFLAGS_DEBUG\t=\t%{debugcflags}|
699 s|QMAKE_LFLAGS_RELEASE\s*=.*|QMAKE_LFLAGS_RELEASE\t=\t%{rpmldflags}|
700 s|QMAKE_LFLAGS_DEBUG\s*=.*|QMAKE_LFLAGS_DEBUG\t=\t%{rpmldflags}|
701 ' mkspecs/linux-g++/qmake.conf
703 # default ODBC headers are used (from unixODBC), not iodbc ones; so link with unixODBC not libiodbc
704 %{__sed} -i -e 's/-liodbc/-lodbc/' src/sql/qt_sql.pri
705 %{__sed} -i -e 's/-liodbc/-lodbc/' plugins/src/sqldrivers/odbc/odbc.pro
709 export PATH=$QTDIR/bin:$PATH
710 export LD_LIBRARY_PATH=$QTDIR/%{_lib}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
712 %if "%{_lib}" != "lib"
716 # pass OPTFLAGS to build qmake itself with optimization
717 export OPTFLAGS="%{rpmcxxflags}"
719 ##################################
720 # DEFAULT OPTIONS FOR ALL BUILDS #
721 ##################################
724 %if "%{_lib}" != "lib"
727 -DQT_CLEAN_NAMESPACE \
729 -buildkey pld-linux \
734 -headerdir %{_includedir}/qt \
735 -datadir %{_datadir}/qt \
736 -docdir %{_docdir}/%{name}-doc \
737 -sysconfdir %{_sysconfdir}/qt \
738 -translationdir %{_datadir}/locale/ \
747 -I%{_includedir}/postgresql/server \
748 -I%{_includedir}/mysql \
749 %{!?with_cups:-no}-cups \
750 %{?with_nas:-system-nas-sound} \
751 %{?with_dlopen_gl:-dlopen-opengl} \
755 ##################################
756 # OPTIONS FOR STATIC-{ST,MT} #
757 ##################################
759 %if %{with static_libs}
764 %{?with_ibase:-qt-sql-ibase} \
765 %{?with_mysql:-qt-sql-mysql} \
766 %{?with_odbc:-qt-sql-odbc} \
767 %{?with_pgsql:-qt-sql-psql} \
768 %{?with_sqlite:-qt-sql-sqlite} \
772 ##################################
773 # STATIC SINGLE-THREAD #
774 ##################################
776 %if %{with static_libs} && %{with single}
783 # Do not build tutorial and examples. Provide them as sources.
784 %{__make} symlinks src-qmake src-moc sub-src
786 # This will not remove previously compiled libraries.
790 ##################################
791 # STATIC MULTI-THREAD #
792 ##################################
794 %if %{with static_libs}
803 # Do not build tutorial and examples. Provide them as sources.
804 %{__make} symlinks src-qmake src-moc sub-src
806 # This will not remove previously compiled libraries.
810 ##################################
811 # OPTIONS FOR SHARED-{ST,MT} #
812 ##################################
815 -plugin-imgfmt-jpeg \
818 %{?with_mysql:-plugin-sql-mysql} \
819 %{?with_odbc:-plugin-sql-odbc} \
820 %{?with_pgsql:-plugin-sql-psql} \
821 %{?with_sqlite:-plugin-sql-sqlite} \
822 %{?with_ibase:-plugin-sql-ibase} \
824 -plugin-style-compact \
825 -plugin-style-motif \
826 -plugin-style-motifplus \
827 -plugin-style-platinum \
829 -plugin-style-windows"
831 ##################################
832 # SHARED SINGLE-THREAD #
833 ##################################
836 # workaround for some nasty bug to avoid
837 # linking plugins statically with -lqt-mt
838 rm -f %{_lib}/libqt-mt.prl
843 -plugindir %{_libdir}/qt/plugins-st \
848 # Do not build tutorial and examples. Provide them as sources.
849 %{__make} symlinks src-qmake src-moc sub-src
851 # Do not make tools, only plugins.
852 %{__make} -C plugins/src sub-imageformats sub-sqldrivers sub-styles
854 # This will not remove previously compiled libraries. But WILL remove
855 # plugins. And even if they weren't removed, they would be overwritten
856 # by next compilation. So they must be backed up.
859 cp -R plugins/{imageformats,styles} plugins-st
860 %{?with_sql:cp -R plugins/sqldrivers plugins-st}
864 ##################################
865 # SHARED MULTI-THREAD #
866 ##################################
872 -plugindir %{_libdir}/qt/plugins-mt \
877 %if %{without designer}
878 grep -v designer tools/tools.pro > tools/tools.pro.1
879 mv tools/tools.pro{.1,}
880 %{__make} -C tools/designer/uic \
881 UIC="LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 $QTDIR/bin/uic -L $QTDIR/plugins"
884 # Do not build tutorial and examples. Provide them as sources.
885 #%%{__make} symlinks src-qmake src-moc sub-src sub-tools
886 # with __make -jN we can got (making qmake_image_collection.o):
887 # cc1plus: error: designercore: No such file or directory
888 # cc1plus: error: one or more PCH files were found, but they were invalid
889 # cc1plus: error: use -Winvalid-pch for more information
890 %{__make} -j1 sub-tools \
891 UIC="LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 $QTDIR/bin/uic -L $QTDIR/plugins"
894 cd tools/designer/designer
895 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease designer_de.ts
896 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease designer_fr.ts
898 cd $QTDIR/tools/assistant
899 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease assistant_de.ts
900 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease assistant_fr.ts
901 cd $QTDIR/tools/linguist/linguist
902 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease linguist_de.ts
903 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease linguist_fr.ts
904 cd $QTDIR/translations/
906 LD_PRELOAD=$QTDIR/%{_lib}/libqt-mt.so.3 lrelease ${i}
910 ##make -C extensions/nsplugin/src
913 rm -rf $RPM_BUILD_ROOT
918 INSTALL_ROOT=$RPM_BUILD_ROOT
921 $RPM_BUILD_ROOT%{_sysconfdir}/qt \
922 $RPM_BUILD_ROOT%{_libdir}/qt/plugins-mt/{crypto,network} \
923 %{?with_single:$RPM_BUILD_ROOT%{_libdir}/qt/plugins-st/network} \
924 $RPM_BUILD_ROOT%{_examplesdir}/%{name}/lib \
925 $RPM_BUILD_ROOT%{_mandir}/man{1,3} \
926 $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
928 install -p bin/{findtr,qt20fix,qtrename140} \
929 tools/{msg2qm/msg2qm,mergetr/mergetr} \
930 $RPM_BUILD_ROOT%{_bindir}
932 %if %{with static_libs}
933 cp -a %{_lib}/libqt*.a $RPM_BUILD_ROOT%{_libdir}
937 install -p %{_lib}/libqt.so.*.*.* $RPM_BUILD_ROOT%{_libdir}
938 ln -sf libqt.so.%{ver} $RPM_BUILD_ROOT%{_libdir}/libqt.so
939 cp -a %{_lib}/qt.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
940 cp -R plugins-st/* $RPM_BUILD_ROOT%{_libdir}/qt/plugins-st
943 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
946 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/designer.desktop
947 install %{SOURCE5} $RPM_BUILD_ROOT%{_pixmapsdir}
950 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
951 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
953 install %{SOURCE6} %{SOURCE7} $RPM_BUILD_ROOT%{_pixmapsdir}
955 cp -a tools/qtconfig/images/appicon.png \
956 $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig.png
958 %if %{without designer}
959 install -p bin/uic $RPM_BUILD_ROOT%{_bindir}
962 # Because trolltech fails to think.
963 rm -rf $RPM_BUILD_ROOT%{_bindir}/qmake
964 install -p qmake/qmake $RPM_BUILD_ROOT%{_bindir}/qmake
966 cp -a doc/man/man1/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
967 cp -a doc/man/man3/*.3qt $RPM_BUILD_ROOT%{_mandir}/man3
969 cp -dpR examples tutorial $RPM_BUILD_ROOT%{_examplesdir}/%{name}
971 mv $RPM_BUILD_ROOT{%{_libdir}/*.prl,%{_examplesdir}/%{name}/lib}
974 # From now QMAKE_INCDIR_QT becomes %{_includedir}/qt
975 s|\(QMAKE_INCDIR_QT\s*=\s*\$(QTDIR)/include\)|\1/qt|
976 # Remove ccache if any
977 /QMAKE_\(CC\|CXX\|LINK\)/s|ccache ||;
978 ' $RPM_BUILD_ROOT%{_datadir}/qt/mkspecs/linux-g++/qmake.conf
979 rm $RPM_BUILD_ROOT%{_datadir}/qt/mkspecs/linux-g++/qmake.conf.orig
981 # We provide qt style classes as plugins,
982 # so make corresponding changes to the qconfig.h.
983 chmod u+w $RPM_BUILD_ROOT%{_includedir}/qt/qconfig.h
985 cat >> $RPM_BUILD_ROOT%{_includedir}/qt/qconfig.h << EOF
987 /* All of these style classes we provide as plugins */
988 #define QT_NO_STYLE_CDE
989 #define QT_NO_STYLE_COMPACT
990 #define QT_NO_STYLE_MOTIF
991 #define QT_NO_STYLE_MOTIFPLUS
992 #define QT_NO_STYLE_PLATINUM
993 #define QT_NO_STYLE_SGI
994 #define QT_NO_STYLE_WINDOWS
998 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
999 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ar.qm,ar/LC_MESSAGES/qt.qm}
1000 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ca.qm,ca/LC_MESSAGES/qt.qm}
1001 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_cs.qm,cs/LC_MESSAGES/qt.qm}
1002 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_de.qm,de/LC_MESSAGES/qt.qm}
1003 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_es.qm,es/LC_MESSAGES/qt.qm}
1004 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_fr.qm,fr/LC_MESSAGES/qt.qm}
1005 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_he.qm,he/LC_MESSAGES/qt.qm}
1006 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_it.qm,it/LC_MESSAGES/qt.qm}
1007 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ja.qm,ja/LC_MESSAGES/qt.qm}
1008 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_nb.qm,nb/LC_MESSAGES/qt.qm}
1009 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_pt-br.qm,pt_BR/LC_MESSAGES/qt.qm}
1010 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_ru.qm,ru/LC_MESSAGES/qt.qm}
1011 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_sk.qm,sk/LC_MESSAGES/qt.qm}
1012 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_zh-cn.qm,zh_CN/LC_MESSAGES/qt.qm}
1013 mv $RPM_BUILD_ROOT%{_datadir}/locale/{qt_zh-tw.qm,zh_TW/LC_MESSAGES/qt.qm}
1015 %if %{with designer}
1016 cp -a tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
1017 cp -a tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1020 mv $RPM_BUILD_ROOT%{_datadir}/locale/{assistant_de.qm,de/LC_MESSAGES/assistant.qm}
1021 cp -a tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1023 cp -a tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1024 cp -a tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1026 cp -a tools/linguist/qm2ts/qm2ts.1 $RPM_BUILD_ROOT%{_mandir}/man1
1028 find $RPM_BUILD_ROOT -name CVS | xargs rm -rf
1030 cd $RPM_BUILD_ROOT%{_examplesdir}/%{name}/examples
1031 for i in $(find -name Makefile); do
1032 %{__sed} -i -e "s,$RPM_BUILD_DIR,/usr,g" $i
1033 %{__sed} -i -e "s,examples,src/examples/qt/examples,g" $i
1036 cd $RPM_BUILD_ROOT%{_examplesdir}/%{name}/tutorial
1037 for i in $(find -name Makefile); do
1038 %{__sed} -i -e "s,$RPM_BUILD_DIR,/usr,g" $i
1039 %{__sed} -i -e "s,examples,src/examples/qt/tutorial,g" $i
1042 # drop some bad symlink
1043 rm -f $RPM_BUILD_ROOT%{_datadir}/qt/mkspecs/linux-g++/linux-g++
1046 rm $RPM_BUILD_ROOT%{_libdir}/libdesignercore.so.1.0
1047 rm $RPM_BUILD_ROOT%{_libdir}/libeditor.so.1.0
1048 rm $RPM_BUILD_ROOT%{_libdir}/libqassistantclient.so.1.0
1049 rm $RPM_BUILD_ROOT%{_libdir}/libqt-mt.so.3.3
1050 rm $RPM_BUILD_ROOT%{_libdir}/libqui.so.1.0
1053 rm -rf $RPM_BUILD_ROOT
1055 %post -p /sbin/ldconfig
1056 %postun -p /sbin/ldconfig
1058 %post st -p /sbin/ldconfig
1059 %postun st -p /sbin/ldconfig
1061 %post designer-libs -p /sbin/ldconfig
1062 %postun designer-libs -p /sbin/ldconfig
1065 %defattr(644,root,root,755)
1066 %doc FAQ LICENSE.* README* changes*
1067 %dir %{_sysconfdir}/qt
1068 %attr(755,root,root) %{_libdir}/libqassistantclient.so.*.*.*
1069 %attr(755,root,root) %ghost %{_libdir}/libqassistantclient.so.1
1070 %attr(755,root,root) %{_libdir}/libqt-mt.so.*.*.*
1071 %attr(755,root,root) %ghost %{_libdir}/libqt-mt.so.3
1072 %dir %{_libdir}/%{name}
1073 %dir %{_libdir}/%{name}/plugins-mt
1074 %dir %{_libdir}/%{name}/plugins-mt/crypto
1075 %dir %{_libdir}/%{name}/plugins-mt/imageformats
1076 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/imageformats/*.so
1077 %dir %{_libdir}/%{name}/plugins-mt/inputmethods
1078 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqimsw-multi.so
1079 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqimsw-none.so
1080 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqsimple.so
1081 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/inputmethods/libqxim.so
1082 %dir %{_libdir}/%{name}/plugins-mt/network
1083 %{?with_sql:%dir %{_libdir}/%{name}/plugins-mt/sqldrivers}
1084 %dir %{_libdir}/%{name}/plugins-mt/styles
1085 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/styles/*.so
1087 %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt.qm
1088 %lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/qt.qm
1089 %lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qt.qm
1090 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt.qm
1091 %lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt.qm
1092 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt.qm
1093 %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt.qm
1094 %lang(it) %{_datadir}/locale/it/LC_MESSAGES/qt.qm
1095 %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt.qm
1096 %lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/qt.qm
1097 %lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/qt.qm
1098 %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt.qm
1099 %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt.qm
1100 %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt.qm
1101 %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt.qm
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{_bindir}/makeqpf
1106 %attr(755,root,root) %{_bindir}/moc
1107 %attr(755,root,root) %{_bindir}/qembed
1108 %attr(755,root,root) %{_bindir}/qt20fix
1109 #%attr(755,root,root) %{_bindir}/qt32castcompat
1110 %attr(755,root,root) %{_bindir}/qtrename140
1111 %attr(755,root,root) %{_bindir}/uic
1113 %{_libdir}/libqassistantclient.so
1114 %{_libdir}/libqt-mt.la
1115 %{_libdir}/libqt-mt.so
1116 %{_mandir}/man1/moc*
1117 %{_mandir}/man1/uic*
1118 %{_pkgconfigdir}/qt-mt.pc
1121 %defattr(644,root,root,755)
1122 %attr(755,root,root) %{_bindir}/qmake
1123 %{_datadir}/qt/mkspecs
1125 %if %{with static_libs}
1127 %defattr(644,root,root,755)
1128 %{_libdir}/libqt-mt.a
1132 %defattr(644,root,root,755)
1133 %{_docdir}/%{name}-doc
1136 %defattr(644,root,root,755)
1137 %{_examplesdir}/%{name}
1140 %defattr(644,root,root,755)
1141 %{_mandir}/man3/Q*.3qt*
1142 %{_mandir}/man3/q*.3qt*
1146 %defattr(644,root,root,755)
1147 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlmysql.so
1152 %defattr(644,root,root,755)
1153 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlpsql.so
1158 %defattr(644,root,root,755)
1159 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlodbc.so
1163 %files plugin-sqlite
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlite.so
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/%{name}/plugins-mt/sqldrivers/libqsqlibase.so
1176 %defattr(644,root,root,755)
1177 %attr(755,root,root) %{_libdir}/libqt.so.*.*.*
1178 %dir %{_libdir}/%{name}/plugins-st
1179 %dir %{_libdir}/%{name}/plugins-st/network
1180 %{?with_sql:%dir %{_libdir}/%{name}/plugins-st/sqldrivers}
1181 %dir %{_libdir}/%{name}/plugins-st/imageformats
1182 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/imageformats/*.so
1183 %dir %{_libdir}/%{name}/plugins-st/styles
1184 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/styles/*.so
1187 %defattr(644,root,root,755)
1188 %attr(755,root,root) %{_libdir}/libqt.so
1189 %{_pkgconfigdir}/qt.pc
1191 %if %{with static_libs}
1193 %defattr(644,root,root,755)
1198 %files st-plugin-mysql
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlmysql.so
1204 %files st-plugin-psql
1205 %defattr(644,root,root,755)
1206 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlpsql.so
1210 %files st-plugin-odbc
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlodbc.so
1216 %files st-plugin-sqlite
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlite.so
1222 %files st-plugin-ibase
1223 %defattr(644,root,root,755)
1224 %attr(755,root,root) %{_libdir}/%{name}/plugins-st/sqldrivers/libqsqlibase.so
1228 %if %{with designer}
1229 %files designer-libs
1230 %defattr(644,root,root,755)
1231 %attr(755,root,root) %{_libdir}/libdesignercore.so.*.*.*
1232 %attr(755,root,root) %ghost %{_libdir}/libdesignercore.so.1
1233 %attr(755,root,root) %{_libdir}/libeditor.so.*.*.*
1234 %attr(755,root,root) %ghost %{_libdir}/libeditor.so.1
1235 %attr(755,root,root) %{_libdir}/libqui.so.*.*.*
1236 %attr(755,root,root) %ghost %{_libdir}/libqui.so.1
1237 %attr(755,root,root) %{_libdir}/libdesignercore.so
1238 %attr(755,root,root) %{_libdir}/libeditor.so
1239 %attr(755,root,root) %{_libdir}/libqui.so
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_bindir}/createcw
1244 %attr(755,root,root) %{_bindir}/designer
1245 %attr(755,root,root) %{_libdir}/%{name}/plugins-?t/designer/*.so
1246 %dir %{_libdir}/%{name}/plugins-?t/designer
1247 %{_datadir}/qt/designer
1248 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/designer.qm
1249 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1250 %{_desktopdir}/designer.desktop
1251 %{_pixmapsdir}/designer.png
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) %{_bindir}/assistant
1257 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1258 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1259 %{_desktopdir}/assistant.desktop
1260 %{_pixmapsdir}/assistant.png
1263 %defattr(644,root,root,755)
1264 %attr(755,root,root) %{_bindir}/linguist
1265 %attr(755,root,root) %{_bindir}/findtr
1266 %attr(755,root,root) %{_bindir}/lrelease
1267 %attr(755,root,root) %{_bindir}/lupdate
1268 %attr(755,root,root) %{_bindir}/mergetr
1269 %attr(755,root,root) %{_bindir}/qm2ts
1270 %attr(755,root,root) %{_bindir}/msg2qm
1271 %lang(de) %{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1272 %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1273 %{_datadir}/qt/phrasebooks
1274 %{_desktopdir}/linguist.desktop
1275 %{_pixmapsdir}/linguist.png
1277 %{_mandir}/man1/*qm*
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_bindir}/qtconfig
1282 %{_desktopdir}/qtconfig.desktop
1283 %{_pixmapsdir}/qtconfig.png