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