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