]>
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 | |
017da8d6 | 41 | %define rel 2 |
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 KK |
442 | %package -n QtHelp |
443 | Summary: QtHelp | |
444 | Group: X11/Libraries | |
445 | Requires: QtGui = %{version}-%{release} | |
446 | ||
447 | %description -n QtHelp | |
448 | QtHelp. | |
449 | ||
450 | %package -n QtHelp-devel | |
451 | Summary: QtHelp - development files | |
452 | Group: X11/Development/Libraries | |
453 | Requires: QtCLucene-devel = %{version}-%{release} | |
454 | Requires: QtGui-devel = %{version}-%{release} | |
455 | Requires: QtHelp = %{version}-%{release} | |
456 | Requires: QtSql-devel = %{version}-%{release} | |
457 | Requires: QtXml-devel = %{version}-%{release} | |
458 | ||
459 | %description -n QtHelp-devel | |
460 | QtHelp - development files. | |
461 | ||
462 | %package -n QtHelp-static | |
463 | Summary: QtHelp - static libraries | |
464 | Group: X11/Development/Libraries | |
465 | Requires: QtHelp-devel = %{version}-%{release} | |
466 | ||
467 | %description -n QtHelp-static | |
468 | QtHelp - static libraries. | |
469 | ||
cc6d9c76 | 470 | %package -n QtNetwork |
471 | Summary: Classes for network programming | |
4c66dee3 | 472 | Summary(pl.UTF-8): Klasy do programowania sieciowego |
61da89d9 | 473 | Group: X11/Libraries |
5631d6de | 474 | Requires: QtCore = %{version}-%{release} |
bc7da990 | 475 | |
cc6d9c76 | 476 | %description -n QtNetwork |
477 | Classes for network programming. | |
bc7da990 | 478 | |
02520e74 | 479 | %description -n QtNetwork -l pl.UTF-8 |
61da89d9 JB |
480 | Klasy do programowania sieciowego. |
481 | ||
cc6d9c76 | 482 | %package -n QtNetwork-devel |
61da89d9 | 483 | Summary: Classes for network programming - development files |
4c66dee3 | 484 | Summary(pl.UTF-8): Klasy do programowania sieciowego - pliki programistyczne |
bc7da990 | 485 | Group: X11/Development/Libraries |
5631d6de JB |
486 | Requires: QtCore-devel = %{version}-%{release} |
487 | Requires: QtNetwork = %{version}-%{release} | |
bc7da990 | 488 | |
cc6d9c76 | 489 | %description -n QtNetwork-devel |
61da89d9 JB |
490 | Classes for network programming - development files. |
491 | ||
02520e74 | 492 | %description -n QtNetwork-devel -l pl.UTF-8 |
61da89d9 | 493 | Klasy do programowania sieciowego - pliki programistyczne. |
bc7da990 | 494 | |
8b4e0403 | 495 | %package -n QtNetwork-static |
496 | Summary: Classes for network programming - static libraries | |
4c66dee3 | 497 | Summary(pl.UTF-8): Klasy do programowania sieciowego - biblioteki statyczne |
8b4e0403 | 498 | Group: X11/Development/Libraries |
5631d6de | 499 | Requires: QtNetwork-devel = %{version}-%{release} |
8b4e0403 | 500 | |
501 | %description -n QtNetwork-static | |
502 | Classes for network programming - static libraries. | |
503 | ||
02520e74 | 504 | %description -n QtNetwork-static -l pl.UTF-8 |
8b4e0403 | 505 | Klasy do programowania sieciowego - biblioteki statyczne. |
8b4e0403 | 506 | |
cc6d9c76 | 507 | %package -n QtOpenGL |
508 | Summary: OpenGL support classes | |
4c66dee3 | 509 | Summary(pl.UTF-8): Klasy wspomagające OpenGL |
61da89d9 | 510 | Group: X11/Libraries |
5631d6de | 511 | Requires: QtCore = %{version}-%{release} |
bc7da990 | 512 | |
cc6d9c76 | 513 | %description -n QtOpenGL |
514 | OpenGL support classes. | |
bc7da990 | 515 | |
02520e74 JR |
516 | %description -n QtOpenGL -l pl.UTF-8 |
517 | Klasy wspomagające OpenGL. | |
61da89d9 | 518 | |
cc6d9c76 | 519 | %package -n QtOpenGL-devel |
61da89d9 | 520 | Summary: OpenGL support classes - development files |
4c66dee3 | 521 | Summary(pl.UTF-8): Klasy wspomagające OpenGL - pliki programistyczne |
bc7da990 | 522 | Group: X11/Development/Libraries |
03510596 | 523 | Requires: OpenGL-GLU-devel |
5631d6de | 524 | Requires: QtCore-devel = %{version}-%{release} |
017da8d6 | 525 | Requires: QtGui-devel = %{version}-%{release} |
5631d6de | 526 | Requires: QtOpenGL = %{version}-%{release} |
bc7da990 | 527 | |
cc6d9c76 | 528 | %description -n QtOpenGL-devel |
61da89d9 JB |
529 | OpenGL support classes - development files. |
530 | ||
02520e74 JR |
531 | %description -n QtOpenGL-devel -l pl.UTF-8 |
532 | Klasy wspomagające OpenGL - pliki programistyczne. | |
bc7da990 | 533 | |
8b4e0403 | 534 | %package -n QtOpenGL-static |
535 | Summary: OpenGL support classes - static libraries | |
4c66dee3 | 536 | Summary(pl.UTF-8): Klasy wspomagające OpenGL - biblioteki statyczne |
8b4e0403 | 537 | Group: X11/Development/Libraries |
5631d6de | 538 | Requires: QtOpenGL-devel = %{version}-%{release} |
8b4e0403 | 539 | |
540 | %description -n QtOpenGL-static | |
541 | OpenGL support classes - static libraries. | |
542 | ||
017da8d6 | 543 | %description -n QtOpenGL-static -l pl.UTF-8 |
02520e74 | 544 | Klasy wspomagające OpenGL - biblioteki statyczne. |
8b4e0403 | 545 | |
26c3ab86 KK |
546 | %package -n QtScript |
547 | Summary: Classes for scripting applications | |
548 | Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach | |
549 | Group: X11/Development/Libraries | |
bc7da990 | 550 | |
26c3ab86 KK |
551 | %description -n QtScript |
552 | The QtScript module provides classes to handle scripts inside | |
553 | applications. | |
cc6d9c76 | 554 | |
26c3ab86 KK |
555 | %description -n QtScript -l pl.UTF-8 |
556 | Ten moduł dostarcza klasy obsługujące języki skryptowe wewnątrz | |
557 | aplikacji. | |
61da89d9 | 558 | |
26c3ab86 KK |
559 | %package -n QtScript-devel |
560 | Summary: Classes for scripting applications - development files | |
561 | Summary(pl.UTF-8): Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne | |
cc6d9c76 | 562 | Group: X11/Development/Libraries |
5631d6de | 563 | Requires: QtCore-devel = %{version}-%{release} |
26c3ab86 KK |
564 | Requires: QtScript = %{version}-%{release} |
565 | ||
566 | %description -n QtScript-devel | |
567 | Classes for scriptin applications - development files. | |
568 | ||
569 | %description -n QtScript-devel -l pl.UTF-8 | |
570 | Klasy do obsługi skryptów wewnątrz aplikacji - pliki programistyczne. | |
571 | ||
572 | %package -n QtScript-static | |
573 | Summary: Classes for scripting applications - static library | |
574 | Summary(pl.UTF-8): Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka statyczna | |
575 | Group: X11/Development/Libraries | |
576 | Requires: QtScript-devel = %{version}-%{release} | |
577 | ||
578 | %description -n QtScript-static | |
579 | Classes for scripting applications - static library. | |
580 | ||
581 | %description -n QtScript-static -l pl.UTF-8 | |
582 | Klasy pozwalające dodać obsługę skryptów w aplikacjach - biblioteka | |
583 | statyczna. | |
584 | ||
585 | %package -n QtSql | |
586 | Summary: Classes for database integration using SQL | |
587 | Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL | |
588 | Group: X11/Libraries | |
589 | Requires: QtCore = %{version}-%{release} | |
590 | ||
591 | %description -n QtSql | |
592 | Classes for database integration using SQL. | |
593 | ||
594 | %description -n QtSql -l pl.UTF-8 | |
595 | Klasy do integracji z bazami danych przy użyciu SQL. | |
596 | ||
597 | %package -n QtSql-devel | |
598 | Summary: Classes for database integration using SQL - development files | |
599 | Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL - pliki programistyczne | |
600 | Group: X11/Development/Libraries | |
601 | Requires: QtCore-devel = %{version}-%{release} | |
602 | Requires: QtSql = %{version}-%{release} | |
bc7da990 | 603 | |
cc6d9c76 | 604 | %description -n QtSql-devel |
61da89d9 JB |
605 | Classes for database integration using SQL - development files. |
606 | ||
02520e74 JR |
607 | %description -n QtSql-devel -l pl.UTF-8 |
608 | Klasy do integracji z bazami danych przy użyciu SQL - pliki | |
61da89d9 | 609 | programistyczne. |
bc7da990 | 610 | |
8b4e0403 | 611 | %package -n QtSql-static |
612 | Summary: Classes for database integration using SQL - static libraries | |
4c66dee3 | 613 | Summary(pl.UTF-8): Klasy do integracji z bazami danych przy użyciu SQL - biblioteki statyczne |
8b4e0403 | 614 | Group: X11/Development/Libraries |
5631d6de | 615 | Requires: QtSql-devel = %{version}-%{release} |
8b4e0403 | 616 | |
617 | %description -n QtSql-static | |
618 | Classes for database integration using SQL - static libraries. | |
619 | ||
02520e74 JR |
620 | %description -n QtSql-static -l pl.UTF-8 |
621 | Klasy do integracji z bazami danych przy użyciu SQL - biblioteki | |
7b57a050 | 622 | statyczne. programistyczne. |
8b4e0403 | 623 | |
cc6d9c76 | 624 | %package -n QtSql-ibase |
bc7da990 | 625 | Summary: Database plugin for InterBase/Firebird Qt support |
4c66dee3 ER |
626 | Summary(pl.UTF-8): Wtyczka InterBase/Firebird do Qt |
627 | Summary(pt_BR.UTF-8): Plugin de suporte a InterBase/Firebird para Qt | |
61da89d9 | 628 | Group: X11/Libraries |
5631d6de JB |
629 | Requires: QtSql = %{version}-%{release} |
630 | Provides: QtSql-backend = %{version}-%{release} | |
bc7da990 | 631 | |
cc6d9c76 | 632 | %description -n QtSql-ibase |
08506906 PS |
633 | This package contains a plugin for accessing Interbase/Firebird |
634 | database via the QSql classes. | |
bc7da990 | 635 | |
02520e74 JR |
636 | %description -n QtSql-ibase -l pl.UTF-8 |
637 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
08506906 | 638 | danych Interbase/Firebird poprzez klasy QSql. |
bc7da990 | 639 | |
02520e74 | 640 | %description -n QtSql-ibase -l pt_BR.UTF-8 |
bc7da990 | 641 | Plugin de suporte a InterBase/Firebird para Qt. |
642 | ||
cc6d9c76 | 643 | %package -n QtSql-mysql |
bc7da990 | 644 | Summary: Database plugin for MySQL Qt support |
4c66dee3 ER |
645 | Summary(pl.UTF-8): Wtyczka MySQL do Qt |
646 | Summary(pt_BR.UTF-8): Plugin de suporte a MySQL para Qt | |
61da89d9 | 647 | Group: X11/Libraries |
5631d6de JB |
648 | Requires: QtSql = %{version}-%{release} |
649 | Provides: QtSql-backend = %{version}-%{release} | |
bc7da990 | 650 | |
cc6d9c76 | 651 | %description -n QtSql-mysql |
08506906 PS |
652 | This package contains a plugin for accessing MySQL database via the |
653 | QSql classes. | |
bc7da990 | 654 | |
02520e74 JR |
655 | %description -n QtSql-mysql -l pl.UTF-8 |
656 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
08506906 | 657 | danych MySQL poprzez klasy QSql. |
bc7da990 | 658 | |
02520e74 | 659 | %description -n QtSql-mysql -l pt_BR.UTF-8 |
bc7da990 | 660 | Plugin de suporte a MySQL para Qt. |
661 | ||
cc6d9c76 | 662 | %package -n QtSql-odbc |
bc7da990 | 663 | Summary: Database plugin for ODBC Qt support |
4c66dee3 ER |
664 | Summary(pl.UTF-8): Wtyczka ODBC do Qt |
665 | Summary(pt_BR.UTF-8): Plugin de suporte a ODBC para Qt | |
61da89d9 | 666 | Group: X11/Libraries |
5631d6de JB |
667 | Requires: QtSql = %{version}-%{release} |
668 | Provides: QtSql-backend = %{version}-%{release} | |
bc7da990 | 669 | |
cc6d9c76 | 670 | %description -n QtSql-odbc |
08506906 PS |
671 | This package contains a plugin for accessing unixODBC services via the |
672 | QSql classes. | |
bc7da990 | 673 | |
02520e74 JR |
674 | %description -n QtSql-odbc -l pl.UTF-8 |
675 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z usług | |
08506906 | 676 | unixODBC poprzez klasy QSql. |
bc7da990 | 677 | |
02520e74 | 678 | %description -n QtSql-odbc -l pt_BR.UTF-8 |
bc7da990 | 679 | Plugin de suporte a ODBC para Qt. |
680 | ||
cc6d9c76 | 681 | %package -n QtSql-pgsql |
bc7da990 | 682 | Summary: Database plugin for PostgreSQL Qt support |
4c66dee3 ER |
683 | Summary(pl.UTF-8): Wtyczka PostgreSQL do Qt |
684 | Summary(pt_BR.UTF-8): Plugin de suporte a PostgreSQL para Qt | |
61da89d9 | 685 | Group: X11/Libraries |
5631d6de JB |
686 | Requires: QtSql = %{version}-%{release} |
687 | Provides: QtSql-backend = %{version}-%{release} | |
bc7da990 | 688 | |
46255ac9 | 689 | %description -n QtSql-pgsql |
08506906 PS |
690 | This package contains a plugin for accessing PostgreSQL database via |
691 | the QSql classes. | |
bc7da990 | 692 | |
02520e74 JR |
693 | %description -n QtSql-pgsql -l pl.UTF-8 |
694 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
08506906 | 695 | danych PostgreSQL poprzez klasy QSql. |
bc7da990 | 696 | |
02520e74 | 697 | %description -n QtSql-pgsql -l es.UTF-8 |
ed39b935 | 698 | Plugin de suporte a PostgreSQL para Qt. |
bc7da990 | 699 | |
cc6d9c76 | 700 | %package -n QtSql-sqlite |
61da89d9 | 701 | Summary: Database plugin for SQLite 2.x Qt support |
4c66dee3 ER |
702 | Summary(pl.UTF-8): Wtyczka SQLite 2.x do Qt |
703 | Summary(pt_BR.UTF-8): Plugin de suporte a SQLite 2.x para Qt | |
61da89d9 | 704 | Group: X11/Libraries |
5631d6de JB |
705 | Requires: QtSql = %{version}-%{release} |
706 | Provides: QtSql-backend = %{version}-%{release} | |
bc7da990 | 707 | |
cc6d9c76 | 708 | %description -n QtSql-sqlite |
61da89d9 | 709 | This package contains a plugin for using the SQLite 2.x library (which |
08506906 | 710 | allows to acces virtually any SQL database) via the QSql classes. |
bc7da990 | 711 | |
02520e74 JR |
712 | %description -n QtSql-sqlite -l pl.UTF-8 |
713 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
61da89d9 | 714 | danych SQLite 2.x poprzez klasy QSql. |
bc7da990 | 715 | |
02520e74 | 716 | %description -n QtSql-sqlite -l pt_BR.UTF-8 |
61da89d9 | 717 | Plugin de suporte a SQLite 2.x para Qt. |
bc7da990 | 718 | |
cc6d9c76 | 719 | %package -n QtSql-sqlite3 |
720 | Summary: Database plugin for SQLite3 Qt support | |
4c66dee3 ER |
721 | Summary(pl.UTF-8): Wtyczka SQLite3 do Qt |
722 | Summary(pt_BR.UTF-8): Plugin de suporte a SQLite3 para Qt | |
61da89d9 | 723 | Group: X11/Libraries |
5631d6de JB |
724 | Requires: QtSql = %{version}-%{release} |
725 | Provides: QtSql-backend = %{version}-%{release} | |
bc7da990 | 726 | |
cc6d9c76 | 727 | %description -n QtSql-sqlite3 |
08506906 PS |
728 | This package contains a plugin for using the SQLite3 library (which |
729 | allows to acces virtually any SQL database) via the QSql classes. | |
bc7da990 | 730 | |
02520e74 JR |
731 | %description -n QtSql-sqlite3 -l pl.UTF-8 |
732 | Ten pakiet zawiera wtyczki do Qt umożliwiające korzystanie z baz | |
08506906 | 733 | danych SQLite3 poprzez klasy QSql. |
cc6d9c76 | 734 | |
02520e74 | 735 | %description -n QtSql-sqlite3 -l pt_BR.UTF-8 |
08506906 | 736 | Plugin de suporte a SQLite3 para Qt. |
cc6d9c76 | 737 | |
07b2fa37 JB |
738 | %package -n QtSvg |
739 | Summary: SVG support | |
4c66dee3 | 740 | Summary(pl.UTF-8): Wsparcie dla SVG |
07b2fa37 | 741 | Group: X11/Libraries |
a1ef320e | 742 | Requires: QtXml = %{version}-%{release} |
07b2fa37 JB |
743 | |
744 | %description -n QtSvg | |
745 | SVG support. | |
746 | ||
02520e74 | 747 | %description -n QtSvg -l pl.UTF-8 |
07b2fa37 JB |
748 | Wsparcie dla SVG. |
749 | ||
750 | %package -n QtSvg-devel | |
751 | Summary: SVG support - development files | |
4c66dee3 | 752 | Summary(pl.UTF-8): Wsparcie dla SVG - pliki programistyczne |
07b2fa37 | 753 | Group: X11/Development/Libraries |
017da8d6 | 754 | Requires: QtGui-devel = %{version}-%{release} |
5631d6de | 755 | Requires: QtSvg = %{version}-%{release} |
07b2fa37 JB |
756 | |
757 | %description -n QtSvg-devel | |
758 | SVG support - development files. | |
759 | ||
02520e74 | 760 | %description -n QtSvg-devel -l pl.UTF-8 |
07b2fa37 JB |
761 | Wsparcie dla SVG - pliki programistyczne. |
762 | ||
763 | %package -n QtSvg-static | |
764 | Summary: SVG support - static libraries | |
4c66dee3 | 765 | Summary(pl.UTF-8): Wsparcie dla SVG - biblioteki statyczne |
07b2fa37 | 766 | Group: X11/Development/Libraries |
5631d6de | 767 | Requires: QtSvg-devel = %{version}-%{release} |
07b2fa37 JB |
768 | |
769 | %description -n QtSvg-static | |
770 | SVG support - static libraries. | |
771 | ||
02520e74 | 772 | %description -n QtSvg-static -l pl.UTF-8 |
07b2fa37 JB |
773 | Wsparcie dla SVG - biblioteki statyczne. |
774 | ||
8b4e0403 | 775 | %package -n QtTest |
7b57a050 | 776 | Summary: Test framework |
4c66dee3 | 777 | Summary(pl.UTF-8): Szkielet testów |
8b4e0403 | 778 | Group: X11/Libraries |
5631d6de | 779 | Requires: QtCore = %{version}-%{release} |
8b4e0403 | 780 | |
781 | %description -n QtTest | |
782 | Test framework. | |
783 | ||
02520e74 JR |
784 | %description -n QtTest -l pl.UTF-8 |
785 | Szkielet testów. | |
07b2fa37 | 786 | |
8b4e0403 | 787 | %package -n QtTest-devel |
7b57a050 | 788 | Summary: Test framework - development files |
4c66dee3 | 789 | Summary(pl.UTF-8): Szkielet testów - pliki programistyczne |
8b4e0403 | 790 | Group: X11/Development/Libraries |
5631d6de JB |
791 | Requires: QtCore-devel = %{version}-%{release} |
792 | Requires: QtTest = %{version}-%{release} | |
8b4e0403 | 793 | |
794 | %description -n QtTest-devel | |
795 | Test framework - development files. | |
796 | ||
02520e74 JR |
797 | %description -n QtTest-devel -l pl.UTF-8 |
798 | Szkielet testów - pliki programistyczne. | |
07b2fa37 | 799 | |
45e8c637 AM |
800 | %package -n QtTest-static |
801 | Summary: Test framework - static libraries | |
802 | Summary(pl.UTF-8): Szkielet testów - biblioteki statyczne | |
803 | Group: X11/Development/Libraries | |
804 | Requires: QtTest-devel = %{version}-%{release} | |
805 | ||
806 | %description -n QtTest-static | |
807 | Test framework - static libraries. | |
808 | ||
809 | %description -n QtTest-static -l pl.UTF-8 | |
810 | Szkielet testów - biblioteki statyczne. | |
811 | ||
a8088d24 JB |
812 | %package -n QtUiTools |
813 | Summary: Classes for handling Qt Designer forms in applications | |
4c66dee3 | 814 | Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach |
a8088d24 | 815 | Group: X11/Libraries |
e3a9f812 JB |
816 | Requires: QtGui = %{version}-%{release} |
817 | Requires: QtXml = %{version}-%{release} | |
a8088d24 JB |
818 | |
819 | %description -n QtUiTools | |
820 | The QtUiTools module provides classes to handle forms created with Qt | |
821 | Designer. | |
822 | ||
02520e74 JR |
823 | %description -n QtUiTools -l pl.UTF-8 |
824 | Moduł QtUiTools udostępnia klasy do obsługi formularzy tworzonych przy | |
825 | użyciu Qt Designera. | |
a8088d24 JB |
826 | |
827 | %package -n QtUiTools-devel | |
828 | Summary: Classes for handling Qt Designer forms in applications - development files | |
4c66dee3 | 829 | Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki programistyczne |
a8088d24 | 830 | Group: X11/Development/Libraries |
017da8d6 | 831 | Requires: QtGui-devel = %{version}-%{release} |
e3a9f812 | 832 | Requires: QtUiTools = %{version}-%{release} |
017da8d6 | 833 | Requires: QtXml-devel = %{version}-%{release} |
a8088d24 JB |
834 | |
835 | %description -n QtUiTools-devel | |
836 | Classes for handling Qt Designer forms in applications - development | |
837 | files. | |
838 | ||
02520e74 JR |
839 | %description -n QtUiTools-devel -l pl.UTF-8 |
840 | Klasy do obsługi formularzy Qt Designera w aplikacjach - pliki | |
a8088d24 JB |
841 | programistyczne. |
842 | ||
843 | %package -n QtUiTools-static | |
844 | Summary: Classes for handling Qt Designer forms in applications - static library | |
4c66dee3 | 845 | Summary(pl.UTF-8): Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka statyczna |
a8088d24 | 846 | Group: X11/Development/Libraries |
e3a9f812 | 847 | Requires: QtUiTools-devel = %{version}-%{release} |
a8088d24 JB |
848 | |
849 | %description -n QtUiTools-static | |
850 | Classes for handling Qt Designer forms in applications - static | |
851 | library. | |
852 | ||
02520e74 JR |
853 | %description -n QtUiTools-static -l pl.UTF-8 |
854 | Klasy do obsługi formularzy Qt Designera w aplikacjach - biblioteka | |
a8088d24 JB |
855 | statyczna. |
856 | ||
45e8c637 AM |
857 | %package -n QtWebKit |
858 | Summary: QtWebKit | |
859 | Group: X11/Libraries | |
860 | Requires: QtGui = %{version}-%{release} | |
861 | ||
862 | %description -n QtWebKit | |
863 | QtWebKit. | |
864 | ||
865 | %package -n QtWebKit-devel | |
866 | Summary: QtWebKit - development files | |
867 | Group: X11/Development/Libraries | |
017da8d6 KK |
868 | Requires: QtGui-devel = %{version}-%{release} |
869 | Requires: QtNetwork-devel = %{version}-%{release} | |
870 | Requires: QtWebKit = %{version}-%{release} | |
45e8c637 AM |
871 | |
872 | %description -n QtWebKit-devel | |
873 | QtWebKit - development files. | |
874 | ||
875 | %package -n QtWebKit-static | |
876 | Summary: QtWebKit - static libraries | |
877 | Group: X11/Development/Libraries | |
017da8d6 | 878 | Requires: QtWebKit-devel = %{version}-%{release} |
45e8c637 AM |
879 | |
880 | %description -n QtWebKit-static | |
881 | QtWebKit - static libraries. | |
882 | ||
26c3ab86 KK |
883 | %package -n QtXml |
884 | Summary: Classes for handling XML | |
885 | Summary(pl.UTF-8): Klasy do obsługi XML-a | |
45e8c637 | 886 | Group: X11/Libraries |
017da8d6 | 887 | Requires: QtCore = %{version}-%{release} |
45e8c637 | 888 | |
26c3ab86 KK |
889 | %description -n QtXml |
890 | Classes for handling XML. | |
45e8c637 | 891 | |
26c3ab86 KK |
892 | %description -n QtXml -l pl.UTF-8 |
893 | Klasy do obsługi XML-a. | |
894 | ||
895 | %package -n QtXml-devel | |
896 | Summary: Classes for handling XML - development files | |
897 | Summary(pl.UTF-8): Klasy do obsługi XML-a - pliki programistyczne | |
45e8c637 | 898 | Group: X11/Development/Libraries |
45e8c637 | 899 | Requires: QtCore-devel = %{version}-%{release} |
26c3ab86 | 900 | Requires: QtXml = %{version}-%{release} |
45e8c637 | 901 | |
26c3ab86 KK |
902 | %description -n QtXml-devel |
903 | Classes for handling XML - development files. | |
45e8c637 | 904 | |
26c3ab86 KK |
905 | %description -n QtXml-devel -l pl.UTF-8 |
906 | Klasy do obsługi XML-a - pliki programistyczne. | |
907 | ||
908 | %package -n QtXml-static | |
909 | Summary: Classes for handling XML - static libraries | |
910 | Summary(pl.UTF-8): Klasy do obsługi XML-a - biblioteki statyczne | |
45e8c637 | 911 | Group: X11/Development/Libraries |
26c3ab86 | 912 | Requires: QtXml-devel = %{version}-%{release} |
45e8c637 | 913 | |
26c3ab86 KK |
914 | %description -n QtXml-static |
915 | Classes for handling XML - static libraries. | |
916 | ||
917 | %description -n QtXml-static -l pl.UTF-8 | |
918 | Klasy do obsługi XML-a - biblioteki statyczne. | |
45e8c637 AM |
919 | |
920 | %package -n QtXmlPatterns | |
921 | Summary: QtXmlPatterns | |
922 | Group: X11/Libraries | |
017da8d6 | 923 | Requires: QtCore = %{version}-%{release} |
45e8c637 AM |
924 | |
925 | %description -n QtXmlPatterns | |
926 | QtXmlPatterns. | |
927 | ||
928 | %package -n QtXmlPatterns-devel | |
929 | Summary: QtXmlPatterns - development files | |
930 | Group: X11/Development/Libraries | |
017da8d6 | 931 | Requires: QtNetwork-devel = %{version}-%{release} |
45e8c637 AM |
932 | Requires: QtXmlPatterns = %{version}-%{release} |
933 | ||
934 | %description -n QtXmlPatterns-devel | |
935 | QtXmlPatterns - development files. | |
936 | ||
937 | %package -n QtXmlPatterns-static | |
938 | Summary: QtXmlPatterns - static libraries | |
939 | Group: X11/Development/Libraries | |
017da8d6 | 940 | Requires: QtXmlPatterns-devel = %{version}-%{release} |
45e8c637 AM |
941 | |
942 | %description -n QtXmlPatterns-static | |
943 | QtXmlPatterns - static libraries. | |
944 | ||
bc7da990 | 945 | %package assistant |
946 | Summary: Qt documentation browser | |
4c66dee3 | 947 | Summary(pl.UTF-8): Przeglądarka dokumentacji Qt |
bc7da990 | 948 | Group: X11/Development/Tools |
a8088d24 | 949 | Requires: %{name}-doc = %{version}-%{release} |
61992032 | 950 | Requires: QtAssistant = %{version}-%{release} |
e3a9f812 | 951 | Requires: QtDBus = %{version}-%{release} |
bc7da990 | 952 | |
953 | %description assistant | |
954 | Qt Assistant is a tool for browsing on-line documentation with | |
955 | indexing, bookmarks and full-text search. | |
956 | ||
02520e74 JR |
957 | %description assistant -l pl.UTF-8 |
958 | Qt Assistant to narzędzie do przeglądania dokumentacji z możliwością | |
959 | indeksowania, dodawania zakładek i pełnotekstowego wyszukiwania. | |
bc7da990 | 960 | |
08506906 PS |
961 | %package build |
962 | Summary: Build tools for Qt4 | |
4c66dee3 | 963 | Summary(pl.UTF-8): Narzędzia do budowania dla Qt4 |
61da89d9 | 964 | Group: X11/Development/Tools |
5631d6de JB |
965 | Requires: QtCore = %{version}-%{release} |
966 | Requires: QtXml = %{version}-%{release} | |
bc7da990 | 967 | |
08506906 PS |
968 | %description build |
969 | This package includes the Qt resource compiler (rcc), meta objects | |
970 | compiler (moc), user interface compiler (uic) and qt3to4 include names | |
971 | converter. | |
bc7da990 | 972 | |
02520e74 JR |
973 | %description build -l pl.UTF-8 |
974 | Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator | |
975 | metaobiektów (moc), kompilator interfejsów użytkownika (uic) oraz | |
976 | konwerter nazw plików nagłówkowych qt3to4. | |
61da89d9 | 977 | |
bc7da990 | 978 | %package designer |
6430c397 | 979 | Summary: IDE used for GUI designing with Qt library |
4c66dee3 | 980 | Summary(pl.UTF-8): IDE służące do projektowania GUI za pomocą biblioteki Qt |
bc7da990 | 981 | Group: X11/Applications |
e3a9f812 | 982 | Requires: QtAssistant = %{version}-%{release} |
a8088d24 | 983 | Requires: QtDesigner = %{version}-%{release} |
bc7da990 | 984 | |
985 | %description designer | |
6430c397 | 986 | An advanced tool used for GUI designing with Qt library. |
bc7da990 | 987 | |
02520e74 JR |
988 | %description designer -l pl.UTF-8 |
989 | Zaawansowane narzędzie służące do projektowania interfejsu graficznego | |
990 | za pomocą biblioteki Qt. | |
bc7da990 | 991 | |
cc6d9c76 | 992 | %package linguist |
993 | Summary: Translation helper for Qt | |
4c66dee3 | 994 | Summary(pl.UTF-8): Aplikacja ułatwiająca tłumaczenie aplikacji oparty o Qt |
cc6d9c76 | 995 | Group: X11/Development/Tools |
e3a9f812 JB |
996 | Requires: QtAssistant = %{version}-%{release} |
997 | Requires: QtUiTools = %{version}-%{release} | |
2ba913fc | 998 | |
cc6d9c76 | 999 | %description linguist |
1000 | This program provides an interface that shortens and helps systematize | |
1001 | the process of translating GUIs. Qt Linguist takes all of the text of | |
1002 | a UI that will be shown to the user, and presents it to a human | |
1003 | translator in a simple window. When one UI text is translated, the | |
1004 | program automatically progresses to the next, until they are all | |
1005 | completed. | |
2ba913fc | 1006 | |
02520e74 JR |
1007 | %description linguist -l pl.UTF-8 |
1008 | Ten program oferuje interfejs znacznie przyśpieszający proces | |
1009 | tłumaczenia interfejsu użytkownika. Zbiera wszystkie teksty | |
1010 | przeznaczone do tłumaczenia i przedstawia w łatwym w obsłudze oknie. | |
1011 | Gdy jeden z nich jest już przetłumaczony, automatycznie przechodzi do | |
1012 | następnego, aż wszystkie będą przetłumaczone. | |
642df674 | 1013 | |
45e8c637 AM |
1014 | %package phonon |
1015 | Summary: phonon | |
1016 | Group: X11/Development/Tools | |
1017 | ||
1018 | %description phonon | |
1019 | phonon. | |
1020 | ||
1021 | %package phonon-devel | |
1022 | Summary: phonon - development files | |
1023 | Group: X11/Development/Libraries | |
1024 | Requires: QtCore-devel = %{version}-%{release} | |
017da8d6 KK |
1025 | Requires: QtDBus-devel = %{version}-%{release} |
1026 | Requires: QtGui-devel = %{version}-%{release} | |
45e8c637 AM |
1027 | Requires: qt4-phonon = %{version}-%{release} |
1028 | ||
1029 | %description phonon-devel | |
1030 | phonon - development files. | |
1031 | ||
71d7c231 | 1032 | %package qmake |
cc6d9c76 | 1033 | Summary: Qt makefile generator |
4c66dee3 | 1034 | Summary(pl.UTF-8): Generator plików makefile dla aplikacji Qt |
cc6d9c76 | 1035 | Group: X11/Development/Tools |
2ba913fc | 1036 | |
71d7c231 | 1037 | %description qmake |
cc6d9c76 | 1038 | A powerful makefile generator. It can create makefiles on any platform |
1039 | from a simple .pro definitions file. | |
2ba913fc | 1040 | |
02520e74 JR |
1041 | %description qmake -l pl.UTF-8 |
1042 | Rozbudowany generator plików makefile. Potrafi tworzyć pliki makefile | |
1043 | na każdej platformi na podstawie łatwego w przygotowaniu pliku .pro. | |
2ba913fc | 1044 | |
71d7c231 | 1045 | %package qtconfig |
cc6d9c76 | 1046 | Summary: Qt widgets configuration tool |
4c66dee3 | 1047 | Summary(pl.UTF-8): Narzędzie do konfigurowania widgetów Qt |
cc6d9c76 | 1048 | Group: X11/Applications |
e3a9f812 JB |
1049 | Requires: Qt3Support = %{version}-%{release} |
1050 | Requires: QtGui = %{version}-%{release} | |
1051 | Requires: QtNetwork = %{version}-%{release} | |
1052 | Requires: QtSql = %{version}-%{release} | |
1053 | Requires: QtXml = %{version}-%{release} | |
2ba913fc | 1054 | |
71d7c231 | 1055 | %description qtconfig |
cc6d9c76 | 1056 | A tool for configuring look and behavior of Qt widgets. |
2ba913fc | 1057 | |
02520e74 JR |
1058 | %description qtconfig -l pl.UTF-8 |
1059 | Narzędie do konfiguracji wyglądu i zachowania widgetów Qt. | |
2ba913fc | 1060 | |
cc6d9c76 | 1061 | %package -n qvfb |
08506906 | 1062 | Summary: Qt Virtual framebuffer |
4c66dee3 | 1063 | Summary(pl.UTF-8): Wirtualny framebuffer dla Qt |
642df674 | 1064 | Group: X11/Development/Libraries |
e3a9f812 JB |
1065 | Requires: QtGui = %{version}-%{release} |
1066 | Requires: QtOpenGL = %{version}-%{release} | |
642df674 | 1067 | |
cc6d9c76 | 1068 | %description -n qvfb |
bcbcae98 ER |
1069 | Qt Virtual framebuffer allows you to run Qt/Embedded applications in X |
1070 | window. | |
61da89d9 | 1071 | |
02520e74 | 1072 | %description -n qvfb -l pl.UTF-8 |
bcbcae98 ER |
1073 | Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w |
1074 | okienku X. | |
642df674 | 1075 | |
cc6d9c76 | 1076 | %package demos |
61da89d9 | 1077 | Summary: Demos of new Qt4 features |
4c66dee3 | 1078 | Summary(pl.UTF-8): Programy demonstrujące nowe możliwości Qt4 |
08506906 | 1079 | Group: X11/Development/Libraries |
e3a9f812 | 1080 | Requires: QtAssistant = %{version}-%{release} |
5631d6de | 1081 | Requires: QtXml = %{version}-%{release} |
642df674 | 1082 | |
cc6d9c76 | 1083 | %description demos |
1084 | Demos are spiders that fly. | |
642df674 | 1085 | |
02520e74 JR |
1086 | %description demos -l pl.UTF-8 |
1087 | Dema to latające pająki. | |
61da89d9 | 1088 | |
cc6d9c76 | 1089 | %package doc |
1090 | Summary: Qt Documentation in HTML format | |
4c66dee3 | 1091 | Summary(pl.UTF-8): Dokumentacja Qt w formacie HTML |
642df674 | 1092 | Group: X11/Development/Libraries |
642df674 | 1093 | |
cc6d9c76 | 1094 | %description doc |
1095 | Qt documentation in HTML format. | |
642df674 | 1096 | |
02520e74 | 1097 | %description doc -l pl.UTF-8 |
cc6d9c76 | 1098 | Dokumentacja qt w formacie HTML. |
642df674 | 1099 | |
cc6d9c76 | 1100 | %package examples |
1101 | Summary: Example programs bundled with Qt | |
4c66dee3 ER |
1102 | Summary(pl.UTF-8): Ćwiczenia i przykłady do Qt |
1103 | Summary(pt_BR.UTF-8): Programas exemplo desenvolvidos com o Qt | |
cc6d9c76 | 1104 | Group: X11/Development/Libraries |
1105 | # no it does not , we cant be sure the user wants to compile them right? | |
1106 | # he might just want to take a look, anwyay no single devel package now | |
5631d6de | 1107 | #Requires: %{name}-devel = %{version}-%{release} |
642df674 | 1108 | |
cc6d9c76 | 1109 | %description examples |
1110 | Example programs bundled with Qt version. | |
642df674 | 1111 | |
02520e74 JR |
1112 | %description examples -l pl.UTF-8 |
1113 | Ćwiczenia/przykłady dołączone do Qt. | |
642df674 | 1114 | |
02520e74 JR |
1115 | %description examples -l pt_BR.UTF-8 |
1116 | Programas exemplo para o Qt versão. | |
642df674 | 1117 | |
bc7da990 | 1118 | %prep |
2d2db419 | 1119 | %setup -q -n qt-x11-opensource-src-%{version} |
1120 | %patch0 -p1 | |
da64c649 | 1121 | %patch1 -p0 |
2d2db419 | 1122 | %patch2 -p1 |
1123 | %patch3 -p1 | |
3f756324 | 1124 | %patch4 -p1 |
7f2b2b26 | 1125 | %patch5 -p1 |
2d2db419 | 1126 | %patch6 -p1 |
1127 | %patch7 -p1 | |
45e8c637 | 1128 | #%patch8 -p1 |
b8213f1f | 1129 | %patch9 -p1 |
45e8c637 | 1130 | %patch10 -p1 |
bc7da990 | 1131 | |
f7c07b4b KK |
1132 | %{__sed} -i -e 's,usr/X11R6/,usr/g,' mkspecs/linux-g++-64/qmake.conf \ |
1133 | mkspecs/common/linux.conf | |
1134 | ||
1135 | # change QMAKE FLAGS to build | |
1136 | %{__sed} -i -e ' | |
1137 | s|QMAKE_CC.*=.*gcc|QMAKE_CC\t\t= %{__cc}|; | |
1138 | s|QMAKE_CXX.*=.*g++|QMAKE_CXX\t\t= %{__cxx}|; | |
1139 | s|QMAKE_LINK.*=.*g++|QMAKE_LINK\t\t= %{__cxx}|; | |
1140 | s|QMAKE_LINK_SHLIB.*=.*g++|QMAKE_LINK_SHLIB\t= %{__cxx}|; | |
1141 | s|QMAKE_CFLAGS_RELEASE.*|QMAKE_CFLAGS_RELEASE\t+= %{rpmcflags}|; | |
1142 | s|QMAKE_CXXFLAGS_RELEASE.*|QMAKE_CXXFLAGS_RELEASE\t+= %{rpmcxxflags}|; | |
1143 | s|QMAKE_CFLAGS_DEBUG.*|QMAKE_CFLAGS_DEBUG\t+= %{debugcflags}|; | |
1144 | s|QMAKE_CXXFLAGS_DEBUG.*|QMAKE_CXXFLAGS_DEBUG\t+= %{debugcflags}|; | |
1145 | ' mkspecs/common/g++.conf | |
1146 | ||
1147 | %{__sed} -i -e ' | |
1148 | s|QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/qt4|; | |
1149 | ' mkspecs/common/linux.conf | |
bc7da990 | 1150 | |
1151 | %build | |
bc7da990 | 1152 | # pass OPTFLAGS to build qmake itself with optimization |
71d7c231 KK |
1153 | export OPTFLAGS="%{rpmcflags}" |
1154 | export PATH=$PWD/bin:$PATH | |
bc7da990 | 1155 | |
1156 | ################################## | |
1157 | # DEFAULT OPTIONS FOR ALL BUILDS # | |
1158 | ################################## | |
1159 | ||
8b4e0403 | 1160 | COMMONOPT=" \ |
bc7da990 | 1161 | -DQT_CLEAN_NAMESPACE \ |
02a20ba3 | 1162 | -buildkey pld \ |
bc7da990 | 1163 | -verbose \ |
df71e198 | 1164 | -prefix %{_qtdir} \ |
1165 | -bindir %{_qtdir}/bin \ | |
642df674 | 1166 | -docdir %{_docdir}/%{name}-doc \ |
1620d5ef | 1167 | -headerdir %{_includedir}/qt4 \ |
1168 | -libdir %{_libdir} \ | |
eea9e045 | 1169 | -L%{_libdir} \ |
df71e198 | 1170 | -plugindir %{_qtdir}/plugins \ |
1620d5ef | 1171 | -datadir %{_datadir}/qt4 \ |
bc7da990 | 1172 | -translationdir %{_datadir}/locale/ \ |
1620d5ef | 1173 | -sysconfdir %{_sysconfdir}/qt4 \ |
1174 | -examplesdir %{_examplesdir}/qt4 \ | |
1175 | -demosdir %{_examplesdir}/qt4-demos \ | |
bc7da990 | 1176 | -fast \ |
0b457108 | 1177 | -glib \ |
889daba4 | 1178 | -%{!?with_pch:no-}pch \ |
8ffe6e07 | 1179 | -no-rpath \ |
814195ab JB |
1180 | %{!?with_sse:-no-sse} \ |
1181 | %{!?with_sse2:-no-sse2} \ | |
3f80fcc7 | 1182 | -qdbus \ |
bc7da990 | 1183 | -qt-gif \ |
1184 | -system-libjpeg \ | |
d5160e56 | 1185 | -system-libmng \ |
bc7da990 | 1186 | -system-libpng \ |
1187 | -system-zlib \ | |
45e8c637 | 1188 | -exceptions \ |
d5160e56 | 1189 | -largefile \ |
45e8c637 AM |
1190 | -I/usr/include/postgresql/server \ |
1191 | -I/usr/include/mysql \ | |
bf216b9f | 1192 | %{?with_cups:-cups} \ |
bc7da990 | 1193 | %{?with_nas:-system-nas-sound} \ |
bc7da990 | 1194 | %{?debug:-debug} \ |
71d7c231 | 1195 | %{!?debug:-release} \ |
30f8468c | 1196 | -qt3support \ |
cc6d9c76 | 1197 | -fontconfig \ |
47e29d34 | 1198 | -iconv \ |
1199 | -no-separate-debug-info \ | |
d5160e56 | 1200 | -xfixes \ |
c8537603 | 1201 | -nis \ |
cc6d9c76 | 1202 | -sm \ |
c8537603 JB |
1203 | -tablet \ |
1204 | -xcursor \ | |
1205 | -xkb \ | |
1206 | -xrender \ | |
45e8c637 AM |
1207 | -xshape \ |
1208 | -xmlpatterns \ | |
1209 | -continue" | |
bc7da990 | 1210 | |
1211 | ################################## | |
151e5443 | 1212 | # STATIC MULTI-THREAD # |
bc7da990 | 1213 | ################################## |
1214 | ||
1215 | %if %{with static_libs} | |
fee487b9 | 1216 | OPT=" \ |
d5160e56 | 1217 | -%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \ |
1218 | -%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \ | |
1219 | -%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \ | |
1220 | -%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \ | |
1221 | -%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \ | |
1222 | -%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \ | |
bc7da990 | 1223 | -static" |
8b4e0403 | 1224 | |
1225 | echo "yes" | ./configure $COMMONOPT $OPT | |
1226 | ||
71d7c231 KK |
1227 | %{__make} -C src |
1228 | %{__make} -C tools/assistant/lib | |
a8088d24 | 1229 | %{__make} -C tools/designer |
6f1b9278 MŁ |
1230 | if [ ! -d staticlib ]; then |
1231 | mkdir staticlib | |
1232 | cp -a lib/*.a staticlib | |
1233 | fi | |
71d7c231 | 1234 | %{__make} confclean |
bc7da990 | 1235 | %endif |
1236 | ||
1237 | ################################## | |
151e5443 | 1238 | # SHARED MULTI-THREAD # |
bc7da990 | 1239 | ################################## |
1240 | ||
fee487b9 | 1241 | OPT=" \ |
d5160e56 | 1242 | -%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \ |
1243 | -%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \ | |
1244 | -%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \ | |
1245 | -%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \ | |
1246 | -%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \ | |
1247 | -%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase" | |
642df674 | 1248 | |
8b4e0403 | 1249 | echo "yes" | ./configure $COMMONOPT $OPT |
1250 | ||
1251 | %{__make} | |
1620d5ef | 1252 | %{__make} \ |
1253 | sub-tools-all-ordered \ | |
1254 | sub-demos-all-ordered \ | |
1255 | sub-examples-all-ordered | |
2ba913fc | 1256 | |
bc7da990 | 1257 | %install |
1258 | rm -rf $RPM_BUILD_ROOT | |
df71e198 | 1259 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir},%{_pkgconfigdir}} |
1260 | install -d $RPM_BUILD_ROOT%{_qtdir}/plugins/{crypto,network} | |
bc7da990 | 1261 | |
1262 | %{__make} install \ | |
1263 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
1264 | ||
a8088d24 | 1265 | # kill -L/inside/builddir from *.la and *.pc (bug #77152) |
da64c649 | 1266 | %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_libdir}/*.{la,prl} |
e7ec9abb | 1267 | %{__sed} -i -e "s,-L$PWD/lib,,g" $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc |
5bda0943 | 1268 | %{__sed} -i -e ' |
3a869664 JB |
1269 | s|moc_location=.*|moc_location=%{_bindir}/moc-qt4|; |
1270 | s|uic_location=.*|uic_location=%{_bindir}/uic-qt4|; | |
e7ec9abb | 1271 | ' $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc |
a8088d24 | 1272 | |
df71e198 | 1273 | # install tools |
1274 | install bin/findtr $RPM_BUILD_ROOT%{_qtdir}/bin | |
df71e198 | 1275 | |
1276 | cd $RPM_BUILD_ROOT%{_bindir} | |
3a869664 JB |
1277 | ln -sf ../%{_lib}/qt4/bin/assistant assistant-qt4 |
1278 | ln -sf ../%{_lib}/qt4/bin/designer designer-qt4 | |
1279 | ln -sf ../%{_lib}/qt4/bin/findtr findtr-qt4 | |
1280 | ln -sf ../%{_lib}/qt4/bin/linguist linguist-qt4 | |
1281 | ln -sf ../%{_lib}/qt4/bin/lrelease lrelease-qt4 | |
1282 | ln -sf ../%{_lib}/qt4/bin/lupdate lupdate-qt4 | |
1283 | ln -sf ../%{_lib}/qt4/bin/moc moc-qt4 | |
1284 | ln -sf ../%{_lib}/qt4/bin/qmake qmake-qt4 | |
1285 | ln -sf ../%{_lib}/qt4/bin/qtconfig qtconfig-qt4 | |
1286 | ln -sf ../%{_lib}/qt4/bin/uic uic-qt4 | |
764b5458 | 1287 | ln -sf ../%{_lib}/qt4/bin/qt3to4 . |
764b5458 | 1288 | ln -sf ../%{_lib}/qt4/bin/rcc . |
764b5458 | 1289 | ln -sf ../%{_lib}/qt4/bin/uic3 . |
da64c649 | 1290 | ln -sf ../%{_lib}/qt4/bin/pixeltool . |
1291 | ln -sf ../%{_lib}/qt4/bin/qdbus . | |
1292 | ln -sf ../%{_lib}/qt4/bin/qdbuscpp2xml . | |
1293 | ln -sf ../%{_lib}/qt4/bin/qdbusxml2cpp . | |
1294 | ln -sf ../%{_lib}/qt4/bin/qdbusviewer . | |
1295 | ln -sf ../%{_lib}/qt4/bin/qvfb . | |
df71e198 | 1296 | cd - |
bc7da990 | 1297 | |
3a869664 | 1298 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/qtconfig-qt4.desktop |
642df674 | 1299 | install tools/qtconfig/images/appicon.png \ |
3a869664 | 1300 | $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig-qt4.png |
bc7da990 | 1301 | |
3a869664 | 1302 | install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}/linguist-qt4.desktop |
642df674 | 1303 | install tools/linguist/linguist/images/appicon.png \ |
3a869664 | 1304 | $RPM_BUILD_ROOT%{_pixmapsdir}/linguist-qt4.png |
bc7da990 | 1305 | |
3a869664 | 1306 | install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}/assistant-qt4.desktop |
bc7da990 | 1307 | |
3a869664 | 1308 | install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer-qt4.desktop |
642df674 | 1309 | install tools/designer/src/designer/images/designer.png \ |
3a869664 | 1310 | $RPM_BUILD_ROOT%{_pixmapsdir}/designer-qt4.png |
bc7da990 | 1311 | |
642df674 | 1312 | %if %{with static_libs} |
8b4e0403 | 1313 | install staticlib/*.a $RPM_BUILD_ROOT%{_libdir} |
642df674 | 1314 | %endif |
bc7da990 | 1315 | |
d96b2ef5 | 1316 | # |
1317 | # Locale | |
1318 | # | |
a3799dc0 JB |
1319 | for f in translations/*_pl.ts ; do |
1320 | LD_LIBRARY_PATH=lib bin/lrelease $f -qm translations/$(basename $f .ts).qm | |
1321 | done | |
49c5b19e | 1322 | |
d96b2ef5 | 1323 | rm -f $RPM_BUILD_ROOT%{_datadir}/locale/*.qm |
e5a89f18 ER |
1324 | for file in translations/*.qm tools/assistant/*.qm tools/designer/designer/*.qm tools/linguist/linguist/*.qm; do |
1325 | [ ! -f $file ] && continue | |
45e8c637 | 1326 | 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 |
1327 | [ "$lang" == "iw" ] && lang=he |
1328 | MOD=qt4-$MOD | |
1329 | [ "$MOD" == "qt4-qt" ] && MOD=qt4 | |
45e8c637 | 1330 | install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES |
e5a89f18 | 1331 | cp $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/$MOD.qm |
d96b2ef5 | 1332 | done |
bc7da990 | 1333 | |
1620d5ef | 1334 | cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt |
017da8d6 KK |
1335 | # QtCore must be the last |
1336 | for f in ../Qt{3Support,Assistant,DBus,Designer,Gui,Help,Network,OpenGL,Script,Sql,Svg,Test,UiTools,WebKit,Xml,XmlPatterns,Core}/*; do | |
1620d5ef | 1337 | if [ ! -d $f ]; then |
1338 | ln -sf $f `basename $f` | |
1339 | fi | |
bc7da990 | 1340 | done |
1620d5ef | 1341 | cd - |
bc7da990 | 1342 | |
df71e198 | 1343 | # Ship doc & qmake stuff |
a8088d24 JB |
1344 | ln -s %{_docdir}/%{name}-doc $RPM_BUILD_ROOT%{_qtdir}/doc |
1345 | ln -s %{_datadir}/qt4/mkspecs $RPM_BUILD_ROOT%{_qtdir}/mkspecs | |
df71e198 | 1346 | |
5bda0943 | 1347 | for f in $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc; do |
1348 | HAVEDEBUG=`echo $f | grep _debug | wc -l` | |
1349 | MODULE=`echo $f | basename $f | cut -d. -f1 | cut -d_ -f1` | |
1350 | MODULE2=`echo $MODULE | tr a-z A-Z | sed s:QT::` | |
1351 | DEFS="-D_REENTRANT" | |
1352 | ||
1353 | if [ "$MODULE2" == "3SUPPORT" ]; then | |
1354 | DEFS="$DEFS -DQT3_SUPPORT -DQT_QT3SUPPORT_LIB" | |
1355 | else | |
1356 | DEFS="$DEFS -DQT_"$MODULE2"_LIB" | |
1357 | fi | |
1358 | [ "$HAVEDEBUG" -eq 0 ] && DEFS="$DEFS -DQT_NO_DEBUG" | |
1359 | ||
1360 | sed -i -e "s:-DQT_SHARED:-DQT_SHARED $DEFS:" $f | |
1361 | done | |
af36e151 | 1362 | |
1620d5ef | 1363 | # Prepare some files list |
afda8c46 | 1364 | ifecho() { |
83908296 | 1365 | RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null` |
e5a89f18 | 1366 | [ "$RESULT" == "" ] && return # XXX this is never true due $RPM_BUILD_ROOT being set |
83908296 | 1367 | r=`echo $RESULT | awk '{ print $1 }'` |
1368 | ||
1369 | if [ -d "$r" ]; then | |
1370 | echo "%%dir $2" >> $1.files | |
1371 | elif [ -x "$r" ] ; then | |
1372 | echo "%%attr(755,root,root) $2" >> $1.files | |
1373 | elif [ -f "$r" ]; then | |
1374 | echo "$2" >> $1.files | |
1620d5ef | 1375 | else |
151e5443 | 1376 | echo "Error generation $1 files list!" |
83908296 | 1377 | echo "$r: no such file or direcotry!" |
8f22d351 | 1378 | return 1 |
1620d5ef | 1379 | fi |
83908296 | 1380 | } |
1381 | ||
afda8c46 | 1382 | mkdevfl() { |
45e8c637 | 1383 | set -x |
83908296 | 1384 | MODULE=$1; shift |
1385 | echo "%%defattr(644,root,root,755)" > $MODULE-devel.files | |
1386 | ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so" | |
bcbcae98 | 1387 | ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la" |
83908296 | 1388 | ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl" |
5bda0943 | 1389 | ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc" |
4d335555 KK |
1390 | if [ -d "$RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE" ]; then |
1391 | ifecho $MODULE-devel %{_includedir}/qt4/$MODULE | |
1392 | fi | |
bfd2dfad | 1393 | for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`; do |
83908296 | 1394 | ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f |
45e8c637 AM |
1395 | if [ -a "$RPM_BUILD_ROOT%{_includedir}/qt4/Qt/$f" ]; then |
1396 | ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f | |
1397 | fi | |
83908296 | 1398 | done |
1399 | for f in $@; do ifecho $MODULE-devel $f; done | |
1400 | } | |
1401 | ||
71d7c231 | 1402 | mkdevfl QtCore %{_includedir}/qt4 %{_includedir}/qt4/Qt |
e7ec9abb | 1403 | mkdevfl QtDBus %{_qtdir}/bin/qdbuscpp2xml %{_qtdir}/bin/qdbusxml2cpp %{_bindir}/qdbuscpp2xml %{_bindir}/qdbusxml2cpp |
83908296 | 1404 | mkdevfl QtGui |
1405 | mkdevfl QtNetwork | |
1406 | mkdevfl QtOpenGL | |
da64c649 | 1407 | mkdevfl QtScript |
83908296 | 1408 | mkdevfl QtSql |
8b4e0403 | 1409 | mkdevfl QtSvg |
1410 | mkdevfl QtTest | |
45e8c637 AM |
1411 | mkdevfl QtHelp |
1412 | mkdevfl QtWebKit | |
1413 | mkdevfl QtCLucene | |
83908296 | 1414 | mkdevfl QtXml |
45e8c637 | 1415 | mkdevfl QtXmlPatterns |
83908296 | 1416 | mkdevfl Qt3Support |
45e8c637 | 1417 | mkdevfl phonon |
71d7c231 KK |
1418 | |
1419 | # without *.la *.pc etc. | |
1420 | mkdevfl QtAssistant || /bin/true | |
1421 | mkdevfl QtDesigner || /bin/true | |
a8088d24 | 1422 | mkdevfl QtUiTools || /bin/true |
83908296 | 1423 | |
017da8d6 KK |
1424 | # without glob (exclude QtXmlPatterns*) |
1425 | %{__sed} -i 's,QtXml\*,QtXml,g' QtXml-devel.files | |
1426 | ||
83908296 | 1427 | echo "%defattr(644,root,root,755)" > examples.files |
1428 | ifecho examples %{_examplesdir}/qt4 | |
e5a89f18 | 1429 | for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`; do |
83908296 | 1430 | ifecho examples %{_examplesdir}/qt4/$f |
bc7da990 | 1431 | done |
642df674 | 1432 | |
1620d5ef | 1433 | echo "%defattr(644,root,root,755)" > demos.files |
83908296 | 1434 | ifecho demos "%{_examplesdir}/qt4-demos" |
df71e198 | 1435 | ifecho demos "%{_qtdir}/bin/qtdemo" |
e5a89f18 | 1436 | for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`; do |
83908296 | 1437 | ifecho demos %{_examplesdir}/qt4-demos/$f |
1620d5ef | 1438 | done |
bc7da990 | 1439 | |
bc7da990 | 1440 | %clean |
1441 | rm -rf $RPM_BUILD_ROOT | |
1442 | ||
94751df7 KK |
1443 | %post -n Qt3Support -p /sbin/ldconfig |
1444 | %postun -n Qt3Support -p /sbin/ldconfig | |
1445 | ||
1446 | %post -n QtAssistant -p /sbin/ldconfig | |
1447 | %postun -n QtAssistant -p /sbin/ldconfig | |
1448 | ||
1449 | %post -n QtCLucene -p /sbin/ldconfig | |
1450 | %postun -n QtCLucene -p /sbin/ldconfig | |
1451 | ||
8e768dcf | 1452 | %post -n QtCore -p /sbin/ldconfig |
08506906 | 1453 | %postun -n QtCore -p /sbin/ldconfig |
bc7da990 | 1454 | |
0b457108 | 1455 | %post -n QtDBus -p /sbin/ldconfig |
1456 | %postun -n QtDBus -p /sbin/ldconfig | |
1457 | ||
94751df7 KK |
1458 | %post -n QtDesigner -p /sbin/ldconfig |
1459 | %postun -n QtDesigner -p /sbin/ldconfig | |
1460 | ||
08506906 PS |
1461 | %post -n QtGui -p /sbin/ldconfig |
1462 | %postun -n QtGui -p /sbin/ldconfig | |
bc7da990 | 1463 | |
94751df7 KK |
1464 | %post -n QtHelp -p /sbin/ldconfig |
1465 | %postun -n QtHelp -p /sbin/ldconfig | |
1466 | ||
08506906 PS |
1467 | %post -n QtNetwork -p /sbin/ldconfig |
1468 | %postun -n QtNetwork -p /sbin/ldconfig | |
cc6d9c76 | 1469 | |
08506906 PS |
1470 | %post -n QtOpenGL -p /sbin/ldconfig |
1471 | %postun -n QtOpenGL -p /sbin/ldconfig | |
cc6d9c76 | 1472 | |
da64c649 | 1473 | %post -n QtScript -p /sbin/ldconfig |
1474 | %postun -n QtScript -p /sbin/ldconfig | |
1475 | ||
08506906 PS |
1476 | %post -n QtSql -p /sbin/ldconfig |
1477 | %postun -n QtSql -p /sbin/ldconfig | |
642df674 | 1478 | |
8b4e0403 | 1479 | %post -n QtSvg -p /sbin/ldconfig |
1480 | %postun -n QtSvg -p /sbin/ldconfig | |
1481 | ||
1482 | %post -n QtTest -p /sbin/ldconfig | |
1483 | %postun -n QtTest -p /sbin/ldconfig | |
1484 | ||
94751df7 KK |
1485 | %post -n QtUiTools -p /sbin/ldconfig |
1486 | %postun -n QtUiTools -p /sbin/ldconfig | |
45e8c637 AM |
1487 | |
1488 | %post -n QtWebKit -p /sbin/ldconfig | |
1489 | %postun -n QtWebKit -p /sbin/ldconfig | |
1490 | ||
08506906 PS |
1491 | %post -n QtXml -p /sbin/ldconfig |
1492 | %postun -n QtXml -p /sbin/ldconfig | |
1493 | ||
45e8c637 AM |
1494 | %post -n QtXmlPatterns -p /sbin/ldconfig |
1495 | %postun -n QtXmlPatterns -p /sbin/ldconfig | |
1496 | ||
94751df7 KK |
1497 | %post phonon -p /sbin/ldconfig |
1498 | %postun phonon -p /sbin/ldconfig | |
08506906 | 1499 | |
94751df7 KK |
1500 | %files -n Qt3Support |
1501 | %defattr(644,root,root,755) | |
1502 | %attr(755,root,root) %{_libdir}/libQt3Support.so.*.* | |
1503 | %attr(755,root,root) %ghost %{_libdir}/libQt3Support.so.4 | |
a8088d24 | 1504 | |
94751df7 KK |
1505 | %files -n QtAssistant |
1506 | %defattr(644,root,root,755) | |
1507 | %attr(755,root,root) %{_libdir}/libQtAssistantClient.so.*.* | |
1508 | %attr(755,root,root) %ghost %{_libdir}/libQtAssistantClient.so.4 | |
642df674 | 1509 | |
94751df7 KK |
1510 | %files -n QtCLucene |
1511 | %defattr(644,root,root,755) | |
1512 | %attr(755,root,root) %{_libdir}/libQtCLucene.so.*.* | |
1513 | %attr(755,root,root) %ghost %{_libdir}/libQtCLucene.so.4 | |
45e8c637 | 1514 | |
642df674 | 1515 | %files -n QtCore |
1516 | %defattr(644,root,root,755) | |
396c20bd | 1517 | %attr(755,root,root) %{_libdir}/libQtCore.so.*.* |
5937dd1c | 1518 | %attr(755,root,root) %ghost %{_libdir}/libQtCore.so.4 |
df71e198 | 1519 | %dir %{_qtdir} |
a8088d24 | 1520 | %dir %{_qtdir}/bin |
df71e198 | 1521 | %dir %{_qtdir}/plugins |
1522 | %dir %{_qtdir}/plugins/accessible | |
0e559634 | 1523 | %dir %{_qtdir}/plugins/codecs |
df71e198 | 1524 | %dir %{_qtdir}/plugins/crypto |
0e559634 | 1525 | %dir %{_qtdir}/plugins/iconengines |
df71e198 | 1526 | %dir %{_qtdir}/plugins/imageformats |
6bff86e1 | 1527 | %dir %{_qtdir}/plugins/inputmethods |
df71e198 | 1528 | %dir %{_qtdir}/plugins/network |
1529 | %dir %{_qtdir}/plugins/sqldrivers | |
45e8c637 | 1530 | %dir %{_qtdir}/plugins/script |
642df674 | 1531 | %dir %{_datadir}/qt4 |
6167705f | 1532 | %lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/qt4.qm |
6167705f | 1533 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4.qm |
0e559634 | 1534 | %lang(es) %{_datadir}/locale/es/LC_MESSAGES/qt4.qm |
6167705f | 1535 | %lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qt4.qm |
a5e0b207 | 1536 | %lang(he) %{_datadir}/locale/he/LC_MESSAGES/qt4.qm |
da64c649 | 1537 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4.qm |
49c5b19e | 1538 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4.qm |
da64c649 | 1539 | %lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/qt4.qm |
6167705f | 1540 | %lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/qt4.qm |
1541 | %lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/qt4.qm | |
da64c649 | 1542 | %lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/qt4.qm |
1543 | %lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/qt4.qm | |
6167705f | 1544 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4.qm |
45e8c637 | 1545 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4.qm |
642df674 | 1546 | |
0b457108 | 1547 | %files -n QtDBus |
1548 | %defattr(644,root,root,755) | |
e7ec9abb JB |
1549 | %attr(755,root,root) %{_bindir}/qdbus |
1550 | %attr(755,root,root) %{_bindir}/qdbusviewer | |
0b457108 | 1551 | %attr(755,root,root) %{_libdir}/libQtDBus.so.*.* |
5937dd1c | 1552 | %attr(755,root,root) %ghost %{_libdir}/libQtDBus.so.4 |
3a869664 JB |
1553 | %attr(755,root,root) %{_qtdir}/bin/qdbus |
1554 | %attr(755,root,root) %{_qtdir}/bin/qdbusviewer | |
45e8c637 AM |
1555 | # ?? is this the proper place? |
1556 | %attr(755,root,root) %{_qtdir}/plugins/script/libqtscriptdbus.so | |
0b457108 | 1557 | |
94751df7 KK |
1558 | %files -n QtDesigner |
1559 | %defattr(644,root,root,755) | |
1560 | %attr(755,root,root) %{_libdir}/libQtDesigner.so.*.* | |
1561 | %attr(755,root,root) %ghost %{_libdir}/libQtDesigner.so.4 | |
1562 | %attr(755,root,root) %{_libdir}/libQtDesignerComponents.so.*.* | |
1563 | %attr(755,root,root) %ghost %{_libdir}/libQtDesignerComponents.so.4 | |
1564 | %dir %{_qtdir}/plugins/designer | |
1565 | %attr(755,root,root) %{_qtdir}/plugins/designer/*.so | |
1566 | ||
cc6d9c76 | 1567 | %files -n QtGui |
642df674 | 1568 | %defattr(644,root,root,755) |
396c20bd | 1569 | %attr(755,root,root) %{_libdir}/libQtGui.so.*.* |
5937dd1c | 1570 | %attr(755,root,root) %ghost %{_libdir}/libQtGui.so.4 |
0e559634 JB |
1571 | %attr(755,root,root) %{_qtdir}/plugins/accessible/*.so |
1572 | %attr(755,root,root) %{_qtdir}/plugins/codecs/*.so | |
1573 | %attr(755,root,root) %{_qtdir}/plugins/iconengines/*.so | |
1574 | %attr(755,root,root) %{_qtdir}/plugins/imageformats/*.so | |
1575 | %attr(755,root,root) %{_qtdir}/plugins/inputmethods/*.so | |
642df674 | 1576 | |
94751df7 KK |
1577 | %files -n QtHelp |
1578 | %defattr(644,root,root,755) | |
1579 | %attr(755,root,root) %{_libdir}/libQtHelp.so.*.* | |
1580 | %attr(755,root,root) %ghost %{_libdir}/libQtHelp.so.4 | |
1581 | %attr(755,root,root) %{_qtdir}/bin/qhelpconverter | |
1582 | %attr(755,root,root) %{_qtdir}/bin/qhelpgenerator | |
1583 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-qt_help.qm | |
1584 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qt_help.qm | |
1585 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qt_help.qm | |
1586 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-qt_help.qm | |
1587 | ||
642df674 | 1588 | %files -n QtNetwork |
1589 | %defattr(644,root,root,755) | |
396c20bd | 1590 | %attr(755,root,root) %{_libdir}/libQtNetwork.so.*.* |
5937dd1c | 1591 | %attr(755,root,root) %ghost %{_libdir}/libQtNetwork.so.4 |
642df674 | 1592 | |
cc6d9c76 | 1593 | %files -n QtOpenGL |
642df674 | 1594 | %defattr(644,root,root,755) |
396c20bd | 1595 | %attr(755,root,root) %{_libdir}/libQtOpenGL.so.*.* |
5937dd1c | 1596 | %attr(755,root,root) %ghost %{_libdir}/libQtOpenGL.so.4 |
cc6d9c76 | 1597 | |
da64c649 | 1598 | %files -n QtScript |
1599 | %defattr(644,root,root,755) | |
1600 | %attr(755,root,root) %{_libdir}/libQtScript.so.*.* | |
5937dd1c | 1601 | %attr(755,root,root) %ghost %{_libdir}/libQtScript.so.4 |
da64c649 | 1602 | |
cc6d9c76 | 1603 | %files -n QtSql |
1604 | %defattr(644,root,root,755) | |
396c20bd | 1605 | %attr(755,root,root) %{_libdir}/libQtSql.so.*.* |
5937dd1c | 1606 | %attr(755,root,root) %ghost %{_libdir}/libQtSql.so.4 |
cc6d9c76 | 1607 | |
642df674 | 1608 | %if %{with mysql} |
cc6d9c76 | 1609 | %files -n QtSql-mysql |
642df674 | 1610 | %defattr(644,root,root,755) |
3a869664 | 1611 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlmysql.so |
642df674 | 1612 | %endif |
1613 | ||
1614 | %if %{with pgsql} | |
cc6d9c76 | 1615 | %files -n QtSql-pgsql |
642df674 | 1616 | %defattr(644,root,root,755) |
3a869664 | 1617 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlpsql.so |
642df674 | 1618 | %endif |
1619 | ||
1620 | %if %{with sqlite} | |
cc6d9c76 | 1621 | %files -n QtSql-sqlite |
642df674 | 1622 | %defattr(644,root,root,755) |
3a869664 | 1623 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite2.so |
642df674 | 1624 | %endif |
1625 | ||
1626 | %if %{with sqlite3} | |
cc6d9c76 | 1627 | %files -n QtSql-sqlite3 |
642df674 | 1628 | %defattr(644,root,root,755) |
3a869664 | 1629 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlite.so |
36f74d13 | 1630 | %endif |
642df674 | 1631 | |
1632 | %if %{with ibase} | |
cc6d9c76 | 1633 | %files -n QtSql-ibase |
642df674 | 1634 | %defattr(644,root,root,755) |
3a869664 | 1635 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlibase.so |
642df674 | 1636 | %endif |
1637 | ||
1638 | %if %{with odbc} | |
cc6d9c76 | 1639 | %files -n QtSql-odbc |
642df674 | 1640 | %defattr(644,root,root,755) |
3a869664 | 1641 | %attr(755,root,root) %{_qtdir}/plugins/sqldrivers/libqsqlodbc.so |
642df674 | 1642 | %endif |
1643 | ||
07b2fa37 JB |
1644 | %files -n QtSvg |
1645 | %defattr(644,root,root,755) | |
396c20bd | 1646 | %attr(755,root,root) %{_libdir}/libQtSvg.so.*.* |
5937dd1c | 1647 | %attr(755,root,root) %ghost %{_libdir}/libQtSvg.so.4 |
07b2fa37 | 1648 | |
8b4e0403 | 1649 | %files -n QtTest |
1650 | %defattr(644,root,root,755) | |
396c20bd | 1651 | %attr(755,root,root) %{_libdir}/libQtTest.so.*.* |
5937dd1c | 1652 | %attr(755,root,root) %ghost %{_libdir}/libQtTest.so.4 |
8b4e0403 | 1653 | |
a8088d24 JB |
1654 | %files -n QtUiTools |
1655 | %defattr(644,root,root,755) | |
2d2db419 | 1656 | %attr(755,root,root) %{_libdir}/libQtUiTools.so.*.* |
5937dd1c | 1657 | %attr(755,root,root) %ghost %{_libdir}/libQtUiTools.so.4 |
a8088d24 | 1658 | |
94751df7 | 1659 | %files -n QtWebKit |
45e8c637 | 1660 | %defattr(644,root,root,755) |
94751df7 KK |
1661 | %attr(755,root,root) %{_libdir}/libQtWebKit.so.*.* |
1662 | %attr(755,root,root) %ghost %{_libdir}/libQtWebKit.so.4 | |
45e8c637 | 1663 | |
94751df7 | 1664 | %files -n QtXml |
45e8c637 | 1665 | %defattr(644,root,root,755) |
94751df7 KK |
1666 | %attr(755,root,root) %{_libdir}/libQtXml.so.*.* |
1667 | %attr(755,root,root) %ghost %{_libdir}/libQtXml.so.4 | |
45e8c637 | 1668 | |
94751df7 | 1669 | %files -n QtXmlPatterns |
45e8c637 | 1670 | %defattr(644,root,root,755) |
94751df7 KK |
1671 | %attr(755,root,root) %{_qtdir}/bin/xmlpatterns |
1672 | %attr(755,root,root) %{_libdir}/libQtXmlPatterns.so.*.* | |
1673 | %attr(755,root,root) %ghost %{_libdir}/libQtXmlPatterns.so.4 | |
45e8c637 | 1674 | |
cc6d9c76 | 1675 | %files assistant |
642df674 | 1676 | %defattr(644,root,root,755) |
0b457108 | 1677 | %attr(755,root,root) %{_bindir}/pixeltool |
3a869664 | 1678 | %attr(755,root,root) %{_bindir}/assistant-qt4 |
da64c649 | 1679 | %attr(755,root,root) %{_qtdir}/bin/pixeltool |
45e8c637 | 1680 | %attr(755,root,root) %{_qtdir}/bin/qcollectiongenerator |
df71e198 | 1681 | %attr(755,root,root) %{_qtdir}/bin/assistant |
45e8c637 AM |
1682 | %attr(755,root,root) %{_qtdir}/bin/assistant_adp |
1683 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-assistant*.qm | |
1684 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-assistant*.qm | |
1685 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-assistant*.qm | |
1686 | %lang(zh_CN) %{_datadir}/locale/zh_*/LC_MESSAGES/qt4-assistant*.qm | |
3a869664 | 1687 | %{_desktopdir}/assistant-qt4.desktop |
45e8c637 | 1688 | #%{_pixmapsdir}/assistant-qt4.png |
642df674 | 1689 | |
08506906 | 1690 | %files build |
642df674 | 1691 | %defattr(644,root,root,755) |
764b5458 | 1692 | %attr(755,root,root) %{_bindir}/rcc |
3a869664 | 1693 | %attr(755,root,root) %{_bindir}/moc-qt4 |
764b5458 | 1694 | %attr(755,root,root) %{_bindir}/qt3to4 |
3a869664 | 1695 | %attr(755,root,root) %{_bindir}/uic-qt4 |
df71e198 | 1696 | %attr(755,root,root) %{_qtdir}/bin/rcc |
1697 | %attr(755,root,root) %{_qtdir}/bin/moc | |
1698 | %attr(755,root,root) %{_qtdir}/bin/qt3to4 | |
1699 | %attr(755,root,root) %{_qtdir}/bin/uic | |
cc6d9c76 | 1700 | %{_datadir}/qt4/q3porting.xml |
642df674 | 1701 | |
642df674 | 1702 | %files designer |
1703 | %defattr(644,root,root,755) | |
3a869664 | 1704 | %attr(755,root,root) %{_bindir}/designer-qt4 |
df71e198 | 1705 | %attr(755,root,root) %{_qtdir}/bin/designer |
da64c649 | 1706 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-designer.qm |
1707 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-designer.qm | |
7f2b2b26 | 1708 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-designer.qm |
1709 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-designer.qm | |
45e8c637 | 1710 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-designer.qm |
3a869664 JB |
1711 | %{_desktopdir}/designer-qt4.desktop |
1712 | %{_pixmapsdir}/designer-qt4.png | |
71d7c231 | 1713 | |
cc6d9c76 | 1714 | %files linguist |
1715 | %defattr(644,root,root,755) | |
3a869664 JB |
1716 | %attr(755,root,root) %{_bindir}/findtr-qt4 |
1717 | %attr(755,root,root) %{_bindir}/linguist-qt4 | |
1718 | %attr(755,root,root) %{_bindir}/lrelease-qt4 | |
1719 | %attr(755,root,root) %{_bindir}/lupdate-qt4 | |
df71e198 | 1720 | %attr(755,root,root) %{_qtdir}/bin/findtr |
a8088d24 | 1721 | %attr(755,root,root) %{_qtdir}/bin/linguist |
df71e198 | 1722 | %attr(755,root,root) %{_qtdir}/bin/lrelease |
1723 | %attr(755,root,root) %{_qtdir}/bin/lupdate | |
45e8c637 | 1724 | %lang(de) %{_datadir}/locale/de/LC_MESSAGES/qt4-linguist.qm |
da64c649 | 1725 | %lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/qt4-linguist.qm |
7f2b2b26 | 1726 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-linguist.qm |
1727 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-linguist.qm | |
45e8c637 | 1728 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-linguist.qm |
cc6d9c76 | 1729 | %{_datadir}/qt4/phrasebooks |
3a869664 JB |
1730 | %{_desktopdir}/linguist-qt4.desktop |
1731 | %{_pixmapsdir}/linguist-qt4.png | |
cc6d9c76 | 1732 | |
45e8c637 AM |
1733 | %files phonon |
1734 | %defattr(644,root,root,755) | |
1735 | %attr(755,root,root) %{_libdir}/libphonon.so.*.* | |
1736 | %attr(755,root,root) %ghost %{_libdir}/libphonon.so.4 | |
1737 | %dir %{_qtdir}/plugins/phonon_backend | |
1738 | %attr(755,root,root) %{_qtdir}/plugins/phonon_backend/libphonon_gstreamer.so | |
1739 | ||
71d7c231 | 1740 | %files qmake |
cc6d9c76 | 1741 | %defattr(644,root,root,755) |
3a869664 | 1742 | %attr(755,root,root) %{_bindir}/qmake-qt4 |
df71e198 | 1743 | %attr(755,root,root) %{_qtdir}/bin/qmake |
cc6d9c76 | 1744 | %{_datadir}/qt4/mkspecs |
a8088d24 | 1745 | %{_qtdir}/mkspecs |
cc6d9c76 | 1746 | |
71d7c231 | 1747 | %files qtconfig |
cc6d9c76 | 1748 | %defattr(644,root,root,755) |
3a869664 | 1749 | %attr(755,root,root) %{_bindir}/qtconfig-qt4 |
df71e198 | 1750 | %attr(755,root,root) %{_qtdir}/bin/qtconfig |
7f2b2b26 | 1751 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qtconfig.qm |
1752 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qtconfig.qm | |
45e8c637 | 1753 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-qtconfig.qm |
3a869664 JB |
1754 | %{_desktopdir}/qtconfig-qt4.desktop |
1755 | %{_pixmapsdir}/qtconfig-qt4.png | |
cc6d9c76 | 1756 | |
2d2db419 | 1757 | %files -n qvfb |
1758 | %defattr(644,root,root,755) | |
1759 | %attr(755,root,root) %{_bindir}/qvfb | |
da64c649 | 1760 | %attr(755,root,root) %{_qtdir}/bin/qvfb |
7f2b2b26 | 1761 | %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/qt4-qvfb.qm |
1762 | %lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/qt4-qvfb.qm | |
45e8c637 | 1763 | %lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/qt4-qvfb.qm |
cc6d9c76 | 1764 | |
cc6d9c76 | 1765 | %files doc |
1766 | %defattr(644,root,root,755) | |
1767 | %{_docdir}/%{name}-doc | |
a8088d24 | 1768 | %{_qtdir}/doc |
cc6d9c76 | 1769 | |
94751df7 KK |
1770 | %files -n QtCLucene-devel -f QtCLucene-devel.files |
1771 | %defattr(644,root,root,755) | |
1772 | ||
1773 | %files -n Qt3Support-devel -f Qt3Support-devel.files | |
1774 | %defattr(644,root,root,755) | |
1775 | %attr(755,root,root) %{_bindir}/uic3 | |
1776 | %attr(755,root,root) %{_qtdir}/bin/uic3 | |
1777 | ||
1778 | %files -n QtAssistant-devel -f QtAssistant-devel.files | |
1779 | %defattr(644,root,root,755) | |
1780 | ||
83908296 | 1781 | %files -n QtCore-devel -f QtCore-devel.files |
edf01045 | 1782 | %defattr(644,root,root,755) |
b9a68d22 | 1783 | |
0b457108 | 1784 | %files -n QtDBus-devel -f QtDBus-devel.files |
edf01045 | 1785 | %defattr(644,root,root,755) |
b9a68d22 | 1786 | |
8f22d351 | 1787 | %files -n QtDesigner-devel -f QtDesigner-devel.files |
edf01045 | 1788 | %defattr(644,root,root,755) |
b9a68d22 | 1789 | |
83908296 | 1790 | %files -n QtGui-devel -f QtGui-devel.files |
edf01045 | 1791 | %defattr(644,root,root,755) |
b9a68d22 | 1792 | |
94751df7 KK |
1793 | %files -n QtHelp-devel -f QtHelp-devel.files |
1794 | %defattr(644,root,root,755) | |
1795 | ||
83908296 | 1796 | %files -n QtNetwork-devel -f QtNetwork-devel.files |
edf01045 | 1797 | %defattr(644,root,root,755) |
b9a68d22 | 1798 | |
83908296 | 1799 | %files -n QtOpenGL-devel -f QtOpenGL-devel.files |
edf01045 | 1800 | %defattr(644,root,root,755) |
b9a68d22 | 1801 | |
da64c649 | 1802 | %files -n QtScript-devel -f QtScript-devel.files |
edf01045 | 1803 | %defattr(644,root,root,755) |
b9a68d22 | 1804 | |
83908296 | 1805 | %files -n QtSql-devel -f QtSql-devel.files |
edf01045 | 1806 | %defattr(644,root,root,755) |
b9a68d22 | 1807 | |
8b4e0403 | 1808 | %files -n QtSvg-devel -f QtSvg-devel.files |
edf01045 | 1809 | %defattr(644,root,root,755) |
b9a68d22 | 1810 | |
8b4e0403 | 1811 | %files -n QtTest-devel -f QtTest-devel.files |
edf01045 | 1812 | %defattr(644,root,root,755) |
b9a68d22 | 1813 | |
94751df7 | 1814 | %files -n QtUiTools-devel -f QtUiTools-devel.files |
45e8c637 AM |
1815 | %defattr(644,root,root,755) |
1816 | ||
1817 | %files -n QtWebKit-devel -f QtWebKit-devel.files | |
1818 | %defattr(644,root,root,755) | |
1819 | ||
83908296 | 1820 | %files -n QtXml-devel -f QtXml-devel.files |
edf01045 | 1821 | %defattr(644,root,root,755) |
b9a68d22 | 1822 | |
45e8c637 AM |
1823 | %files -n QtXmlPatterns-devel -f QtXmlPatterns-devel.files |
1824 | %defattr(644,root,root,755) | |
1825 | ||
94751df7 | 1826 | %files phonon-devel -f phonon-devel.files |
edf01045 | 1827 | %defattr(644,root,root,755) |
b9a68d22 | 1828 | |
94751df7 KK |
1829 | %if %{with static_libs} |
1830 | %files -n Qt3Support-static | |
edf01045 | 1831 | %defattr(644,root,root,755) |
94751df7 | 1832 | %{_libdir}/libQt3Support.a |
b9a68d22 | 1833 | |
94751df7 KK |
1834 | #%files -n QtAssistant-static |
1835 | #%defattr(644,root,root,755) | |
1836 | #%{_libdir}/libQtAssistantClient.a | |
83908296 | 1837 | |
94751df7 KK |
1838 | #%files -n QtCLucene-static |
1839 | #%defattr(644,root,root,755) | |
1840 | #%{_libdir}/libQtCLucene.a | |
45e8c637 | 1841 | |
8b4e0403 | 1842 | %files -n QtCore-static |
1843 | %defattr(644,root,root,755) | |
3a869664 | 1844 | %{_libdir}/libQtCore.a |
8b4e0403 | 1845 | |
3fc9ecf9 | 1846 | %files -n QtDBus-static |
1847 | %defattr(644,root,root,755) | |
3a869664 | 1848 | %{_libdir}/libQtDBus.a |
0b457108 | 1849 | |
94751df7 KK |
1850 | %files -n QtDesigner-static |
1851 | %defattr(644,root,root,755) | |
1852 | %{_libdir}/libQtDesigner.a | |
1853 | %{_libdir}/libQtDesignerComponents.a | |
1854 | ||
8b4e0403 | 1855 | %files -n QtGui-static |
1856 | %defattr(644,root,root,755) | |
3a869664 | 1857 | %{_libdir}/libQtGui.a |
8b4e0403 | 1858 | |
94751df7 KK |
1859 | %files -n QtHelp-static |
1860 | %defattr(644,root,root,755) | |
1861 | %{_libdir}/libQtHelp.a | |
1862 | ||
8b4e0403 | 1863 | %files -n QtNetwork-static |
1864 | %defattr(644,root,root,755) | |
3a869664 | 1865 | %{_libdir}/libQtNetwork.a |
8b4e0403 | 1866 | |
1867 | %files -n QtOpenGL-static | |
1868 | %defattr(644,root,root,755) | |
3a869664 | 1869 | %{_libdir}/libQtOpenGL.a |
8b4e0403 | 1870 | |
da64c649 | 1871 | %files -n QtScript-static |
1872 | %defattr(644,root,root,755) | |
3a869664 | 1873 | %{_libdir}/libQtScript.a |
da64c649 | 1874 | |
8b4e0403 | 1875 | %files -n QtSql-static |
1876 | %defattr(644,root,root,755) | |
3a869664 | 1877 | %{_libdir}/libQtSql.a |
8b4e0403 | 1878 | |
1879 | %files -n QtSvg-static | |
1880 | %defattr(644,root,root,755) | |
3a869664 | 1881 | %{_libdir}/libQtSvg.a |
8b4e0403 | 1882 | |
45e8c637 AM |
1883 | %files -n QtTest-static |
1884 | %defattr(644,root,root,755) | |
1885 | %{_libdir}/libQtTest.a | |
1886 | ||
94751df7 | 1887 | %files -n QtUiTools-static |
45e8c637 | 1888 | %defattr(644,root,root,755) |
94751df7 | 1889 | %{_libdir}/libQtUiTools.a |
45e8c637 AM |
1890 | |
1891 | %files -n QtWebKit-static | |
1892 | %defattr(644,root,root,755) | |
1893 | %{_libdir}/libQtWebKit.a | |
1894 | ||
8b4e0403 | 1895 | %files -n QtXml-static |
1896 | %defattr(644,root,root,755) | |
3a869664 | 1897 | %{_libdir}/libQtXml.a |
8b4e0403 | 1898 | |
45e8c637 AM |
1899 | %files -n QtXmlPatterns-static |
1900 | %defattr(644,root,root,755) | |
1901 | %{_libdir}/libQtXmlPatterns.a | |
fa2b2c8b KK |
1902 | %endif |
1903 | ||
1620d5ef | 1904 | %files demos -f demos.files |
edf01045 | 1905 | %defattr(644,root,root,755) |
3a869664 | 1906 | |
1620d5ef | 1907 | %files examples -f examples.files |
edf01045 | 1908 | %defattr(644,root,root,755) |