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