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