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