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