]> git.pld-linux.org Git - packages/qt4.git/blob - qt4.spec
- qt3support reenabled 'coz kde4 uses it. (funny guys).
[packages/qt4.git] / qt4.spec
1 #
2 # TODO:
3 #       - better descriptions
4 #       - more cleanups
5 #       - check if translations are available
6 #
7 # Conditional build:
8 %bcond_with     nas             # enable NAS audio support
9 %bcond_without  static_libs     # build static libraries
10 %bcond_without  cups            # disable CUPS support
11 %bcond_without  mysql           # don't build MySQL plugin
12 %bcond_without  odbc            # don't build unixODBC plugin
13 %bcond_without  pgsql           # don't build PostgreSQL plugin
14 %bcond_without  designer        # don't build designer (it takes long)
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     dont_enable     # blocks translations, they are not yet available
21
22 %undefine       with_dont_enable
23
24 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
25 %undefine       with_ibase
26 %endif
27
28 %ifarch pentium3 pentium4 %{x8664}
29 %define         with_sse        1
30 %endif
31
32 %define         _withsql        1
33 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}}
34
35 Summary:        The Qt GUI application framework
36 Summary(es):    Biblioteca para ejecutar aplicaciones GUI Qt
37 Summary(pl):    Biblioteka Qt do tworzenia GUI
38 Summary(pt_BR): Estrutura para rodar aplicações GUI Qt
39 Name:           qt4
40 Version:        4.1.0
41 Release:        1
42 License:        GPL/QPL
43 Group:          X11/Libraries
44 Source0:        ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz
45 # Source0-md5:  0e3982a54f56b6420d3062b20524410a
46 Source2:        qtconfig.desktop
47 Source3:        designer.desktop
48 Source4:        assistant.desktop
49 Source5:        linguist.desktop
50 Patch0:         %{name}-tools.patch
51 %if %{with dont_enable}
52 Patch1:         qt-FHS.patch
53 # no tutorials exist
54 Patch3:         qt-disable_tutorials.patch
55 %endif
56 Patch2:         %{name}-buildsystem.patch
57 Patch4:         %{name}-locale.patch
58 Patch5:         %{name}-debug-and-release.patch
59 Patch6:         %{name}-sse.patch
60 Patch8:         %{name}-antialias.patch
61 Patch10:        %{name}-support-cflags-with-commas.patch
62 URL:            http://www.trolltech.com/products/qt/
63 Icon:           qt.xpm
64 %{?with_ibase:BuildRequires:    Firebird-devel}
65 BuildRequires:  OpenGL-devel
66 %{?with_sqlite3:BuildRequires:  sqlite3-devel}
67 # incompatible with bison
68 BuildRequires:  byacc
69 %{?with_cups:BuildRequires:     cups-devel}
70 BuildRequires:  flex
71 BuildRequires:  freetype-devel >= 2.0.0
72 %{?with_pch:BuildRequires:      gcc >= 5:3.4.0}
73 BuildRequires:  libjpeg-devel
74 BuildRequires:  libmng-devel >= 1.0.0
75 BuildRequires:  libpng-devel >= 1.0.8
76 BuildRequires:  libstdc++-devel
77 BuildRequires:  libungif-devel
78 %{?with_mysql:BuildRequires:    mysql-devel}
79 %{?with_nas:BuildRequires:      nas-devel}
80 BuildRequires:  perl-base
81 %{?with_pgsql:BuildRequires:    postgresql-backend-devel}
82 %{?with_pgsql:BuildRequires:    postgresql-devel}
83 # uncomment this in rel. 1 - no time to upgrade rpm
84 #BuildRequires: rpmbuild(macros) >= 1.213
85 BuildRequires:  sed >= 4.0
86 %{?with_sqlite:BuildRequires:   sqlite-devel}
87 %{?with_odbc:BuildRequires:     unixODBC-devel}
88 BuildRequires:  xcursor-devel
89 BuildRequires:  xft-devel
90 BuildRequires:  xrender-devel
91 BuildRequires:  zlib-devel
92 BuildConflicts: QtCore
93 Requires:       OpenGL
94 Obsoletes:      qt-extensions
95 Obsoletes:      qt-utils
96 Conflicts:      kdelibs <= 8:3.2-0.030602.1
97 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
98
99 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
100 %define         _noautostrip    '.*_debug\\.so*'
101
102 %description
103 Qt is a complete C++ application development framework, which includes
104 a class library and tools for multiplatform development and
105 internationalization. Using Qt, a single source code tree can build
106 applications that run natively on different platforms (Windows,
107 Unix/Linux, Mac OS X, embedded Linux).
108
109 Qt has a rich set of standard widgets, and lets you write custom
110 controls. It encapsulates four different platform-specific APIs, and
111 the APIs for file-handling, networking, process-handling, threading,
112 database access, etc. Qt now also has Motif migration oraz Netscape
113 LiveConnect plugin.
114
115 %description -l es
116 Contiene las bibliotecas compartidas necesarias para ejecutar
117 aplicaciones Qt, bien como los archivos README.
118
119 %description -l pl
120 Qt oferuje kompletny system do tworzenia i rozwijania aplikacji w
121 jêzyku C++, w którego sk³ad wchodzi biblioteka z klasami oraz
122 wieloplatformowymi narzêdziami do rozwijania i t³umaczenia aplikacji.
123 Z pomoc± Qt jeden kod ¼ród³owy mo¿e byæ natywnie uruchamiany na
124 ró¿nych platformach (Windows, Unix/Linux, Mac OS X).
125
126 Qt ma bogaty zbiór standardowych elementów interfejsu graficznego, ale
127 pozwala równie¿ na pisanie w³asnych elementów. £±czy w sposób
128 niewidoczny dla programisty interfejsy programowania ró¿nych systemów,
129 tworz±c w ten sposób jeden interfejs dla obs³ugi plików, sieci,
130 procesów, w±tków, baz danych itp. Umo¿liwia tak¿e ³atwe przenoszenie
131 na Qt aplikacji korzystaj±cych z Motif oraz pisanie wtyczek z
132 wykorzystaniem Netscape LiveConnect.
133
134 %package -n QtCore
135 Summary:        Core classes used by other modules
136 Summary(pl):    Podstawowe klasy u¿ywane przez inne modu³y
137 Group:          X11/Libraries
138
139 %description -n QtCore
140 Core classes used by other modules.
141
142 %description -n QtCore -l pl
143 Podstawowe klasy u¿ywane przez inne modu³y.
144
145 %package -n QtCore-devel
146 Summary:        Core classes used by other modules - development files
147 Summary(pl):    Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne
148 Group:          X11/Development/Libraries
149 Requires:       QtCore = %{epoch}:%{version}-%{release}
150
151 %description -n QtCore-devel
152 Core classes used by other modules - development files.
153
154 %description -n QtCore-devel -l pl
155 Podstawowe klasy u¿ywane przez inne modu³y - pliki programistyczne.
156
157 %package -n QtCore-static
158 Summary:        Core classes used by other modules - static libraries
159 Summary(pl):    Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne
160 Group:          X11/Development/Libraries
161 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
162
163 %description -n QtCore-static
164 Core classes used by other modules - static libraries.
165
166 %description -n QtCore-static -l pl
167 Podstawowe klasy u¿ywane przez inne modu³y - biblioteki statyczne.
168
169 %package -n QtGui
170 Summary:        Graphical User Interface components
171 Summary(pl):    Komponenty graficznego interfejsu u¿ytkownika
172 Group:          X11/Libraries
173 Requires:       QtCore = %{epoch}:%{version}-%{release}
174
175 %description -n QtGui
176 Graphical User Interface components.
177
178 %description -n QtGui -l pl
179 Komponenty graficznego interfejsu u¿ytkownika.
180
181 %package -n QtGui-devel
182 Summary:        Graphical User Interface components - development files
183 Summary(pl):    Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne
184 Group:          X11/Development/Libraries
185 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
186 Requires:       QtGui = %{epoch}:%{version}-%{release}
187
188 %description -n QtGui-devel
189 Graphical User Interface components - development files.
190
191 %description -n QtGui-devel -l pl
192 Komponenty graficznego interfejsu u¿ytkownika - pliki programistyczne.
193
194 %package -n QtGui-static
195 Summary:        Graphical User Interface components - static libraries
196 Summary(pl):    Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne
197 Group:          X11/Development/Libraries
198 Requires:       QtGui-devel = %{epoch}:%{version}-%{release}
199
200 %description -n QtGui-static
201 Graphical User Interface components - static libraries.
202
203 %description -n QtGui-static -l pl
204 Komponenty graficznego interfejsu u¿ytkownika - biblioteki statyczne.
205
206 %package -n QtNetwork
207 Summary:        Classes for network programming
208 Summary(pl):    Klasy do programowania sieciowego
209 Group:          X11/Libraries
210 Requires:       QtCore = %{epoch}:%{version}-%{release}
211
212 %description -n QtNetwork
213 Classes for network programming.
214
215 %description -n QtNetwork -l pl
216 Klasy do programowania sieciowego.
217
218 %package -n QtNetwork-devel
219 Summary:        Classes for network programming - development files
220 Summary(pl):    Klasy do programowania sieciowego - pliki programistyczne
221 Group:          X11/Development/Libraries
222 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
223 Requires:       QtNetwork = %{epoch}:%{version}-%{release}
224
225 %description -n QtNetwork-devel
226 Classes for network programming - development files.
227
228 %description -n QtNetwork-devel -l pl
229 Klasy do programowania sieciowego - pliki programistyczne.
230
231 %package -n QtNetwork-static
232 Summary:        Classes for network programming - static libraries
233 Summary(pl):    Klasy do programowania sieciowego - biblioteki statyczne
234 Group:          X11/Development/Libraries
235 Requires:       QtNetwork-devel = %{epoch}:%{version}-%{release}
236
237 %description -n QtNetwork-static
238 Classes for network programming - static libraries.
239
240 %description -n QtNetwork-static -l pl
241 Klasy do programowania sieciowego - biblioteki statyczne.
242
243 %package -n QtOpenGL
244 Summary:        OpenGL support classes
245 Summary(pl):    Klasy wspomagaj±ce OpenGL
246 Group:          X11/Libraries
247 Requires:       QtCore = %{epoch}:%{version}-%{release}
248
249 %description -n QtOpenGL
250 OpenGL support classes.
251
252 %description -n QtOpenGL -l pl
253 Klasy wspomagaj±ce OpenGL.
254
255 %package -n QtOpenGL-devel
256 Summary:        OpenGL support classes - development files
257 Summary(pl):    Klasy wspomagaj±ce OpenGL - pliki programistyczne
258 Group:          X11/Development/Libraries
259 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
260 Requires:       QtOpenGL = %{epoch}:%{version}-%{release}
261
262 %description -n QtOpenGL-devel
263 OpenGL support classes - development files.
264
265 %description -n QtOpenGL-devel -l pl
266 Klasy wspomagaj±ce OpenGL - pliki programistyczne.
267
268 %package -n QtOpenGL-static
269 Summary:        OpenGL support classes - static libraries
270 Summary(pl):    Klasy wspomagaj±ce OpenGL - biblioteki statyczne
271 Group:          X11/Development/Libraries
272 Requires:       QtOpenGL-devel = %{epoch}:%{version}-%{release}
273
274 %description -n QtOpenGL-static
275 OpenGL support classes - static libraries.
276
277 %description -n QtOpenGL-devel -l pl
278 Klasy wspomagaj±ce OpenGL - biblioteki statyczne.
279
280 %package -n QtSql
281 Summary:        Classes for database integration using SQL
282 Summary(pl):    Klasy do integracji z bazami danych przy u¿yciu SQL
283 Group:          X11/Libraries
284 Requires:       QtCore = %{epoch}:%{version}-%{release}
285
286 %description -n QtSql
287 Classes for database integration using SQL.
288
289 %description -n QtSql -l pl
290 Klasy do integracji z bazami danych przy u¿yciu SQL.
291
292 %package -n QtSql-devel
293 Summary:        Classes for database integration using SQL - development files
294 Summary(pl):    Klasy do integracji z bazami danych przy u¿yciu SQL - pliki programistyczne
295 Group:          X11/Development/Libraries
296 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
297 Requires:       QtSql = %{epoch}:%{version}-%{release}
298
299 %description -n QtSql-devel
300 Classes for database integration using SQL - development files.
301
302 %description -n QtSql-devel -l pl
303 Klasy do integracji z bazami danych przy u¿yciu SQL - pliki
304 programistyczne.
305
306 %package -n QtSql-static
307 Summary:        Classes for database integration using SQL - static libraries
308 Summary(pl):    Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki statyczne
309 Group:          X11/Development/Libraries
310 Requires:       QtSql-devel = %{epoch}:%{version}-%{release}
311
312 %description -n QtSql-static
313 Classes for database integration using SQL - static libraries.
314
315 %description -n QtSql-static -l pl
316 Klasy do integracji z bazami danych przy u¿yciu SQL - biblioteki
317 statyczne. programistyczne.
318
319 %package -n QtSql-ibase
320 Summary:        Database plugin for InterBase/Firebird Qt support
321 Summary(pl):    Wtyczka InterBase/Firebird do Qt
322 Summary(pt_BR): Plugin de suporte a InterBase/Firebird para Qt
323 Group:          X11/Libraries
324 Requires:       QtSql = %{epoch}:%{version}-%{release}
325 Provides:       QtSql-backend = %{epoch}:%{version}-%{release}
326
327 %description -n QtSql-ibase
328 This package contains a plugin for accessing Interbase/Firebird
329 database via the QSql classes.
330
331 %description -n QtSql-ibase -l pl
332 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
333 danych Interbase/Firebird poprzez klasy QSql.
334
335 %description -n QtSql-ibase -l pt_BR
336 Plugin de suporte a InterBase/Firebird para Qt.
337
338 %package -n QtSql-mysql
339 Summary:        Database plugin for MySQL Qt support
340 Summary(pl):    Wtyczka MySQL do Qt
341 Summary(pt_BR): Plugin de suporte a MySQL para Qt
342 Group:          X11/Libraries
343 Requires:       QtSql = %{epoch}:%{version}-%{release}
344 Provides:       QtSql-backend = %{epoch}:%{version}-%{release}
345
346 %description -n QtSql-mysql
347 This package contains a plugin for accessing MySQL database via the
348 QSql classes.
349
350 %description -n QtSql-mysql -l pl
351 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
352 danych MySQL poprzez klasy QSql.
353
354 %description -n QtSql-mysql -l pt_BR
355 Plugin de suporte a MySQL para Qt.
356
357 %package -n QtSql-odbc
358 Summary:        Database plugin for ODBC Qt support
359 Summary(pl):    Wtyczka ODBC do Qt
360 Summary(pt_BR): Plugin de suporte a ODBC para Qt
361 Group:          X11/Libraries
362 Requires:       QtSql = %{epoch}:%{version}-%{release}
363 Provides:       QtSql-backend = %{epoch}:%{version}-%{release}
364
365 %description -n QtSql-odbc
366 This package contains a plugin for accessing unixODBC services via the
367 QSql classes.
368
369 %description -n QtSql-odbc -l pl
370 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z us³ug
371 unixODBC poprzez klasy QSql.
372
373 %description -n QtSql-odbc -l pt_BR
374 Plugin de suporte a ODBC para Qt.
375
376 %package -n QtSql-pgsql
377 Summary:        Database plugin for PostgreSQL Qt support
378 Summary(pl):    Wtyczka PostgreSQL do Qt
379 Summary(pt_BR): Plugin de suporte a PostgreSQL para Qt
380 Group:          X11/Libraries
381 Requires:       QtSql = %{epoch}:%{version}-%{release}
382 Provides:       QtSql-backend = %{epoch}:%{version}-%{release}
383
384 %description -n QtSql-pgsql
385 This package contains a plugin for accessing PostgreSQL database via
386 the QSql classes.
387
388 %description -n QtSql-pgsql -l pl
389 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
390 danych PostgreSQL poprzez klasy QSql.
391
392 %description -n QtSql-pgsql -l es
393 Plugin de suporte a PostgreSQL para Qt.
394
395 %package -n QtSql-sqlite
396 Summary:        Database plugin for SQLite 2.x Qt support
397 Summary(pl):    Wtyczka SQLite 2.x do Qt
398 Summary(pt_BR): Plugin de suporte a SQLite 2.x para Qt
399 Group:          X11/Libraries
400 Requires:       QtSql = %{epoch}:%{version}-%{release}
401 Provides:       QtSql-backend = %{epoch}:%{version}-%{release}
402
403 %description -n QtSql-sqlite
404 This package contains a plugin for using the SQLite 2.x library (which
405 allows to acces virtually any SQL database) via the QSql classes.
406
407 %description -n QtSql-sqlite -l pl
408 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
409 danych SQLite 2.x poprzez klasy QSql.
410
411 %description -n QtSql-sqlite -l pt_BR
412 Plugin de suporte a SQLite 2.x para Qt.
413
414 %package -n QtSql-sqlite3
415 Summary:        Database plugin for SQLite3 Qt support
416 Summary(pl):    Wtyczka SQLite3 do Qt
417 Summary(pt_BR): Plugin de suporte a SQLite3 para Qt
418 Group:          X11/Libraries
419 Requires:       QtSql = %{epoch}:%{version}-%{release}
420 Provides:       QtSql-backend = %{epoch}:%{version}-%{release}
421
422 %description -n QtSql-sqlite3
423 This package contains a plugin for using the SQLite3 library (which
424 allows to acces virtually any SQL database) via the QSql classes.
425
426 %description -n QtSql-sqlite3 -l pl
427 Ten pakiet zawiera wtyczki do Qt umo¿liwiaj±ce korzystanie z baz
428 danych SQLite3 poprzez klasy QSql.
429
430 %description -n QtSql-sqlite3 -l pt_BR
431 Plugin de suporte a SQLite3 para Qt.
432
433 %package -n QtSvg
434 Summary:        SVG support
435 Summary(pl):    Wsparcie dla SVG
436 Group:          X11/Libraries
437 Requires:       QtCore = %{epoch}:%{version}-%{release}
438
439 %description -n QtSvg
440 SVG support.
441
442 %description -n QtSvg -l pl
443 Wsparcie dla SVG.
444
445 %package -n QtSvg-devel
446 Summary:        SVG support - development files
447 Summary(pl):    Wsparcie dla SVG - pliki programistyczne
448 Group:          X11/Development/Libraries
449 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
450 Requires:       QtSvg = %{epoch}:%{version}-%{release}
451
452 %description -n QtSvg-devel
453 SVG support - development files.
454
455 %description -n QtSvg-devel -l pl
456 Wsparcie dla SVG - pliki programistyczne.
457
458 %package -n QtSvg-static
459 Summary:        SVG support - static libraries
460 Summary(pl):    Wsparcie dla SVG - biblioteki statyczne
461 Group:          X11/Development/Libraries
462 Requires:       QtSvg-devel = %{epoch}:%{version}-%{release}
463
464 %description -n QtSvg-static
465 SVG support - static libraries.
466
467 %description -n QtSvg-static -l pl
468 Wsparcie dla SVG - biblioteki statyczne.
469
470 %package -n QtTest
471 Summary:        Test framework
472 Summary(pl):    Szkielet testów
473 Group:          X11/Libraries
474 Requires:       QtCore = %{epoch}:%{version}-%{release}
475
476 %description -n QtTest
477 Test framework.
478
479 %description -n QtTest -l pl
480 Szkielet testów.
481
482 %package -n QtTest-devel
483 Summary:        Test framework - development files
484 Summary(pl):    Szkielet testów - pliki programistyczne
485 Group:          X11/Development/Libraries
486 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
487 Requires:       QtTest = %{epoch}:%{version}-%{release}
488
489 %description -n QtTest-devel
490 Test framework - development files.
491
492 %description -n QtTest-devel -l pl
493 Szkielet testów - pliki programistyczne.
494
495 %package -n QtXml
496 Summary:        Classes for handling XML
497 Summary(pl):    Klasy do obs³ugi XML-a
498 Group:          X11/Libraries
499 Requires:       QtCore = %{epoch}:%{version}-%{release}
500
501 %description -n QtXml
502 Classes for handling XML.
503
504 %description -n QtXml -l pl
505 Klasy do obs³ugi XML-a.
506
507 %package -n QtXml-devel
508 Summary:        Classes for handling XML - development files
509 Summary(pl):    Klasy do obs³ugi XML-a - pliki programistyczne
510 Group:          X11/Development/Libraries
511 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
512 Requires:       QtXml = %{epoch}:%{version}-%{release}
513
514 %description -n QtXml-devel
515 Classes for handling XML - development files.
516
517 %description -n QtXml-devel -l pl
518 Klasy do obs³ugi XML-a - pliki programistyczne.
519
520 %package -n QtXml-static
521 Summary:        Classes for handling XML - static libraries
522 Summary(pl):    Klasy do obs³ugi XML-a - biblioteki statyczne
523 Group:          X11/Development/Libraries
524 Requires:       QtXml-devel = %{epoch}:%{version}-%{release}
525
526 %description -n QtXml-static
527 Classes for handling XML - static libraries.
528
529 %description -n QtXml-static -l pl
530 Klasy do obs³ugi XML-a - biblioteki statyczne.
531
532 %package -n Qt3Support
533 Summary:        Qt3 compatibility library
534 Summary(pl):    Biblioteka kompatybilno¶ci z Qt3
535 Group:          X11/Libraries
536 Requires:       QtCore = %{epoch}:%{version}-%{release}
537
538 %description -n Qt3Support
539 Qt3 compatibility library.
540
541 %description -n Qt3Support -l pl
542 Biblioteka kompatybilno¶ci z Qt3.
543
544 %package -n Qt3Support-devel
545 Summary:        Qt3 compatibility library - development files
546 Summary(pl):    Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne
547 Group:          X11/Development/Libraries
548 Requires:       Qt3Support = %{epoch}:%{version}-%{release}
549 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
550
551 %description -n Qt3Support-devel
552 Qt3 compatibility library - development files.
553
554 %description -n Qt3Support-devel -l pl
555 Biblioteka kompatybilno¶ci z Qt3 - pliki programistyczne.
556
557 %package -n Qt3Support-static
558 Summary:        Qt3 compatibility library - static libraries
559 Summary(pl):    Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne
560 Group:          X11/Development/Libraries
561 Requires:       Qt3Support-devel = %{epoch}:%{version}-%{release}
562
563 %description -n Qt3Support-static
564 Qt3 compatibility library - static libraries.
565
566 %description -n Qt3Support-static -l pl
567 Biblioteka kompatybilno¶ci z Qt3 - biblioteki statyczne.
568
569 %package assistant
570 Summary:        Qt documentation browser
571 Summary(pl):    Przegl±darka dokumentacji Qt
572 Group:          X11/Development/Tools
573 Requires:       %{name}-doc
574
575 %description assistant
576 Qt Assistant is a tool for browsing on-line documentation with
577 indexing, bookmarks and full-text search.
578
579 %description assistant -l pl
580 Qt Assistant to narzêdzie do przegl±dania dokumentacji z mo¿liwo¶ci±
581 indeksowania, dodawania zak³adek i pe³notekstowego wyszukiwania.
582
583 %package build
584 Summary:        Build tools for Qt4
585 Summary(pl):    Narzêdzia do budowania dla Qt4
586 Group:          X11/Development/Tools
587 Requires:       QtCore = %{epoch}:%{version}-%{release}
588 Requires:       QtXml = %{epoch}:%{version}-%{release}
589
590 %description build
591 This package includes the Qt resource compiler (rcc), meta objects
592 compiler (moc), user interface compiler (uic) and qt3to4 include names
593 converter.
594
595 %description build -l pl
596 Ten pakiet zawiera kompilator zasobów Qt (rcc), kompilator
597 metaobiektów (moc), kompilator interfejsów u¿ytkownika (uic) oraz
598 konwerter nazw plików nag³ówkowych qt3to4.
599
600 %package designer
601 Summary:        IDE used for GUI designing with Qt library
602 Summary(pl):    IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt
603 Group:          X11/Applications
604 Requires:       %{name}-designer-libs = %{epoch}:%{version}-%{release}
605
606 %description designer
607 An advanced tool used for GUI designing with Qt library.
608
609 %description designer -l pl
610 Zaawansowane narzêdzie s³u¿±ce do projektowania interfejsu graficznego
611 za pomoc± biblioteki Qt.
612
613 %package -n QtDesigner-devel
614 Summary:        IDE used for GUI designing with Qt library - development files
615 Summary(pl):    IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki programistyczne
616 Group:          X11/Development/Libraries
617 Requires:       %{name}-designer-libs = %{epoch}:%{version}-%{release}
618 Requires:       QtCore-devel = %{epoch}:%{version}-%{release}
619
620 %description -n QtDesigner-devel
621 IDE used for GUI designing with Qt library - development files.
622
623 %description -n QtDesigner-devel -l pl
624 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - pliki
625 programistyczne.
626
627 %package -n QtDesigner-static
628 Summary:        IDE used for GUI designing with Qt library - static libraries
629 Summary(pl):    IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki statyczne
630 Group:          X11/Development/Libraries
631 Requires:       QtDesigner-devel = %{epoch}:%{version}-%{release}
632
633 %description -n QtDesigner-static
634 IDE used for GUI designing with Qt library - static libraries.
635
636 %description -n QtDesigner-static -l pl
637 IDE s³u¿±ce do projektowania GUI za pomoc± biblioteki Qt - biblioteki
638 statyczne.
639
640 %package designer-libs
641 Summary:        Libraries IDE used for GUI designing with Qt library
642 Summary(pl):    Biblioteki do IDE s³u¿±cego do projektowania GUI za pomoc± biblioteki Qt
643 Group:          X11/Applications
644
645 %description designer-libs
646 Libraries used by the Qt GUI Designer.
647
648 %description designer-libs -l pl
649 Biblioteki wykorzystywane przez narzêdzie projektowania interfejsu
650 graficznego - Qt Designer.
651
652 %package linguist
653 Summary:        Translation helper for Qt
654 Summary(pl):    Aplikacja u³atwiaj±ca t³umaczenie aplikacji oparty o Qt
655 Group:          X11/Development/Tools
656
657 %description linguist
658 This program provides an interface that shortens and helps systematize
659 the process of translating GUIs. Qt Linguist takes all of the text of
660 a UI that will be shown to the user, and presents it to a human
661 translator in a simple window. When one UI text is translated, the
662 program automatically progresses to the next, until they are all
663 completed.
664
665 %description linguist -l pl
666 Ten program oferuje interfejs znacznie przy¶pieszaj±cy proces
667 t³umaczenia interfejsu u¿ytkownika. Zbiera wszystkie teksty
668 przeznaczone do t³umaczenia i przedstawia w ³atwym w obs³udze oknie.
669 Gdy jeden z nich jest ju¿ przet³umaczony, automatycznie przechodzi do
670 nastêpnego, a¿ wszystkie bêd± przet³umaczone.
671
672 %package -n qmake
673 Summary:        Qt makefile generator
674 Summary(pl):    Generator plików makefile dla aplikacji Qt
675 Group:          X11/Development/Tools
676
677 %description -n qmake
678 A powerful makefile generator. It can create makefiles on any platform
679 from a simple .pro definitions file.
680
681 %description -n qmake -l pl
682 Rozbudowany generator plików makefile. Potrafi tworzyæ pliki makefile
683 na ka¿dej platformi na podstawie ³atwego w przygotowaniu pliku .pro.
684
685 %package -n qtconfig
686 Summary:        Qt widgets configuration tool
687 Summary(pl):    Narzêdzie do konfigurowania widgetów Qt
688 Group:          X11/Applications
689
690 %description -n qtconfig
691 A tool for configuring look and behavior of Qt widgets.
692
693 %description -n qtconfig -l pl
694 Narzêdie do konfiguracji wygl±du i zachowania widgetów Qt.
695
696 %package -n qvfb
697 Summary:        Qt Virtual framebuffer
698 Summary(pl):    Wirtualny framebuffer dla Qt
699 Group:          X11/Development/Libraries
700
701 %description -n qvfb
702 Qt Virtual framebuffer allows you to run Qt/Embedded applications in X
703 window.
704
705 %description -n qvfb -l pl
706 Qt Virtual framebuffer pozwala na uruchamianie aplikacji Qt/Embedded w
707 okienku X.
708
709 %package demos
710 Summary:        Demos of new Qt4 features
711 Summary(pl):    Programy demonstruj±ce nowe mo¿liwo¶ci Qt4
712 Group:          X11/Development/Libraries
713 Requires:       QtCore = %{epoch}:%{version}-%{release}
714 Requires:       QtXml = %{epoch}:%{version}-%{release}
715
716 %description demos
717 Demos are spiders that fly.
718
719 %description demos -l pl
720 Dema to lataj±ce paj±ki.
721
722 %package doc
723 Summary:        Qt Documentation in HTML format
724 Summary(pl):    Dokumentacja Qt w formacie HTML
725 Group:          X11/Development/Libraries
726
727 %description doc
728 Qt documentation in HTML format.
729
730 %description doc -l pl
731 Dokumentacja qt w formacie HTML.
732
733 %package man
734 Summary:        Qt man pages
735 Summary(pl):    Qt - strony man
736 Group:          X11/Development/Libraries
737
738 %description man
739 Qt documentation in man pages format.
740
741 %description man -l pl
742 Dokumentacja Qt w formacie stron man.
743
744 %package examples
745 Summary:        Example programs bundled with Qt
746 Summary(pl):    Æwiczenia i przyk³ady do Qt
747 Summary(pt_BR): Programas exemplo desenvolvidos com o Qt
748 Group:          X11/Development/Libraries
749 # no it does not , we cant be sure the user wants to compile them right?
750 # he might just want to take a look, anwyay no single devel package now
751 #Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
752
753 %description examples
754 Example programs bundled with Qt version.
755
756 %description examples -l pl
757 Æwiczenia/przyk³ady do³±czone do Qt.
758
759 %description examples -l pt_BR
760 Programas exemplo para o Qt versão.
761
762 %prep
763 %setup -q -n qt-x11-opensource-src-%{version}
764 %patch0 -p1
765 %if %{with dont_enable}
766 %patch1 -p1
767 %patch3 -p1
768 %endif
769 %patch2 -p1
770 %patch4 -p1
771 %patch5 -p1
772 %patch6 -p1
773 %patch8 -p1
774 %patch10 -p1
775
776 # change QMAKE_CFLAGS_RELEASE to build
777 # properly optimized libs
778 plik="mkspecs/linux-g++/qmake.conf"
779
780 perl -pi -e "
781         s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|;
782         s|/usr/lib|%{_libdir}|;
783         s|\\(QTDIR\\)/lib|\\(QTDIR\\)/%{_lib}|;
784         " $plik
785
786 cat $plik \
787         |grep -v QMAKE_CFLAGS_RELEASE \
788         |grep -v QMAKE_CXXFLAGS_RELEASE \
789         |grep -v QMAKE_CFLAGS_DEBUG \
790         |grep -v QMAKE_CXXFLAGS_DEBUG \
791         > $plik.1
792
793 mv $plik.1 $plik
794 echo >> $plik
795 echo -e "QMAKE_CFLAGS_RELEASE\t=\t%{rpmcflags}" >> $plik
796 echo -e "QMAKE_CXXFLAGS_RELEASE\t=\t%{rpmcxxflags}" >> $plik
797 echo -e "QMAKE_CFLAGS_DEBUG\t=\t%{debugcflags}" >> $plik
798 echo -e "QMAKE_CXXFLAGS_DEBUG\t=\t%{debugcflags}" >> $plik
799
800 %build
801 QTDIR=`/bin/pwd`
802
803 if test -n "$LD_LIBRARY_PATH"; then
804     LD_LIBRARY_PATH=$QTDIR/%{_lib}:$LD_LIBRARY_PATH
805 else
806     LD_LIBRARY_PATH=$QTDIR/lib
807 fi
808
809 if [ "%{_lib}" != "lib" ] ; then
810         ln -sf lib "%{_lib}"
811 fi
812
813 # pass OPTFLAGS to build qmake itself with optimization
814 OPTFLAGS="%{rpmcflags}"
815 PATH=$QTDIR/bin:$PATH
816 QMAKESPEC=$QTDIR/mkspecs/linux-g++
817 YACC='byacc -d'
818
819 export QTDIR YACC PATH LD_LIBRARY_PATH QMAKESPEC OPTFLAGS
820
821 ##################################
822 # DEFAULT OPTIONS FOR ALL BUILDS #
823 ##################################
824
825 COMMONOPT=" \
826         -DQT_CLEAN_NAMESPACE \
827         -verbose \
828         -prefix %{_prefix} \
829         -docdir %{_docdir}/%{name}-doc \
830         -headerdir %{_includedir}/qt4 \
831         -libdir %{_libdir} \
832         -L%{_libdir} \
833         -bindir %{_bindir} \
834         -plugindir %{_libdir}/qt4/plugins \
835         -datadir %{_datadir}/qt4 \
836         -translationdir %{_datadir}/locale/ \
837         -sysconfdir %{_sysconfdir}/qt4 \
838         -examplesdir %{_examplesdir}/qt4 \
839         -demosdir %{_examplesdir}/qt4-demos \
840         -fast \
841         -%{!?with_pch:no-}pch \
842         -%{!?with_sse:no-}sse \
843         -qt-gif \
844         -system-libjpeg \
845         -system-libpng \
846         -system-zlib \
847         -no-exceptions \
848         -I%{_includedir}/postgresql/server \
849         -I%{_includedir}/mysql \
850         %{?with_cups:-cups} \
851         %{?with_nas:-system-nas-sound} \
852         %{?debug:-debug} \
853         -release \
854         -qt3support \
855         -xcursor \
856         -xshape \
857         -xrender \
858         -fontconfig \
859         -xkb \
860         -sm \
861         -nis"
862
863 ##################################
864 #      STATIC MULTI-THREAD       #
865 ##################################
866
867 %if %{with static_libs}
868 OPT=" \
869         %{?with_mysql:-qt-sql-mysql} \
870         %{?with_odbc:-qt-sql-odbc} \
871         %{?with_pgsql:-qt-sql-psql} \
872         %{?with_sqlite3:-qt-sql-sqlite} \
873         %{?with_sqlite:-qt-sql-sqlite2} \
874         %{?with_ibase:-qt-sql-ibase} \
875         -static"
876
877 echo "yes" | ./configure $COMMONOPT $OPT
878
879 cd src
880 %{__make}
881 cd ..
882 mkdir staticlib
883 cp -a lib/*.a staticlib
884 %endif
885
886 ##################################
887 #      SHARED MULTI-THREAD       #
888 ##################################
889
890 OPT=" \
891         %{?with_mysql:-plugin-sql-mysql} \
892         %{?with_odbc:-plugin-sql-odbc} \
893         %{?with_pgsql:-plugin-sql-psql} \
894         %{?with_sqlite3:-plugin-sql-sqlite} \
895         %{?with_sqlite:-plugin-sql-sqlite2} \
896         %{?with_ibase:-plugin-sql-ibase}"
897
898 echo "yes" | ./configure $COMMONOPT $OPT
899
900 %{__make}
901 %{__make} \
902         sub-tools-all-ordered \
903         sub-demos-all-ordered \
904         sub-examples-all-ordered
905
906 %{?with_ibase:          %{__make} -C src/plugins/sqldrivers/ibase}
907 %{?with_mysql:          %{__make} -C src/plugins/sqldrivers/mysql}
908 %{?with_odbc:           %{__make} -C src/plugins/sqldrivers/odbc}
909 %{?with_pgsql:          %{__make} -C src/plugins/sqldrivers/psql}
910 %{?with_sqlite:         %{__make} -C src/plugins/sqldrivers/sqlite2}
911 %{?with_sqlite3:        %{__make} -C src/plugins/sqldrivers/sqlite}
912
913 %if %{with dont_enable}
914 %if %{with designer}
915 cd tools/designer/designer
916 lrelease designer_de.ts
917 lrelease designer_fr.ts
918 %endif
919 cd $QTDIR/tools/assistant
920 lrelease assistant_de.ts
921 lrelease assistant_fr.ts
922 cd $QTDIR/tools/linguist/linguist
923 lrelease linguist_de.ts
924 lrelease linguist_fr.ts
925 cd $QTDIR
926 %endif
927
928 %install
929 rm -rf $RPM_BUILD_ROOT
930 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
931 QTDIR=`/bin/pwd`
932
933 export QTDIR
934
935 %{__make} install \
936         INSTALL_ROOT=$RPM_BUILD_ROOT
937
938 install -d \
939         $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
940         $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/{crypto,network}
941
942 install plugins/sqldrivers/* $RPM_BUILD_ROOT%{_libdir}/qt4/plugins/sqldrivers
943 install bin/findtr tools/qvfb/qvfb $RPM_BUILD_ROOT%{_bindir}
944
945 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
946 install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
947
948 install tools/qtconfig/images/appicon.png \
949         $RPM_BUILD_ROOT%{_pixmapsdir}/qtconfig.png
950
951 install tools/linguist/linguist/images/appicon.png \
952         $RPM_BUILD_ROOT%{_pixmapsdir}/linguist.png
953
954 install tools/assistant/images/assistant.png \
955         $RPM_BUILD_ROOT%{_pixmapsdir}/assistant.png
956
957 %if %{with designer}
958 install tools/designer/src/designer/images/designer.png \
959         $RPM_BUILD_ROOT%{_pixmapsdir}/designer.png
960 %endif
961
962 %if %{with static_libs}
963 install staticlib/*.a $RPM_BUILD_ROOT%{_libdir}
964 %endif
965
966 %if %{with designer}
967 install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/designer.desktop
968 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
969 %endif
970
971 %if %{with dont_enable}
972 install -d $RPM_BUILD_ROOT%{_datadir}/locale/{ar,de,fr,ru,he,cs,sk}/LC_MESSAGES
973 install translations/qt_ar.qm $RPM_BUILD_ROOT%{_datadir}/locale/ar/LC_MESSAGES/qt.qm
974 install translations/qt_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/qt.qm
975 install translations/qt_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/qt.qm
976 install translations/qt_ru.qm $RPM_BUILD_ROOT%{_datadir}/locale/ru/LC_MESSAGES/qt.qm
977 install translations/qt_iw.qm $RPM_BUILD_ROOT%{_datadir}/locale/he/LC_MESSAGES/qt.qm
978 install translations/qt_cs.qm $RPM_BUILD_ROOT%{_datadir}/locale/cs/LC_MESSAGES/qt.qm
979 install translations/qt_sk.qm $RPM_BUILD_ROOT%{_datadir}/locale/sk/LC_MESSAGES/qt.qm
980
981 %if %{with designer}
982 install tools/designer/designer/designer_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/designer.qm
983 install tools/designer/designer/designer_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/designer.qm
984 %endif
985
986 install tools/assistant/assistant_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/assistant.qm
987 install tools/assistant/assistant_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
988
989 install tools/linguist/linguist/linguist_de.qm $RPM_BUILD_ROOT%{_datadir}/locale/de/LC_MESSAGES/linguist.qm
990 install tools/linguist/linguist/linguist_fr.qm $RPM_BUILD_ROOT%{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
991 %endif
992
993 cd $RPM_BUILD_ROOT%{_includedir}/qt4/Qt
994 for f in ../Qt{3Support,Core,Gui,Network,OpenGL,Sql,Svg,Test,Xml,Designer}/*
995 do
996         if [ ! -d $f ]; then
997                 ln -sf $f `basename $f`
998         fi
999 done
1000 ln -sf ../../QtCore/arch/qatomic.h arch/qatomic.h
1001 cd -
1002
1003 mv $RPM_BUILD_ROOT%{_libdir}/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
1004
1005 # Prepare some files list
1006 ifecho () {
1007         RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
1008         [ "$RESULT" == "" ] && return
1009         r=`echo $RESULT | awk '{ print $1 }'`
1010
1011         if [ -d "$r" ]; then
1012                 echo "%%dir $2" >> $1.files
1013         elif [ -x "$r" ] ; then
1014                 echo "%%attr(755,root,root) $2" >> $1.files
1015         elif [ -f "$r" ]; then
1016                 echo "$2" >> $1.files
1017         else
1018                 echo "Error generation devel files list!"
1019                 echo "$r: no such file or direcotry!"
1020                 return 1
1021         fi
1022 }
1023
1024 mkdevfl () {
1025         MODULE=$1; shift
1026         echo "%%defattr(644,root,root,755)" > $MODULE-devel.files
1027         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.so"
1028         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.la"
1029         ifecho $MODULE-devel "%{_libdir}/lib$MODULE*.prl"
1030         ifecho $MODULE-devel "%{_pkgconfigdir}/$MODULE*.pc"
1031         for f in `find $RPM_BUILD_ROOT%{_includedir}/qt4/$MODULE -printf "%%P "`
1032         do
1033                 ifecho $MODULE-devel %{_includedir}/qt4/$MODULE/$f
1034                 ifecho $MODULE-devel %{_includedir}/qt4/Qt/$f
1035         done
1036         for f in $@; do ifecho $MODULE-devel $f; done
1037 }
1038
1039 mkdevfl QtCore  %{_includedir}/qt4 %{_includedir}/qt4/Qt \
1040         %{_libdir}/libQtAssistantClient{.prl,_debug.prl}
1041 mkdevfl QtGui
1042 mkdevfl QtNetwork
1043 mkdevfl QtOpenGL
1044 mkdevfl QtSql
1045 mkdevfl QtSvg
1046 mkdevfl QtTest
1047 mkdevfl QtXml
1048 mkdevfl Qt3Support
1049 mkdevfl QtDesigner || /bin/true # there is no libQtDesigner.la file :/
1050
1051 echo "%defattr(644,root,root,755)" > examples.files
1052 ifecho examples %{_examplesdir}/qt4
1053 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4 -printf "%%P "`
1054 do
1055         ifecho examples %{_examplesdir}/qt4/$f
1056 done
1057
1058 echo "%defattr(644,root,root,755)" > demos.files
1059 ifecho demos "%{_examplesdir}/qt4-demos"
1060 ifecho demos "%{_bindir}/qtdemo"
1061 ifecho demos "%{_libdir}/qt4/plugins/arthurplugin/libarthurplugin.so"
1062 for f in `find $RPM_BUILD_ROOT%{_examplesdir}/qt4-demos -printf "%%P "`
1063 do
1064         ifecho demos %{_examplesdir}/qt4-demos/$f
1065 done
1066
1067 %clean
1068 rm -rf $RPM_BUILD_ROOT
1069
1070 %post   -n QtCore
1071 /sbin/ldconfig
1072 cat << EOF
1073  *******************************************************
1074  *                                                     *
1075  *  NOTE:                                              *
1076  *  With qt 4.0.0 the single threaded version was      *
1077  *  removed. Also the library is modular now so be     *
1078  *  sure to check that you have every module you need. *
1079  *                                                     *
1080  *******************************************************
1081 EOF
1082 %postun -n QtCore       -p /sbin/ldconfig
1083
1084 %post   -n QtGui        -p /sbin/ldconfig
1085 %postun -n QtGui        -p /sbin/ldconfig
1086
1087 %post   -n QtNetwork    -p /sbin/ldconfig
1088 %postun -n QtNetwork    -p /sbin/ldconfig
1089
1090 %post   -n QtOpenGL     -p /sbin/ldconfig
1091 %postun -n QtOpenGL     -p /sbin/ldconfig
1092
1093 %post   -n QtSql        -p /sbin/ldconfig
1094 %postun -n QtSql        -p /sbin/ldconfig
1095
1096 %post   -n QtSvg        -p /sbin/ldconfig
1097 %postun -n QtSvg        -p /sbin/ldconfig
1098
1099 %post   -n QtTest       -p /sbin/ldconfig
1100 %postun -n QtTest       -p /sbin/ldconfig
1101
1102 %post   -n QtXml        -p /sbin/ldconfig
1103 %postun -n QtXml        -p /sbin/ldconfig
1104
1105 %post   -n Qt3Support   -p /sbin/ldconfig
1106 %postun -n Qt3Support   -p /sbin/ldconfig
1107
1108 %post   assistant       -p /sbin/ldconfig
1109 %postun assistant       -p /sbin/ldconfig
1110
1111 %post   designer-libs   -p /sbin/ldconfig
1112 %postun designer-libs   -p /sbin/ldconfig
1113
1114 %files -n QtCore
1115 %defattr(644,root,root,755)
1116 #%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size)
1117 %attr(755,root,root) %{_libdir}/libQtCore*.so.*
1118 %dir %{_libdir}/qt4
1119 %dir %{_libdir}/qt4/plugins
1120 %dir %{_libdir}/qt4/plugins/accessible
1121 %dir %{_libdir}/qt4/plugins/codecs
1122 %dir %{_libdir}/qt4/plugins/crypto
1123 %dir %{_libdir}/qt4/plugins/imageformats
1124 %dir %{_libdir}/qt4/plugins/network
1125 %dir %{_libdir}/qt4/plugins/sqldrivers
1126 %dir %{_datadir}/qt4
1127 %{_datadir}/locale/qt_*.qm
1128
1129 %files -n QtGui
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_libdir}/libQtGui*.so.*
1132 %{_libdir}/qt4/plugins/accessible/*
1133 %{_libdir}/qt4/plugins/codecs/*
1134 %{_libdir}/qt4/plugins/imageformats/*
1135
1136 %files -n QtNetwork
1137 %defattr(644,root,root,755)
1138 %attr(755,root,root) %{_libdir}/libQtNetwork*.so.*
1139
1140 %files -n QtOpenGL
1141 %defattr(644,root,root,755)
1142 %attr(755,root,root) %{_libdir}/libQtOpenGL*.so.*
1143
1144 %files -n QtSql
1145 %defattr(644,root,root,755)
1146 %attr(755,root,root) %{_libdir}/libQtSql*.so.*
1147
1148 %if %{with mysql}
1149 %files -n QtSql-mysql
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root)  %{_libdir}/qt4/plugins/sqldrivers/libqsqlmysql*.so
1152 %endif
1153
1154 %if %{with pgsql}
1155 %files -n QtSql-pgsql
1156 %defattr(644,root,root,755)
1157 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlpsql*.so
1158 %endif
1159
1160 %if %{with sqlite}
1161 %files -n QtSql-sqlite
1162 %defattr(644,root,root,755)
1163 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1164 %endif
1165
1166 %if %{with sqlite3}
1167 %files -n QtSql-sqlite3
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlite*.so
1170 %exclude %{_libdir}/qt4/plugins/sqldrivers/libqsqlite2*.so
1171 %endif
1172
1173 %if %{with ibase}
1174 %files -n QtSql-ibase
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlibase*.so
1177 %endif
1178
1179 %if %{with odbc}
1180 %files -n QtSql-odbc
1181 %defattr(644,root,root,755)
1182 %attr(755,root,root) %{_libdir}/qt4/plugins/sqldrivers/libqsqlodbc*.so
1183 %endif
1184
1185 %files -n QtSvg
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_libdir}/libQtSvg*.so.*
1188
1189 %files -n QtTest
1190 %defattr(644,root,root,755)
1191 %attr(755,root,root) %{_libdir}/libQtTest*.so.*
1192
1193 %files -n QtXml
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_libdir}/libQtXml*.so.*
1196
1197 %files -n Qt3Support
1198 %defattr(644,root,root,755)
1199 %attr(755,root,root) %{_bindir}/uic3
1200 %attr(755,root,root) %{_libdir}/libQt3Support*.so.*
1201
1202 %files assistant
1203 %defattr(644,root,root,755)
1204 %attr(755,root,root) %{_bindir}/assistant
1205 %attr(755,root,root) %{_libdir}/libQtAssistantClient*.so*
1206 #%lang(de) %{_datadir}/locale/de/LC_MESSAGES/assistant.qm
1207 #%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/assistant.qm
1208 %{_desktopdir}/assistant.desktop
1209 %{_pixmapsdir}/assistant.png
1210
1211 %files build
1212 %defattr(644,root,root,755)
1213 %attr(755,root,root) %{_bindir}/rcc
1214 %attr(755,root,root) %{_bindir}/moc
1215 %attr(755,root,root) %{_bindir}/qt3to4
1216 %attr(755,root,root) %{_bindir}/uic
1217 %{_datadir}/qt4/q3porting.xml
1218
1219 %if %{with designer}
1220 %files designer-libs
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_libdir}/libQtDesigner*.so.*.*.*
1223 %dir %{_libdir}/qt4/plugins/designer
1224 %attr(755,root,root) %{_libdir}/qt4/plugins/designer/*.so
1225
1226 %files designer
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_bindir}/designer
1229 #%dir %{_libdir}/%{name}/plugins-?t/designer
1230 #%lang(de) %{_datadir}/locale/de/LC_MESSAGES/designer.qm
1231 #%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/designer.qm
1232 %{_desktopdir}/designer.desktop
1233 %{_pixmapsdir}/designer.png
1234 %endif
1235
1236 %files linguist
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) %{_bindir}/linguist
1239 %attr(755,root,root) %{_bindir}/findtr
1240 %attr(755,root,root) %{_bindir}/lrelease
1241 %attr(755,root,root) %{_bindir}/lupdate
1242 %attr(755,root,root) %{_bindir}/qm2ts
1243 #%lang(de) %{_datadir}/locale/de/LC_MESSAGES/linguist.qm
1244 #%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/linguist.qm
1245 #%{_mandir}/man1/qm2ts.1*
1246 #%{_mandir}/man1/lupdate*.1*
1247 #%{_mandir}/man1/lrelease*.1*
1248 %{_datadir}/qt4/phrasebooks
1249 %{_desktopdir}/linguist.desktop
1250 %{_pixmapsdir}/linguist.png
1251
1252 %files -n qmake
1253 %defattr(644,root,root,755)
1254 %attr(755,root,root) %{_bindir}/qmake
1255 %{_datadir}/qt4/mkspecs
1256
1257 %files -n qtconfig
1258 %defattr(644,root,root,755)
1259 %attr(755,root,root) %{_bindir}/qtconfig
1260 %{_desktopdir}/qtconfig.desktop
1261 %{_pixmapsdir}/qtconfig.png
1262
1263 %files -n qvfb
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_bindir}/qvfb
1266
1267 %files doc
1268 %defattr(644,root,root,755)
1269 %{_docdir}/%{name}-doc
1270
1271 %files -n QtCore-devel -f QtCore-devel.files
1272 %files -n QtDesigner-devel -f QtDesigner-devel.files
1273 %files -n QtGui-devel -f QtGui-devel.files
1274 %files -n QtNetwork-devel -f QtNetwork-devel.files
1275 %files -n QtOpenGL-devel -f QtOpenGL-devel.files
1276 %files -n QtSql-devel -f QtSql-devel.files
1277 %files -n QtSvg-devel -f QtSvg-devel.files
1278 %files -n QtTest-devel -f QtTest-devel.files
1279 %files -n QtXml-devel -f QtXml-devel.files
1280 %files -n Qt3Support-devel -f Qt3Support-devel.files
1281
1282 %if %{with static_libs}
1283 %files -n QtCore-static
1284 %defattr(644,root,root,755)
1285 %{_libdir}/libQtCore*.a
1286
1287 %files -n QtGui-static
1288 %defattr(644,root,root,755)
1289 %{_libdir}/libQtGui*.a
1290
1291 %files -n QtNetwork-static
1292 %defattr(644,root,root,755)
1293 %{_libdir}/libQtNetwork*.a
1294
1295 %files -n QtOpenGL-static
1296 %defattr(644,root,root,755)
1297 %{_libdir}/libQtOpenGL*.a
1298
1299 %files -n QtSql-static
1300 %defattr(644,root,root,755)
1301 %{_libdir}/libQtSql*.a
1302
1303 %files -n QtSvg-static
1304 %defattr(644,root,root,755)
1305 %{_libdir}/libQtSvg*.a
1306
1307 %files -n QtXml-static
1308 %defattr(644,root,root,755)
1309 %{_libdir}/libQtXml*.a
1310
1311 %files -n Qt3Support-static
1312 %defattr(644,root,root,755)
1313 %{_libdir}/libQt3Support*.a
1314
1315 %endif
1316
1317 %files demos -f demos.files
1318 %files examples -f examples.files
This page took 0.16888 seconds and 4 git commands to generate.