1 # TODO: --enable-pvr2d when ready [requires PowerVR SDK?]
4 %bcond_with multi # build Multi-application core (requires working /dev/fusion*)
5 %bcond_with sh772x # SH7722/SH7723 (SH-Mobile) graphics driver
6 %bcond_without static_libs # don't build static libraries
7 %bcond_without one # Linux One IPC library
8 %bcond_without gstreamer # GStreamer video provider
13 Summary: DirectFB - Hardware graphics acceleration
14 Summary(pl.UTF-8): DirectFB - Wspomaganie grafiki
21 Source0: http://www.directfb.org/downloads/Core/DirectFB-1.6/%{name}-%{version}.tar.gz
22 # Source0-md5: 641e8e999c017770da647f9b5b890906
23 Source1: http://www.directfb.org/downloads/Extras/DFBTutorials-0.5.0.tar.gz
24 # Source1-md5: 13e443a64bddd68835b574045d9025e9
25 Patch0: %{name}-am.patch
26 Patch1: %{name}-pmake.patch
27 Patch2: %{name}-fix.patch
28 Patch3: %{name}-llh-ppc.patch
29 Patch4: %{name}-zlib.patch
30 Patch5: %{name}-update.patch
31 Patch6: %{name}-gstreamer.patch
32 URL: http://www.directfb.org/
33 %{?with_gstreamer:BuildRequires: FusionSound-devel >= 1.1.0}
34 BuildRequires: Mesa-libEGL-devel
35 BuildRequires: Mesa-libGLES-devel
36 BuildRequires: Mesa-libgbm-devel
37 BuildRequires: OpenGL-devel
38 BuildRequires: OpenGL-GLX-devel
39 BuildRequires: SDL-devel
40 BuildRequires: autoconf >= 2.52
41 BuildRequires: automake
42 BuildRequires: freetype-devel >= 2.0.2
43 %{?with_gstreamer:BuildRequires: gstreamer-plugins-base-devel >= 1.0}
44 BuildRequires: imlib2-devel
45 BuildRequires: jasper-devel
46 BuildRequires: libdrm-devel
47 BuildRequires: libjpeg-devel >= 6b
48 BuildRequires: libmng-devel
49 BuildRequires: libpng-devel >= 2:1.4.0
50 BuildRequires: libstdc++-devel
51 BuildRequires: libsvg-cairo-devel >= 0.1.6
52 BuildRequires: libtool
53 BuildRequires: libvdpau-devel
54 BuildRequires: libvncserver-devel
55 %{?with_multi:BuildRequires: linux-fusion-devel >= 8.11}
56 #{?with_multi:BuildRequires: linux-fusion-devel < 9}
57 %{?with_one:BuildRequires: linux-one-devel >= 1.6.0}
58 BuildRequires: pkgconfig
59 BuildRequires: sed >= 4.0
60 BuildRequires: sysfsutils-devel >= 1.3.0-3
61 BuildRequires: tslib-devel >= 1.0
62 BuildRequires: xorg-lib-libX11-devel
63 BuildRequires: xorg-lib-libXext-devel
64 BuildRequires: xorg-proto-xproto-devel
65 BuildRequires: zlib-devel >= 1.1.3
66 #BuildRequires: pkgconfig(linotype) -- font provider???
68 BuildRequires: libshbeu-devel >= 1.0.2
69 BuildRequires: libshjpeg-devel >= 1.3.3
70 BuildRequires: libuiomux-devel >= 1.5.0
72 %{?with_multi:Provides: DirectFB(multi)}
75 Obsoletes: DirectFB-input-ucb1x00
77 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79 %define dfbdir %{_libdir}/directfb-1.6-0
81 %define specflags -fno-strict-aliasing
84 # gcc running out of registers with -O0 in generic_mmx.h
85 %define debugcflags -O1 -g
89 DirectFB hardware graphics acceleration - libraries.
91 %description -l pl.UTF-8
92 Wspomaganie grafiki DirectFB - biblioteki.
95 Summary: DirectFB - development package
96 Summary(pl.UTF-8): DirectFB - pliki nagłówkowe
97 Group: Development/Libraries
98 Requires: %{name} = %{epoch}:%{version}-%{release}
99 %{?with_one:Requires: linux-one-devel >= 1.6.0}
100 Requires: zlib-devel >= 1.1.3
103 DirectFB header files.
105 %description devel -l pl.UTF-8
106 Pliki nagłówkowe dla DirectFB.
109 Summary: DirectFB static libraries
110 Summary(pl.UTF-8): Statyczne biblioteki DirectFB
111 Group: Development/Libraries
112 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
115 DirectFB static libraries.
117 %description static -l pl.UTF-8
118 Statyczne biblioteki DirectFB.
121 Summary: DirectFB - documentation
122 Summary(pl.UTF-8): DirectFB - dokumentacja
126 DirectFB documentation and tutorials.
128 %description doc -l pl.UTF-8
129 Dokumentacja dla systemu DirectFB wraz z wprowadzeniem.
132 Summary: Mesa/GLESv2 core system for DirectFB
133 Summary(pl.UTF-8): System Mesa/GLESv2 dla DirectFB
135 Requires: %{name} = %{epoch}:%{version}-%{release}
137 %description core-mesa
138 This package contains Mesa/GLESv2 core system module for DirectFB.
140 %description core-mesa -l pl.UTF-8
141 Ten pakiet zawiera moduł systemu Mesa/GLESv2 dla DirectFB.
144 Summary: SDL core system for DirectFB
145 Summary(pl.UTF-8): System SDL dla DirectFB
147 Requires: %{name} = %{epoch}:%{version}-%{release}
149 %description core-sdl
150 This package contains SDL core system module for DirectFB.
152 %description core-sdl -l pl.UTF-8
153 Ten pakiet zawiera moduł systemu SDL dla DirectFB.
156 Summary: X11/VDPAU core system for DirectFB
157 Summary(pl.UTF-8): System X11/VDPAU dla DirectFB
159 Requires: %{name} = %{epoch}:%{version}-%{release}
161 %description core-vdpau
162 This package contains X11/VDPAU core system module for DirectFB.
164 %description core-vdpau -l pl.UTF-8
165 Ten pakiet zawiera moduł systemu X11/VDPAU dla DirectFB.
168 Summary: VNC core system for DirectFB
169 Summary(pl.UTF-8): System VNC dla DirectFB
171 Requires: %{name} = %{epoch}:%{version}-%{release}
173 %description core-vnc
174 This package contains VNC core system module for DirectFB.
176 %description core-vnc -l pl.UTF-8
177 Ten pakiet zawiera moduł systemu VNC dla DirectFB.
180 Summary: X11 core system for DirectFB
181 Summary(pl.UTF-8): System X11 dla DirectFB
183 Requires: %{name} = %{epoch}:%{version}-%{release}
185 %description core-x11
186 This package contains X11 core system module for DirectFB.
188 %description core-x11 -l pl.UTF-8
189 Ten pakiet zawiera moduł systemu X11 dla DirectFB.
192 Summary: FreeType2 font provider for DirectFB
193 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca fonty poprzez FreeType2
195 Requires: %{name} = %{epoch}:%{version}-%{release}
197 %description font-ft2
198 This package contains FreeType2 font provider for DirectFB.
200 %description font-ft2 -l pl.UTF-8
201 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą fonty poprzez
202 bibliotekę FreeType2.
205 Summary: SH7722/SH7723 graphics driver for DirectFB
206 Summary(pl.UTF-8): Sterownik graficzny SH7722/7723 dla DirectFB
208 Requires: %{name} = %{epoch}:%{version}-%{release}
209 Requires: libshbeu >= 1.0.2
210 Requires: libshjpeg >= 1.3.3
211 Requires: libuiomux >= 1.5.0
213 %description gfx-sh772x
214 SH7722/SH7723 graphics (SH-Mobile devices) driver for DirectFB.
216 %description gfx-sh772x -l pl.UTF-8
217 Sterownik graficzny SH7722/7723 (SH-Mobile) dla DirectFB.
219 %package input-dynapro
220 Summary: Dynapro touchscreen input driver for DirectFB
221 Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Dynapro dla DirectFB
223 Requires: %{name} = %{epoch}:%{version}-%{release}
225 %description input-dynapro
226 Dynapro touchscreen input driver for DirectFB.
228 NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it
229 unless you don't have Dynapro device connected to this port. It can
230 mess with other devices connected to this port (mouse, modem etc.).
232 %description input-dynapro -l pl.UTF-8
233 Sterownik wejściowy do touchscreenów Dynapro dla DirectFB.
235 UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc
236 nie należy go instalować, jeśli urządzenie Dynapro nie jest podłączone
237 do tego portu. Sterownik może utrudnić współpracę z innymi
238 urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.).
241 Summary: ELO touchscreen input driver for DirectFB
242 Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów ELO dla DirectFB
244 Requires: %{name} = %{epoch}:%{version}-%{release}
246 %description input-elo
247 ELO touchscreen input driver for DirectFB.
249 NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it
250 unless you have ELO device connected to this port. It can mess with
251 other devices connected to this port (mouse, modem etc.).
253 %description input-elo -l pl.UTF-8
254 Sterownik wejściowy do touchscreenów ELO dla DirectFB.
256 UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc
257 nie należy go instalować, jeśli urządzenie ELO nie jest podłączone do
258 tego portu. Sterownik może utrudnić współpracę z innymi urządzeniami
259 podłączonymi do /dev/ttyS0 (jak mysz, modem itp.).
262 Summary: Gunze touchscreen input driver for DirectFB
263 Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Gunze dla DirectFB
265 Requires: %{name} = %{epoch}:%{version}-%{release}
267 %description input-gunze
268 Gunze touchscreen input driver for DirectFB.
270 NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it
271 unless you don't have Gunze device connected to this port. It can mess
272 with other devices connected to this port (mouse, modem etc.).
274 %description input-gunze -l pl.UTF-8
275 Sterownik wejściowy do touchscreenów Gunze dla DirectFB.
277 UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc
278 nie należy go instalować, jeśli urządzenie Gunze nie jest podłączone
279 do tego portu. Sterownik może utrudnić współpracę z innymi
280 urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.).
282 %package input-mutouch
283 Summary: MuTouch touchscreen input driver for DirectFB
284 Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów MuTouch dla DirectFB
286 Requires: %{name} = %{epoch}:%{version}-%{release}
288 %description input-mutouch
289 MuTouch touchscreen input driver for DirectFB.
291 NOTE: it needs "mut-device" setting in directfbrc in order to work.
293 %description input-mutouch -l pl.UTF-8
294 Sterownik wejściowy do touchscreenów MuTouch dla DirectFB.
296 UWAGA: do działania potrzebuje ustawienia "mut-device" w directfbrc.
299 Summary: tslib-based touchscreen input driver for DirectFB
300 Summary(pl.UTF-8): Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB
302 Requires: %{name} = %{epoch}:%{version}-%{release}
303 Requires: tslib >= 1.0
305 %description input-tslib
306 tslib-based touchscreen input driver for DirectFB
308 %description input-tslib -l pl.UTF-8
309 Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB.
311 %package input-ucb1x00
312 Summary: UCB1x00 touchscreen input driver for DirectFB
313 Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB
315 Requires: %{name} = %{epoch}:%{version}-%{release}
317 %description input-ucb1x00
318 UCB1x00 touchscreen input driver for DirectFB.
320 %description input-ucb1x00 -l pl.UTF-8
321 Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB.
323 %package input-wm97xx
324 Summary: WM97xx touchscreen input driver for DirectFB
325 Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów WM97xx dla DirectFB
327 Requires: %{name} = %{epoch}:%{version}-%{release}
329 %description input-wm97xx
330 WM97xx touchscreen input driver for DirectFB.
332 %description input-wm97xx -l pl.UTF-8
333 Sterownik wejściowy do touchscreenów WM97xx dla DirectFB.
335 %package image-imlib2
336 Summary: Imlib2 image provider for DirectFB
337 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę Imlib2
339 Requires: %{name} = %{epoch}:%{version}-%{release}
341 %description image-imlib2
342 This package contains Imlib2 image provider for DirectFB.
344 %description image-imlib2 -l pl.UTF-8
345 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę Imlib2.
348 Summary: JPEG image provider for DirectFB
349 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG
351 Requires: %{name} = %{epoch}:%{version}-%{release}
353 %description image-jpeg
354 This package contains JPEG image provider for DirectFB.
356 %description image-jpeg -l pl.UTF-8
357 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę JPEG.
359 %package image-jpeg2000
360 Summary: JPEG2000 image provider for DirectFB
361 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG2000
363 Requires: %{name} = %{epoch}:%{version}-%{release}
365 %description image-jpeg2000
366 This package contains JPEG2000 image provider for DirectFB (based on
369 %description image-jpeg2000 -l pl.UTF-8
370 Ten pakiet zawiera wtyczkę dla DirectFB, opartą na bibliotece jasper,
371 dostarczającą grafikę JPEG2000.
374 Summary: PNG image provider for DirectFB
375 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę PNG
377 Requires: %{name} = %{epoch}:%{version}-%{release}
378 Requires: libpng >= 2:1.4.0
380 %description image-png
381 This package contains PNG image provider for DirectFB.
383 %description image-png -l pl.UTF-8
384 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę PNG.
387 Summary: SVG image provider for DirectFB
388 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę SVG
390 Requires: %{name} = %{epoch}:%{version}-%{release}
391 Requires: libsvg-cairo >= 0.1.6
393 %description image-svg
394 This package contains SVG image provider for DirectFB, based on Cairo
397 %description image-svg -l pl.UTF-8
398 Ten pakiet zawiera wtyczkę dla DirectFB, opartą na bibliotece Cairo,
399 dostarczającą grafikę SVG.
401 %package video-gstreamer
402 Summary: GStreamer video provider for DirectFB
403 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz z GStreamera
405 Requires: %{name} = %{epoch}:%{version}-%{release}
407 %description video-gstreamer
408 This package contains GStreamer video provider for DirectFB.
410 %description video-gstreamer -l pl.UTF-8
411 Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą obraz z
415 Summary: MNG video provider for DirectFB
416 Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca animacje MNG
418 Requires: %{name} = %{epoch}:%{version}-%{release}
420 %description video-mng
421 This package contains MNG video provider for DirectFB.
423 %description video-mng -l pl.UTF-8
424 Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą animacje MNG.
437 %{__sed} -i -e 's/checkfor_\(cle266\|cyber5k\|radeon\|savage\|unichrome\|vmware\)=no/checkfor_\1=yes/' configure.in
439 %{__sed} -i -e 's/checkfor_\(dynapro\|elo\|gunze\)=no/checkfor_\1=yes/' configure.in
447 # MMX and SSE are detected at runtime, so it's safe to enable
449 %{!?debug:--disable-debug} \
450 --disable-maintainer-mode \
451 --disable-silent-rules \
452 --enable-fast-install \
453 %{?with_gstreamer:--enable-gstreamer} \
454 %{?with_multi:--enable-multi} \
455 %{?with_one:--enable-one} \
460 --enable-video4linux2 \
464 %ifarch %{ix86} %{x8664}
468 %ifnarch i386 i486 i586
472 --with-smooth-scaling \
473 %{!?with_static_libs:--disable-static}
477 X11_LIBS="-lX11 -lXext"
480 rm -rf $RPM_BUILD_ROOT
481 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}}
483 %{__make} -j1 install \
484 DESTDIR=$RPM_BUILD_ROOT
486 cp -rf DFBTutorials* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
488 touch $RPM_BUILD_ROOT%{_sysconfdir}/directfbrc
491 rm -rf $RPM_BUILD_ROOT
493 %post -p /sbin/ldconfig
494 %postun -p /sbin/ldconfig
497 %defattr(644,root,root,755)
498 %doc AUTHORS ChangeLog NEWS README TODO
499 %attr(755,root,root) %{_bindir}/dfbdump
500 %attr(755,root,root) %{_bindir}/dfbdumpinput
501 %attr(755,root,root) %{_bindir}/dfbfx
502 %attr(755,root,root) %{_bindir}/dfbg
503 %attr(755,root,root) %{_bindir}/dfbinfo
504 %attr(755,root,root) %{_bindir}/dfbinput
505 %attr(755,root,root) %{_bindir}/dfbinspector
506 %attr(755,root,root) %{_bindir}/dfblayer
507 %attr(755,root,root) %{_bindir}/dfbmaster
508 %attr(755,root,root) %{_bindir}/dfbpenmount
509 %attr(755,root,root) %{_bindir}/dfbproxy
510 %attr(755,root,root) %{_bindir}/dfbscreen
511 %attr(755,root,root) %{_bindir}/mkdfiff
512 %attr(755,root,root) %{_bindir}/mkdgiff
513 %attr(755,root,root) %{_bindir}/mkdgifft
514 %attr(755,root,root) %{_bindir}/pxa3xx_dump
515 %attr(755,root,root) %{_bindir}/uwmdump
516 %attr(755,root,root) %{_bindir}/voodooplay
517 %attr(755,root,root) %{_bindir}/voodooplay_client
518 %attr(755,root,root) %{_bindir}/voodooplay_server
519 %attr(755,root,root) %{_libdir}/libdirect-1.6.so.*.*.*
520 %attr(755,root,root) %ghost %{_libdir}/libdirect-1.6.so.0
521 %attr(755,root,root) %{_libdir}/libdirectfb-1.6.so.*.*.*
522 %attr(755,root,root) %ghost %{_libdir}/libdirectfb-1.6.so.0
523 %attr(755,root,root) %{_libdir}/libfusion-1.6.so.*.*.*
524 %attr(755,root,root) %ghost %{_libdir}/libfusion-1.6.so.0
526 %attr(755,root,root) %{_libdir}/libone-1.6.so.*.*.*
527 %attr(755,root,root) %ghost %{_libdir}/libone-1.6.so.0
529 %attr(755,root,root) %{_libdir}/libuniquewm-1.6.so.*.*.*
530 %attr(755,root,root) %ghost %{_libdir}/libuniquewm-1.6.so.0
531 %attr(755,root,root) %{_libdir}/libvoodoo-1.6.so.*.*.*
532 %attr(755,root,root) %ghost %{_libdir}/libvoodoo-1.6.so.0
534 %dir %{dfbdir}/gfxdrivers
535 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_ati128.so
536 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_cle266.so
537 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_cyber5k.so
538 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_ep9x.so
539 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_gl.so
540 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_i810.so
541 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_i830.so
542 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_mach64.so
543 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_matrox.so
544 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_neomagic.so
545 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_nsc.so
546 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_nvidia.so
547 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_pxa3xx.so
548 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_radeon.so
549 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_savage.so
550 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sdlgraphics.so
551 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sis315.so
552 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_tdfx.so
553 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_unichrome.so
554 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_vmware.so
556 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_davinci.so
557 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_omap.so
559 %dir %{dfbdir}/inputdrivers
560 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_input_hub.so
561 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_joystick.so
562 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_keyboard.so
563 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_linux_input.so
564 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_lirc.so
565 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_penmount.so
566 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ps2mouse.so
567 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_serialmouse.so
568 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sonypi.so
569 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_zytronic.so
570 %dir %{dfbdir}/interfaces
571 %dir %{dfbdir}/interfaces/ICoreResourceManager
572 %attr(755,root,root) %{dfbdir}/interfaces/ICoreResourceManager/libicoreresourcemanager_test.so
573 %dir %{dfbdir}/interfaces/IDirectFB
574 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFB/lib*.so
575 %dir %{dfbdir}/interfaces/IDirectFBDataBuffer
576 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDataBuffer/lib*.so
577 %dir %{dfbdir}/interfaces/IDirectFBDisplayLayer
578 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDisplayLayer/lib*.so
579 %dir %{dfbdir}/interfaces/IDirectFBEventBuffer
580 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBEventBuffer/lib*.so
581 %dir %{dfbdir}/interfaces/IDirectFBFont
582 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dgiff.so
583 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dispatcher.so
584 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_requestor.so
585 %dir %{dfbdir}/interfaces/IDirectFBImageProvider
586 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so
587 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dfiff.so
588 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dispatcher.so
589 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_gif.so
590 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_mpeg2.so
591 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so
592 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_requestor.so
593 %dir %{dfbdir}/interfaces/IDirectFBInputDevice
594 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBInputDevice/lib*.so
595 %dir %{dfbdir}/interfaces/IDirectFBPalette
596 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBPalette/lib*.so
597 %dir %{dfbdir}/interfaces/IDirectFBScreen
598 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBScreen/lib*.so
599 %dir %{dfbdir}/interfaces/IDirectFBSurface
600 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBSurface/lib*.so
601 %dir %{dfbdir}/interfaces/IDirectFBVideoProvider
602 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gif.so
603 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so
604 %dir %{dfbdir}/interfaces/IDirectFBWindow
605 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBWindow/lib*.so
606 %dir %{dfbdir}/interfaces/IDirectFBWindows
607 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBWindows/lib*.so
608 %dir %{dfbdir}/interfaces/IWater
609 %attr(755,root,root) %{dfbdir}/interfaces/IWater/lib*.so
610 %dir %{dfbdir}/systems
611 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_devmem.so
612 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_dummy.so
613 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_fbdev.so
615 %attr(755,root,root) %{dfbdir}/wm/lib*.so
616 %{_datadir}/directfb-%{version}
617 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/directfbrc
618 %{_mandir}/man1/dfbg.1*
619 %{_mandir}/man5/directfbrc.5*
622 %defattr(644,root,root,755)
623 %attr(755,root,root) %{_bindir}/directfb-config
624 %attr(755,root,root) %{_bindir}/directfb-csource
625 %attr(755,root,root) %{_libdir}/libdirect.so
626 %attr(755,root,root) %{_libdir}/libdirectfb.so
627 %attr(755,root,root) %{_libdir}/libfusion.so
628 %{?with_one:%attr(755,root,root) %{_libdir}/libone.so}
629 %attr(755,root,root) %{_libdir}/libuniquewm.so
630 %attr(755,root,root) %{_libdir}/libvoodoo.so
631 %{_libdir}/libdirect.la
632 %{_libdir}/libdirectfb.la
633 %{_libdir}/libfusion.la
634 %{?with_one:%{_libdir}/libone.la}
635 %{_libdir}/libuniquewm.la
636 %{_libdir}/libvoodoo.la
637 %{_includedir}/directfb
638 %{_includedir}/directfb-internal
639 %{_pkgconfigdir}/direct.pc
640 %{_pkgconfigdir}/directfb-internal.pc
641 %{_pkgconfigdir}/directfb.pc
642 %{_pkgconfigdir}/fusion.pc
643 %{?with_one:%{_pkgconfigdir}/one.pc}
644 %{_pkgconfigdir}/voodoo.pc
645 %{_mandir}/man1/directfb-csource.1*
647 %if %{with static_libs}
649 %defattr(644,root,root,755)
650 %{_libdir}/libdirect.a
651 %{_libdir}/libdirectfb.a
652 %{_libdir}/libfusion.a
653 %{?with_one:%{_libdir}/libone.a}
654 %{_libdir}/libuniquewm.a
655 %{_libdir}/libvoodoo.a
656 %{dfbdir}/gfxdrivers/*.[alo]*
657 %{dfbdir}/inputdrivers/*.[alo]*
658 %{dfbdir}/interfaces/*/*.[alo]*
659 %{dfbdir}/systems/*.[alo]*
660 %{dfbdir}/wm/*.[alo]*
664 %defattr(644,root,root,755)
665 %doc docs/html/*.{html,png}
666 %{_examplesdir}/%{name}-%{version}
669 %defattr(644,root,root,755)
670 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_gles2.so
671 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_mesa_system.so
674 %defattr(644,root,root,755)
675 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sdlinput.so
676 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_sdl.so
679 %defattr(644,root,root,755)
680 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_vdpau.so
681 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11vdpau.so
684 %defattr(644,root,root,755)
685 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_vnc.so
688 %defattr(644,root,root,755)
689 %doc systems/x11/README
690 %attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11.so
693 %defattr(644,root,root,755)
694 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_ft2.so
698 %defattr(644,root,root,755)
699 %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sh772x.so
703 %defattr(644,root,root,755)
704 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_dynapro.so
707 %defattr(644,root,root,755)
708 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_elo.so
711 %defattr(644,root,root,755)
712 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_gunze.so
715 %defattr(644,root,root,755)
716 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_mutouch.so
719 %defattr(644,root,root,755)
720 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_tslib.so
724 %defattr(644,root,root,755)
725 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ucb1x00_ts.so
729 %defattr(644,root,root,755)
730 %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_wm97xx_ts.so
733 %defattr(644,root,root,755)
734 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so
737 %defattr(644,root,root,755)
738 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so
740 %files image-jpeg2000
741 %defattr(644,root,root,755)
742 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg2000.so
745 %defattr(644,root,root,755)
746 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so
749 %defattr(644,root,root,755)
750 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_svg.so
752 %if %{with gstreamer}
753 %files video-gstreamer
754 %defattr(644,root,root,755)
755 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gstreamer.so
759 %defattr(644,root,root,755)
760 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_mng.so