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