]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: | |
3 | # - better descriptions | |
4 | # - more cleanups | |
5 | # - check if translations are available | |
6 | # - check Qt ui tool | |
7 | # - solve dep loops: | |
8 | #error: LOOP: | |
9 | #error: removing QtGui-4.4.3-1.athlon "Requires(auto): libQtSvg.so.4" from tsort relations. | |
10 | #error: QtGui-4.4.3-1.athlon Requires(auto): libQtSvg.so.4 | |
11 | #error: removing QtSvg-4.4.3-1.athlon "Requires(auto): libQtGui.so.4" from tsort relations. | |
12 | #error: QtSvg-4.4.3-1.athlon Requires(auto): libQtGui.so.4 | |
13 | # | |
14 | #error: LOOP: | |
15 | #error: removing QtGui-4.3.4-2.athlon "Requires(auto): libQtGui.so.4" from tsort relations. | |
16 | #error: QtGui-4.3.4-2.athlon Requires(auto): libQtGui.so.4 | |
17 | #error: removing QtSvg-4.3.4-2.athlon "Requires(auto): libQtSvg.so.4" from tsort relations. | |
18 | #error: QtSvg-4.3.4-2.athlon Requires(auto): libQtSvg.so.4 | |
19 | # | |
20 | #error: LOOP: | |
21 | #error: removing Qt3Support-4.4.3-1.athlon "Requires: QtGui = 4.4.3-1" from tsort relations. | |
22 | #error: Qt3Support-4.4.3-1.athlon Requires: QtGui = 4.4.3-1 | |
23 | #error: removing QtGui-4.4.3-1.athlon "Requires: Qt3Support = 4.4.3-1" from tsort relations. | |
24 | #error: QtGui-4.4.3-1.athlon Requires: Qt3Support = 4.4.3-1 | |
25 | # | |
26 | #error: LOOP: | |
27 | #error: removing QtGui-4.3.4-2.athlon "Requires: QtGui = 4.3.4-2" from tsort relations. | |
28 | #error: QtGui-4.3.4-2.athlon Requires: QtGui = 4.3.4-2 | |
29 | #error: removing Qt3Support-4.3.4-2.athlon "Requires: Qt3Support = 4.3.4-2" from tsort relations. | |
30 | #error: Qt3Support-4.3.4-2.athlon Requires: Qt3Support = 4.3.4-2 | |
31 | # | |
32 | # Conditional build: | |
33 | %bcond_with nas # enable NAS audio support | |
34 | %bcond_without static_libs # build static libraries | |
35 | %bcond_without cups # disable CUPS support | |
36 | %bcond_without mysql # don't build MySQL plugin | |
37 | %bcond_without odbc # don't build unixODBC plugin | |
38 | %bcond_without pgsql # don't build PostgreSQL plugin | |
39 | %bcond_without sqlite3 # don't build SQLite3 plugin | |
40 | %bcond_without sqlite # don't build SQLite2 plugin | |
41 | %bcond_without ibase # don't build ibase (InterBase/Firebird) plugin | |
42 | %bcond_without pch # disable pch in qmake | |
43 | %bcond_with sse # use SSE instructions in gui/painting module | |
44 | %bcond_with sse2 # use SSE2 instructions | |
45 | # | |
46 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc | |
47 | %undefine with_ibase | |
48 | %endif | |
49 | %ifarch pentium3 pentium4 %{x8664} | |
50 | %define with_sse 1 | |
51 | %endif | |
52 | %ifarch pentium4 %{x8664} | |
53 | %define with_sse2 1 | |
54 | %endif | |
55 | # any SQL | |
56 | %define _withsql 1 | |
57 | %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}} | |
58 | # | |
59 | Summary: The Qt GUI application framework | |
60 | Summary(es.UTF-8): Biblioteca para ejecutar aplicaciones GUI Qt | |
61 | Summary(pl.UTF-8): Biblioteka Qt do tworzenia GUI | |
62 | Summary(pt_BR.UTF-8): Estrutura para rodar aplicações GUI Qt | |
63 | Name: qt4 | |
64 | Version: 4.5.0 | |
65 | Release: 2 | |
66 | License: LGPL v2.1 or GPL v3.0 | |
67 | Group: X11/Libraries | |
68 | Source0: http://download.qtsoftware.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz | |
69 | # Source0-md5: d6d1555b7a074e0a746f6247af402e11 | |
70 | Source2: %{name}-qtconfig.desktop | |
71 | Source3: %{name}-designer.desktop | |
72 | Source4: %{name}-assistant.desktop | |
73 | Source5: %{name}-linguist.desktop | |
74 | Patch0: %{name}-tools.patch | |
75 | Patch1: %{name}-qt_copy.patch | |
76 | Patch2: %{name}-buildsystem.patch | |
77 | Patch3: %{name}-locale.patch | |
78 | Patch4: %{name}-antialias.patch | |
79 | Patch5: %{name}-support-cflags-with-commas.patch | |
80 | Patch6: %{name}-build-lib-static.patch | |
81 | Patch7: %{name}-x11_fonts.patch | |
82 | Patch8: %{name}-pl-update.patch | |
83 | Patch9: %{name}-ibase.patch | |
84 | Patch10: %{name}-ppc.patch | |
85 | # svn://anonsvn.kde.org/home/kde/trunk/qt-copy/patches | |
86 | URL: http://www.qtsoftware.com/ | |
87 | %{?with_ibase:BuildRequires: Firebird-devel} | |
88 | BuildRequires: OpenGL-GLU-devel | |
89 | %{?with_sqlite3:BuildRequires: sqlite3-devel} | |
90 | # incompatible with bison | |
91 | %{?with_cups:BuildRequires: cups-devel} | |
92 | BuildRequires: dbus-devel >= 0.62 | |
93 | BuildRequires: fontconfig-devel | |
94 | BuildRequires: freetds-devel | |
95 | BuildRequires: freetype-devel >= 1:2.0.0 | |
96 | %{?with_pch:BuildRequires: gcc >= 5:4.0} | |
97 | BuildRequires: giflib-devel | |
98 | BuildRequires: glib2-devel >= 2.0.0 | |
99 | BuildRequires: gstreamer-plugins-base-devel | |
100 | BuildRequires: libjpeg-devel | |
101 | BuildRequires: libmng-devel >= 1.0.0 | |
102 | BuildRequires: libpng-devel >= 2:1.0.8 | |
103 | BuildRequires: libstdc++-devel | |
104 | %{?with_mysql:BuildRequires: mysql-devel} | |
105 | %{?with_nas:BuildRequires: nas-devel} | |
106 | BuildRequires: pkgconfig | |
107 | %{?with_pgsql:BuildRequires: postgresql-backend-devel} | |
108 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
109 | %{?with_pgsql:BuildRequires: postgresql-static} | |
110 | BuildRequires: rpmbuild(macros) >= 1.213 | |
111 | BuildRequires: sed >= 4.0 | |
112 | %{?with_sqlite:BuildRequires: sqlite-devel} | |
113 | %{?with_odbc:BuildRequires: unixODBC-devel >= 2.2.12-2} | |
114 | BuildRequires: xorg-lib-libSM-devel | |
115 | BuildRequires: xorg-lib-libXcursor-devel | |
116 | BuildRequires: xorg-lib-libXext-devel | |
117 | BuildRequires: xorg-lib-libXfixes-devel | |
118 | BuildRequires: xorg-lib-libXi-devel | |
119 | BuildRequires: xorg-lib-libXinerama-devel | |
120 | BuildRequires: xorg-lib-libXrandr-devel | |
121 | BuildRequires: xorg-lib-libXrender-devel | |
122 | BuildRequires: xorg-lib-libXtst-devel | |
123 | BuildRequires: zlib-devel | |
124 | BuildConflicts: QtCore-devel <= %{version} | |
125 | BuildConflicts: QtScript-devel <= %{version} | |
126 | Obsoletes: qt-extensions | |
127 | Obsoletes: qt-utils | |
128 | Conflicts: kdelibs <= 8:3.2-0.030602.1 | |
129 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
130 | ||
131 | %define _noautoreqdep libGL.so.1 libGLU.so.1 | |
132 | %define _noautostrip '.*_debug\\.so*' | |
133 | ||
134 | %define specflags -fno-strict-aliasing | |
135 | ||
136 | %define _qtdir %{_libdir}/qt4 | |
137 | ||
138 | %description | |
139 | Qt is a complete C++ application development framework, which includes | |
140 | a class library and tools for multiplatform development and | |
141 | internationalization. Using Qt, a single source code tree can build | |
142 | applications that run natively on different platforms (Windows, | |
143 | Unix/Linux, Mac OS X, embedded Linux). | |
144 | ||
145 | Qt has a rich set of standard widgets, and lets you write custom | |
146 | controls. It encapsulates four different platform-specific APIs, and | |
147 | the APIs for file-handling, networking, process-handling, threading, | |
148 | database access, etc. Qt now also has Motif migration oraz Netscape | |
149 | LiveConnect plugin. | |
150 | ||
151 | %description -l es.UTF-8 | |
152 | Contiene las bibliotecas compartidas necesarias para ejecutar | |
153 | aplicaciones Qt, bien como los archivos README. | |
154 | ||
155 | %description -l pl.UTF-8 | |
156 | Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w | |
157 | języku C++, w którego skład wchodzi biblioteka z klasami oraz | |
158 | wieloplatformowymi narzędziami do rozwijania i tłumaczenia aplikacji. | |
159 | Z pomocą Qt jeden kod źródłowy może być natywnie uruchamiany na | |
160 | różnych platformach (Windows, Unix/Linux, Mac OS X). | |
161 | ||
162 | Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale | |
163 | pozwala również na pisanie własnych elementów. Łączy w sposób | |
164 | niewidoczny dla programisty interfejsy programowania różnych systemów, | |
165 | tworząc w ten sposób jeden interfejs dla obsługi plików, sieci, | |
166 | procesów, wątków, baz danych itp. Umożliwia także łatwe przenoszenie | |
167 | na Qt aplikacji korzystających z Motif oraz pisanie wtyczek z | |
168 | wykorzystaniem Netscape LiveConnect. | |
169 | ||
170 | %package -n Qt3Support | |
171 | Summary: Qt3 compatibility library | |
172 | Summary(pl.UTF-8): Biblioteka kompatybilności z Qt3 | |
173 | Group: X11/Libraries | |
174 | Requires: QtCore = %{version}-%{release} | |
175 | Requires: QtGui = %{version}-%{release} | |
176 | Requires: QtNetwork = %{version}-%{release} | |
177 | Requires: QtSql = %{version}-%{release} | |
178 | Requires: QtXml = %{version}-%{release} | |
179 | ||
180 | %description -n Qt3Support | |
181 | Qt3 compatibility library. | |
182 | ||
183 | %description -n Qt3Support -l pl.UTF-8 | |
184 | Biblioteka kompatybilności z Qt3. | |
185 | ||
186 | %package -n Qt3Support-devel | |
187 | Summary: Qt3 compatibility library - development files | |
188 | Summary(pl.UTF-8): Biblioteka kompatybilności z Qt3 - pliki programistyczne | |
189 | Group: X11/Development/Libraries | |
190 | Requires: Qt3Support = %{version}-%{release} | |
191 | Requires: QtCore-devel = %{version}-%{release} | |
192 | Requires: QtGui-devel = %{version}-%{release} | |
193 | Requires: QtNetwork-devel = %{version}-%{release} | |
194 | Requires: QtSql-devel = %{version}-%{release} | |
195 | Requires: QtXml-devel = %{version}-%{release} | |
196 | ||
197 | %description -n Qt3Support-devel | |
198 | Qt3 compatibility library - development files. | |
199 | ||
200 | %description -n Qt3Support-devel -l pl.UTF-8 | |
201 | Biblioteka kompatybilności z Qt3 - pliki programistyczne. | |
202 | ||
203 | %package -n Qt3Support-static | |
204 | Summary: Qt3 compatibility library - static libraries | |
205 | Summary(pl.UTF-8): Biblioteka kompatybilności z Qt3 - biblioteki statyczne | |
206 | Group: X11/Development/Libraries | |
207 | Requires: Qt3Support-devel = %{version}-%{release} | |
208 | ||
209 | %description -n Qt3Support-static | |
210 | Qt3 compatibility library - static libraries. | |
211 | ||
212 | %description -n Qt3Support-static -l pl.UTF-8 | |
213 | Biblioteka kompatybilności z Qt3 - biblioteki statyczne. | |
214 | ||
215 | %package -n QtAssistant | |
216 | Summary: Qt Assistant client library | |
217 | Summary(pl.UTF-8): Biblioteka kliencka Qt Assistant | |
218 | Group: X11/Development/Libraries | |
219 | Requires: QtGui = %{version}-%{release} | |
220 | Requires: QtNetwork = %{version}-%{release} | |
221 | ||
222 | %description -n QtAssistant | |
223 | This library allows to use Qt Assistant as an application's help tool. | |
224 | ||
225 | %description -n QtAssistant -l pl.UTF-8 | |
226 | Ta biblioteka umożliwia wykorzystanie Qt Assistanta jako narzędzie | |
227 | pomocy w aplikacjach. | |
228 | ||
229 | %package -n QtAssistant-devel | |
230 | Summary: Qt Assistant client library - development files | |
231 | Summary(pl.UTF-8): Biblioteka kliencka Qt Assistant - pliki programistyczne | |
232 | Group: X11/Development/Libraries | |
233 | Requires: QtAssistant = %{version}-%{release} | |
234 | Requires: QtGui-devel = %{version}-%{release} | |
235 | Requires: QtNetwork-devel = %{version}-%{release} | |
236 | ||
237 | %description -n QtAssistant-devel | |
238 | Development files for Qt Assistant client library. | |
239 | ||
240 | %description -n QtAssistant-devel -l pl.UTF-8 | |
241 | Pliki programistyczne biblioteki klienckiej Qt Assistant. | |
242 | ||
243 | %package -n QtAssistant-static | |
244 | Summary: Static Qt Assistant client library | |
245 | Summary(pl.UTF-8): Statyczna biblioteka kliencka Qt Assistant | |
246 | Group: X11/Development/Libraries | |
247 | Requires: QtAssistant-devel = %{version}-%{release} | |
248 | ||
249 | %description -n QtAssistant-static | |
250 | Static Qt Assistant client library. | |
251 | ||
252 | %description -n QtAssistant-static -l pl.UTF-8 | |
253 | Statyczna biblioteka kliencka Qt Assistant. | |
254 | ||
255 | %package -n QtCLucene | |
256 | Summary: QtCLucene full text search library wrapper | |
257 | Summary(pl.UTF-8): Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego | |
258 | Group: X11/Libraries | |
259 | Requires: QtCore = %{version}-%{release} | |
260 | ||
261 | %description -n QtCLucene | |
262 | QtCLucene full text search library wrapper. | |
263 | ||
264 | %description -n QtCLucene -l pl.UTF-8 | |
265 | Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego. | |
266 | ||
267 | %package -n QtCLucene-devel | |
268 | Summary: QtCLucene full text search library wrapper - development files | |
269 | Summary(pl.UTF-8): Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki programistyczne | |
270 | Group: X11/Development/Libraries | |
271 | Requires: QtCLucene = %{version}-%{release} | |
272 | Requires: QtCore-devel = %{version}-%{release} | |
273 | ||
274 | %description -n QtCLucene-devel | |
275 | QtCLucene full text search library wrapper - development files. | |
276 | ||
277 | %description -n QtCLucene-devel -l pl.UTF-8 | |
278 | Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - pliki | |
279 | programistyczne. | |
280 | ||
281 | %package -n QtCLucene-static | |
282 | Summary: QtCLucene full text search library wrapper - static library | |
283 | Summary(pl.UTF-8): Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - biblioteka statyczna | |
284 | Group: X11/Development/Libraries | |
285 | Requires: QtCLucene-devel = %{version}-%{release} | |
286 | ||
287 | %description -n QtCLucene-static | |
288 | QtCLucene full text search library wrapper - static library. | |
289 | ||
290 | %description -n QtCLucene-static -l pl.UTF-8 | |
291 | Interfejs QtCLucene do biblioteki wyszukiwania pełnotekstowego - | |
292 | biblioteka statyczna. | |
293 | ||
294 | %package -n QtCore | |
295 | Summary: Core classes used by other modules | |
296 | Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły | |
297 | Group: X11/Libraries | |
298 | Requires(post): /sbin/ldconfig | |
299 | ||
300 | %description -n QtCore | |
301 | Core classes used by other modules. | |
302 | ||
303 | %description -n QtCore -l pl.UTF-8 | |
304 | Podstawowe klasy używane przez inne moduły. | |
305 | ||
306 | %package -n QtCore-devel | |
307 | Summary: Core classes used by other modules - development files | |
308 | Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły - pliki programistyczne | |
309 | Group: X11/Development/Libraries | |
310 | Requires: QtCore = %{version}-%{release} | |
311 | Requires: glib2-devel | |
312 | Requires: libstdc++-devel | |
313 | Requires: zlib-devel | |
314 | ||
315 | %description -n QtCore-devel | |
316 | Core classes used by other modules - development files. | |
317 | ||
318 | %description -n QtCore-devel -l pl.UTF-8 | |
319 | Podstawowe klasy używane przez inne moduły - pliki programistyczne. | |
320 | ||
321 | %package -n QtCore-static | |
322 | Summary: Core classes used by other modules - static libraries | |
323 | Summary(pl.UTF-8): Podstawowe klasy używane przez inne moduły - biblioteki statyczne | |
324 | Group: X11/Development/Libraries | |
325 | Requires: QtCore-devel = %{version}-%{release} | |
326 | ||
327 | %description -n QtCore-static | |
328 | Core classes used by other modules - static libraries. | |
329 | ||
330 | %description -n QtCore-static -l pl.UTF-8 | |
331 | Podstawowe klasy używane przez inne moduły - biblioteki statyczne. | |
332 | ||
333 | %package -n QtDBus | |
334 | Summary: Classes for D-BUS support | |
335 | Summary(pl.UTF-8): Klasy do obsługi D-BUS | |
336 | Group: X11/Libraries | |
337 | Requires: QtXml = %{version}-%{release} | |
338 | ||
339 | %description -n QtDBus | |
340 | This module provides classes for D-BUS support. D-BUS is an | |
341 | Inter-Process Communication (IPC) and Remote Procedure Calling (RPC) | |
342 | mechanism originally developed for Linux to replace existing and | |
343 | competing IPC solutions with one unified protocol. | |
344 | ||
345 | %description -n QtDBus -l pl.UTF-8 | |
346 | Ten moduł udostępnia klasy do obsługi D-BUS. D-BUS to mechanizm | |
347 | komunikacji między procesowej (IPC - Inter-Process Communication) i | |
348 | zdalnego wywoływania procedur (RPC - Remote Procedure Calling) | |
349 | stworzony początkowo dla Linuksa, aby zastąpić istniejące i | |
350 | konkurujące ze sobą rozwiązania IPC jednym, ujednoliconym protokołem. | |
351 | ||
352 | %package -n QtDBus-devel | |
353 | Summary: Classes for D-BUS support - development files | |
354 | Summary(pl.UTF-8): Klasy do obsługi D-BUS - pliki programistyczne | |
355 | Group: X11/Development/Libraries | |
356 | Requires: QtDBus = %{version}-%{release} | |
357 | Requires: QtXml-devel = %{version}-%{release} | |
358 | Requires: dbus-devel | |
359 | Requires: glib2-devel >= 2.0.0 | |
360 | ||
361 | %description -n QtDBus-devel | |
362 | Classes for D-BUS support - development files. | |
363 | ||
364 | %description -n QtDBus-devel -l pl.UTF-8 | |
365 | Klasy do obsługi D-BUS - pliki programistyczne. | |
366 | ||
367 | %package -n QtDBus-static | |
368 | Summary: Classes for D-BUS support - static libraries | |
369 | Summary(pl.UTF-8): Klasy do obsługi D-BUS - biblioteki statyczne | |
370 | Group: X11/Development/Libraries | |
371 | Requires: QtDBus-devel = %{version}-%{release} | |
372 | ||
373 | %description -n QtDBus-static | |
374 | Classes for D-BUS support - static libraries. | |
375 | ||
376 | %description -n QtDBus-static -l pl.UTF-8 | |
377 | Klasy do obsługi D-BUS - biblioteki statyczne. | |
378 | ||
379 | %package -n QtDesigner | |
380 | Summary: Classes for extending Qt Designer | |
381 | Summary(pl.UTF-8): Klasy do rozbudowy Qt Designera | |
382 | Group: X11/Libraries | |
383 | Requires: QtGui = %{version}-%{release} | |
384 | Requires: QtNetwork = %{version}-%{release} | |
385 | Requires: QtXml = %{version}-%{release} | |
386 | Obsoletes: qt4-designer-libs | |
387 | ||
388 | %description -n QtDesigner | |
389 | This module provides classes that allow you to create your own custom | |
390 | widget plugins for Qt Designer, and classes that enable you to access | |
391 | Qt Designer's components. | |
392 | ||
393 | %description -n QtDesigner -l pl.UTF-8 | |
394 | Ten moduł dostarcza klasy, które pozwalają tworzyć własne wtyczki dla | |
395 | Qt Designera oraz klasy, które umożliwiają dostęp do jego komponentów. | |
396 | ||
397 | %package -n QtDesigner-devel | |
398 | Summary: Classes for extending Qt Designer - development files | |
399 | Summary(pl.UTF-8): Klasy do rozbudowy Qt Designera - pliki programistyczne | |
400 | Group: X11/Development/Libraries | |
401 | Requires: QtDesigner = %{version}-%{release} | |
402 | Requires: QtGui-devel = %{version}-%{release} | |
403 | Requires: QtScript-devel = %{version}-%{release} | |
404 | Requires: QtXml-devel = %{version}-%{release} | |
405 | ||
406 | %description -n QtDesigner-devel | |
407 | Classes for extending Qt Designer - development files. | |
408 | ||
409 | %description -n QtDesigner-devel -l pl.UTF-8 | |
410 | Klasy do rozbudowy Qt Designera - pliki programistyczne. | |
411 | ||
412 | %package -n QtDesigner-static | |
413 | Summary: Classes for extending Qt Designer - static libraries | |
414 | Summary(pl.UTF-8): Klasy do rozbudowy Qt Designera - biblioteki statyczne | |
415 | Group: X11/Development/Libraries | |
416 | Requires: QtDesigner-devel = %{version}-%{release} | |
417 | ||
418 | %description -n QtDesigner-static | |
419 | Classes for extending Qt Designer - static libraries. | |
420 | ||
421 | %description -n QtDesigner-static -l pl.UTF-8 | |
422 | Klasy do rozbudowy Qt Designera - biblioteki statyczne. | |
423 | ||
424 | %package -n QtGui | |
425 | Summary: Graphical User Interface components | |
426 | Summary(pl.UTF-8): Komponenty graficznego interfejsu użytkownika | |
427 | Group: X11/Libraries | |
428 | Requires: QtCore = %{version}-%{release} | |
429 | # two following because of some plugins | |
430 | Requires: Qt3Support = %{version}-%{release} | |
431 | Requires: QtSql = %{version}-%{release} | |
432 | ||
433 | %description -n QtGui | |
434 | Graphical User Interface components. | |
435 | ||
436 | %description -n QtGui -l pl.UTF-8 | |
437 | Komponenty graficznego interfejsu użytkownika. | |
438 | ||
439 | %package -n QtGui-devel | |
440 | Summary: Graphical User Interface components - development files | |
441 | Summary(pl.UTF-8): Komponenty graficznego interfejsu użytkownika - pliki programistyczne | |
442 | Group: X11/Development/Libraries | |
443 | Requires: QtCore-devel = %{version}-%{release} | |
444 | Requires: QtGui = %{version}-%{release} | |
445 | Requires: fontconfig-devel | |
446 | Requires: freetype-devel >= 1:2.0.0 | |
447 | Requires: libpng-devel >= 2:1.0.8 | |
448 | Requires: xorg-lib-libSM-devel | |
449 | Requires: xorg-lib-libXcursor-devel | |
450 | Requires: xorg-lib-libXext-devel | |
451 | Requires: xorg-lib-libXfixes-devel | |
452 | Requires: xorg-lib-libXi-devel | |
453 | Requires: xorg-lib-libXinerama-devel | |
454 | Requires: xorg-lib-libXrandr-devel | |
455 | Requires: xorg-lib-libXrender-devel | |
456 | ||
457 | %description -n QtGui-devel | |
458 | Graphical User Interface components - development files. | |
459 | ||
460 | %description -n QtGui-devel -l pl.UTF-8 | |
461 | Komponenty graficznego interfejsu użytkownika - pliki programistyczne. | |
462 | ||
463 | %package -n QtGui-static | |
464 | Summary: Graphical User Interface components - static libraries | |
465 | Summary(pl.UTF-8): Komponenty graficznego interfejsu użytkownika - biblioteki statyczne | |
466 | Group: X11/Development/Libraries | |
467 | Requires: QtGui-devel = %{version}-%{release} | |
468 | ||
469 | %description -n QtGui-static | |
470 | Graphical User Interface components - static libraries. | |
471 | ||
472 | %description -n QtGui-static -l pl.UTF-8 | |
473 | Komponenty graficznego interfejsu użytkownika - biblioteki statyczne. | |
474 | ||
475 | %package -n QtHelp | |
476 | Summary: Classes for integrating online documentation in applications | |
477 | Summary(pl.UTF-8): Klasy do integracji dokumentacji w aplikacjach | |
478 | Group: X11/Libraries | |
479 | Requires: QtGui = %{version}-%{release} | |
480 | ||
481 | %description -n QtHelp | |
482 | QtHelp module includes tools for generating and viewing Qt help files. | |
483 | In addition it provides classes for accessing help contents | |
484 | programatically to be able to integrate online help into Qt | |
485 | applications. | |
486 | ||
487 | %description -n QtHelp -l pl.UTF-8 | |
488 | Moduł QtHelp zawiera narzędzia do generowania i przeglądania plików | |
489 | pomocy Qt. Oprócz tego udostępnia klasy pozwalające na programowy | |
490 | dostęp do zawartości dokumentacji w celu integracji pomocy w | |
491 | aplikacjach Qt. | |
492 | ||
493 | %package -n QtHelp-devel | |
494 | Summary: Classes for integrating online documentation in applications - development files | |
495 | Summary(pl.UTF-8): Klasy do integracji dokumentacji w aplikacjach - pliki programistyczne | |
496 | Group: X11/Development/Libraries | |
497 | Requires: QtCLucene-devel = %{version}-%{release} | |
498 | Requires: QtGui-devel = %{version}-%{release} | |
499 | Requires: QtHelp = %{version}-%{release} | |
500 | Requires: QtSql-devel = %{version}-%{release} | |
501 | Requires: QtXml-devel = %{version}-%{release} | |
502 | ||
503 | %description -n QtHelp-devel | |
504 | Classes for integrating online documentation in applications - | |
505 | development files. | |
506 | ||
507 | %description -n QtHelp-devel -l pl.UTF-8 | |
508 | Klasy do integracji dokumentacji w aplikacjach - pliki | |
509 | programistyczne. | |
510 | ||
511 | %package -n QtHelp-static | |
512 | Summary: Classes for integrating online documentation in applications - static library | |
513 | Summary(pl.UTF-8): Klasy do integracji dokumentacji w aplikacjach - biblioteka statyczna | |
514 | Group: X11/Development/Libraries | |
515 | Requires: QtHelp-devel = %{version}-%{release} | |
516 | ||
517 | %description -n QtHelp-static | |
518 | Classes for integrating online documentation in applications - static | |
519 | library. | |
520 | ||
521 | %description -n QtHelp-static -l pl.UTF-8 | |
522 | Klasy do integracji dokumentacji w aplikacjach - biblioteka statyczna. | |
523 | ||
524 | %package -n QtNetwork | |
525 | Summary: Classes for network programming | |
526 | Summary(pl.UTF-8): Klasy do programowania sieciowego | |
527 | Group: X11/Libraries | |
528 | Requires: QtCore = %{version}-%{release} | |
529 | ||
530 | %description -n QtNetwork | |
531 | Classes for network programming. | |
532 | ||
533 | %description -n QtNetwork -l pl.UTF-8 | |
534 | Klasy do programowania sieciowego. | |
535 | ||
536 | %package -n QtNetwork-devel | |
537 | Summary: Classes for network programming - development files | |
538 | Summary(pl.UTF-8): Klasy do programowania sieciowego - pliki programistyczne | |
539 | Group: X11/Development/Libraries | |
540 | Requires: QtCore-devel = %{version}-%{release} | |
541 | Requires: QtNetwork = %{version}-%{release} | |
542 | ||
543 | %description -n QtNetwork-devel | |
544 | Classes for network programming - development files. | |
545 | ||
546 | %description -n QtNetwork-devel -l pl.UTF-8 | |
547 | Klasy do programowania sieciowego - pliki programistyczne. | |
548 | ||
549 | %package -n QtNetwork-static | |
550 | Summary: Classes for network programming - static libraries | |
551 | Summary(pl.UTF-8): Klasy do programowania sieciowego - biblioteki statyczne | |
552 | Group: X11/Development/Libraries | |
553 | Requires: QtNetwork-devel = %{version}-%{release} | |
554 | ||
555 | %description -n QtNetwork-static | |
556 | Classes for network programming - static libraries. | |
557 | ||
558 | %description -n QtNetwork-static -l pl.UTF-8 | |
559 | Klasy do programowania sieciowego - biblioteki statyczne. | |
560 | ||
561 | %package -n QtOpenGL | |
562 | Summary: OpenGL support classes | |
563 | Summary(pl.UTF-8): Klasy wspomagające OpenGL | |
564 | Group: X11/Libraries | |
565 | Requires: QtCore = %{version}-%{release} | |
566 | ||
567 | %description -n QtOpenGL | |
568 | OpenGL support classes. | |
569 | ||
570 | %description -n QtOpenGL -l pl.UTF-8 | |
571 | Klasy wspomagające OpenGL. | |
572 | ||
573 | %package -n QtOpenGL-devel | |
574 | Summary: OpenGL support classes - development files | |
575 | Summary(pl.UTF-8): Klasy wspomagające OpenGL - pliki programistyczne | |
576 | Group: X11/Development/Libraries | |
577 | Requires: OpenGL-GLU-devel | |
578 | Requires: QtCore-devel = %{version}-%{release} | |
579 | Requires: QtGui-devel = %{version}-%{release} | |
580 | Requires: QtOpenGL = %{version}-%{release} | |
581 | ||
582 | %description -n QtOpenGL-devel | |
583 | OpenGL support classes - development files. | |
584 | ||
585 | %description -n QtOpenGL-devel -l pl.UTF-8 | |
586 | Klasy wspomagające OpenGL - pliki programistyczne. | |
587 | ||
588 | %package -n QtOpenGL-static | |
589 | Summary: OpenGL support classes - static libraries | |
590 | Summary(pl.UTF-8): Klasy wspomagające OpenGL - biblioteki statyczne | |
591 | Group: X11/Development/Libraries | |
592 | Requires: QtOpenGL-devel = %{version}-%{release} | |
593 | ||
594 | %description -n QtOpenGL-static | |
595 | OpenGL support classes - static libraries. | |
596 | ||
597 | %description -n QtOpenGL-static -l pl.UTF-8 | |
598 | Klasy wspomagające OpenGL - biblioteki statyczne. | |
599 | ||
600 | %package -n QtScript | |
601 | Summary: Classes for scripting applications | |
602 | Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach | |
603 | Group: X11/Development/Libraries | |
604 | ||
605 | %description -n QtScript | |
606 | The QtScript module provides classes to handle scripts inside | |
607 | applications. | |
608 | ||
609 | %description -n QtScript -l pl.UTF-8 | |
610 | Ten moduł dostarcza klasy obsługujące języki skryptowe wewnątrz | |
611 | aplikacji. | |
612 | ||
613 | %package -n QtScript-devel | |
614 | Summary: Classes for scripting applications - development files | |
615 | Summary(pl.UTF-8): Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne | |
616 | Group: X11/Development/Libraries | |
617 | Requires: QtCore-devel = %{version}-%{release} | |
618 | Requires: QtScript = %{version}-%{release} | |
619 | ||
620 | %description -n QtScript-devel | |
621 | Classes for scriptin applications - development files. | |
622 | ||
623 | %description -n QtScript-devel -l pl.UTF-8 | |
624 | Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne. | |
625 | ||
626 | %package -n QtScript-static | |
627 | Summary: Classes for scripting applications - static library | |
628 | Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka statyczna | |
629 | Group: X11/Development/Libraries | |
630 | Requires: QtScript-devel = %{version}-%{release} | |
631 | ||
632 | %description -n QtScript-static | |
633 | Classes for scripting applications - static library. | |
634 | ||
635 | %description -n QtScript-static -l pl.UTF-8 | |
636 | Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka | |
637 | statyczna. | |
638 | ||
639 | %package -n QtScriptTools | |
640 | Summary: Classes for scripting applications | |
641 | Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach | |
642 | Group: X11/Development/Libraries | |
643 | ||
644 | %description -n QtScriptTools | |
645 | The QtScriptTools module provides classes to handle scripts inside | |
646 | applications. | |
647 | ||
648 | %description -n QtScriptTools -l pl.UTF-8 | |
649 | Ten moduł dostarcza klasy obsługujące języki skryptowe wewnątrz | |
650 | aplikacji. | |
651 | ||
652 | %package -n QtScriptTools-devel | |
653 | Summary: Classes for scripting applications - development files | |
654 | Summary(pl.UTF-8): Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne | |
655 | Group: X11/Development/Libraries | |
656 | Requires: QtCore-devel = %{version}-%{release} | |
657 | Requires: QtScript-devel = %{version}-%{release} | |
658 | Requires: QtScriptTools = %{version}-%{release} | |
659 | ||
660 | %description -n QtScriptTools-devel | |
661 | Classes for scriptin applications - development files. | |
662 | ||
663 | %description -n QtScriptTools-devel -l pl.UTF-8 | |
664 | Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne. | |
665 | ||
666 | %package -n QtScriptTools-static | |
667 | Summary: Classes for scripting applications - static library | |
668 | Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka statyczna | |
669 | Group: X11/Development/Libraries | |
670 | Requires: QtScriptTools-devel = %{version}-%{release} | |
671 | ||
672 | %description -n QtScriptTools-static | |
673 | Classes for scripting applications - static library. | |
674 | ||
675 | %description -n QtScriptTools-static -l pl.UTF-8 | |
676 | Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka | |
677 | statyczna. | |
678 | ||
679 | %package -n QtSql | |
680 | Summary: Classes for database integration using SQL | |
681 | Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL | |
682 | Group: X11/Libraries | |
683 | Requires: QtCore = %{version}-%{release} | |
684 | ||
685 | %description -n QtSql | |
686 | Classes for database integration using SQL. | |
687 | ||
688 | %description -n QtSql -l pl.UTF-8 | |
689 | Klasy do integracji z bazami danych przy użyciu SQL. | |
690 | ||
691 | %package -n QtSql-devel | |
692 | Summary: Classes for database integration using SQL - development files | |
693 | Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL - pliki programistyczne | |
694 | Group: X11/Development/Libraries | |
695 | Requires: QtCore-devel = %{version}-%{release} | |
696 | Requires: QtSql = %{version}-%{release} | |
697 | ||
698 | %description -n QtSql-devel | |
699 | Classes for database integration using SQL - development files. | |
700 | ||
701 | %description -n QtSql-devel -l pl.UTF-8 | |
702 | Klasy do integracji z bazami danych przy użyciu SQL - pliki | |
703 | programistyczne. | |
704 | ||
705 | %package -n QtSql-static | |
706 | Summary: Classes for database integration using SQL - static libraries | |
707 | Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL - biblioteki statyczne | |
708 | Group: X11/Development/Libraries | |
709 | Requires: QtSql-devel = %{version}-%{release} | |
710 | ||
711 | %description -n QtSql-static | |
712 | Classes for database integration using SQL - static libraries. | |
713 | ||
714 | %description -n QtSql-static -l pl.UTF-8 | |
715 | Klasy do integracji z bazami danych przy użyciu SQL - biblioteki | |
716 | statyczne. programistyczne. | |
717 | ||
718 | %package -n QtSql-ibase | |
719 | Summary: Database plugin for InterBase/Firebird Qt support | |
720 | Summary(pl.UTF-8): Wtyczka InterBase/Firebird do Qt | |
721 | Summary(pt_BR.UTF-8): Plugin de suporte a InterBase/Firebird para Qt | |
722 | Group: X11/Libraries | |
723 | Requires: QtSql = %{version}-%{release} | |
724 | Provides: QtSql-backend = %{version}-%{release} | |
725 | ||
726 | %description -n QtSql-ibase | |
727 | This package contains a plugin for accessing Interbase/Firebird | |
728 | database via the QSql classes. | |
729 | ||
730 | %description -n QtSql-ibase -l pl.UTF-8 | |
731 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
732 | danych Interbase/Firebird poprzez klasy QSql. | |
733 | ||
734 | %description -n QtSql-ibase -l pt_BR.UTF-8 | |
735 | Plugin de suporte a InterBase/Firebird para Qt. | |
736 | ||
737 | %package -n QtSql-mysql | |
738 | Summary: Database plugin for MySQL Qt support | |
739 | Summary(pl.UTF-8): Wtyczka MySQL do Qt | |
740 | Summary(pt_BR.UTF-8): Plugin de suporte a MySQL para Qt | |
741 | Group: X11/Libraries | |
742 | Requires: QtSql = %{version}-%{release} | |
743 | Provides: QtSql-backend = %{version}-%{release} | |
744 | ||
745 | %description -n QtSql-mysql | |
746 | This package contains a plugin for accessing MySQL database via the | |
747 | QSql classes. | |
748 | ||
749 | %description -n QtSql-mysql -l pl.UTF-8 | |
750 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
751 | danych MySQL poprzez klasy QSql. | |
752 | ||
753 | %description -n QtSql-mysql -l pt_BR.UTF-8 | |
754 | Plugin de suporte a MySQL para Qt. | |
755 | ||
756 | %package -n QtSql-odbc | |
757 | Summary: Database plugin for ODBC Qt support | |
758 | Summary(pl.UTF-8): Wtyczka ODBC do Qt | |
759 | Summary(pt_BR.UTF-8): Plugin de suporte a ODBC para Qt | |
760 | Group: X11/Libraries | |
761 | Requires: QtSql = %{version}-%{release} | |
762 | Provides: QtSql-backend = %{version}-%{release} | |
763 | ||
764 | %description -n QtSql-odbc | |
765 | This package contains a plugin for accessing unixODBC services via the | |
766 | QSql classes. | |
767 | ||
768 | %description -n QtSql-odbc -l pl.UTF-8 | |
769 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z usług | |
770 | unixODBC poprzez klasy QSql. | |
771 | ||
772 | %description -n QtSql-odbc -l pt_BR.UTF-8 | |
773 | Plugin de suporte a ODBC para Qt. | |
774 | ||
775 | %package -n QtSql-pgsql | |
776 | Summary: Database plugin for PostgreSQL Qt support | |
777 | Summary(pl.UTF-8): Wtyczka PostgreSQL do Qt | |
778 | Summary(pt_BR.UTF-8): Plugin de suporte a PostgreSQL para Qt | |
779 | Group: X11/Libraries | |
780 | Requires: QtSql = %{version}-%{release} | |
781 | Provides: QtSql-backend = %{version}-%{release} | |
782 | ||
783 | %description -n QtSql-pgsql | |
784 | This package contains a plugin for accessing PostgreSQL database via | |
785 | the QSql classes. | |
786 | ||
787 | %description -n QtSql-pgsql -l pl.UTF-8 | |
788 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
789 | danych PostgreSQL poprzez klasy QSql. | |
790 | ||
791 | %description -n QtSql-pgsql -l es.UTF-8 | |
792 | Plugin de suporte a PostgreSQL para Qt. | |
793 | ||
794 | %package -n QtSql-sqlite | |
795 | Summary: Database plugin for SQLite 2.x Qt support | |
796 | Summary(pl.UTF-8): Wtyczka SQLite 2.x do Qt | |
797 | Summary(pt_BR.UTF-8): Plugin de suporte a SQLite 2.x para Qt | |
798 | Group: X11/Libraries | |
799 | Requires: QtSql = %{version}-%{release} | |
800 | Provides: QtSql-backend = %{version}-%{release} | |
801 | ||
802 | %description -n QtSql-sqlite | |
803 | This package contains a plugin for using the SQLite 2.x library (which | |
804 | allows to acces virtually any SQL database) via the QSql classes. | |
805 | ||
806 | %description -n QtSql-sqlite -l pl.UTF-8 | |
807 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
808 | danych SQLite 2.x poprzez klasy QSql. | |
809 | ||
810 | %description -n QtSql-sqlite -l pt_BR.UTF-8 | |
811 | Plugin de suporte a SQLite 2.x para Qt. | |
812 | ||
813 | %package -n QtSql-sqlite3 | |
814 | Summary: Database plugin for SQLite3 Qt support | |
815 | Summary(pl.UTF-8): Wtyczka SQLite3 do Qt | |
816 | Summary(pt_BR.UTF-8): Plugin de suporte a SQLite3 para Qt | |
817 | Group: X11/Libraries | |
818 | Requires: QtSql = %{version}-%{release} | |
819 | Provides: QtSql-backend = %{version}-%{release} | |
820 | ||
821 | %description -n QtSql-sqlite3 | |
822 | This package contains a plugin for using the SQLite3 library (which | |
823 | allows to acces virtually any SQL database) via the QSql classes. | |
824 | ||
825 | %description -n QtSql-sqlite3 -l pl.UTF-8 | |
826 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
827 | danych SQLite3 poprzez klasy QSql. | |
828 | ||
829 | %description -n QtSql-sqlite3 -l pt_BR.UTF-8 | |
830 | Plugin de suporte a SQLite3 para Qt. | |
831 | ||
832 | %package -n QtSql-tds | |
833 | Summary: Database plugin for TDS Qt support | |
834 | Summary(pl.UTF-8): Wtyczka TDS do Qt | |
835 | Summary(pt_BR.UTF-8): Plugin de suporte a TDS para Qt | |
836 | Group: X11/Libraries | |
837 | Requires: QtSql = %{version}-%{release} | |
838 | Provides: QtSql-backend = %{version}-%{release} | |
839 | ||
840 | %description -n QtSql-tds | |
841 | This package contains a plugin for accessing TDS database via the QSql | |
842 | classes. | |
843 | ||
844 | %description -n QtSql-tds -l pl.UTF-8 | |
845 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
846 | danych TDS poprzez klasy QSql. | |
847 | ||
848 | %description -n QtSql-tds -l pt_BR.UTF-8 | |
849 | Plugin de suporte a TDS para Qt. | |
850 | ||
851 | %package -n QtSvg | |
852 | Summary: SVG support | |
853 | Summary(pl.UTF-8): Wsparcie dla SVG | |
854 | Group: X11/Libraries | |
855 | Requires: QtXml = %{version}-%{release} | |
856 | ||
857 | %description -n QtSvg | |
858 | SVG support. | |
859 | ||
860 | %description -n QtSvg -l pl.UTF-8 | |
861 | Wsparcie dla SVG. | |
862 | ||
863 | %package -n QtSvg-devel | |
864 | Summary: SVG support - development files | |
865 | Summary(pl.UTF-8): Wsparcie dla SVG - pliki programistyczne | |
866 | Group: X11/Development/Libraries | |
867 | Requires: QtGui-devel = %{version}-%{release} | |
868 | Requires: QtSvg = %{version}-%{release} | |
869 | ||
870 | %description -n QtSvg-devel | |
871 | SVG support - development files. | |
872 | ||
873 | %description -n QtSvg-devel -l pl.UTF-8 | |
874 | Wsparcie dla SVG - pliki programistyczne. | |
875 | ||
876 | %package -n QtSvg-static | |
877 | Summary: SVG support - static libraries | |
878 | Summary(pl.UTF-8): Wsparcie dla SVG - biblioteki statyczne | |
879 | Group: X11/Development/Libraries | |
880 | Requires: QtSvg-devel = %{version}-%{release} | |
881 | ||
882 | %description -n QtSvg-static | |
883 | SVG support - static libraries. | |
884 | ||
885 | %description -n QtSvg-static -l pl.UTF-8 | |
886 | Wsparcie dla SVG - biblioteki statyczne. | |
887 | ||
888 | %package -n QtTest | |
889 | Summary: Test framework | |
890 | Summary(pl.UTF-8): Szkielet testów | |
891 | Group: X11/Libraries | |
892 | Requires: QtCore = %{version}-%{release} | |
893 | ||
894 | %description -n QtTest | |
895 | Test framework. | |
896 | ||
897 | %description -n QtTest -l pl.UTF-8 | |
898 | Szkielet testów. | |
899 | ||
900 | %package -n QtTest-devel | |
901 | Summary: Test framework - development files | |
902 | Summary(pl.UTF-8): Szkielet testów - pliki programistyczne | |
903 | Group: X11/Development/Libraries | |
904 | Requires: QtCore-devel = %{version}-%{release} | |
905 | Requires: QtTest = %{version}-%{release} | |
906 | ||
907 | %description -n QtTest-devel | |
908 | Test framework - development files. | |
909 | ||
910 | %description -n QtTest-devel -l pl.UTF-8 | |
911 | Szkielet testów - pliki programistyczne. | |
912 | ||
913 | %package -n QtTest-static | |
914 | Summary: Test framework - static libraries | |
915 | Summary(pl.UTF-8): Szkielet testów - biblioteki statyczne | |
916 | Group: X11/Development/Libraries | |
917 | Requires: QtTest-devel = %{version}-%{release} | |
918 | ||
919 | %description -n QtTest-static | |
920 | Test framework - static libraries. | |
921 | ||
922 | %description -n QtTest-static -l pl.UTF-8 | |
923 | Szkielet testów - biblioteki statyczne. | |
924 | ||
925 | %package -n QtUiTools | |
926 | Summary: Classes for handling Qt Designer forms in applications | |
927 | Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach | |
928 | Group: X11/Libraries | |
929 | Requires: QtGui = %{version}-%{release} | |
930 | Requires: QtXml = %{version}-%{release} | |
931 | ||
932 | %description -n QtUiTools | |
933 | The QtUiTools module provides classes to handle forms created with Qt | |
934 | Designer. | |
935 | ||
936 | %description -n QtUiTools -l pl.UTF-8 | |
937 | Moduł QtUiTools udostępnia klasy do obsługi formularzy tworzonych przy | |
938 | użyciu Qt Designera. | |
939 | ||
940 | %package -n QtUiTools-devel | |
941 | Summary: Classes for handling Qt Designer forms in applications - development files | |
942 | Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki programistyczne | |
943 | Group: X11/Development/Libraries | |
944 | Requires: QtGui-devel = %{version}-%{release} | |
945 | Requires: QtUiTools = %{version}-%{release} | |
946 | Requires: QtXml-devel = %{version}-%{release} | |
947 | ||
948 | %description -n QtUiTools-devel | |
949 | Classes for handling Qt Designer forms in applications - development | |
950 | files. | |
951 | ||
952 | %description -n QtUiTools-devel -l pl.UTF-8 | |
953 | Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki | |
954 | programistyczne. | |
955 | ||
956 | %package -n QtUiTools-static | |
957 | Summary: Classes for handling Qt Designer forms in applications - static library | |
958 | Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka statyczna | |
959 | Group: X11/Development/Libraries | |
960 | Requires: QtUiTools-devel = %{version}-%{release} | |
961 | ||
962 | %description -n QtUiTools-static | |
963 | Classes for handling Qt Designer forms in applications - static | |
964 | library. | |
965 | ||
966 | %description -n QtUiTools-static -l pl.UTF-8 | |
967 | Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka | |
968 | statyczna. | |
969 | ||
970 | %package -n QtWebKit | |
971 | Summary: Classes for rendering HTML, XHTML and SVG documents | |
972 | Summary(pl.UTF-8): Klasy do renderowania dokumentów HTML, XHTML i SVG | |
973 | Group: X11/Libraries | |
974 | Requires: QtGui = %{version}-%{release} | |
975 | ||
976 | %description -n QtWebKit | |
977 | QtWebKit provides a Web browser engine that makes it easy to embed | |
978 | content from the World Wide Web into your Qt application. At the same | |
979 | time Web content can be enhanced with native controls. QtWebKit | |
980 | provides facilities for rendering of HyperText Markup Language (HTML), | |
981 | Extensible HyperText Markup Language (XHTML) and Scalable Vector | |
982 | Graphics (SVG) documents, styled using Cascading Style Sheets (CSS) | |
983 | and scripted with JavaScript. | |
984 | ||
985 | %description -n QtWebKit -l pl.UTF-8 | |
986 | QtWebKit udostępnia silnik przeglądarki WWW ułatwiający osadzanie | |
987 | treści ze stron WWW w aplikacjach Qt. Jednocześnie treść WWW może być | |
988 | rozszerzana o natywne kontrolki. QtWebKit zapewnia renderowanie | |
989 | dokumentów w językach HTML (HyperText Markup Language), XHTML | |
990 | (Extensible HyperText Markup Language) i SVG (Scalable Vector | |
991 | Graphics) z obsługą styli CSS (Cascading Style Sheets) i skryptów w | |
992 | języku JavaScript. | |
993 | ||
994 | %package -n QtWebKit-devel | |
995 | Summary: Classes for rendering HTML, XHTML and SVG documents - development files | |
996 | Summary(pl.UTF-8): Klasy do renderowania dokumentów HTML, XHTML i SVG - pliki programistyczne | |
997 | Group: X11/Development/Libraries | |
998 | Requires: QtGui-devel = %{version}-%{release} | |
999 | Requires: QtNetwork-devel = %{version}-%{release} | |
1000 | Requires: QtWebKit = %{version}-%{release} | |
1001 | ||
1002 | %description -n QtWebKit-devel | |
1003 | Classes for rendering HTML, XHTML and SVG documents - development | |
1004 | files. | |
1005 | ||
1006 | %description -n QtWebKit-devel -l pl.UTF-8 | |
1007 | Klasy do renderowania dokumentów HTML, XHTML i SVG - pliki | |
1008 | programistyczne. | |
1009 | ||
1010 | %package -n QtWebKit-static | |
1011 | Summary: Classes for rendering HTML, XHTML and SVG documents - static library | |
1012 | Summary(pl.UTF-8): Klasy do renderowania dokumentów HTML, XHTML i SVG - biblioteka statyczna | |
1013 | Group: X11/Development/Libraries | |
1014 | Requires: QtWebKit-devel = %{version}-%{release} | |
1015 | ||
1016 | %description -n QtWebKit-static | |
1017 | Classes for rendering HTML, XHTML and SVG documents - static library. | |
1018 | ||
1019 | %description -n QtWebKit-static -l pl.UTF-8 | |
1020 | Klasy do renderowania dokumentów HTML, XHTML i SVG - biblioteka | |
1021 | statyczna. | |
1022 | ||
1023 | %package -n QtXml | |
1024 | Summary: Classes for handling XML | |
1025 | Summary(pl.UTF-8): Klasy do obsługi XML-a | |
1026 | Group: X11/Libraries | |
1027 | Requires: QtCore = %{version}-%{release} | |
1028 | ||
1029 | %description -n QtXml | |
1030 | Classes for handling XML. | |
1031 | ||
1032 | %description -n QtXml -l pl.UTF-8 | |
1033 | Klasy do obsługi XML-a. | |
1034 | ||
1035 | %package -n QtXml-devel | |
1036 | Summary: Classes for handling XML - development files | |
1037 | Summary(pl.UTF-8): Klasy do obsługi XML-a - pliki programistyczne | |
1038 | Group: X11/Development/Libraries | |
1039 | Requires: QtCore-devel = %{version}-%{release} | |
1040 | Requires: QtXml = %{version}-%{release} | |
1041 | ||
1042 | %description -n QtXml-devel | |
1043 | Classes for handling XML - development files. | |
1044 | ||
1045 | %description -n QtXml-devel -l pl.UTF-8 | |
1046 | Klasy do obsługi XML-a - pliki programistyczne. | |
1047 | ||
1048 | %package -n QtXml-static | |
1049 | Summary: Classes for handling XML - static libraries | |
1050 | Summary(pl.UTF-8): Klasy do obsługi XML-a - biblioteki statyczne | |
1051 | Group: X11/Development/Libraries | |
1052 | Requires: QtXml-devel = %{version}-%{release} | |
1053 | ||
1054 | %description -n QtXml-static | |
1055 | Classes for handling XML - static libraries. | |
1056 | ||
1057 | %description -n QtXml-static -l pl.UTF-8 | |
1058 | Klasy do obsługi XML-a - biblioteki statyczne. | |
1059 | ||
1060 | %package -n QtXmlPatterns | |
1061 | Summary: QtXmlPatterns XQuery engine | |
1062 | Summary(pl.UTF-8): Silnik zapytan XQuery QtXmlPatterns | |
1063 | Group: X11/Libraries | |
1064 | Requires: QtCore = %{version}-%{release} | |
1065 | ||
1066 | %description -n QtXmlPatterns | |
1067 | QtXmlPatterns XQuery engine. | |
1068 | ||
1069 | %description -n QtXmlPatterns -l pl.UTF-8 | |
1070 | Silnik zapytan XQuery QtXmlPatterns. | |
1071 | ||
1072 | %package -n QtXmlPatterns-devel | |
1073 | Summary: QtXmlPatterns XQuery engine - development files | |
1074 | Summary(pl.UTF-8): Silnik zapytan XQuery QtXmlPatterns - pliki programistyczne | |
1075 | Group: X11/Development/Libraries | |
1076 | Requires: QtNetwork-devel = %{version}-%{release} | |
1077 | Requires: QtXmlPatterns = %{version}-%{release} | |
1078 | ||
1079 | %description -n QtXmlPatterns-devel | |
1080 | QtXmlPatterns XQuery engine - development files. | |
1081 | ||
1082 | %description -n QtXmlPatterns-devel -l pl.UTF-8 | |
1083 | Silnik zapytan XQuery QtXmlPatterns - pliki programistyczne. | |
1084 | ||
1085 | %package -n QtXmlPatterns-static | |
1086 | Summary: QtXmlPatterns XQuery engine - static library | |
1087 | Summary(pl.UTF-8): Silnik zapytan XQuery QtXmlPatterns - biblioteka statyczna | |
1088 | Group: X11/Development/Libraries | |
1089 | Requires: QtXmlPatterns-devel = %{version}-%{release} | |
1090 | ||
1091 | %description -n QtXmlPatterns-static | |
1092 | QtXmlPatterns XQuery engine - static library. | |
1093 | ||
1094 | %description -n QtXmlPatterns-static -l pl.UTF-8 | |
1095 | Silnik zapytan XQuery QtXmlPatterns - biblioteka statyczna. | |
1096 | ||
1097 | %package assistant | |
1098 | Summary: Qt documentation browser | |
1099 | Summary(pl.UTF-8): Przeglądarka dokumentacji Qt | |
1100 | Group: X11/Development/Tools | |
1101 | Requires: %{name}-doc = %{version}-%{release} | |
1102 | Requires: QtAssistant = %{version}-%{release} | |
1103 | Requires: QtDBus = %{version}-%{release} | |
1104 | ||
1105 | %description assistant | |
1106 | Qt Assistant is a tool for browsing on-line documentation with | |
1107 | indexing, bookmarks and full-text search. | |
1108 | ||
1109 | %description assistant -l pl.UTF-8 | |
1110 | Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością | |
1111 | indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania. | |
1112 | ||
1113 | %package build | |
1114 | Summary: Build tools for Qt4 | |
1115 | Summary(pl.UTF-8): Narzędzia do budowania dla Qt4 | |
1116 | Group: X11/Development/Tools | |
1117 | Requires: QtCore = %{version}-%{release} | |
1118 | Requires: QtXml = %{version}-%{release} | |
1119 | ||
1120 | %description build | |
1121 | This package includes the Qt resource compiler (rcc), meta objects | |
1122 | compiler (moc), user interface compiler (uic) and qt3to4 include names | |
1123 | converter. | |
1124 | ||
1125 | %description build -l pl.UTF-8 | |
1126 | Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator | |
1127 | metaobiektów (moc), kompilator interfejsów użytkownika (uic) oraz | |
1128 | konwerter nazw plików nagłówkowych qt3to4. | |
1129 | ||
1130 | %package designer | |
1131 | Summary: IDE used for GUI designing with Qt library | |
1132 | Summary(pl.UTF-8): IDE służące do projektowania GUI za pomocą biblioteki Qt | |
1133 | Group: X11/Applications | |
1134 | Requires: QtAssistant = %{version}-%{release} | |
1135 | Requires: QtDesigner = %{version}-%{release} | |
1136 | ||
1137 | %description designer | |
1138 | An advanced tool used for GUI designing with Qt library. | |
1139 | ||
1140 | %description designer -l pl.UTF-8 | |
1141 | Zaawansowane narzędzie służące do projektowania interfejsu graficznego | |
1142 | za pomocą biblioteki Qt. | |
1143 | ||
1144 | %package linguist | |
1145 | Summary: Translation helper for Qt | |
1146 | Summary(pl.UTF-8): Aplikacja ułatwiająca tłumaczenie aplikacji oparty o Qt | |
1147 | Group: X11/Development/Tools | |
1148 | Requires: QtAssistant = %{version}-%{release} | |
1149 | Requires: QtUiTools = %{version}-%{release} | |
1150 | ||
1151 | %description linguist | |
1152 | This program provides an interface that shortens and helps systematize | |
1153 | the process of translating GUIs. Qt Linguist takes all of the text of | |
1154 | a UI that will be shown to the user, and presents it to a human | |
1155 | translator in a simple window. When one UI text is translated, the | |
1156 | program automatically progresses to the next, until they are all | |
1157 | completed. | |
1158 | ||
1159 | %description linguist -l pl.UTF-8 | |
1160 | Ten program oferuje interfejs znacznie przyśpieszający proces | |
1161 | tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty | |
1162 | przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie. | |
1163 | Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do | |
1164 | następnego, aż wszystkie będą przetłumaczone. | |
1165 | ||
1166 | %package phonon | |
1167 | Summary: Cross-platform multimedia framework | |
1168 | Summary(pl.UTF-8): Wieloplatformowy szkielet multimedialny | |
1169 | Group: X11/Development/Tools | |
1170 | Obsoletes: phonon | |
1171 | ||
1172 | %description phonon | |
1173 | Phonon is a cross-platform multimedia framework that enables the use | |
1174 | of audio and video content in Qt applications. | |
1175 | ||
1176 | %description phonon -l pl.UTF-8 | |
1177 | Phonon to wieloplatformowy szkielet multimedialny pozwalający na | |
1178 | wykorzystywanie treści dźwiękowych i filmowych w aplikacjach Qt. | |
1179 | ||
1180 | %package phonon-devel | |
1181 | Summary: Cross-platform multimedia framework - development files | |
1182 | Summary(pl.UTF-8): Wieloplatformowy szkielet multimedialny - pliki programistyczne | |
1183 | Group: X11/Development/Libraries | |
1184 | Requires: QtCore-devel = %{version}-%{release} | |
1185 | Requires: QtDBus-devel = %{version}-%{release} | |
1186 | Requires: QtGui-devel = %{version}-%{release} | |
1187 | Requires: qt4-phonon = %{version}-%{release} | |
1188 | Obsoletes: phonon-devel | |
1189 | ||
1190 | %description phonon-devel | |
1191 | Cross-platform multimedia framework - development files. | |
1192 | ||
1193 | %description phonon-devel -l pl.UTF-8 | |
1194 | Wieloplatformowy szkielet multimedialny - pliki programistyczne. | |
1195 | ||
1196 | %package qmake | |
1197 | Summary: Qt makefile generator | |
1198 | Summary(pl.UTF-8): Generator plików makefile dla aplikacji Qt | |
1199 | Group: X11/Development/Tools | |
1200 | ||
1201 | %description qmake | |
1202 | A powerful makefile generator. It can create makefiles on any platform | |
1203 | from a simple .pro definitions file. | |
1204 | ||
1205 | %description qmake -l pl.UTF-8 | |
1206 | Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile | |
1207 | na każdej platformi na podstawie łatwego w przygotowaniu pliku .pro. | |
1208 | ||
1209 | %package qtconfig | |
1210 | Summary: Qt widgets configuration tool | |
1211 | Summary(pl.UTF-8): Narzędzie do konfigurowania widgetów Qt | |
1212 | Group: X11/Applications | |
1213 | Requires: Qt3Support = %{version}-%{release} | |
1214 | Requires: QtGui = %{version}-%{release} | |
1215 | Requires: QtNetwork = %{version}-%{release} | |
1216 | Requires: QtSql = %{version}-%{release} | |
1217 | Requires: QtXml = %{version}-%{release} | |
1218 | ||
1219 | %description qtconfig | |
1220 | A tool for configuring look and behavior of Qt widgets. | |
1221 | ||
1222 | %description qtconfig -l pl.UTF-8 | |
1223 | Narzędie do konfiguracji wyglądu i zachowania widgetów Qt. | |
1224 | ||
1225 | %package -n qvfb | |
1226 | Summary: Qt Virtual framebuffer | |
1227 | Summary(pl.UTF-8): Wirtualny framebuffer dla Qt | |
1228 | Group: X11/Development/Libraries | |
1229 | Requires: QtGui = %{version}-%{release} | |
1230 | Requires: QtOpenGL = %{version}-%{release} | |
1231 | ||
1232 | %description -n qvfb | |
1233 | Qt Virtual framebuffer allows you to run Qt/Embedded applications in X | |
1234 | window. | |
1235 | ||
1236 | %description -n qvfb -l pl.UTF-8 | |
1237 | Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w | |
1238 | okienku X. | |
1239 | ||
1240 | %package demos | |
1241 | Summary: Demos of new Qt4 features | |
1242 | Summary(pl.UTF-8): Programy demonstrujące nowe możliwości Qt4 | |
1243 | Group: X11/Development/Libraries | |
1244 | Requires: QtAssistant = %{version}-%{release} | |
1245 | Requires: QtXml = %{version}-%{release} | |
1246 | ||
1247 | %description demos | |
1248 | Demos are spiders that fly. | |
1249 | ||
1250 | %description demos -l pl.UTF-8 | |
1251 | Dema to latające pająki. | |
1252 | ||
1253 | %package doc | |
1254 | Summary: Qt Documentation in HTML format | |
1255 | Summary(pl.UTF-8): Dokumentacja Qt w formacie HTML | |
1256 | Group: X11/Development/Libraries | |
1257 | ||
1258 | %description doc | |
1259 | Qt documentation in HTML format. | |
1260 | ||
1261 | %description doc -l pl.UTF-8 | |
1262 | Dokumentacja qt w formacie HTML. | |
1263 | ||
1264 | %package examples | |
1265 | Summary: Example programs bundled with Qt | |
1266 | Summary(pl.UTF-8): Ćwiczenia i przykłady do Qt | |
1267 | Summary(pt_BR.UTF-8): Programas exemplo desenvolvidos com o Qt | |
1268 | Group: X11/Development/Libraries | |
1269 | # no it does not , we cant be sure the user wants to compile them right? | |
1270 | # he might just want to take a look, anwyay no single devel package now | |
1271 | #Requires: %{name}-devel = %{version}-%{release} | |
1272 | ||
1273 | %description examples | |
1274 | Example programs bundled with Qt version. | |
1275 | ||
1276 | %description examples -l pl.UTF-8 | |
1277 | Ćwiczenia/przykłady dołączone do Qt. | |
1278 | ||
1279 | %description examples -l pt_BR.UTF-8 | |
1280 | Programas exemplo para o Qt versão. | |
1281 | ||
1282 | %prep | |
1283 | %setup -q -n qt-x11-opensource-src-%{version} | |
1284 | # patch100 | |
1285 | ||
1286 | %patch0 -p1 | |
1287 | %patch1 -p0 | |
1288 | %patch2 -p1 | |
1289 | %patch3 -p1 | |
1290 | %patch4 -p1 | |
1291 | %patch5 -p1 | |
1292 | %patch6 -p1 | |
1293 | %patch7 -p1 | |
1294 | #%patch8 -p1 | |
1295 | %patch9 -p1 | |
1296 | %patch10 -p1 | |
1297 | ||
1298 | %{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \ | |
1299 | mkspecs/common/linux.conf | |
1300 | ||
1301 | # change QMAKE FLAGS to build | |
1302 | %{__sed} -i -e ' | |
1303 | s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|; | |
1304 | s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|; | |
1305 | s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|; | |
1306 | s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|; | |
1307 | s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcflags}|; | |
1308 | s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcppflags} %{rpmcxxflags}|; | |
1309 | s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|; | |
1310 | s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|; | |
1311 | ' mkspecs/common/g++.conf | |
1312 | ||
1313 | %{__sed} -i -e ' | |
1314 | s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|; | |
1315 | ' mkspecs/common/linux.conf | |
1316 | ||
1317 | %build | |
1318 | # pass OPTFLAGS to build qmake itself with optimization | |
1319 | export OPTFLAGS="%{rpmcflags}" | |
1320 | export PATH=$PWD/bin:$PATH | |
1321 | ||
1322 | ################################## | |
1323 | # DEFAULT OPTIONS FOR ALL BUILDS # | |
1324 | ################################## | |
1325 | ||
1326 | COMMONOPT=" \ | |
1327 | -DQT_CLEAN_NAMESPACE \ | |
1328 | -buildkey pld \ | |
1329 | -verbose \ | |
1330 | -prefix %{_qtdir} \ | |
1331 | -bindir %{_qtdir}/bin \ | |
1332 | -docdir %{_docdir}/%{name}-doc \ | |
1333 | -headerdir %{_includedir}/qt4 \ | |
1334 | -libdir %{_libdir} \ | |
1335 | -L%{_libdir} \ | |
1336 | -plugindir %{_qtdir}/plugins \ | |
1337 | -datadir %{_datadir}/qt4 \ | |
1338 | -translationdir %{_datadir}/locale/ \ | |
1339 | -sysconfdir %{_sysconfdir}/qt4 \ | |
1340 | -examplesdir %{_examplesdir}/qt4 \ | |
1341 | -demosdir %{_examplesdir}/qt4-demos \ | |
1342 | -fast \ | |
1343 | -glib \ | |
1344 | -%{!?with_pch:no-}pch \ | |
1345 | -no-rpath \ | |
1346 | %{!?with_sse:-no-sse} \ | |
1347 | %{!?with_sse2:-no-sse2} \ | |
1348 | -qdbus \ | |
1349 | -qt-gif \ | |
1350 | -reduce-relocations \ | |
1351 | -system-libjpeg \ | |
1352 | -system-libmng \ | |
1353 | -system-libpng \ | |
1354 | -system-zlib \ | |
1355 | -exceptions \ | |
1356 | -largefile \ | |
1357 | -I/usr/include/postgresql/server \ | |
1358 | -I/usr/include/mysql \ | |
1359 | %{?with_cups:-cups} \ | |
1360 | %{?with_nas:-system-nas-sound} \ | |
1361 | %{?debug:-debug} \ | |
1362 | %{!?debug:-release} \ | |
1363 | -qt3support \ | |
1364 | -fontconfig \ | |
1365 | -iconv \ | |
1366 | -no-separate-debug-info \ | |
1367 | -xfixes \ | |
1368 | -nis \ | |
1369 | -sm \ | |
1370 | -xcursor \ | |
1371 | -xinput \ | |
1372 | -xkb \ | |
1373 | -xrender \ | |
1374 | -xshape \ | |
1375 | -xmlpatterns \ | |
1376 | -continue" | |
1377 | ||
1378 | ################################## | |
1379 | # STATIC MULTI-THREAD # | |
1380 | ################################## | |
1381 | ||
1382 | %if %{with static_libs} | |
1383 | OPT=" \ | |
1384 | -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \ | |
1385 | -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \ | |
1386 | -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \ | |
1387 | -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \ | |
1388 | -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \ | |
1389 | -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \ | |
1390 | -static" | |
1391 | ||
1392 | echo "yes" | ./configure $COMMONOPT $OPT | |
1393 | ||
1394 | %{__make} -C src | |
1395 | %{__make} -C tools/assistant/lib | |
1396 | %{__make} -C tools/designer | |
1397 | if [ ! -d staticlib ]; then | |
1398 | mkdir staticlib | |
1399 | cp -a lib/*.a staticlib | |
1400 | fi | |
1401 | %{__make} confclean | |
1402 | %endif | |
1403 | ||
1404 | ################################## | |
1405 | # SHARED MULTI-THREAD # | |
1406 | ################################## | |
1407 | ||
1408 | OPT=" \ | |
1409 | -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \ | |
1410 | -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \ | |
1411 | -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \ | |
1412 | -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \ | |
1413 | -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \ | |
1414 | -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase" | |
1415 | ||
1416 | echo "yes" | ./configure $COMMONOPT $OPT | |
1417 | ||
1418 | %{__make} | |
1419 | %{__make} \ | |
1420 | sub-tools-all-ordered \ | |
1421 | sub-demos-all-ordered \ | |
1422 | sub-examples-all-ordered | |
1423 | ||
1424 | %install | |
1425 | rm -rf $RPM_BUILD_ROOT | |
1426 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}} | |
1427 | install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network} | |
1428 | ||
1429 | %{__make} install \ | |
1430 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
1431 | ||
1432 | # kill -L/inside/builddir from *.la and *.pc (bug #77152) | |
1433 | %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl} | |
1434 | %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
1435 | %{__sed} -i -e ' | |
1436 | s|moc_location=.*|moc_location=%{_bindir}/moc-qt4|; | |
1437 | s|uic_location=.*|uic_location=%{_bindir}/uic-qt4|; | |
1438 | ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc | |
1439 | ||
1440 | # install tools | |
1441 | install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin | |
1442 | ||
1443 | cd $RPM_BUILD_ROOT%{_bindir} | |
1444 | ln -sf ../%{_lib}/qt4/bin/assistant assistant-qt4 | |
1445 | ln -sf ../%{_lib}/qt4/bin/designer designer-qt4 | |
1446 | ln -sf ../%{_lib}/qt4/bin/findtr findtr-qt4 | |
1447 | ln -sf ../%{_lib}/qt4/bin/linguist linguist-qt4 | |
1448 | ln -sf ../%{_lib}/qt4/bin/lrelease lrelease-qt4 | |
1449 | ln -sf ../%{_lib}/qt4/bin/lupdate lupdate-qt4 | |
1450 | ln -sf ../%{_lib}/qt4/bin/moc moc-qt4 | |
1451 | ln -sf ../%{_lib}/qt4/bin/qmake qmake-qt4 | |
1452 | ln -sf ../%{_lib}/qt4/bin/qtconfig qtconfig-qt4 | |
1453 | ln -sf ../%{_lib}/qt4/bin/uic uic-qt4 | |
1454 | ln -sf ../%{_lib}/qt4/bin/qt3to4 . | |
1455 | ln -sf ../%{_lib}/qt4/bin/rcc . | |
1456 | ln -sf ../%{_lib}/qt4/bin/uic3 . | |
1457 | ln -sf ../%{_lib}/qt4/bin/pixeltool . | |
1458 | ln -sf ../%{_lib}/qt4/bin/qdbus . | |
1459 | ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml . | |
1460 | ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp . | |
1461 | ln -sf ../%{_lib}/qt4/bin/qdbusviewer . | |
1462 | ln -sf ../%{_lib}/qt4/bin/qvfb . | |
1463 | cd - | |
1464 | ||
1465 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/qtconfig-qt4.desktop | |
1466 | install tools/qtconfig/images/appicon.png \ | |
1467 | $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig-qt4.png | |
1468 | ||
1469 | install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}/linguist-qt4.desktop | |
1470 | install tools/linguist/linguist/images/appicon.png \ | |
1471 | $RPM_BUILD_ROOT%{_pixmapsdir}/linguist-qt4.png | |
1472 | ||
1473 | install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/assistant-qt4.desktop | |
1474 | ||
1475 | install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer-qt4.desktop | |
1476 | install tools/designer/src/designer/images/designer.png \ | |
1477 | $RPM_BUILD_ROOT%{_pixmapsdir}/designer-qt4.png | |
1478 | ||
1479 | %if %{with static_libs} | |
1480 | install staticlib/*.a $RPM_BUILD_ROOT%{_libdir} | |
1481 | %endif | |
1482 | ||
1483 | # | |
1484 | # Locale | |
1485 | # | |
1486 | for f in translations/*_pl.ts ; do | |
1487 | LD_LIBRARY_PATH=lib bin/lrelease $f -qm translations/$(basename $f .ts).qm | |
1488 | done | |
1489 | ||
1490 | rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm | |
1491 | for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm; do | |
1492 | [ ! -f $file ] && continue | |
1493 | eval "`echo $file | sed -r 's:.*/([a-zA-Z]+(_[a-zA-Z]{3,}){0,1})_(((ja)_jp)|([a-z]{2}_[A-Z]{2,})|([a-z]{2}))\.qm$:MOD=\1 ; lang=\5\6\7:'`" | |
1494 | [ "$lang" == "iw" ] && lang=he | |
1495 | MOD=qt4-$MOD | |
1496 | [ "$MOD" == "qt4-qt" ] && MOD=qt4 | |
1497 | install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES | |
1498 | cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/$MOD.qm | |
1499 | done | |
1500 | ||
1501 | cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt | |
1502 | # QtCore must be the last | |
1503 | for f in ../Qt{3Support,Assistant,DBus,Designer,Gui,Help,Network,OpenGL,Script,Sql,Svg,Test,UiTools,WebKit,Xml,XmlPatterns,Core}/*; do | |
1504 | if [ ! -d $f ]; then | |
1505 | ln -sf $f `basename $f` | |
1506 | fi | |
1507 | done | |
1508 | cd - | |
1509 | ||
1510 | # Ship doc & qmake stuff | |
1511 | ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc | |
1512 | ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs | |
1513 | ||
1514 | for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do | |
1515 | HAVEDEBUG=`echo $f | grep _debug | wc -l` | |
1516 | MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1` | |
1517 | MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::` | |
1518 | DEFS="-D_REENTRANT" | |
1519 | ||
1520 | if [ "$MODULE2" == "3SUPPORT" ]; then | |
1521 | DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB" | |
1522 | else | |
1523 | DEFS="$DEFS -DQT_"$MODULE2"_LIB" | |
1524 | fi | |
1525 | [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG" | |
1526 | ||
1527 | sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f | |
1528 | done | |
1529 | ||
1530 | # Prepare some files list | |
1531 | ifecho() { | |
1532 | RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null` | |
1533 | [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set | |
1534 | r=`echo $RESULT | awk '{ print $1 }'` | |
1535 | ||
1536 | if [ -d "$r" ]; then | |
1537 | echo "%%dir $2" >> $1.files | |
1538 | elif [ -x "$r" ] ; then | |
1539 | echo "%%attr(755,root,root) $2" >> $1.files | |
1540 | elif [ -f "$r" ]; then | |
1541 | echo "$2" >> $1.files | |
1542 | else | |
1543 | echo "Error generation $1 files list!" | |
1544 | echo "$r: no such file or direcotry!" | |
1545 | return 1 | |
1546 | fi | |
1547 | } | |
1548 | ||
1549 | mkdevfl() { | |
1550 | set -x | |
1551 | MODULE=$1; shift | |
1552 | echo "%%defattr(644,root,root,755)" > $MODULE-devel.files | |
1553 | ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so" | |
1554 | ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la" | |
1555 | ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl" | |
1556 | ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc" | |
1557 | if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then | |
1558 | ifecho $MODULE-devel %{_includedir}/qt4/$MODULE | |
1559 | fi | |
1560 | for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`; do | |
1561 | ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f | |
1562 | if [ -a "$RPM_BUILD_ROOT%{_includedir}/qt4/Qt/$f" ]; then | |
1563 | ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f | |
1564 | fi | |
1565 | done | |
1566 | for f in $@; do ifecho $MODULE-devel $f; done | |
1567 | } | |
1568 | ||
1569 | mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt | |
1570 | mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp | |
1571 | mkdevfl QtGui | |
1572 | mkdevfl QtNetwork | |
1573 | mkdevfl QtOpenGL | |
1574 | mkdevfl QtScript | |
1575 | mkdevfl QtScriptTools | |
1576 | mkdevfl QtSql | |
1577 | mkdevfl QtSvg | |
1578 | mkdevfl QtTest | |
1579 | mkdevfl QtHelp | |
1580 | mkdevfl QtWebKit | |
1581 | mkdevfl QtCLucene | |
1582 | mkdevfl QtXml | |
1583 | mkdevfl QtXmlPatterns | |
1584 | mkdevfl Qt3Support | |
1585 | mkdevfl phonon | |
1586 | ||
1587 | # without *.la *.pc etc. | |
1588 | mkdevfl QtAssistant || /bin/true | |
1589 | mkdevfl QtDesigner || /bin/true | |
1590 | mkdevfl QtUiTools || /bin/true | |
1591 | ||
1592 | # without glob (exclude QtXmlPatterns*) | |
1593 | %{__sed} -i 's,QtXml\*,QtXml,g' QtXml-devel.files | |
1594 | ||
1595 | echo "%defattr(644,root,root,755)" > examples.files | |
1596 | ifecho examples %{_examplesdir}/qt4 | |
1597 | for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`; do | |
1598 | ifecho examples %{_examplesdir}/qt4/$f | |
1599 | done | |
1600 | ||
1601 | echo "%defattr(644,root,root,755)" > demos.files | |
1602 | ifecho demos "%{_examplesdir}/qt4-demos" | |
1603 | ifecho demos "%{_qtdir}/bin/qtdemo" | |
1604 | for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`; do | |
1605 | ifecho demos %{_examplesdir}/qt4-demos/$f | |
1606 | done | |
1607 | ||
1608 | %clean | |
1609 | rm -rf $RPM_BUILD_ROOT | |
1610 | ||
1611 | %post -n Qt3Support -p /sbin/ldconfig | |
1612 | %postun -n Qt3Support -p /sbin/ldconfig | |
1613 | ||
1614 | %post -n QtAssistant -p /sbin/ldconfig | |
1615 | %postun -n QtAssistant -p /sbin/ldconfig | |
1616 | ||
1617 | %post -n QtCLucene -p /sbin/ldconfig | |
1618 | %postun -n QtCLucene -p /sbin/ldconfig | |
1619 | ||
1620 | %post -n QtCore -p /sbin/ldconfig | |
1621 | %postun -n QtCore -p /sbin/ldconfig | |
1622 | ||
1623 | %post -n QtDBus -p /sbin/ldconfig | |
1624 | %postun -n QtDBus -p /sbin/ldconfig | |
1625 | ||
1626 | %post -n QtDesigner -p /sbin/ldconfig | |
1627 | %postun -n QtDesigner -p /sbin/ldconfig | |
1628 | ||
1629 | %post -n QtGui -p /sbin/ldconfig | |
1630 | %postun -n QtGui -p /sbin/ldconfig | |
1631 | ||
1632 | %post -n QtHelp -p /sbin/ldconfig | |
1633 | %postun -n QtHelp -p /sbin/ldconfig | |
1634 | ||
1635 | %post -n QtNetwork -p /sbin/ldconfig | |
1636 | %postun -n QtNetwork -p /sbin/ldconfig | |
1637 | ||
1638 | %post -n QtOpenGL -p /sbin/ldconfig | |
1639 | %postun -n QtOpenGL -p /sbin/ldconfig | |
1640 | ||
1641 | %post -n QtScript -p /sbin/ldconfig | |
1642 | %postun -n QtScript -p /sbin/ldconfig | |
1643 | ||
1644 | %post -n QtScriptTools -p /sbin/ldconfig | |
1645 | %postun -n QtScriptTools -p /sbin/ldconfig | |
1646 | ||
1647 | %post -n QtSql -p /sbin/ldconfig | |
1648 | %postun -n QtSql -p /sbin/ldconfig | |
1649 | ||
1650 | %post -n QtSvg -p /sbin/ldconfig | |
1651 | %postun -n QtSvg -p /sbin/ldconfig | |
1652 | ||
1653 | %post -n QtTest -p /sbin/ldconfig | |
1654 | %postun -n QtTest -p /sbin/ldconfig | |
1655 | ||
1656 | %post -n QtUiTools -p /sbin/ldconfig | |
1657 | %postun -n QtUiTools -p /sbin/ldconfig | |
1658 | ||
1659 | %post -n QtWebKit -p /sbin/ldconfig | |
1660 | %postun -n QtWebKit -p /sbin/ldconfig | |
1661 | ||
1662 | %post -n QtXml -p /sbin/ldconfig | |
1663 | %postun -n QtXml -p /sbin/ldconfig | |
1664 | ||
1665 | %post -n QtXmlPatterns -p /sbin/ldconfig | |
1666 | %postun -n QtXmlPatterns -p /sbin/ldconfig | |
1667 | ||
1668 | %post phonon -p /sbin/ldconfig | |
1669 | %postun phonon -p /sbin/ldconfig | |
1670 | ||
1671 | %files -n Qt3Support | |
1672 | %defattr(644,root,root,755) | |
1673 | %attr(755,root,root) %{_libdir}/libQt3Support.so.*.* | |
1674 | %attr(755,root,root) %ghost %{_libdir}/libQt3Support.so.4 | |
1675 | ||
1676 | %files -n QtAssistant | |
1677 | %defattr(644,root,root,755) | |
1678 | %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.* | |
1679 | %attr(755,root,root) %ghost %{_libdir}/libQtAssistantClient.so.4 | |
1680 | ||
1681 | %files -n QtCLucene | |
1682 | %defattr(644,root,root,755) | |
1683 | %attr(755,root,root) %{_libdir}/libQtCLucene.so.*.* | |
1684 | %attr(755,root,root) %ghost %{_libdir}/libQtCLucene.so.4 | |
1685 | ||
1686 | %files -n QtCore | |
1687 | %defattr(644,root,root,755) | |
1688 | %attr(755,root,root) %{_libdir}/libQtCore.so.*.* | |
1689 | %attr(755,root,root) %ghost %{_libdir}/libQtCore.so.4 | |
1690 | %dir %{_qtdir} | |
1691 | %dir %{_qtdir}/bin | |
1692 | %dir %{_qtdir}/plugins | |
1693 | %dir %{_qtdir}/plugins/accessible | |
1694 | %dir %{_qtdir}/plugins/codecs | |
1695 | %dir %{_qtdir}/plugins/crypto | |
1696 | %dir %{_qtdir}/plugins/graphicssystems | |
1697 | %dir %{_qtdir}/plugins/iconengines | |
1698 | %dir %{_qtdir}/plugins/imageformats | |
1699 | %dir %{_qtdir}/plugins/inputmethods | |
1700 | %dir %{_qtdir}/plugins/network | |
1701 | %dir %{_qtdir}/plugins/sqldrivers | |
1702 | %dir %{_qtdir}/plugins/script | |
1703 | %dir %{_datadir}/qt4 | |
1704 | %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm | |
1705 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm | |
1706 | %lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm | |
1707 | %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm | |
1708 | %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm | |
1709 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4.qm | |
1710 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4.qm | |
1711 | %lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/qt4.qm | |
1712 | %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm | |
1713 | %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm | |
1714 | %lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/qt4.qm | |
1715 | %lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/qt4.qm | |
1716 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm | |
1717 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4.qm | |
1718 | ||
1719 | %files -n QtDBus | |
1720 | %defattr(644,root,root,755) | |
1721 | %attr(755,root,root) %{_bindir}/qdbus | |
1722 | %attr(755,root,root) %{_bindir}/qdbusviewer | |
1723 | %attr(755,root,root) %{_libdir}/libQtDBus.so.*.* | |
1724 | %attr(755,root,root) %ghost %{_libdir}/libQtDBus.so.4 | |
1725 | %attr(755,root,root) %{_qtdir}/bin/qdbus | |
1726 | %attr(755,root,root) %{_qtdir}/bin/qdbusviewer | |
1727 | # ?? is this the proper place? | |
1728 | %attr(755,root,root) %{_qtdir}/plugins/script/libqtscriptdbus.so | |
1729 | ||
1730 | %files -n QtDesigner | |
1731 | %defattr(644,root,root,755) | |
1732 | %attr(755,root,root) %{_libdir}/libQtDesigner.so.*.* | |
1733 | %attr(755,root,root) %ghost %{_libdir}/libQtDesigner.so.4 | |
1734 | %attr(755,root,root) %{_libdir}/libQtDesignerComponents.so.*.* | |
1735 | %attr(755,root,root) %ghost %{_libdir}/libQtDesignerComponents.so.4 | |
1736 | %dir %{_qtdir}/plugins/designer | |
1737 | %attr(755,root,root) %{_qtdir}/plugins/designer/*.so | |
1738 | ||
1739 | %files -n QtGui | |
1740 | %defattr(644,root,root,755) | |
1741 | %attr(755,root,root) %{_libdir}/libQtGui.so.*.* | |
1742 | %attr(755,root,root) %ghost %{_libdir}/libQtGui.so.4 | |
1743 | %attr(755,root,root) %{_qtdir}/plugins/accessible/*.so | |
1744 | %attr(755,root,root) %{_qtdir}/plugins/codecs/*.so | |
1745 | %attr(755,root,root) %{_qtdir}/plugins/graphicssystems/*.so | |
1746 | %attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so | |
1747 | %attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so | |
1748 | %attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so | |
1749 | ||
1750 | %files -n QtHelp | |
1751 | %defattr(644,root,root,755) | |
1752 | %attr(755,root,root) %{_libdir}/libQtHelp.so.*.* | |
1753 | %attr(755,root,root) %ghost %{_libdir}/libQtHelp.so.4 | |
1754 | %attr(755,root,root) %{_qtdir}/bin/qhelpconverter | |
1755 | %attr(755,root,root) %{_qtdir}/bin/qhelpgenerator | |
1756 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-qt_help.qm | |
1757 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qt_help.qm | |
1758 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qt_help.qm | |
1759 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-qt_help.qm | |
1760 | ||
1761 | %files -n QtNetwork | |
1762 | %defattr(644,root,root,755) | |
1763 | %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.* | |
1764 | %attr(755,root,root) %ghost %{_libdir}/libQtNetwork.so.4 | |
1765 | ||
1766 | %files -n QtOpenGL | |
1767 | %defattr(644,root,root,755) | |
1768 | %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.* | |
1769 | %attr(755,root,root) %ghost %{_libdir}/libQtOpenGL.so.4 | |
1770 | ||
1771 | %files -n QtScript | |
1772 | %defattr(644,root,root,755) | |
1773 | %attr(755,root,root) %{_libdir}/libQtScript.so.*.* | |
1774 | %attr(755,root,root) %ghost %{_libdir}/libQtScript.so.4 | |
1775 | ||
1776 | %files -n QtScriptTools | |
1777 | %defattr(644,root,root,755) | |
1778 | %attr(755,root,root) %{_libdir}/libQtScriptTools.so.*.* | |
1779 | %attr(755,root,root) %ghost %{_libdir}/libQtScriptTools.so.4 | |
1780 | ||
1781 | %files -n QtSql | |
1782 | %defattr(644,root,root,755) | |
1783 | %attr(755,root,root) %{_libdir}/libQtSql.so.*.* | |
1784 | %attr(755,root,root) %ghost %{_libdir}/libQtSql.so.4 | |
1785 | ||
1786 | %if %{with mysql} | |
1787 | %files -n QtSql-mysql | |
1788 | %defattr(644,root,root,755) | |
1789 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql.so | |
1790 | %endif | |
1791 | ||
1792 | %if %{with pgsql} | |
1793 | %files -n QtSql-pgsql | |
1794 | %defattr(644,root,root,755) | |
1795 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql.so | |
1796 | %endif | |
1797 | ||
1798 | %if %{with sqlite} | |
1799 | %files -n QtSql-sqlite | |
1800 | %defattr(644,root,root,755) | |
1801 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2.so | |
1802 | %endif | |
1803 | ||
1804 | %if %{with sqlite3} | |
1805 | %files -n QtSql-sqlite3 | |
1806 | %defattr(644,root,root,755) | |
1807 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite.so | |
1808 | %endif | |
1809 | ||
1810 | %if %{with ibase} | |
1811 | %files -n QtSql-ibase | |
1812 | %defattr(644,root,root,755) | |
1813 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase.so | |
1814 | %endif | |
1815 | ||
1816 | %if %{with odbc} | |
1817 | %files -n QtSql-odbc | |
1818 | %defattr(644,root,root,755) | |
1819 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc.so | |
1820 | %endif | |
1821 | ||
1822 | %files -n QtSql-tds | |
1823 | %defattr(644,root,root,755) | |
1824 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqltds.so | |
1825 | ||
1826 | %files -n QtSvg | |
1827 | %defattr(644,root,root,755) | |
1828 | %attr(755,root,root) %{_libdir}/libQtSvg.so.*.* | |
1829 | %attr(755,root,root) %ghost %{_libdir}/libQtSvg.so.4 | |
1830 | ||
1831 | %files -n QtTest | |
1832 | %defattr(644,root,root,755) | |
1833 | %attr(755,root,root) %{_libdir}/libQtTest.so.*.* | |
1834 | %attr(755,root,root) %ghost %{_libdir}/libQtTest.so.4 | |
1835 | ||
1836 | %files -n QtUiTools | |
1837 | %defattr(644,root,root,755) | |
1838 | %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.* | |
1839 | %attr(755,root,root) %ghost %{_libdir}/libQtUiTools.so.4 | |
1840 | ||
1841 | %files -n QtWebKit | |
1842 | %defattr(644,root,root,755) | |
1843 | %attr(755,root,root) %{_libdir}/libQtWebKit.so.*.* | |
1844 | %attr(755,root,root) %ghost %{_libdir}/libQtWebKit.so.4 | |
1845 | ||
1846 | %files -n QtXml | |
1847 | %defattr(644,root,root,755) | |
1848 | %attr(755,root,root) %{_libdir}/libQtXml.so.*.* | |
1849 | %attr(755,root,root) %ghost %{_libdir}/libQtXml.so.4 | |
1850 | ||
1851 | %files -n QtXmlPatterns | |
1852 | %defattr(644,root,root,755) | |
1853 | %attr(755,root,root) %{_qtdir}/bin/xmlpatterns | |
1854 | %attr(755,root,root) %{_libdir}/libQtXmlPatterns.so.*.* | |
1855 | %attr(755,root,root) %ghost %{_libdir}/libQtXmlPatterns.so.4 | |
1856 | ||
1857 | %files assistant | |
1858 | %defattr(644,root,root,755) | |
1859 | %attr(755,root,root) %{_bindir}/pixeltool | |
1860 | %attr(755,root,root) %{_bindir}/assistant-qt4 | |
1861 | %attr(755,root,root) %{_qtdir}/bin/pixeltool | |
1862 | %attr(755,root,root) %{_qtdir}/bin/qcollectiongenerator | |
1863 | %attr(755,root,root) %{_qtdir}/bin/assistant | |
1864 | %attr(755,root,root) %{_qtdir}/bin/assistant_adp | |
1865 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-assistant*.qm | |
1866 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-assistant*.qm | |
1867 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-assistant*.qm | |
1868 | %lang(zh_CN) %{_datadir}/locale/zh_*/LC_MESSAGES/qt4-assistant*.qm | |
1869 | %{_desktopdir}/assistant-qt4.desktop | |
1870 | #%{_pixmapsdir}/assistant-qt4.png | |
1871 | ||
1872 | %files build | |
1873 | %defattr(644,root,root,755) | |
1874 | %attr(755,root,root) %{_bindir}/rcc | |
1875 | %attr(755,root,root) %{_bindir}/moc-qt4 | |
1876 | %attr(755,root,root) %{_bindir}/qt3to4 | |
1877 | %attr(755,root,root) %{_bindir}/uic-qt4 | |
1878 | %attr(755,root,root) %{_qtdir}/bin/rcc | |
1879 | %attr(755,root,root) %{_qtdir}/bin/moc | |
1880 | %attr(755,root,root) %{_qtdir}/bin/qt3to4 | |
1881 | %attr(755,root,root) %{_qtdir}/bin/uic | |
1882 | %{_datadir}/qt4/q3porting.xml | |
1883 | ||
1884 | %files designer | |
1885 | %defattr(644,root,root,755) | |
1886 | %attr(755,root,root) %{_bindir}/designer-qt4 | |
1887 | %attr(755,root,root) %{_qtdir}/bin/designer | |
1888 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-designer.qm | |
1889 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-designer.qm | |
1890 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-designer.qm | |
1891 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-designer.qm | |
1892 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-designer.qm | |
1893 | %{_desktopdir}/designer-qt4.desktop | |
1894 | %{_pixmapsdir}/designer-qt4.png | |
1895 | ||
1896 | %files linguist | |
1897 | %defattr(644,root,root,755) | |
1898 | %attr(755,root,root) %{_bindir}/findtr-qt4 | |
1899 | %attr(755,root,root) %{_bindir}/linguist-qt4 | |
1900 | %attr(755,root,root) %{_bindir}/lrelease-qt4 | |
1901 | %attr(755,root,root) %{_bindir}/lupdate-qt4 | |
1902 | %attr(755,root,root) %{_qtdir}/bin/findtr | |
1903 | %attr(755,root,root) %{_qtdir}/bin/linguist | |
1904 | %attr(755,root,root) %{_qtdir}/bin/lconvert | |
1905 | %attr(755,root,root) %{_qtdir}/bin/lrelease | |
1906 | %attr(755,root,root) %{_qtdir}/bin/lupdate | |
1907 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-linguist.qm | |
1908 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-linguist.qm | |
1909 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-linguist.qm | |
1910 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-linguist.qm | |
1911 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-linguist.qm | |
1912 | %{_datadir}/qt4/phrasebooks | |
1913 | %{_desktopdir}/linguist-qt4.desktop | |
1914 | %{_pixmapsdir}/linguist-qt4.png | |
1915 | ||
1916 | %files phonon | |
1917 | %defattr(644,root,root,755) | |
1918 | %attr(755,root,root) %{_libdir}/libphonon.so.*.* | |
1919 | %attr(755,root,root) %ghost %{_libdir}/libphonon.so.4 | |
1920 | %dir %{_qtdir}/plugins/phonon_backend | |
1921 | %attr(755,root,root) %{_qtdir}/plugins/phonon_backend/libphonon_gstreamer.so | |
1922 | ||
1923 | %files qmake | |
1924 | %defattr(644,root,root,755) | |
1925 | %attr(755,root,root) %{_bindir}/qmake-qt4 | |
1926 | %attr(755,root,root) %{_qtdir}/bin/qmake | |
1927 | %{_datadir}/qt4/mkspecs | |
1928 | %{_qtdir}/mkspecs | |
1929 | ||
1930 | %files qtconfig | |
1931 | %defattr(644,root,root,755) | |
1932 | %attr(755,root,root) %{_bindir}/qtconfig-qt4 | |
1933 | %attr(755,root,root) %{_qtdir}/bin/qtconfig | |
1934 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qtconfig.qm | |
1935 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qtconfig.qm | |
1936 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-qtconfig.qm | |
1937 | %{_desktopdir}/qtconfig-qt4.desktop | |
1938 | %{_pixmapsdir}/qtconfig-qt4.png | |
1939 | ||
1940 | %files -n qvfb | |
1941 | %defattr(644,root,root,755) | |
1942 | %attr(755,root,root) %{_bindir}/qvfb | |
1943 | %attr(755,root,root) %{_qtdir}/bin/qvfb | |
1944 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qvfb.qm | |
1945 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qvfb.qm | |
1946 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-qvfb.qm | |
1947 | ||
1948 | %files doc | |
1949 | %defattr(644,root,root,755) | |
1950 | %{_docdir}/%{name}-doc | |
1951 | %{_qtdir}/doc | |
1952 | ||
1953 | %files -n QtCLucene-devel -f QtCLucene-devel.files | |
1954 | %defattr(644,root,root,755) | |
1955 | ||
1956 | %files -n Qt3Support-devel -f Qt3Support-devel.files | |
1957 | %defattr(644,root,root,755) | |
1958 | %attr(755,root,root) %{_bindir}/uic3 | |
1959 | %attr(755,root,root) %{_qtdir}/bin/uic3 | |
1960 | ||
1961 | %files -n QtAssistant-devel -f QtAssistant-devel.files | |
1962 | %defattr(644,root,root,755) | |
1963 | ||
1964 | %files -n QtCore-devel -f QtCore-devel.files | |
1965 | %defattr(644,root,root,755) | |
1966 | ||
1967 | %files -n QtDBus-devel -f QtDBus-devel.files | |
1968 | %defattr(644,root,root,755) | |
1969 | ||
1970 | %files -n QtDesigner-devel -f QtDesigner-devel.files | |
1971 | %defattr(644,root,root,755) | |
1972 | ||
1973 | %files -n QtGui-devel -f QtGui-devel.files | |
1974 | %defattr(644,root,root,755) | |
1975 | ||
1976 | %files -n QtHelp-devel -f QtHelp-devel.files | |
1977 | %defattr(644,root,root,755) | |
1978 | ||
1979 | %files -n QtNetwork-devel -f QtNetwork-devel.files | |
1980 | %defattr(644,root,root,755) | |
1981 | ||
1982 | %files -n QtOpenGL-devel -f QtOpenGL-devel.files | |
1983 | %defattr(644,root,root,755) | |
1984 | ||
1985 | %files -n QtScript-devel -f QtScript-devel.files | |
1986 | %defattr(644,root,root,755) | |
1987 | ||
1988 | %files -n QtScriptTools-devel -f QtScriptTools-devel.files | |
1989 | %defattr(644,root,root,755) | |
1990 | ||
1991 | %files -n QtSql-devel -f QtSql-devel.files | |
1992 | %defattr(644,root,root,755) | |
1993 | ||
1994 | %files -n QtSvg-devel -f QtSvg-devel.files | |
1995 | %defattr(644,root,root,755) | |
1996 | ||
1997 | %files -n QtTest-devel -f QtTest-devel.files | |
1998 | %defattr(644,root,root,755) | |
1999 | ||
2000 | %files -n QtUiTools-devel -f QtUiTools-devel.files | |
2001 | %defattr(644,root,root,755) | |
2002 | ||
2003 | %files -n QtWebKit-devel -f QtWebKit-devel.files | |
2004 | %defattr(644,root,root,755) | |
2005 | ||
2006 | %files -n QtXml-devel -f QtXml-devel.files | |
2007 | %defattr(644,root,root,755) | |
2008 | ||
2009 | %files -n QtXmlPatterns-devel -f QtXmlPatterns-devel.files | |
2010 | %defattr(644,root,root,755) | |
2011 | ||
2012 | %files phonon-devel -f phonon-devel.files | |
2013 | %defattr(644,root,root,755) | |
2014 | ||
2015 | %if %{with static_libs} | |
2016 | %files -n Qt3Support-static | |
2017 | %defattr(644,root,root,755) | |
2018 | %{_libdir}/libQt3Support.a | |
2019 | ||
2020 | #%files -n QtAssistant-static | |
2021 | #%defattr(644,root,root,755) | |
2022 | #%{_libdir}/libQtAssistantClient.a | |
2023 | ||
2024 | #%files -n QtCLucene-static | |
2025 | #%defattr(644,root,root,755) | |
2026 | #%{_libdir}/libQtCLucene.a | |
2027 | ||
2028 | %files -n QtCore-static | |
2029 | %defattr(644,root,root,755) | |
2030 | %{_libdir}/libQtCore.a | |
2031 | ||
2032 | %files -n QtDBus-static | |
2033 | %defattr(644,root,root,755) | |
2034 | %{_libdir}/libQtDBus.a | |
2035 | ||
2036 | %files -n QtDesigner-static | |
2037 | %defattr(644,root,root,755) | |
2038 | %{_libdir}/libQtDesigner.a | |
2039 | %{_libdir}/libQtDesignerComponents.a | |
2040 | ||
2041 | %files -n QtGui-static | |
2042 | %defattr(644,root,root,755) | |
2043 | %{_libdir}/libQtGui.a | |
2044 | ||
2045 | %files -n QtHelp-static | |
2046 | %defattr(644,root,root,755) | |
2047 | %{_libdir}/libQtHelp.a | |
2048 | ||
2049 | %files -n QtNetwork-static | |
2050 | %defattr(644,root,root,755) | |
2051 | %{_libdir}/libQtNetwork.a | |
2052 | ||
2053 | %files -n QtOpenGL-static | |
2054 | %defattr(644,root,root,755) | |
2055 | %{_libdir}/libQtOpenGL.a | |
2056 | ||
2057 | %files -n QtScript-static | |
2058 | %defattr(644,root,root,755) | |
2059 | %{_libdir}/libQtScript.a | |
2060 | ||
2061 | %files -n QtScriptTools-static | |
2062 | %defattr(644,root,root,755) | |
2063 | %{_libdir}/libQtScriptTools.a | |
2064 | ||
2065 | %files -n QtSql-static | |
2066 | %defattr(644,root,root,755) | |
2067 | %{_libdir}/libQtSql.a | |
2068 | ||
2069 | %files -n QtSvg-static | |
2070 | %defattr(644,root,root,755) | |
2071 | %{_libdir}/libQtSvg.a | |
2072 | ||
2073 | %files -n QtTest-static | |
2074 | %defattr(644,root,root,755) | |
2075 | %{_libdir}/libQtTest.a | |
2076 | ||
2077 | %files -n QtUiTools-static | |
2078 | %defattr(644,root,root,755) | |
2079 | %{_libdir}/libQtUiTools.a | |
2080 | ||
2081 | %files -n QtWebKit-static | |
2082 | %defattr(644,root,root,755) | |
2083 | %{_libdir}/libQtWebKit.a | |
2084 | ||
2085 | %files -n QtXml-static | |
2086 | %defattr(644,root,root,755) | |
2087 | %{_libdir}/libQtXml.a | |
2088 | ||
2089 | %files -n QtXmlPatterns-static | |
2090 | %defattr(644,root,root,755) | |
2091 | %{_libdir}/libQtXmlPatterns.a | |
2092 | %endif | |
2093 | ||
2094 | %files demos -f demos.files | |
2095 | %defattr(644,root,root,755) | |
2096 | ||
2097 | %files examples -f examples.files | |
2098 | %defattr(644,root,root,755) |