]>
Commit | Line | Data |
---|---|---|
1 | # TODO: --enable-pvr2d when ready [requires PowerVR SDK?] | |
2 | # | |
3 | # Conditional build: | |
4 | %bcond_with multi # build Multi-application core (requires working /dev/fusion*) | |
5 | %bcond_with one # Linux One IPC library | |
6 | %bcond_without static_libs # don't build static libraries | |
7 | %bcond_with sh772x # SH7722/SH7723 (SH-Mobile) graphics driver | |
8 | %bcond_with avifile # AviFile video provider [not updated for DirectFB 1.7.0] | |
9 | %bcond_without ffmpeg # FFmpeg image, music and video providers | |
10 | %bcond_with flash # FLASH video provider [not updated for DirectFB 1.7.0] | |
11 | %bcond_without gstreamer # GStreamer video provider | |
12 | %bcond_without mpg # libmpeg3 MPEG video provider | |
13 | %bcond_without quicktime # QuickTime (openquicktime) video provider | |
14 | %bcond_with swfdec # swfdec FLASH video provider [not ready for swfdec >= 0.6] | |
15 | %bcond_without xine # Xine video provider | |
16 | %bcond_without xine_vdpau # Xine/VDPAU video provider | |
17 | # | |
18 | %ifarch sh4 | |
19 | %define with_sh772x 1 | |
20 | %endif | |
21 | %if %{without xine} | |
22 | %undefine with_xine_vdpau | |
23 | %endif | |
24 | Summary: DirectFB - Hardware graphics acceleration | |
25 | Summary(pl.UTF-8): DirectFB - Wspomaganie grafiki | |
26 | Name: DirectFB | |
27 | Version: 1.7.6 | |
28 | Release: 10 | |
29 | Epoch: 1 | |
30 | License: LGPL v2+ | |
31 | Group: Libraries | |
32 | Source0: http://www.directfb.org/downloads/Core/DirectFB-1.7/%{name}-%{version}.tar.gz | |
33 | # Source0-md5: 8a7bb06b3f58599b230b4cf314004512 | |
34 | Source1: http://www.directfb.org/downloads/Extras/DFBTutorials-0.5.0.tar.gz | |
35 | # Source1-md5: 13e443a64bddd68835b574045d9025e9 | |
36 | Patch0: %{name}-am.patch | |
37 | Patch1: %{name}-pmake.patch | |
38 | Patch2: %{name}-fix.patch | |
39 | Patch3: %{name}-llh-ppc.patch | |
40 | Patch4: %{name}-zlib.patch | |
41 | Patch5: %{name}-update.patch | |
42 | Patch6: %{name}-gstreamer.patch | |
43 | Patch7: %{name}-sh.patch | |
44 | Patch8: %{name}-missing.patch | |
45 | Patch9: %{name}-ffmpeg.patch | |
46 | Patch10: %{name}-libmpeg3.patch | |
47 | Patch11: %{name}-format.patch | |
48 | Patch12: x32-asm.patch | |
49 | Patch13: ffmpeg3.patch | |
50 | URL: http://www.directfb.org/ | |
51 | BuildRequires: Mesa-libEGL-devel | |
52 | BuildRequires: Mesa-libGLES-devel | |
53 | BuildRequires: Mesa-libgbm-devel | |
54 | BuildRequires: OpenGL-devel | |
55 | BuildRequires: OpenGL-GLX-devel | |
56 | BuildRequires: SDL-devel | |
57 | BuildRequires: alsa-lib-devel >= 0.9 | |
58 | BuildRequires: autoconf >= 2.52 | |
59 | BuildRequires: automake | |
60 | %{?with_avifile:BuildRequires: avifile-devel} | |
61 | %{?with_ffmpeg:BuildRequires: ffmpeg-devel} | |
62 | BuildRequires: freetype-devel >= 2.0.2 | |
63 | %{?with_flash:BuildRequires: gplflash-devel >= 0.4.10-5} | |
64 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-base-devel >= 1.0} | |
65 | BuildRequires: imlib2-devel | |
66 | BuildRequires: jasper-devel | |
67 | BuildRequires: libcddb-devel >= 1.0.0 | |
68 | BuildRequires: libdrm-devel | |
69 | BuildRequires: libjpeg-devel >= 6b | |
70 | BuildRequires: libmad-devel | |
71 | BuildRequires: libmng-devel | |
72 | %{?with_mpg:BuildRequires: libmpeg3-devel} | |
73 | BuildRequires: libpng-devel >= 2:1.4.0 | |
74 | BuildRequires: libstdc++-devel | |
75 | BuildRequires: libsvg-cairo-devel >= 0.1.6 | |
76 | BuildRequires: libtiff-devel >= 4 | |
77 | BuildRequires: libtimidity-devel >= 0.1.0 | |
78 | BuildRequires: libtool | |
79 | BuildRequires: libvdpau-devel >= 0.3 | |
80 | BuildRequires: libvncserver-devel | |
81 | BuildRequires: libvorbis-devel >= 1:1.0.0 | |
82 | BuildRequires: libwebp-devel >= 0.2.1 | |
83 | %{?with_multi:BuildRequires: linux-fusion-devel >= 9.0.1} | |
84 | %{?with_one:BuildRequires: linux-one-devel >= 9.0.1} | |
85 | %{?with_quicktime:BuildRequires: openquicktime-devel} | |
86 | BuildRequires: pkgconfig | |
87 | BuildRequires: sed >= 4.0 | |
88 | %{?with_swfdec:BuildRequires: swfdec-devel >= 0.5.0} | |
89 | %{?with_swfdec:BuildRequires: swfdec-devel < 0.6.0} | |
90 | BuildRequires: sysfsutils-devel >= 1.3.0-3 | |
91 | BuildRequires: tar >= 1:1.22 | |
92 | BuildRequires: tslib-devel >= 1.0 | |
93 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.2.3} | |
94 | %{?with_xine_vdpau:BuildRequires: /usr/include/xine/video_out_vdpau.h} | |
95 | BuildRequires: xorg-lib-libX11-devel | |
96 | BuildRequires: xorg-lib-libXext-devel | |
97 | BuildRequires: xorg-proto-xproto-devel | |
98 | BuildRequires: xz | |
99 | BuildRequires: zlib-devel >= 1.1.3 | |
100 | #BuildRequires: pkgconfig(linotype) -- font provider??? | |
101 | %if %{with sh772x} | |
102 | BuildRequires: libshbeu-devel >= 1.0.2 | |
103 | BuildRequires: libshjpeg-devel >= 1.3.3 | |
104 | BuildRequires: libuiomux-devel >= 1.5.0 | |
105 | %endif | |
106 | %{?with_multi:Provides: DirectFB(multi)} | |
107 | Obsoletes: DirectFB-image-bmp | |
108 | Obsoletes: DirectFB-image-mpeg2 | |
109 | Obsoletes: DirectFB-image-pnm | |
110 | %ifnarch arm | |
111 | # ARM-specific | |
112 | Obsoletes: DirectFB-input-ucb1x00 | |
113 | %endif | |
114 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
115 | ||
116 | %define dfbdir %{_libdir}/directfb-1.7-6 | |
117 | ||
118 | %define specflags -fno-strict-aliasing | |
119 | ||
120 | %ifarch %{ix86} | |
121 | # gcc running out of registers with -O0 in generic_mmx.h | |
122 | %define debugcflags -O1 -g | |
123 | %endif | |
124 | ||
125 | %description | |
126 | DirectFB hardware graphics acceleration - libraries. | |
127 | ||
128 | %description -l pl.UTF-8 | |
129 | Wspomaganie grafiki DirectFB - biblioteki. | |
130 | ||
131 | %package devel | |
132 | Summary: DirectFB - development package | |
133 | Summary(pl.UTF-8): DirectFB - pliki nagłówkowe | |
134 | Group: Development/Libraries | |
135 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
136 | %{?with_one:Requires: linux-one-devel >= 1.7.0} | |
137 | Requires: zlib-devel >= 1.1.3 | |
138 | ||
139 | %description devel | |
140 | DirectFB header files. | |
141 | ||
142 | %description devel -l pl.UTF-8 | |
143 | Pliki nagłówkowe dla DirectFB. | |
144 | ||
145 | %package static | |
146 | Summary: DirectFB static libraries | |
147 | Summary(pl.UTF-8): Statyczne biblioteki DirectFB | |
148 | Group: Development/Libraries | |
149 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
150 | ||
151 | %description static | |
152 | DirectFB static libraries. | |
153 | ||
154 | %description static -l pl.UTF-8 | |
155 | Statyczne biblioteki DirectFB. | |
156 | ||
157 | %package doc | |
158 | Summary: DirectFB - documentation | |
159 | Summary(pl.UTF-8): DirectFB - dokumentacja | |
160 | Group: Documentation | |
161 | ||
162 | %description doc | |
163 | DirectFB documentation and tutorials. | |
164 | ||
165 | %description doc -l pl.UTF-8 | |
166 | Dokumentacja dla systemu DirectFB wraz z wprowadzeniem. | |
167 | ||
168 | %package core-drmkms | |
169 | Summary: DRM/KMS core system for DirectFB | |
170 | Summary(pl.UTF-8): System DRM/KMS dla DirectFB | |
171 | Group: Libraries | |
172 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
173 | ||
174 | %description core-drmkms | |
175 | This package contains DRM/KMS core system module for DirectFB. | |
176 | ||
177 | %description core-drmkms -l pl.UTF-8 | |
178 | Ten pakiet zawiera moduł systemu DRM/KMS dla DirectFB. | |
179 | ||
180 | %package core-mesa | |
181 | Summary: Mesa/GLESv2 core system for DirectFB | |
182 | Summary(pl.UTF-8): System Mesa/GLESv2 dla DirectFB | |
183 | Group: Libraries | |
184 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
185 | ||
186 | %description core-mesa | |
187 | This package contains Mesa/GLESv2 core system module for DirectFB. | |
188 | ||
189 | %description core-mesa -l pl.UTF-8 | |
190 | Ten pakiet zawiera moduł systemu Mesa/GLESv2 dla DirectFB. | |
191 | ||
192 | %package core-sdl | |
193 | Summary: SDL core system for DirectFB | |
194 | Summary(pl.UTF-8): System SDL dla DirectFB | |
195 | Group: Libraries | |
196 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
197 | ||
198 | %description core-sdl | |
199 | This package contains SDL core system module for DirectFB. | |
200 | ||
201 | %description core-sdl -l pl.UTF-8 | |
202 | Ten pakiet zawiera moduł systemu SDL dla DirectFB. | |
203 | ||
204 | %package core-vdpau | |
205 | Summary: X11/VDPAU core system for DirectFB | |
206 | Summary(pl.UTF-8): System X11/VDPAU dla DirectFB | |
207 | Group: Libraries | |
208 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
209 | ||
210 | %description core-vdpau | |
211 | This package contains X11/VDPAU core system module for DirectFB. | |
212 | ||
213 | %description core-vdpau -l pl.UTF-8 | |
214 | Ten pakiet zawiera moduł systemu X11/VDPAU dla DirectFB. | |
215 | ||
216 | %package core-vnc | |
217 | Summary: VNC core system for DirectFB | |
218 | Summary(pl.UTF-8): System VNC dla DirectFB | |
219 | Group: Libraries | |
220 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
221 | ||
222 | %description core-vnc | |
223 | This package contains VNC core system module for DirectFB. | |
224 | ||
225 | %description core-vnc -l pl.UTF-8 | |
226 | Ten pakiet zawiera moduł systemu VNC dla DirectFB. | |
227 | ||
228 | %package core-x11 | |
229 | Summary: X11 core system for DirectFB | |
230 | Summary(pl.UTF-8): System X11 dla DirectFB | |
231 | Group: Libraries | |
232 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
233 | ||
234 | %description core-x11 | |
235 | This package contains X11 core system module for DirectFB. | |
236 | ||
237 | %description core-x11 -l pl.UTF-8 | |
238 | Ten pakiet zawiera moduł systemu X11 dla DirectFB. | |
239 | ||
240 | %package font-ft2 | |
241 | Summary: FreeType2 font provider for DirectFB | |
242 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca fonty poprzez FreeType2 | |
243 | Group: Libraries | |
244 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
245 | ||
246 | %description font-ft2 | |
247 | This package contains FreeType2 font provider for DirectFB. | |
248 | ||
249 | %description font-ft2 -l pl.UTF-8 | |
250 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą fonty poprzez | |
251 | bibliotekę FreeType2. | |
252 | ||
253 | %package gfx-sh772x | |
254 | Summary: SH7722/SH7723 graphics driver for DirectFB | |
255 | Summary(pl.UTF-8): Sterownik graficzny SH7722/7723 dla DirectFB | |
256 | Group: Libraries | |
257 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
258 | Requires: libshbeu >= 1.0.2 | |
259 | Requires: libshjpeg >= 1.3.3 | |
260 | Requires: libuiomux >= 1.5.0 | |
261 | ||
262 | %description gfx-sh772x | |
263 | SH7722/SH7723 graphics (SH-Mobile devices) driver for DirectFB. | |
264 | ||
265 | %description gfx-sh772x -l pl.UTF-8 | |
266 | Sterownik graficzny SH7722/7723 (SH-Mobile) dla DirectFB. | |
267 | ||
268 | %package input-dynapro | |
269 | Summary: Dynapro touchscreen input driver for DirectFB | |
270 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Dynapro dla DirectFB | |
271 | Group: Libraries | |
272 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
273 | ||
274 | %description input-dynapro | |
275 | Dynapro touchscreen input driver for DirectFB. | |
276 | ||
277 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
278 | unless you don't have Dynapro device connected to this port. It can | |
279 | mess with other devices connected to this port (mouse, modem etc.). | |
280 | ||
281 | %description input-dynapro -l pl.UTF-8 | |
282 | Sterownik wejściowy do touchscreenów Dynapro dla DirectFB. | |
283 | ||
284 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
285 | nie należy go instalować, jeśli urządzenie Dynapro nie jest podłączone | |
286 | do tego portu. Sterownik może utrudnić współpracę z innymi | |
287 | urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
288 | ||
289 | %package input-elo | |
290 | Summary: ELO touchscreen input driver for DirectFB | |
291 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów ELO dla DirectFB | |
292 | Group: Libraries | |
293 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
294 | ||
295 | %description input-elo | |
296 | ELO touchscreen input driver for DirectFB. | |
297 | ||
298 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
299 | unless you have ELO device connected to this port. It can mess with | |
300 | other devices connected to this port (mouse, modem etc.). | |
301 | ||
302 | %description input-elo -l pl.UTF-8 | |
303 | Sterownik wejściowy do touchscreenów ELO dla DirectFB. | |
304 | ||
305 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
306 | nie należy go instalować, jeśli urządzenie ELO nie jest podłączone do | |
307 | tego portu. Sterownik może utrudnić współpracę z innymi urządzeniami | |
308 | podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
309 | ||
310 | %package input-gunze | |
311 | Summary: Gunze touchscreen input driver for DirectFB | |
312 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Gunze dla DirectFB | |
313 | Group: Libraries | |
314 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
315 | ||
316 | %description input-gunze | |
317 | Gunze touchscreen input driver for DirectFB. | |
318 | ||
319 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
320 | unless you don't have Gunze device connected to this port. It can mess | |
321 | with other devices connected to this port (mouse, modem etc.). | |
322 | ||
323 | %description input-gunze -l pl.UTF-8 | |
324 | Sterownik wejściowy do touchscreenów Gunze dla DirectFB. | |
325 | ||
326 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
327 | nie należy go instalować, jeśli urządzenie Gunze nie jest podłączone | |
328 | do tego portu. Sterownik może utrudnić współpracę z innymi | |
329 | urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
330 | ||
331 | %package input-mutouch | |
332 | Summary: MuTouch touchscreen input driver for DirectFB | |
333 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów MuTouch dla DirectFB | |
334 | Group: Libraries | |
335 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
336 | ||
337 | %description input-mutouch | |
338 | MuTouch touchscreen input driver for DirectFB. | |
339 | ||
340 | NOTE: it needs "mut-device" setting in directfbrc in order to work. | |
341 | ||
342 | %description input-mutouch -l pl.UTF-8 | |
343 | Sterownik wejściowy do touchscreenów MuTouch dla DirectFB. | |
344 | ||
345 | UWAGA: do działania potrzebuje ustawienia "mut-device" w directfbrc. | |
346 | ||
347 | %package input-tslib | |
348 | Summary: tslib-based touchscreen input driver for DirectFB | |
349 | Summary(pl.UTF-8): Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB | |
350 | Group: Libraries | |
351 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
352 | Requires: tslib >= 1.0 | |
353 | ||
354 | %description input-tslib | |
355 | tslib-based touchscreen input driver for DirectFB | |
356 | ||
357 | %description input-tslib -l pl.UTF-8 | |
358 | Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB. | |
359 | ||
360 | %package input-ucb1x00 | |
361 | Summary: UCB1x00 touchscreen input driver for DirectFB | |
362 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB | |
363 | Group: Libraries | |
364 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
365 | ||
366 | %description input-ucb1x00 | |
367 | UCB1x00 touchscreen input driver for DirectFB. | |
368 | ||
369 | %description input-ucb1x00 -l pl.UTF-8 | |
370 | Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB. | |
371 | ||
372 | %package input-wm97xx | |
373 | Summary: WM97xx touchscreen input driver for DirectFB | |
374 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów WM97xx dla DirectFB | |
375 | Group: Libraries | |
376 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
377 | ||
378 | %description input-wm97xx | |
379 | WM97xx touchscreen input driver for DirectFB. | |
380 | ||
381 | %description input-wm97xx -l pl.UTF-8 | |
382 | Sterownik wejściowy do touchscreenów WM97xx dla DirectFB. | |
383 | ||
384 | %package image-ffmpeg | |
385 | Summary: FFmpeg image provider for DirectFB | |
386 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę FFmpeg | |
387 | Group: Libraries | |
388 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
389 | ||
390 | %description image-ffmpeg | |
391 | DirectFB image provider using FFmpeg codecs. | |
392 | ||
393 | %description image-ffmpeg -l pl.UTF-8 | |
394 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą grafikę przy | |
395 | użyciu kodeków FFmpeg. | |
396 | ||
397 | %package image-imlib2 | |
398 | Summary: Imlib2 image provider for DirectFB | |
399 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę Imlib2 | |
400 | Group: Libraries | |
401 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
402 | ||
403 | %description image-imlib2 | |
404 | This package contains Imlib2 image provider for DirectFB. | |
405 | ||
406 | %description image-imlib2 -l pl.UTF-8 | |
407 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę Imlib2. | |
408 | ||
409 | %package image-jpeg | |
410 | Summary: JPEG image provider for DirectFB | |
411 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG | |
412 | Group: Libraries | |
413 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
414 | ||
415 | %description image-jpeg | |
416 | This package contains JPEG image provider for DirectFB. | |
417 | ||
418 | %description image-jpeg -l pl.UTF-8 | |
419 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę JPEG. | |
420 | ||
421 | %package image-jpeg2000 | |
422 | Summary: JPEG2000 image provider for DirectFB | |
423 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG2000 | |
424 | Group: Libraries | |
425 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
426 | ||
427 | %description image-jpeg2000 | |
428 | This package contains JPEG2000 image provider for DirectFB (based on | |
429 | jasper library). | |
430 | ||
431 | %description image-jpeg2000 -l pl.UTF-8 | |
432 | Ten pakiet zawiera wtyczkę dla DirectFB, opartą na bibliotece jasper, | |
433 | dostarczającą grafikę JPEG2000. | |
434 | ||
435 | %package image-png | |
436 | Summary: PNG image provider for DirectFB | |
437 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę PNG | |
438 | Group: Libraries | |
439 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
440 | Requires: libpng >= 2:1.4.0 | |
441 | ||
442 | %description image-png | |
443 | This package contains PNG image provider for DirectFB. | |
444 | ||
445 | %description image-png -l pl.UTF-8 | |
446 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę PNG. | |
447 | ||
448 | %package image-svg | |
449 | Summary: SVG image provider for DirectFB | |
450 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę SVG | |
451 | Group: Libraries | |
452 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
453 | Requires: libsvg-cairo >= 0.1.6 | |
454 | ||
455 | %description image-svg | |
456 | This package contains SVG image provider for DirectFB, based on Cairo | |
457 | library. | |
458 | ||
459 | %description image-svg -l pl.UTF-8 | |
460 | Ten pakiet zawiera wtyczkę dla DirectFB, opartą na bibliotece Cairo, | |
461 | dostarczającą grafikę SVG. | |
462 | ||
463 | %package image-tiff | |
464 | Summary: TIFF image provider for DirectFB | |
465 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę TIFF | |
466 | Group: Libraries | |
467 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
468 | Requires: libtiff >= 4 | |
469 | ||
470 | %description image-tiff | |
471 | This package contains TIFF image provider for DirectFB. | |
472 | ||
473 | %description image-tiff -l pl.UTF-8 | |
474 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę TIFF. | |
475 | ||
476 | %package image-webp | |
477 | Summary: WebP image provider for DirectFB | |
478 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę WebP | |
479 | Group: Libraries | |
480 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
481 | Requires: libwebp >= 0.2.1 | |
482 | ||
483 | %description image-webp | |
484 | This package contains WebP image provider for DirectFB. | |
485 | ||
486 | %description image-webp -l pl.UTF-8 | |
487 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę WebP. | |
488 | ||
489 | %package video-avifile | |
490 | Summary: Avifile video provider for DirectFB | |
491 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz Avifile | |
492 | Group: Libraries | |
493 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
494 | ||
495 | %description video-avifile | |
496 | DirectFB video provider using Avifile codecs. | |
497 | ||
498 | %description video-avifile -l pl.UTF-8 | |
499 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz przy | |
500 | użyciu kodeków Avifile. | |
501 | ||
502 | %package video-ffmpeg | |
503 | Summary: FFmpeg video provider for DirectFB | |
504 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz FFmpeg | |
505 | Group: Libraries | |
506 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
507 | ||
508 | %description video-ffmpeg | |
509 | DirectFB video provider using FFmpeg codecs. | |
510 | ||
511 | %description video-ffmpeg -l pl.UTF-8 | |
512 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz przy | |
513 | użyciu kodeków FFmpeg. | |
514 | ||
515 | %package video-gstreamer | |
516 | Summary: GStreamer video provider for DirectFB | |
517 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz z GStreamera | |
518 | Group: Libraries | |
519 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
520 | ||
521 | %description video-gstreamer | |
522 | This package contains GStreamer video provider for DirectFB. | |
523 | ||
524 | %description video-gstreamer -l pl.UTF-8 | |
525 | Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą obraz z | |
526 | GStreamera. | |
527 | ||
528 | %package video-libmpeg3 | |
529 | Summary: MPEG video provider for DirectFB | |
530 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz MPEG | |
531 | Group: Libraries | |
532 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
533 | ||
534 | %description video-libmpeg3 | |
535 | This package contains MPEG (MPEG-1 and MPEG-2) video provider for | |
536 | DirectFB. It uses libmpeg3 library. | |
537 | ||
538 | %description video-libmpeg3 -l pl.UTF-8 | |
539 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz MPEG | |
540 | (MPEG-1 i MPEG-2) przy użyciu biblioteki libmpeg3. | |
541 | ||
542 | %package video-mng | |
543 | Summary: MNG video provider for DirectFB | |
544 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca animacje MNG | |
545 | Group: Libraries | |
546 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
547 | ||
548 | %description video-mng | |
549 | This package contains MNG video provider for DirectFB. | |
550 | ||
551 | %description video-mng -l pl.UTF-8 | |
552 | Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą animacje MNG. | |
553 | ||
554 | %package video-openquicktime | |
555 | Summary: OpenQuicktime video provider for DirectFB | |
556 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz OpenQuicktime | |
557 | Group: Libraries | |
558 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
559 | ||
560 | %description video-openquicktime | |
561 | This package contains OpenQuicktime video provider for DirectFB. It | |
562 | supports all RGB and YUV formats and does audio playback. | |
563 | ||
564 | %description video-openquicktime -l pl.UTF-8 | |
565 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz | |
566 | OpenQuicktime. Obsługuje wszystkie formaty RGB i YUV oraz odtwarza | |
567 | dźwięk. | |
568 | ||
569 | %package video-swf | |
570 | Summary: ShockWave Flash video provider for DirectFB | |
571 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz ShockWave Flash | |
572 | Group: Libraries | |
573 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
574 | ||
575 | %description video-swf | |
576 | This package contains SWF (ShockWave Flash) video provider for | |
577 | DirectFB. It uses flash library. | |
578 | ||
579 | %description video-swf -l pl.UTF-8 | |
580 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF | |
581 | (ShockWave Flash) przy użyciu biblioteki flash. | |
582 | ||
583 | %package video-swfdec | |
584 | Summary: ShockWave Flash video provider for DirectFB | |
585 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz ShockWave Flash | |
586 | Group: Libraries | |
587 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
588 | ||
589 | %description video-swfdec | |
590 | This package contains SWF (ShockWave Flash) video provider for | |
591 | DirectFB. It uses swfdec library. | |
592 | ||
593 | %description video-swfdec -l pl.UTF-8 | |
594 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF | |
595 | (ShockWave Flash) przy użyciu biblioteki swfdec. | |
596 | ||
597 | %package video-xine | |
598 | Summary: XINE video provider for DirectFB | |
599 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz XINE | |
600 | Group: Libraries | |
601 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
602 | %{?with_xine:%requires_eq xine-lib} | |
603 | ||
604 | %description video-xine | |
605 | This package contains video provider for DirectFB which uses XINE | |
606 | library and plugins. It handles a wide range of video formats. | |
607 | ||
608 | %description video-xine -l pl.UTF-8 | |
609 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz przy | |
610 | użyciu biblioteki i wtyczek XINE. Obsługuje szeroki zakres formatów | |
611 | obrazu. | |
612 | ||
613 | %package -n xine-output-video-dfb | |
614 | Summary: DirectFB video output plugin for XINE | |
615 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu DirectFB dla XINE | |
616 | Group: Libraries | |
617 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
618 | %{?with_xine:%requires_eq xine-lib} | |
619 | ||
620 | %description -n xine-output-video-dfb | |
621 | DirectFB video output plugin for XINE. | |
622 | ||
623 | %description -n xine-output-video-dfb -l pl.UTF-8 | |
624 | Wtyczka wyjścia obrazu DirectFB dla XINE. | |
625 | ||
626 | %package c++ | |
627 | Summary: ++DFB - advanced C++ binding for DirectFB | |
628 | Summary(pl.UTF-8): ++DFB - zaawansowane wiązania C++ do DirectFB | |
629 | Group: Libraries | |
630 | URL: http://www.directfb.org/index.php?path=Projects%2F%2B%2BDFB | |
631 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
632 | # (probably) can't Obsolete ++DFB | |
633 | Obsoletes: __DFB | |
634 | ||
635 | %description c++ | |
636 | ++DFB - advanced C++ binding for DirectFB. | |
637 | ||
638 | %description c++ -l pl.UTF-8 | |
639 | ++DFB - zaawansowane wiązania C++ do DirectFB. | |
640 | ||
641 | %package c++-devel | |
642 | Summary: Header files for ++DFB | |
643 | Summary(pl.UTF-8): Pliki nagłówkowe ++DFB | |
644 | Group: Development/Libraries | |
645 | URL: http://www.directfb.org/index.php?path=Projects%2F%2B%2BDFB | |
646 | Requires: %{name}-c++ = %{epoch}:%{version}-%{release} | |
647 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
648 | Requires: libstdc++-devel | |
649 | Obsoletes: __DFB-devel | |
650 | ||
651 | %description c++-devel | |
652 | Header files for ++DFB. | |
653 | ||
654 | %description c++-devel -l pl.UTF-8 | |
655 | Pliki nagłówkowe ++DFB. | |
656 | ||
657 | %package c++-static | |
658 | Summary: Static ++DFB library | |
659 | Summary(pl.UTF-8): Statyczna biblioteka ++DFB | |
660 | Group: Development/Libraries | |
661 | URL: http://www.directfb.org/index.php?path=Projects%2F%2B%2BDFB | |
662 | Requires: %{name}-c++-devel = %{epoch}:%{version}-%{release} | |
663 | Obsoletes: __DFB-static | |
664 | ||
665 | %description c++-static | |
666 | Static ++DFB library. | |
667 | ||
668 | %description c++-static -l pl.UTF-8 | |
669 | Statyczna biblioteka ++DFB. | |
670 | ||
671 | %package -n DiVine | |
672 | Summary: DirectFB Virtual Input extension | |
673 | Summary(pl.UTF-8): Rozszerzenie DirectFB o wirtualne wejście | |
674 | Group: Libraries | |
675 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
676 | ||
677 | %description -n DiVine | |
678 | DiVine consists of: | |
679 | - an input driver that reads raw input events from a pipe and | |
680 | dispatches them via a virtual input device. | |
681 | - a library that handles the connection to the input driver including | |
682 | helper functions for generating events. | |
683 | - a tool called "spooky" to generate input events using a simple | |
684 | script featuring button or motion events, linear or circular | |
685 | automated motion and delays. | |
686 | ||
687 | %description -n DiVine -l pl.UTF-8 | |
688 | DiVine składa się z: | |
689 | - sterownika wejścia czytającego surowe zdarzenia wejściowe z potoku | |
690 | i przekazującego je poprzez wirtualne urządzenie wejściowe, | |
691 | - biblioteki obsługującej połączenie ze sterownikiem wejściowym oraz | |
692 | zawierającej funkcje pomocnicze do generowania zdarzeń, | |
693 | - narzędzia "spooky" generującego zdarzenia wejściowe przy użyciu | |
694 | prostego skryptu oferującego zdarzenia związane z przyciskami i | |
695 | ruchem, automatycznym ruchem liniowym lub cyklicznym i opóźnieniami. | |
696 | ||
697 | %package -n DiVine-devel | |
698 | Summary: Header files for divine library | |
699 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki divine | |
700 | Group: Development/Libraries | |
701 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
702 | Requires: DiVine = %{epoch}:%{version}-%{release} | |
703 | ||
704 | %description -n DiVine-devel | |
705 | Header files for divine library. | |
706 | ||
707 | %description -n DiVine-devel -l pl.UTF-8 | |
708 | Pliki nagłówkowe biblioteki divine. | |
709 | ||
710 | %package -n DiVine-static | |
711 | Summary: Static divine library | |
712 | Summary(pl.UTF-8): Statyczna biblioteka divine | |
713 | Group: Development/Libraries | |
714 | Requires: DiVine-devel = %{epoch}:%{version}-%{release} | |
715 | ||
716 | %description -n DiVine-static | |
717 | Static divine library. | |
718 | ||
719 | %description -n DiVine-static -l pl.UTF-8 | |
720 | Statyczna biblioteka divine. | |
721 | ||
722 | %package -n FusionDale | |
723 | Summary: FusionDale - applied Fusion, collection of services for applications | |
724 | Summary(pl.UTF-8): FusionDale, czyli Fusion stosowany - zbiór usług dla aplikacji | |
725 | Group: Libraries | |
726 | URL: http://www.directfb.org/index.php?path=Platform/FusionDale | |
727 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
728 | ||
729 | %description -n FusionDale | |
730 | FusionDale is applied Fusion and will be a collection of different | |
731 | services for use by applications and other libraries (like Coma | |
732 | component manager or messaging API). | |
733 | ||
734 | %description -n FusionDale -l pl.UTF-8 | |
735 | FusionDale to Fusion stosowany, biblioteka mająca być zbiorem różnych | |
736 | usług przeznaczonych do wykorzystywania przez aplikacje i inne | |
737 | biblioteki (takich jak zarządca komponentów Coma czy API do | |
738 | komunikacji). | |
739 | ||
740 | %package -n FusionDale-devel | |
741 | Summary: Header files for the FusionDale | |
742 | Summary(pl.UTF-8): Pliki nagłówkowe dla FusionDale | |
743 | Group: Development/Libraries | |
744 | URL: http://www.directfb.org/index.php?path=Platform/FusionDale | |
745 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
746 | Requires: FusionDale = %{epoch}:%{version}-%{release} | |
747 | ||
748 | %description -n FusionDale-devel | |
749 | Header files required for development using FusionDale. | |
750 | ||
751 | %description -n FusionDale-devel -l pl.UTF-8 | |
752 | Pliki nagłówkowe wymagane do tworzenia programów z użyciem | |
753 | FusionDale. | |
754 | ||
755 | %package -n FusionDale-static | |
756 | Summary: Static FusionDale library | |
757 | Summary(pl.UTF-8): Statyczna biblioteka FusionDale | |
758 | Group: Development/Libraries | |
759 | URL: http://www.directfb.org/index.php?path=Platform/FusionDale | |
760 | Requires: FusionDale-devel = %{epoch}:%{version}-%{release} | |
761 | ||
762 | %description -n FusionDale-static | |
763 | Static FusionDale library. | |
764 | ||
765 | %description -n FusionDale-static -l pl.UTF-8 | |
766 | Statyczna biblioteka FusionDale. | |
767 | ||
768 | %package -n FusionSound | |
769 | Summary: Audio sub system for multiple applications | |
770 | Summary(pl.UTF-8): Dźwiękowy podsystem dla złożonych aplikacji | |
771 | Group: Libraries | |
772 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
773 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
774 | ||
775 | %description -n FusionSound | |
776 | FusionSound supports multiple applications using Fusion IPC. It | |
777 | provides streams, static sound buffers and control over any number of | |
778 | concurrent playbacks. Sample data is always stored in shared memory, | |
779 | starting a playback simply adds an entry to the playlist of the mixer | |
780 | thread in the master application. | |
781 | ||
782 | %description -n FusionSound -l pl.UTF-8 | |
783 | FusionSound wspiera złożone aplikacje używające Fusion IPC. Dostarcza | |
784 | strumieni, statyczny bufor dźwiękowy i kontrolę poprzez każdą ilość | |
785 | konkurencyjnych odtwarzaczy. Próbkowana dana jest zawsze przechowywana | |
786 | w pamięci dzielonej. Rozpoczynając odtwarzanie dodaje wejście do listy | |
787 | odtwarzania miksera w nadrzędnej aplikacji. | |
788 | ||
789 | %package -n FusionSound-devel | |
790 | Summary: Development files for the FusionSound | |
791 | Summary(pl.UTF-8): Pliki rozwojowe dla FusionSound | |
792 | Group: Development/Libraries | |
793 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
794 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
795 | Requires: FusionSound = %{epoch}:%{version}-%{release} | |
796 | ||
797 | %description -n FusionSound-devel | |
798 | Header files required for development using FusionSound. | |
799 | ||
800 | %description -n FusionSound-devel -l pl.UTF-8 | |
801 | Pliki nagłówkowe wymagane do tworzenia programów z użyciem | |
802 | FusionSound. | |
803 | ||
804 | %package -n FusionSound-static | |
805 | Summary: Static FusionSound library | |
806 | Summary(pl.UTF-8): Statyczna biblioteka FusionSound | |
807 | Group: Development/Libraries | |
808 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
809 | Requires: FusionSound-devel = %{epoch}:%{version}-%{release} | |
810 | ||
811 | %description -n FusionSound-static | |
812 | Static FusionSound library. | |
813 | ||
814 | %description -n FusionSound-static -l pl.UTF-8 | |
815 | Statyczna biblioteka FusionSound. | |
816 | ||
817 | %package -n FusionSound-musicprovider-cdda | |
818 | Summary: CD-DA music provider module for FusionSound | |
819 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę CD-DA | |
820 | Group: Libraries | |
821 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
822 | Requires: FusionSound = %{epoch}:%{version}-%{release} | |
823 | ||
824 | %description -n FusionSound-musicprovider-cdda | |
825 | CD-DA music provider module for FusionSound. | |
826 | ||
827 | %description -n FusionSound-musicprovider-cdda -l pl.UTF-8 | |
828 | Moduł FusionSound dostarczający muzykę CD-DA. | |
829 | ||
830 | %package -n FusionSound-musicprovider-ffmpeg | |
831 | Summary: ffmpeg music provider module for FusionSound | |
832 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę przez ffmpeg | |
833 | Group: Libraries | |
834 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
835 | Requires: FusionSound = %{epoch}:%{version}-%{release} | |
836 | ||
837 | %description -n FusionSound-musicprovider-ffmpeg | |
838 | ffmpeg music provider module for FusionSound. | |
839 | ||
840 | %description -n FusionSound-musicprovider-ffmpeg -l pl.UTF-8 | |
841 | Moduł FusionSound dostarczający muzykę przez ffmpeg. | |
842 | ||
843 | %package -n FusionSound-musicprovider-mad | |
844 | Summary: MP3 libmad music provider module for FusionSound | |
845 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę MP3 przez libmad | |
846 | Group: Libraries | |
847 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
848 | Requires: FusionSound = %{epoch}:%{version}-%{release} | |
849 | ||
850 | %description -n FusionSound-musicprovider-mad | |
851 | MP3 music provider module for FusionSound. | |
852 | ||
853 | %description -n FusionSound-musicprovider-mad -l pl.UTF-8 | |
854 | Moduł FusionSound dostarczający muzykę MP3 przez libmad. | |
855 | ||
856 | %package -n FusionSound-musicprovider-timidity | |
857 | Summary: MIDI libtimidity music provider module for FusionSound | |
858 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę MIDI przez libtimidity | |
859 | Group: Libraries | |
860 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
861 | Requires: FusionSound = %{epoch}:%{version}-%{release} | |
862 | ||
863 | %description -n FusionSound-musicprovider-timidity | |
864 | MIDI libtimidity music provider module for FusionSound. | |
865 | ||
866 | %description -n FusionSound-musicprovider-timidity -l pl.UTF-8 | |
867 | Moduł FusionSound dostarczający muzykę MIDI przez libtimidity. | |
868 | ||
869 | %package -n FusionSound-musicprovider-vorbis | |
870 | Summary: Ogg Vorbis music provider module for FusionSound | |
871 | Summary(pl.UTF-8): Moduł FusionSound dostarczający muzykę Ogg Vorbis | |
872 | Group: Libraries | |
873 | URL: http://www.directfb.org/index.php?path=Platform/FusionSound | |
874 | Requires: FusionSound = %{epoch}:%{version}-%{release} | |
875 | ||
876 | %description -n FusionSound-musicprovider-vorbis | |
877 | Ogg Vorbis music provider module for FusionSound. | |
878 | ||
879 | %description -n FusionSound-musicprovider-vorbis -l pl.UTF-8 | |
880 | Moduł FusionSound dostarczający muzykę Ogg Vorbis. | |
881 | ||
882 | %package -n SaWMan | |
883 | Summary: Shared application and Window Manager | |
884 | Summary(pl.UTF-8): Zarządca współdzielonych aplikacji i okien | |
885 | Group: Libraries | |
886 | URL: http://www.directfb.org/index.php?path=Platform/SaWMan | |
887 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
888 | ||
889 | %description -n SaWMan | |
890 | SaWMan is a new window manager module for use with DirectFB. Its main | |
891 | difference to the default module is that it allows one process to be | |
892 | an application and window manager, implementing all kinds of | |
893 | diversity, while SaWMan is only the working horse. | |
894 | ||
895 | %description -n SaWMan -l pl.UTF-8 | |
896 | SaWMan to nowy moduł zarządcy okien dla DirectFB. Główną różnicą w | |
897 | stosunku do domyślnego modułu jest to, że pozwala jednemu procesowi | |
898 | być aplikacją i zarządcą okien, implementując wszystkie urozmaicenia, | |
899 | podczas gdy SaWMan jest tylko silnikiem. | |
900 | ||
901 | %package -n SaWMan-devel | |
902 | Summary: Header files for sawman library | |
903 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki sawman | |
904 | Group: Development/Libraries | |
905 | URL: http://www.directfb.org/index.php?path=Platform/SaWMan | |
906 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
907 | Requires: SaWMan = %{epoch}:%{version}-%{release} | |
908 | ||
909 | %description -n SaWMan-devel | |
910 | Header files for sawman library. | |
911 | ||
912 | %description -n SaWMan-devel -l pl.UTF-8 | |
913 | Pliki nagłówkowe biblioteki sawman. | |
914 | ||
915 | %package -n SaWMan-static | |
916 | Summary: Static sawman library | |
917 | Summary(pl.UTF-8): Statyczna biblioteka sawman | |
918 | Group: Development/Libraries | |
919 | URL: http://www.directfb.org/index.php?path=Platform/SaWMan | |
920 | Requires: SaWMan-devel = %{epoch}:%{version}-%{release} | |
921 | ||
922 | %description -n SaWMan-static | |
923 | Static sawman library. | |
924 | ||
925 | %description -n SaWMan-static -l pl.UTF-8 | |
926 | Statyczna biblioteka sawman. | |
927 | ||
928 | %prep | |
929 | %setup -q -a1 | |
930 | %patch0 -p1 | |
931 | %patch1 -p1 | |
932 | %patch2 -p1 | |
933 | %patch3 -p1 | |
934 | %patch4 -p1 | |
935 | %patch5 -p1 | |
936 | %patch6 -p1 | |
937 | %patch7 -p1 | |
938 | %patch8 -p1 | |
939 | %patch9 -p1 | |
940 | %patch10 -p1 | |
941 | %patch11 -p1 | |
942 | %patch12 -p1 | |
943 | %patch13 -p1 | |
944 | ||
945 | # video drivers | |
946 | %{__sed} -i -e 's/checkfor_\(cle266\|cyber5k\|radeon\|savage\|unichrome\|vmware\)=no/checkfor_\1=yes/' configure.in | |
947 | # input drivers | |
948 | %{__sed} -i -e 's/checkfor_\(dynapro\|elo\|gunze\)=no/checkfor_\1=yes/' configure.in | |
949 | ||
950 | %build | |
951 | %{__libtoolize} | |
952 | %{__aclocal} -I m4 | |
953 | %{__autoconf} | |
954 | %{__autoheader} | |
955 | %{__automake} | |
956 | %{?with_mpg:CPPFLAGS="%{rpmcppflags} -I/usr/include/libmpeg3"} | |
957 | # MMX and SSE are detected at runtime, so it's safe to enable | |
958 | %configure \ | |
959 | %{!?debug:--disable-debug} \ | |
960 | --disable-maintainer-mode \ | |
961 | --disable-silent-rules \ | |
962 | %{?with_avifile:--enable-avifile} \ | |
963 | --enable-divine \ | |
964 | --enable-fast-install \ | |
965 | %{?with_ffmpeg:--enable-ffmpeg} \ | |
966 | %{?with_flash:--enable-flash} \ | |
967 | --enable-fusiondale \ | |
968 | --enable-fusionsound \ | |
969 | %{?with_gstreamer:--enable-gstreamer} \ | |
970 | --enable-imlib2 \ | |
971 | %{?with_mpg:--enable-libmpeg3} \ | |
972 | --enable-mng \ | |
973 | %{?with_multi:--enable-multi} \ | |
974 | %{?with_one:--enable-one} \ | |
975 | %{?with_quicktime:--enable-openquicktime} \ | |
976 | --enable-sawman \ | |
977 | --enable-sdl \ | |
978 | --enable-shared \ | |
979 | --enable-static \ | |
980 | --enable-svg \ | |
981 | %{?with_swfdec:--enable-swfdec} \ | |
982 | --enable-unique \ | |
983 | --enable-video4linux2 \ | |
984 | --enable-voodoo \ | |
985 | %{?with_xine:--enable-xine} \ | |
986 | %{?with_xine_vdpau:--enable-xine-vdpau} \ | |
987 | --enable-x11 \ | |
988 | --enable-zlib \ | |
989 | %ifarch %{ix86} %{x8664} x32 | |
990 | %ifnarch i386 i486 | |
991 | --enable-mmx \ | |
992 | %endif | |
993 | %ifnarch i386 i486 i586 | |
994 | --enable-sse \ | |
995 | %endif | |
996 | %endif | |
997 | --with-smooth-scaling \ | |
998 | %{!?with_static_libs:--disable-static} | |
999 | ||
1000 | %{__make} -j1 \ | |
1001 | X11_CFLAGS= \ | |
1002 | X11_LIBS="-lX11 -lXext" | |
1003 | ||
1004 | %install | |
1005 | rm -rf $RPM_BUILD_ROOT | |
1006 | install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}} | |
1007 | ||
1008 | %{__make} -j1 install \ | |
1009 | DESTDIR=$RPM_BUILD_ROOT | |
1010 | ||
1011 | cp -rf DFBTutorials* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
1012 | ||
1013 | %if %{with xine} | |
1014 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.la \ | |
1015 | %{?with_static_libs:$RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.a} | |
1016 | %endif | |
1017 | ||
1018 | touch $RPM_BUILD_ROOT%{_sysconfdir}/directfbrc | |
1019 | ||
1020 | %clean | |
1021 | rm -rf $RPM_BUILD_ROOT | |
1022 | ||
1023 | %post -p /sbin/ldconfig | |
1024 | %postun -p /sbin/ldconfig | |
1025 | ||
1026 | %files | |
1027 | %defattr(644,root,root,755) | |
1028 | %doc AUTHORS ChangeLog NEWS README TODO | |
1029 | %attr(755,root,root) %{_bindir}/dfbdump | |
1030 | %attr(755,root,root) %{_bindir}/dfbdumpinput | |
1031 | %attr(755,root,root) %{_bindir}/dfbfx | |
1032 | %attr(755,root,root) %{_bindir}/dfbg | |
1033 | %attr(755,root,root) %{_bindir}/dfbinfo | |
1034 | %attr(755,root,root) %{_bindir}/dfbinput | |
1035 | %attr(755,root,root) %{_bindir}/dfbinspector | |
1036 | %attr(755,root,root) %{_bindir}/dfblayer | |
1037 | %attr(755,root,root) %{_bindir}/dfbmaster | |
1038 | %attr(755,root,root) %{_bindir}/dfbpenmount | |
1039 | %attr(755,root,root) %{_bindir}/dfbproxy | |
1040 | %attr(755,root,root) %{_bindir}/dfbscreen | |
1041 | %attr(755,root,root) %{_bindir}/mkdfiff | |
1042 | %attr(755,root,root) %{_bindir}/mkdgiff | |
1043 | %attr(755,root,root) %{_bindir}/mkdgifft | |
1044 | %attr(755,root,root) %{_bindir}/pxa3xx_dump | |
1045 | %attr(755,root,root) %{_bindir}/uwmdump | |
1046 | %attr(755,root,root) %{_bindir}/voodooplay | |
1047 | %attr(755,root,root) %{_bindir}/voodooplay_client | |
1048 | %attr(755,root,root) %{_bindir}/voodooplay_server | |
1049 | %attr(755,root,root) %{_libdir}/libdirect-1.7.so.*.*.* | |
1050 | %attr(755,root,root) %ghost %{_libdir}/libdirect-1.7.so.6 | |
1051 | %attr(755,root,root) %{_libdir}/libdirectfb-1.7.so.*.*.* | |
1052 | %attr(755,root,root) %ghost %{_libdir}/libdirectfb-1.7.so.6 | |
1053 | %attr(755,root,root) %{_libdir}/libfusion-1.7.so.*.*.* | |
1054 | %attr(755,root,root) %ghost %{_libdir}/libfusion-1.7.so.6 | |
1055 | %if %{with one} | |
1056 | %attr(755,root,root) %{_libdir}/libone-1.7.so.*.*.* | |
1057 | %attr(755,root,root) %ghost %{_libdir}/libone-1.7.so.6 | |
1058 | %endif | |
1059 | %attr(755,root,root) %{_libdir}/libuniquewm-1.7.so.*.*.* | |
1060 | %attr(755,root,root) %ghost %{_libdir}/libuniquewm-1.7.so.6 | |
1061 | %attr(755,root,root) %{_libdir}/libvoodoo-1.7.so.*.*.* | |
1062 | %attr(755,root,root) %ghost %{_libdir}/libvoodoo-1.7.so.6 | |
1063 | %dir %{dfbdir} | |
1064 | %dir %{dfbdir}/gfxdrivers | |
1065 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_ati128.so | |
1066 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_cle266.so | |
1067 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_cyber5k.so | |
1068 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_ep9x.so | |
1069 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_gl.so | |
1070 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_i810.so | |
1071 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_i830.so | |
1072 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_mach64.so | |
1073 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_matrox.so | |
1074 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_neomagic.so | |
1075 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_nsc.so | |
1076 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_nvidia.so | |
1077 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_pxa3xx.so | |
1078 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_radeon.so | |
1079 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_savage.so | |
1080 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sdlgraphics.so | |
1081 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sis315.so | |
1082 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_tdfx.so | |
1083 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_unichrome.so | |
1084 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_vmware.so | |
1085 | %ifarch arm | |
1086 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_davinci.so | |
1087 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_omap.so | |
1088 | %endif | |
1089 | %dir %{dfbdir}/inputdrivers | |
1090 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_input_hub.so | |
1091 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_joystick.so | |
1092 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_keyboard.so | |
1093 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_linux_input.so | |
1094 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_lirc.so | |
1095 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_penmount.so | |
1096 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ps2mouse.so | |
1097 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_serialmouse.so | |
1098 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sonypi.so | |
1099 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_zytronic.so | |
1100 | %dir %{dfbdir}/interfaces | |
1101 | %dir %{dfbdir}/interfaces/ICoreResourceManager | |
1102 | %attr(755,root,root) %{dfbdir}/interfaces/ICoreResourceManager/libicoreresourcemanager_test.so | |
1103 | %dir %{dfbdir}/interfaces/IDirectFB | |
1104 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFB/lib*.so | |
1105 | %dir %{dfbdir}/interfaces/IDirectFBDataBuffer | |
1106 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDataBuffer/lib*.so | |
1107 | %dir %{dfbdir}/interfaces/IDirectFBDisplayLayer | |
1108 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDisplayLayer/lib*.so | |
1109 | %dir %{dfbdir}/interfaces/IDirectFBEventBuffer | |
1110 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBEventBuffer/lib*.so | |
1111 | %dir %{dfbdir}/interfaces/IDirectFBFont | |
1112 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dgiff.so | |
1113 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dispatcher.so | |
1114 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_requestor.so | |
1115 | %dir %{dfbdir}/interfaces/IDirectFBImageProvider | |
1116 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so | |
1117 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dfiff.so | |
1118 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dispatcher.so | |
1119 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_gif.so | |
1120 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_mpeg2.so | |
1121 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so | |
1122 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_requestor.so | |
1123 | %dir %{dfbdir}/interfaces/IDirectFBInputDevice | |
1124 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBInputDevice/lib*.so | |
1125 | %dir %{dfbdir}/interfaces/IDirectFBPalette | |
1126 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBPalette/lib*.so | |
1127 | %dir %{dfbdir}/interfaces/IDirectFBScreen | |
1128 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBScreen/lib*.so | |
1129 | %dir %{dfbdir}/interfaces/IDirectFBSurface | |
1130 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBSurface/lib*.so | |
1131 | %dir %{dfbdir}/interfaces/IDirectFBVideoProvider | |
1132 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gif.so | |
1133 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so | |
1134 | %dir %{dfbdir}/interfaces/IDirectFBWindow | |
1135 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBWindow/lib*.so | |
1136 | %dir %{dfbdir}/interfaces/IDirectFBWindows | |
1137 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBWindows/lib*.so | |
1138 | %dir %{dfbdir}/interfaces/IWater | |
1139 | %attr(755,root,root) %{dfbdir}/interfaces/IWater/lib*.so | |
1140 | %dir %{dfbdir}/systems | |
1141 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_devmem.so | |
1142 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_dummy.so | |
1143 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_fbdev.so | |
1144 | %dir %{dfbdir}/wm | |
1145 | %attr(755,root,root) %{dfbdir}/wm/libdirectfbwm_default.so | |
1146 | %attr(755,root,root) %{dfbdir}/wm/libdirectfbwm_unique.so | |
1147 | %{_datadir}/directfb-%{version} | |
1148 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/directfbrc | |
1149 | %{_mandir}/man1/dfbg.1* | |
1150 | %{_mandir}/man5/directfbrc.5* | |
1151 | ||
1152 | %files devel | |
1153 | %defattr(644,root,root,755) | |
1154 | %attr(755,root,root) %{_bindir}/directfb-config | |
1155 | %attr(755,root,root) %{_bindir}/directfb-csource | |
1156 | %attr(755,root,root) %{_libdir}/libdirect.so | |
1157 | %attr(755,root,root) %{_libdir}/libdirectfb.so | |
1158 | %attr(755,root,root) %{_libdir}/libfusion.so | |
1159 | %{?with_one:%attr(755,root,root) %{_libdir}/libone.so} | |
1160 | %attr(755,root,root) %{_libdir}/libuniquewm.so | |
1161 | %attr(755,root,root) %{_libdir}/libvoodoo.so | |
1162 | %{_libdir}/libdirect.la | |
1163 | %{_libdir}/libdirectfb.la | |
1164 | %{_libdir}/libfusion.la | |
1165 | %{?with_one:%{_libdir}/libone.la} | |
1166 | %{_libdir}/libuniquewm.la | |
1167 | %{_libdir}/libvoodoo.la | |
1168 | %{?with_one:%{_includedir}/One} | |
1169 | %{_includedir}/directfb | |
1170 | %{_includedir}/directfb-internal | |
1171 | %{_pkgconfigdir}/direct.pc | |
1172 | %{_pkgconfigdir}/directfb-internal.pc | |
1173 | %{_pkgconfigdir}/directfb.pc | |
1174 | %{_pkgconfigdir}/fusion.pc | |
1175 | %{?with_one:%{_pkgconfigdir}/one.pc} | |
1176 | %{_pkgconfigdir}/voodoo.pc | |
1177 | %{_mandir}/man1/directfb-csource.1* | |
1178 | ||
1179 | %if %{with static_libs} | |
1180 | %files static | |
1181 | %defattr(644,root,root,755) | |
1182 | %{_libdir}/libdirect.a | |
1183 | %{_libdir}/libdirectfb.a | |
1184 | %{_libdir}/libfusion.a | |
1185 | %{?with_one:%{_libdir}/libone.a} | |
1186 | %{_libdir}/libuniquewm.a | |
1187 | %{_libdir}/libvoodoo.a | |
1188 | %{dfbdir}/gfxdrivers/*.[alo]* | |
1189 | %{dfbdir}/inputdrivers/*.[alo]* | |
1190 | %{dfbdir}/interfaces/*/*.[alo]* | |
1191 | %{dfbdir}/systems/*.[alo]* | |
1192 | %{dfbdir}/wm/libdirectfbwm_default.[alo]* | |
1193 | %{dfbdir}/wm/libdirectfbwm_unique.[alo]* | |
1194 | %endif | |
1195 | ||
1196 | %files doc | |
1197 | %defattr(644,root,root,755) | |
1198 | %doc docs/html/*.{html,png} | |
1199 | %{_examplesdir}/%{name}-%{version} | |
1200 | ||
1201 | %files core-drmkms | |
1202 | %defattr(644,root,root,755) | |
1203 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_drmkms_system.so | |
1204 | ||
1205 | %files core-mesa | |
1206 | %defattr(644,root,root,755) | |
1207 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_gles2.so | |
1208 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_mesa_system.so | |
1209 | ||
1210 | %files core-sdl | |
1211 | %defattr(644,root,root,755) | |
1212 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sdlinput.so | |
1213 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_sdl.so | |
1214 | ||
1215 | %files core-vdpau | |
1216 | %defattr(644,root,root,755) | |
1217 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_vdpau.so | |
1218 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11vdpau.so | |
1219 | ||
1220 | %files core-vnc | |
1221 | %defattr(644,root,root,755) | |
1222 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_vnc.so | |
1223 | ||
1224 | %files core-x11 | |
1225 | %defattr(644,root,root,755) | |
1226 | %doc systems/x11/README | |
1227 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11.so | |
1228 | ||
1229 | %files font-ft2 | |
1230 | %defattr(644,root,root,755) | |
1231 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_ft2.so | |
1232 | ||
1233 | %if %{with sh772x} | |
1234 | %files gfx-sh772x | |
1235 | %defattr(644,root,root,755) | |
1236 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sh772x.so | |
1237 | %endif | |
1238 | ||
1239 | %files input-dynapro | |
1240 | %defattr(644,root,root,755) | |
1241 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_dynapro.so | |
1242 | ||
1243 | %files input-elo | |
1244 | %defattr(644,root,root,755) | |
1245 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_elo.so | |
1246 | ||
1247 | %files input-gunze | |
1248 | %defattr(644,root,root,755) | |
1249 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_gunze.so | |
1250 | ||
1251 | %files input-mutouch | |
1252 | %defattr(644,root,root,755) | |
1253 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_mutouch.so | |
1254 | ||
1255 | %files input-tslib | |
1256 | %defattr(644,root,root,755) | |
1257 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_tslib.so | |
1258 | ||
1259 | %ifarch arm | |
1260 | %files input-ucb1x00 | |
1261 | %defattr(644,root,root,755) | |
1262 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ucb1x00_ts.so | |
1263 | %endif | |
1264 | ||
1265 | %files input-wm97xx | |
1266 | %defattr(644,root,root,755) | |
1267 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_wm97xx_ts.so | |
1268 | ||
1269 | %if %{with ffmpeg} | |
1270 | %files image-ffmpeg | |
1271 | %defattr(644,root,root,755) | |
1272 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_ffmpeg.so | |
1273 | %endif | |
1274 | ||
1275 | %files image-imlib2 | |
1276 | %defattr(644,root,root,755) | |
1277 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so | |
1278 | ||
1279 | %files image-jpeg | |
1280 | %defattr(644,root,root,755) | |
1281 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so | |
1282 | ||
1283 | %files image-jpeg2000 | |
1284 | %defattr(644,root,root,755) | |
1285 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg2000.so | |
1286 | ||
1287 | %files image-png | |
1288 | %defattr(644,root,root,755) | |
1289 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so | |
1290 | ||
1291 | %files image-svg | |
1292 | %defattr(644,root,root,755) | |
1293 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_svg.so | |
1294 | ||
1295 | %files image-tiff | |
1296 | %defattr(644,root,root,755) | |
1297 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_tiff.so | |
1298 | ||
1299 | %files image-webp | |
1300 | %defattr(644,root,root,755) | |
1301 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_webp.so | |
1302 | ||
1303 | %if %{with avifile} | |
1304 | %files video-avifile | |
1305 | %defattr(644,root,root,755) | |
1306 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_avifile.so | |
1307 | %endif | |
1308 | ||
1309 | %if %{with ffmpeg} | |
1310 | %files video-ffmpeg | |
1311 | %defattr(644,root,root,755) | |
1312 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_ffmpeg.so | |
1313 | %endif | |
1314 | ||
1315 | %if %{with gstreamer} | |
1316 | %files video-gstreamer | |
1317 | %defattr(644,root,root,755) | |
1318 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gstreamer.so | |
1319 | %endif | |
1320 | ||
1321 | %if %{with mpg} | |
1322 | %files video-libmpeg3 | |
1323 | %defattr(644,root,root,755) | |
1324 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_libmpeg3.so | |
1325 | %endif | |
1326 | ||
1327 | %files video-mng | |
1328 | %defattr(644,root,root,755) | |
1329 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_mng.so | |
1330 | ||
1331 | %if %{with quicktime} | |
1332 | %files video-openquicktime | |
1333 | %defattr(644,root,root,755) | |
1334 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.so | |
1335 | %endif | |
1336 | ||
1337 | %if %{with flash} | |
1338 | %files video-swf | |
1339 | %defattr(644,root,root,755) | |
1340 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.so | |
1341 | %endif | |
1342 | ||
1343 | %if %{with swfdec} | |
1344 | %files video-swfdec | |
1345 | %defattr(644,root,root,755) | |
1346 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swfdec.so | |
1347 | %endif | |
1348 | ||
1349 | %if %{with xine} | |
1350 | %files video-xine | |
1351 | %defattr(644,root,root,755) | |
1352 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine.so | |
1353 | %if %{with xine_vdpau} | |
1354 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine_vdpau.so | |
1355 | %endif | |
1356 | ||
1357 | %files -n xine-output-video-dfb | |
1358 | %defattr(644,root,root,755) | |
1359 | %attr(755,root,root) %{_libdir}/xine/plugins/2.*/xineplug_vo_out_dfb.so | |
1360 | %endif | |
1361 | ||
1362 | %files c++ | |
1363 | %defattr(644,root,root,755) | |
1364 | # ++DFB based utilities | |
1365 | %attr(755,root,root) %{_bindir}/dfbplay | |
1366 | %attr(755,root,root) %{_bindir}/dfbshow | |
1367 | %attr(755,root,root) %{_bindir}/dfbswitch | |
1368 | # library itself | |
1369 | %attr(755,root,root) %{_libdir}/lib++dfb-1.7.so.*.*.* | |
1370 | %attr(755,root,root) %ghost %{_libdir}/lib++dfb-1.7.so.6 | |
1371 | ||
1372 | %files c++-devel | |
1373 | %defattr(644,root,root,755) | |
1374 | %attr(755,root,root) %{_libdir}/lib++dfb.so | |
1375 | %{_libdir}/lib++dfb.la | |
1376 | %{_includedir}/++dfb | |
1377 | %{_pkgconfigdir}/++dfb.pc | |
1378 | ||
1379 | %files c++-static | |
1380 | %defattr(644,root,root,755) | |
1381 | %{_libdir}/lib++dfb.a | |
1382 | ||
1383 | %files -n DiVine | |
1384 | %defattr(644,root,root,755) | |
1385 | %attr(755,root,root) %{_bindir}/spooky | |
1386 | %attr(755,root,root) %{_libdir}/libdivine-1.7.so.*.*.* | |
1387 | %attr(755,root,root) %ghost %{_libdir}/libdivine-1.7.so.6 | |
1388 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_divine.so | |
1389 | %dir %{dfbdir}/interfaces/IDiVine | |
1390 | %attr(755,root,root) %{dfbdir}/interfaces/IDiVine/libidivine_dispatcher.so | |
1391 | %attr(755,root,root) %{dfbdir}/interfaces/IDiVine/libidivine_requestor.so | |
1392 | ||
1393 | %files -n DiVine-devel | |
1394 | %defattr(644,root,root,755) | |
1395 | %attr(755,root,root) %{_libdir}/libdivine.so | |
1396 | %{_libdir}/libdivine.la | |
1397 | %{_includedir}/divine | |
1398 | %{_pkgconfigdir}/divine.pc | |
1399 | ||
1400 | %files -n DiVine-static | |
1401 | %defattr(644,root,root,755) | |
1402 | %{_libdir}/libdivine.a | |
1403 | ||
1404 | %files -n FusionDale | |
1405 | %defattr(644,root,root,755) | |
1406 | %attr(755,root,root) %{_bindir}/fddump | |
1407 | %attr(755,root,root) %{_bindir}/fdmaster | |
1408 | %attr(755,root,root) %{_libdir}/libfusiondale-1.7.so.*.*.* | |
1409 | %attr(755,root,root) %ghost %{_libdir}/libfusiondale-1.7.so.6 | |
1410 | %dir %{dfbdir}/interfaces/IComa | |
1411 | %attr(755,root,root) %{dfbdir}/interfaces/IComa/libicoma_*.so | |
1412 | %dir %{dfbdir}/interfaces/IComaComponent | |
1413 | %attr(755,root,root) %{dfbdir}/interfaces/IComaComponent/libicomacomponent_*.so | |
1414 | %dir %{dfbdir}/interfaces/IFusionDale | |
1415 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionDale/libifusiondale_*.so | |
1416 | %if %{with one} | |
1417 | %dir %{dfbdir}/interfaces/IFusionDaleMessenger | |
1418 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionDaleMessenger/libifusiondalemessenger_one.so | |
1419 | %endif | |
1420 | ||
1421 | %files -n FusionDale-devel | |
1422 | %defattr(644,root,root,755) | |
1423 | %attr(755,root,root) %{_libdir}/libfusiondale.so | |
1424 | %{_libdir}/libfusiondale.la | |
1425 | %{_includedir}/fusiondale | |
1426 | %{_pkgconfigdir}/fusiondale.pc | |
1427 | ||
1428 | %files -n FusionDale-static | |
1429 | %defattr(644,root,root,755) | |
1430 | %{_libdir}/libfusiondale.a | |
1431 | ||
1432 | %files -n FusionSound | |
1433 | %defattr(644,root,root,755) | |
1434 | %attr(755,root,root) %{_bindir}/fsdump | |
1435 | %attr(755,root,root) %{_bindir}/fsmaster | |
1436 | %attr(755,root,root) %{_bindir}/fsplay | |
1437 | %attr(755,root,root) %{_bindir}/fsproxy | |
1438 | %attr(755,root,root) %{_bindir}/fsvolume | |
1439 | %attr(755,root,root) %{_libdir}/libfusionsound-1.7.so.*.*.* | |
1440 | %attr(755,root,root) %ghost %{_libdir}/libfusionsound-1.7.so.6 | |
1441 | %dir %{dfbdir}/interfaces/IFusionSound | |
1442 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSound/libifusionsound.so | |
1443 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSound/libifusionsound_dispatcher.so | |
1444 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSound/libifusionsound_requestor.so | |
1445 | %dir %{dfbdir}/interfaces/IFusionSoundBuffer | |
1446 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundBuffer/libifusionsoundbuffer_dispatcher.so | |
1447 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundBuffer/libifusionsoundbuffer_requestor.so | |
1448 | %dir %{dfbdir}/interfaces/IFusionSoundMusicProvider | |
1449 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_playlist.so | |
1450 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_wave.so | |
1451 | %dir %{dfbdir}/interfaces/IFusionSoundPlayback | |
1452 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundPlayback/libifusionsoundplayback_dispatcher.so | |
1453 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundPlayback/libifusionsoundplayback_requestor.so | |
1454 | %dir %{dfbdir}/interfaces/IFusionSoundStream | |
1455 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundStream/libifusionsoundstream_dispatcher.so | |
1456 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundStream/libifusionsoundstream_requestor.so | |
1457 | %dir %{dfbdir}/snddrivers | |
1458 | %attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_alsa.so | |
1459 | %attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_dummy.so | |
1460 | %attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_oss.so | |
1461 | %attr(755,root,root) %{dfbdir}/snddrivers/libfusionsound_wave.so | |
1462 | ||
1463 | %files -n FusionSound-devel | |
1464 | %defattr(644,root,root,755) | |
1465 | %attr(755,root,root) %{_libdir}/libfusionsound.so | |
1466 | %{_libdir}/libfusionsound.la | |
1467 | %{_includedir}/fusionsound | |
1468 | %{_includedir}/fusionsound-internal | |
1469 | %{_pkgconfigdir}/fusionsound.pc | |
1470 | %{_pkgconfigdir}/fusionsound-internal.pc | |
1471 | ||
1472 | %files -n FusionSound-static | |
1473 | %defattr(644,root,root,755) | |
1474 | %{_libdir}/libfusionsound.a | |
1475 | # .la makes no sense in -devel (it's module); here for DFB static linking hacks | |
1476 | %{dfbdir}/snddrivers/libfusionsound_*.[la]* | |
1477 | ||
1478 | %files -n FusionSound-musicprovider-cdda | |
1479 | %defattr(644,root,root,755) | |
1480 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_cdda.so | |
1481 | ||
1482 | %if %{with ffmpeg} | |
1483 | %files -n FusionSound-musicprovider-ffmpeg | |
1484 | %defattr(644,root,root,755) | |
1485 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_ffmpeg.so | |
1486 | %endif | |
1487 | ||
1488 | %files -n FusionSound-musicprovider-mad | |
1489 | %defattr(644,root,root,755) | |
1490 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_mad.so | |
1491 | ||
1492 | %files -n FusionSound-musicprovider-timidity | |
1493 | %defattr(644,root,root,755) | |
1494 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_timidity.so | |
1495 | ||
1496 | %files -n FusionSound-musicprovider-vorbis | |
1497 | %defattr(644,root,root,755) | |
1498 | %attr(755,root,root) %{dfbdir}/interfaces/IFusionSoundMusicProvider/libifusionsoundmusicprovider_vorbis.so | |
1499 | ||
1500 | %files -n SaWMan | |
1501 | %defattr(644,root,root,755) | |
1502 | %attr(755,root,root) %{_bindir}/swmdump | |
1503 | %attr(755,root,root) %{_libdir}/libsawman-1.7.so.*.*.* | |
1504 | %attr(755,root,root) %ghost %{_libdir}/libsawman-1.7.so.6 | |
1505 | %attr(755,root,root) %{dfbdir}/wm/libdirectfbwm_sawman.so | |
1506 | ||
1507 | %files -n SaWMan-devel | |
1508 | %defattr(644,root,root,755) | |
1509 | %attr(755,root,root) %{_libdir}/libsawman.so | |
1510 | %{_libdir}/libsawman.la | |
1511 | %{_includedir}/sawman | |
1512 | %{_pkgconfigdir}/sawman.pc | |
1513 | ||
1514 | %files -n SaWMan-static | |
1515 | %defattr(644,root,root,755) | |
1516 | %{_libdir}/libsawman.a | |
1517 | %{dfbdir}/wm/libdirectfbwm_sawman.[alo]* |