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