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