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