]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with multi # build Multi-application core (requires working /dev/fusion*) | |
4 | %bcond_without static_libs # don't build static libraries | |
5 | # | |
6 | Summary: DirectFB - Hardware graphics acceleration | |
7 | Summary(pl.UTF-8): DirectFB - Wspomaganie grafiki | |
8 | Name: DirectFB | |
9 | Version: 1.2.7 | |
10 | Release: 5 | |
11 | Epoch: 1 | |
12 | License: LGPL v2+ | |
13 | Group: Libraries | |
14 | Source0: http://www.directfb.org/downloads/Core/%{name}-%{version}.tar.gz | |
15 | # Source0-md5: 59ca16f600e96c8c104a485ff7c322c6 | |
16 | Source1: http://www.directfb.org/downloads/Extras/DFBTutorials-0.5.0.tar.gz | |
17 | # Source1-md5: 13e443a64bddd68835b574045d9025e9 | |
18 | Patch0: %{name}-am.patch | |
19 | Patch1: %{name}-pmake.patch | |
20 | Patch2: %{name}-fix.patch | |
21 | Patch3: %{name}-gcc4.patch | |
22 | Patch4: %{name}-llh-ppc.patch | |
23 | Patch5: %{name}-link.patch | |
24 | Patch6: %{name}-libpng.patch | |
25 | URL: http://www.directfb.org/ | |
26 | BuildRequires: SDL-devel | |
27 | BuildRequires: autoconf >= 2.52 | |
28 | BuildRequires: automake | |
29 | BuildRequires: freetype-devel >= 2.0.2 | |
30 | BuildRequires: libjpeg-devel >= 6b | |
31 | BuildRequires: libpng-devel >= 2:1.4.0 | |
32 | BuildRequires: libtool | |
33 | BuildRequires: libvncserver-devel | |
34 | %{?with_multi:BuildRequires: linux-fusion-devel >= 8.0} | |
35 | %{?with_multi:BuildRequires: linux-fusion-devel < 9} | |
36 | BuildRequires: sed >= 4.0 | |
37 | BuildRequires: sysfsutils-devel >= 1.3.0-3 | |
38 | BuildRequires: tslib-devel >= 0.0.2 | |
39 | BuildRequires: xorg-lib-libXext-devel | |
40 | BuildRequires: zlib-devel >= 1.1.3 | |
41 | %{?with_multi:Provides: DirectFB(multi)} | |
42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
43 | ||
44 | %define dfbdir %{_libdir}/directfb-1.2-0 | |
45 | ||
46 | %define specflags -fno-strict-aliasing | |
47 | ||
48 | %ifarch %{ix86} | |
49 | # gcc running out of registers with -O0 in generic_mmx.h | |
50 | %define debugcflags -O1 -g | |
51 | %endif | |
52 | ||
53 | %description | |
54 | DirectFB hardware graphics acceleration - libraries. | |
55 | ||
56 | %description -l pl.UTF-8 | |
57 | Wspomaganie grafiki DirectFB - biblioteki. | |
58 | ||
59 | %package devel | |
60 | Summary: DirectFB - development package | |
61 | Summary(pl.UTF-8): DirectFB - pliki nagłówkowe | |
62 | Group: Development/Libraries | |
63 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
64 | Requires: zlib-devel >= 1.1.3 | |
65 | ||
66 | %description devel | |
67 | DirectFB header files. | |
68 | ||
69 | %description devel -l pl.UTF-8 | |
70 | Pliki nagłówkowe dla DirectFB. | |
71 | ||
72 | %package static | |
73 | Summary: DirectFB static libraries | |
74 | Summary(pl.UTF-8): Statyczne biblioteki DirectFB | |
75 | Group: Development/Libraries | |
76 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
77 | ||
78 | %description static | |
79 | DirectFB static libraries. | |
80 | ||
81 | %description static -l pl.UTF-8 | |
82 | Statyczne biblioteki DirectFB. | |
83 | ||
84 | %package doc | |
85 | Summary: DirectFB - documentation | |
86 | Summary(pl.UTF-8): DirectFB - dokumentacja | |
87 | Group: Documentation | |
88 | ||
89 | %description doc | |
90 | DirectFB documentation and tutorials. | |
91 | ||
92 | %description doc -l pl.UTF-8 | |
93 | Dokumentacja dla systemu DirectFB wraz z wprowadzeniem. | |
94 | ||
95 | %package core-sdl | |
96 | Summary: SDL core system for DirectFB | |
97 | Summary(pl.UTF-8): System SDL dla DirectFB | |
98 | Group: Libraries | |
99 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
100 | ||
101 | %description core-sdl | |
102 | This package contains SDL core system module for DirectFB. | |
103 | ||
104 | %description core-sdl -l pl.UTF-8 | |
105 | Ten pakiet zawiera moduł systemu SDL dla DirectFB. | |
106 | ||
107 | %package core-vnc | |
108 | Summary: VNC core system for DirectFB | |
109 | Summary(pl.UTF-8): System VNC dla DirectFB | |
110 | Group: Libraries | |
111 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
112 | ||
113 | %description core-vnc | |
114 | This package contains VNC core system module for DirectFB. | |
115 | ||
116 | %description core-vnc -l pl.UTF-8 | |
117 | Ten pakiet zawiera moduł systemu VNC dla DirectFB. | |
118 | ||
119 | %package core-x11 | |
120 | Summary: X11 core system for DirectFB | |
121 | Summary(pl.UTF-8): System X11 dla DirectFB | |
122 | Group: Libraries | |
123 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
124 | ||
125 | %description core-x11 | |
126 | This package contains X11 core system module for DirectFB. | |
127 | ||
128 | %description core-x11 -l pl.UTF-8 | |
129 | Ten pakiet zawiera moduł systemu X11 dla DirectFB. | |
130 | ||
131 | %package font-ft2 | |
132 | Summary: FreeType2 font provider for DirectFB | |
133 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca fonty poprzez FreeType2 | |
134 | Group: Libraries | |
135 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
136 | ||
137 | %description font-ft2 | |
138 | This package contains FreeType2 font provider for DirectFB. | |
139 | ||
140 | %description font-ft2 -l pl.UTF-8 | |
141 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą fonty poprzez | |
142 | bibliotekę FreeType2. | |
143 | ||
144 | %package image-jpeg | |
145 | Summary: JPEG image provider for DirectFB | |
146 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG | |
147 | Group: Libraries | |
148 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
149 | ||
150 | %description image-jpeg | |
151 | This package contains JPEG image provider for DirectFB. | |
152 | ||
153 | %description image-jpeg -l pl.UTF-8 | |
154 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę JPEG. | |
155 | ||
156 | %package image-png | |
157 | Summary: PNG image provider for DirectFB | |
158 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę PNG | |
159 | Group: Libraries | |
160 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
161 | ||
162 | %description image-png | |
163 | This package contains PNG image provider for DirectFB. | |
164 | ||
165 | %description image-png -l pl.UTF-8 | |
166 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę PNG. | |
167 | ||
168 | %package input-dynapro | |
169 | Summary: Dynapro touchscreen input driver for DirectFB | |
170 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Dynapro dla DirectFB | |
171 | Group: Libraries | |
172 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
173 | ||
174 | %description input-dynapro | |
175 | Dynapro touchscreen input driver for DirectFB. | |
176 | ||
177 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
178 | unless you don't have Dynapro device connected to this port. It can | |
179 | mess with other devices connected to this port (mouse, modem etc.). | |
180 | ||
181 | %description input-dynapro -l pl.UTF-8 | |
182 | Sterownik wejściowy do touchscreenów Dynapro dla DirectFB. | |
183 | ||
184 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
185 | nie należy go instalować, jeśli urządzenie Dynapro nie jest podłączone | |
186 | do tego portu. Sterownik może utrudnić współpracę z innymi | |
187 | urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
188 | ||
189 | %package input-elo | |
190 | Summary: ELO touchscreen input driver for DirectFB | |
191 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów ELO dla DirectFB | |
192 | Group: Libraries | |
193 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
194 | ||
195 | %description input-elo | |
196 | ELO touchscreen input driver for DirectFB. | |
197 | ||
198 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
199 | unless you have ELO device connected to this port. It can mess with | |
200 | other devices connected to this port (mouse, modem etc.). | |
201 | ||
202 | %description input-elo -l pl.UTF-8 | |
203 | Sterownik wejściowy do touchscreenów ELO dla DirectFB. | |
204 | ||
205 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
206 | nie należy go instalować, jeśli urządzenie ELO nie jest podłączone do | |
207 | tego portu. Sterownik może utrudnić współpracę z innymi urządzeniami | |
208 | podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
209 | ||
210 | %package input-gunze | |
211 | Summary: Gunze touchscreen input driver for DirectFB | |
212 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Gunze dla DirectFB | |
213 | Group: Libraries | |
214 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
215 | ||
216 | %description input-gunze | |
217 | Gunze touchscreen input driver for DirectFB. | |
218 | ||
219 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
220 | unless you don't have Gunze device connected to this port. It can mess | |
221 | with other devices connected to this port (mouse, modem etc.). | |
222 | ||
223 | %description input-gunze -l pl.UTF-8 | |
224 | Sterownik wejściowy do touchscreenów Gunze dla DirectFB. | |
225 | ||
226 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
227 | nie należy go instalować, jeśli urządzenie Gunze nie jest podłączone | |
228 | do tego portu. Sterownik może utrudnić współpracę z innymi | |
229 | urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
230 | ||
231 | %package input-mutouch | |
232 | Summary: MuTouch touchscreen input driver for DirectFB | |
233 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów MuTouch dla DirectFB | |
234 | Group: Libraries | |
235 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
236 | ||
237 | %description input-mutouch | |
238 | MuTouch touchscreen input driver for DirectFB. | |
239 | ||
240 | NOTE: it needs "mut-device" setting in directfbrc in order to work. | |
241 | ||
242 | %description input-mutouch -l pl.UTF-8 | |
243 | Sterownik wejściowy do touchscreenów MuTouch dla DirectFB. | |
244 | ||
245 | UWAGA: do działania potrzebuje ustawienia "mut-device" w directfbrc. | |
246 | ||
247 | %package input-tslib | |
248 | Summary: tslib-based touchscreen input driver for DirectFB | |
249 | Summary(pl.UTF-8): Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB | |
250 | Group: Libraries | |
251 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
252 | ||
253 | %description input-tslib | |
254 | tslib-based touchscreen input driver for DirectFB | |
255 | ||
256 | %description input-tslib -l pl.UTF-8 | |
257 | Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB. | |
258 | ||
259 | %package input-ucb1x00 | |
260 | Summary: UCB1x00 touchscreen input driver for DirectFB | |
261 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB | |
262 | Group: Libraries | |
263 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
264 | ||
265 | %description input-ucb1x00 | |
266 | UCB1x00 touchscreen input driver for DirectFB. | |
267 | ||
268 | %description input-ucb1x00 -l pl.UTF-8 | |
269 | Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB. | |
270 | ||
271 | %package input-wm97xx | |
272 | Summary: WM97xx touchscreen input driver for DirectFB | |
273 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów WM97xx dla DirectFB | |
274 | Group: Libraries | |
275 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
276 | ||
277 | %description input-wm97xx | |
278 | WM97xx touchscreen input driver for DirectFB. | |
279 | ||
280 | %description input-wm97xx -l pl.UTF-8 | |
281 | Sterownik wejściowy do touchscreenów WM97xx dla DirectFB. | |
282 | ||
283 | %prep | |
284 | %setup -q -a1 | |
285 | %patch0 -p1 | |
286 | %patch1 -p1 | |
287 | %patch2 -p1 | |
288 | %patch3 -p1 | |
289 | %patch4 -p1 | |
290 | %patch5 -p1 | |
291 | %patch6 -p1 | |
292 | ||
293 | %build | |
294 | %{__libtoolize} | |
295 | %{__aclocal} -I m4 | |
296 | %{__autoconf} | |
297 | %{__autoheader} | |
298 | %{__automake} | |
299 | # MMX and SSE are detected at runtime, so it's safe to enable | |
300 | %configure \ | |
301 | %{!?debug:--disable-debug} \ | |
302 | --disable-maintainer-mode \ | |
303 | --enable-fast-install \ | |
304 | %{?with_multi:--enable-multi} \ | |
305 | --enable-sdl \ | |
306 | --enable-shared \ | |
307 | --enable-static \ | |
308 | --enable-unique \ | |
309 | --enable-video4linux2 \ | |
310 | --enable-voodoo \ | |
311 | --enable-x11 \ | |
312 | --enable-zlib \ | |
313 | %ifarch %{ix86} %{x8664} | |
314 | %ifnarch i386 i486 | |
315 | --enable-mmx \ | |
316 | %endif | |
317 | %ifnarch i386 i486 i586 | |
318 | --enable-sse \ | |
319 | %endif | |
320 | %endif | |
321 | --with-inputdrivers=dbox2remote,dreamboxremote,dynapro,elo-input,gunze,joystick,keyboard,linuxinput,lirc,mutouch,penmount,ps2mouse,serialmouse,sonypijogdial,tslib,ucb1x00,wm97xx \ | |
322 | %{!?with_static_libs:--disable-static} | |
323 | ||
324 | %{__make} -j1 \ | |
325 | X11_CFLAGS= \ | |
326 | X11_LIBS="-lX11 -lXext" | |
327 | ||
328 | %install | |
329 | rm -rf $RPM_BUILD_ROOT | |
330 | install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}} | |
331 | ||
332 | %{__make} -j1 install \ | |
333 | DESTDIR=$RPM_BUILD_ROOT | |
334 | ||
335 | cp -rf DFBTutorials* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
336 | ||
337 | touch $RPM_BUILD_ROOT%{_sysconfdir}/directfbrc | |
338 | ||
339 | %clean | |
340 | rm -rf $RPM_BUILD_ROOT | |
341 | ||
342 | %post -p /sbin/ldconfig | |
343 | %postun -p /sbin/ldconfig | |
344 | ||
345 | %files | |
346 | %defattr(644,root,root,755) | |
347 | %doc AUTHORS ChangeLog NEWS README TODO | |
348 | %attr(755,root,root) %{_bindir}/dfbdump | |
349 | %attr(755,root,root) %{_bindir}/dfbfx | |
350 | %attr(755,root,root) %{_bindir}/dfbg | |
351 | %attr(755,root,root) %{_bindir}/dfbinfo | |
352 | %attr(755,root,root) %{_bindir}/dfbinput | |
353 | %attr(755,root,root) %{_bindir}/dfbinspector | |
354 | %attr(755,root,root) %{_bindir}/dfblayer | |
355 | %attr(755,root,root) %{_bindir}/dfbmaster | |
356 | %attr(755,root,root) %{_bindir}/dfbpenmount | |
357 | %attr(755,root,root) %{_bindir}/dfbproxy | |
358 | %attr(755,root,root) %{_bindir}/dfbscreen | |
359 | %attr(755,root,root) %{_bindir}/mkdfiff | |
360 | %attr(755,root,root) %{_bindir}/mkdgiff | |
361 | %attr(755,root,root) %{_bindir}/uwmdump | |
362 | %attr(755,root,root) %{_libdir}/libdirect-1.2.so.*.*.* | |
363 | %attr(755,root,root) %ghost %{_libdir}/libdirect-1.2.so.0 | |
364 | %attr(755,root,root) %{_libdir}/libdirectfb-1.2.so.*.*.* | |
365 | %attr(755,root,root) %ghost %{_libdir}/libdirectfb-1.2.so.0 | |
366 | %attr(755,root,root) %{_libdir}/libfusion-1.2.so.*.*.* | |
367 | %attr(755,root,root) %ghost %{_libdir}/libfusion-1.2.so.0 | |
368 | %attr(755,root,root) %{_libdir}/libuniquewm-1.2.so.*.*.* | |
369 | %attr(755,root,root) %ghost %{_libdir}/libuniquewm-1.2.so.0 | |
370 | %attr(755,root,root) %{_libdir}/libvoodoo-1.2.so.*.*.* | |
371 | %attr(755,root,root) %ghost %{_libdir}/libvoodoo-1.2.so.0 | |
372 | %dir %{dfbdir} | |
373 | %dir %{dfbdir}/gfxdrivers | |
374 | %attr(755,root,root) %{dfbdir}/gfxdrivers/*.so | |
375 | %dir %{dfbdir}/inputdrivers | |
376 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_joystick.so | |
377 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_keyboard.so | |
378 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_linux_input.so | |
379 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_lirc.so | |
380 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_penmount.so | |
381 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ps2mouse.so | |
382 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_serialmouse.so | |
383 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sonypi.so | |
384 | %dir %{dfbdir}/interfaces | |
385 | %dir %{dfbdir}/interfaces/IDirectFB | |
386 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFB/lib*.so | |
387 | %dir %{dfbdir}/interfaces/IDirectFBDataBuffer | |
388 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDataBuffer/lib*.so | |
389 | %dir %{dfbdir}/interfaces/IDirectFBDisplayLayer | |
390 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDisplayLayer/lib*.so | |
391 | %dir %{dfbdir}/interfaces/IDirectFBEventBuffer | |
392 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBEventBuffer/lib*.so | |
393 | %dir %{dfbdir}/interfaces/IDirectFBFont | |
394 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_default.so | |
395 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dgiff.so | |
396 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dispatcher.so | |
397 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_requestor.so | |
398 | %dir %{dfbdir}/interfaces/IDirectFBImageProvider | |
399 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dfiff.so | |
400 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dispatcher.so | |
401 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_gif.so | |
402 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_requestor.so | |
403 | %dir %{dfbdir}/interfaces/IDirectFBInputDevice | |
404 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBInputDevice/lib*.so | |
405 | %dir %{dfbdir}/interfaces/IDirectFBPalette | |
406 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBPalette/lib*.so | |
407 | %dir %{dfbdir}/interfaces/IDirectFBScreen | |
408 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBScreen/lib*.so | |
409 | %dir %{dfbdir}/interfaces/IDirectFBSurface | |
410 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBSurface/lib*.so | |
411 | %dir %{dfbdir}/interfaces/IDirectFBVideoProvider | |
412 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gif.so | |
413 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so | |
414 | %dir %{dfbdir}/interfaces/IDirectFBWindow | |
415 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBWindow/lib*.so | |
416 | %dir %{dfbdir}/systems | |
417 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_devmem.so | |
418 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_fbdev.so | |
419 | %dir %{dfbdir}/wm | |
420 | %attr(755,root,root) %{dfbdir}/wm/*.so | |
421 | %{_datadir}/directfb-%{version} | |
422 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/directfbrc | |
423 | %{_mandir}/man1/dfbg.1* | |
424 | %{_mandir}/man5/directfbrc.5* | |
425 | ||
426 | %files devel | |
427 | %defattr(644,root,root,755) | |
428 | %attr(755,root,root) %{_bindir}/directfb-config | |
429 | %attr(755,root,root) %{_bindir}/directfb-csource | |
430 | %attr(755,root,root) %{_libdir}/libdirect.so | |
431 | %attr(755,root,root) %{_libdir}/libdirectfb.so | |
432 | %attr(755,root,root) %{_libdir}/libfusion.so | |
433 | %attr(755,root,root) %{_libdir}/libuniquewm.so | |
434 | %attr(755,root,root) %{_libdir}/libvoodoo.so | |
435 | %{_libdir}/libdirect.la | |
436 | %{_libdir}/libdirectfb.la | |
437 | %{_libdir}/libfusion.la | |
438 | %{_libdir}/libuniquewm.la | |
439 | %{_libdir}/libvoodoo.la | |
440 | %{_includedir}/directfb | |
441 | %{_includedir}/directfb-internal | |
442 | %{_pkgconfigdir}/direct.pc | |
443 | %{_pkgconfigdir}/directfb-internal.pc | |
444 | %{_pkgconfigdir}/directfb.pc | |
445 | %{_pkgconfigdir}/fusion.pc | |
446 | %{_pkgconfigdir}/voodoo.pc | |
447 | %{_mandir}/man1/directfb-csource.1* | |
448 | ||
449 | %if %{with static_libs} | |
450 | %files static | |
451 | %defattr(644,root,root,755) | |
452 | %{_libdir}/lib*.a | |
453 | %{dfbdir}/gfxdrivers/*.[alo]* | |
454 | %{dfbdir}/inputdrivers/*.[alo]* | |
455 | %{dfbdir}/interfaces/*/*.[alo]* | |
456 | %{dfbdir}/systems/*.[alo]* | |
457 | %{dfbdir}/wm/*.[alo]* | |
458 | %endif | |
459 | ||
460 | %files doc | |
461 | %defattr(644,root,root,755) | |
462 | %doc docs/html/*.{html,png} | |
463 | %{_examplesdir}/%{name}-%{version} | |
464 | ||
465 | %files core-sdl | |
466 | %defattr(644,root,root,755) | |
467 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sdlinput.so | |
468 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_sdl.so | |
469 | ||
470 | %files core-vnc | |
471 | %defattr(644,root,root,755) | |
472 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_vncinput.so | |
473 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_vnc.so | |
474 | ||
475 | %files core-x11 | |
476 | %defattr(644,root,root,755) | |
477 | %doc systems/x11/README | |
478 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11.so | |
479 | ||
480 | %files font-ft2 | |
481 | %defattr(644,root,root,755) | |
482 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_ft2.so | |
483 | ||
484 | %files image-jpeg | |
485 | %defattr(644,root,root,755) | |
486 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so | |
487 | ||
488 | %files image-png | |
489 | %defattr(644,root,root,755) | |
490 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so | |
491 | ||
492 | %files input-dynapro | |
493 | %defattr(644,root,root,755) | |
494 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_dynapro.so | |
495 | ||
496 | %files input-elo | |
497 | %defattr(644,root,root,755) | |
498 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_elo.so | |
499 | ||
500 | %files input-gunze | |
501 | %defattr(644,root,root,755) | |
502 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_gunze.so | |
503 | ||
504 | %files input-mutouch | |
505 | %defattr(644,root,root,755) | |
506 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_mutouch.so | |
507 | ||
508 | %files input-tslib | |
509 | %defattr(644,root,root,755) | |
510 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_tslib.so | |
511 | ||
512 | %files input-ucb1x00 | |
513 | %defattr(644,root,root,755) | |
514 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ucb1x00_ts.so | |
515 | ||
516 | %files input-wm97xx | |
517 | %defattr(644,root,root,755) | |
518 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_wm97xx_ts.so |