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