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