]>
Commit | Line | Data |
---|---|---|
805046f4 | 1 | # TODO: --enable-pvr2d when ready [requires PowerVR SDK?] |
a86e3925 JB |
2 | # |
3 | # Conditional build: | |
8f1e72d3 | 4 | %bcond_with multi # build Multi-application core (requires working /dev/fusion*) |
bb7da712 | 5 | %bcond_with sh772x # SH7722/SH7723 (SH-Mobile) graphics driver |
27d0b85e | 6 | %bcond_without static_libs # don't build static libraries |
805046f4 | 7 | %bcond_without one # Linux One IPC library |
31e736cd | 8 | %bcond_without gstreamer # GStreamer video provider |
a86e3925 | 9 | # |
bb7da712 JB |
10 | %ifarch sh4 |
11 | %define with_sh772x 1 | |
12 | %endif | |
7209bb84 | 13 | Summary: DirectFB - Hardware graphics acceleration |
29dd91d0 | 14 | Summary(pl.UTF-8): DirectFB - Wspomaganie grafiki |
b97730cd | 15 | Name: DirectFB |
02ed7916 JB |
16 | Version: 1.7.0 |
17 | Release: 1 | |
75e7fed3 | 18 | Epoch: 1 |
dd531635 | 19 | License: LGPL v2+ |
c34d73d3 | 20 | Group: Libraries |
02ed7916 JB |
21 | Source0: http://www.directfb.org/downloads/Core/DirectFB-1.7/%{name}-%{version}.tar.gz |
22 | # Source0-md5: 258d3a5fda5d9af16c5cbdca671638e5 | |
3d874b33 | 23 | Source1: http://www.directfb.org/downloads/Extras/DFBTutorials-0.5.0.tar.gz |
4474b793 | 24 | # Source1-md5: 13e443a64bddd68835b574045d9025e9 |
caa11f9b | 25 | Patch0: %{name}-am.patch |
c9a5c412 | 26 | Patch1: %{name}-pmake.patch |
d9652db7 | 27 | Patch2: %{name}-fix.patch |
31e736cd JB |
28 | Patch3: %{name}-llh-ppc.patch |
29 | Patch4: %{name}-zlib.patch | |
30 | Patch5: %{name}-update.patch | |
31 | Patch6: %{name}-gstreamer.patch | |
02ed7916 | 32 | Patch7: %{name}-sh.patch |
7209bb84 | 33 | URL: http://www.directfb.org/ |
31e736cd | 34 | %{?with_gstreamer:BuildRequires: FusionSound-devel >= 1.1.0} |
84ec87b6 JB |
35 | BuildRequires: Mesa-libEGL-devel |
36 | BuildRequires: Mesa-libGLES-devel | |
37 | BuildRequires: Mesa-libgbm-devel | |
cd8353f7 JB |
38 | BuildRequires: OpenGL-devel |
39 | BuildRequires: OpenGL-GLX-devel | |
c61914f8 | 40 | BuildRequires: SDL-devel |
134bb292 | 41 | BuildRequires: autoconf >= 2.52 |
7209bb84 | 42 | BuildRequires: automake |
bb829f4a | 43 | BuildRequires: freetype-devel >= 2.0.2 |
31e736cd | 44 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-base-devel >= 1.0} |
84ec87b6 JB |
45 | BuildRequires: imlib2-devel |
46 | BuildRequires: jasper-devel | |
47 | BuildRequires: libdrm-devel | |
bb829f4a | 48 | BuildRequires: libjpeg-devel >= 6b |
84ec87b6 | 49 | BuildRequires: libmng-devel |
baa068d2 | 50 | BuildRequires: libpng-devel >= 2:1.4.0 |
a87f855f | 51 | BuildRequires: libstdc++-devel |
84ec87b6 | 52 | BuildRequires: libsvg-cairo-devel >= 0.1.6 |
02ed7916 | 53 | BuildRequires: libtiff-devel >= 4 |
bb829f4a | 54 | BuildRequires: libtool |
84ec87b6 | 55 | BuildRequires: libvdpau-devel |
1d67db3f | 56 | BuildRequires: libvncserver-devel |
02ed7916 JB |
57 | BuildRequires: libwebp-devel >= 0.2.1 |
58 | %{?with_multi:BuildRequires: linux-fusion-devel >= 9.0.1} | |
59 | %{?with_one:BuildRequires: linux-one-devel >= 9.0.1} | |
16320889 | 60 | BuildRequires: pkgconfig |
d9652db7 | 61 | BuildRequires: sed >= 4.0 |
b737ab1d | 62 | BuildRequires: sysfsutils-devel >= 1.3.0-3 |
84ec87b6 JB |
63 | BuildRequires: tslib-devel >= 1.0 |
64 | BuildRequires: xorg-lib-libX11-devel | |
b80e2d72 | 65 | BuildRequires: xorg-lib-libXext-devel |
84ec87b6 | 66 | BuildRequires: xorg-proto-xproto-devel |
bb829f4a | 67 | BuildRequires: zlib-devel >= 1.1.3 |
cd8353f7 | 68 | #BuildRequires: pkgconfig(linotype) -- font provider??? |
bb7da712 JB |
69 | %if %{with sh772x} |
70 | BuildRequires: libshbeu-devel >= 1.0.2 | |
71 | BuildRequires: libshjpeg-devel >= 1.3.3 | |
72 | BuildRequires: libuiomux-devel >= 1.5.0 | |
73 | %endif | |
8e6b4a16 | 74 | %{?with_multi:Provides: DirectFB(multi)} |
84ec87b6 JB |
75 | %ifnarch arm |
76 | # ARM-specific | |
77 | Obsoletes: DirectFB-input-ucb1x00 | |
78 | %endif | |
fa14e7e8 | 79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b97730cd | 80 | |
02ed7916 | 81 | %define dfbdir %{_libdir}/directfb-1.7-0 |
b621b93e | 82 | |
e92bfe87 PS |
83 | %define specflags -fno-strict-aliasing |
84 | ||
1fc2240a JB |
85 | %ifarch %{ix86} |
86 | # gcc running out of registers with -O0 in generic_mmx.h | |
87 | %define debugcflags -O1 -g | |
88 | %endif | |
89 | ||
b97730cd | 90 | %description |
7209bb84 | 91 | DirectFB hardware graphics acceleration - libraries. |
b97730cd | 92 | |
50c27dbd | 93 | %description -l pl.UTF-8 |
7209bb84 | 94 | Wspomaganie grafiki DirectFB - biblioteki. |
b97730cd | 95 | |
340488a1 | 96 | %package devel |
7209bb84 | 97 | Summary: DirectFB - development package |
29dd91d0 | 98 | Summary(pl.UTF-8): DirectFB - pliki nagłówkowe |
c34d73d3 | 99 | Group: Development/Libraries |
d9652db7 | 100 | Requires: %{name} = %{epoch}:%{version}-%{release} |
02ed7916 | 101 | %{?with_one:Requires: linux-one-devel >= 1.7.0} |
d9652db7 | 102 | Requires: zlib-devel >= 1.1.3 |
055ea81c | 103 | |
340488a1 | 104 | %description devel |
055ea81c | 105 | DirectFB header files. |
106 | ||
50c27dbd JR |
107 | %description devel -l pl.UTF-8 |
108 | Pliki nagłówkowe dla DirectFB. | |
340488a1 | 109 | |
bb829f4a JB |
110 | %package static |
111 | Summary: DirectFB static libraries | |
29dd91d0 | 112 | Summary(pl.UTF-8): Statyczne biblioteki DirectFB |
bb829f4a | 113 | Group: Development/Libraries |
d9652db7 | 114 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
bb829f4a JB |
115 | |
116 | %description static | |
117 | DirectFB static libraries. | |
118 | ||
50c27dbd | 119 | %description static -l pl.UTF-8 |
bb829f4a JB |
120 | Statyczne biblioteki DirectFB. |
121 | ||
340488a1 | 122 | %package doc |
7209bb84 | 123 | Summary: DirectFB - documentation |
29dd91d0 | 124 | Summary(pl.UTF-8): DirectFB - dokumentacja |
f4c66141 | 125 | Group: Documentation |
055ea81c | 126 | |
340488a1 | 127 | %description doc |
bb829f4a JB |
128 | DirectFB documentation and tutorials. |
129 | ||
50c27dbd | 130 | %description doc -l pl.UTF-8 |
bb829f4a JB |
131 | Dokumentacja dla systemu DirectFB wraz z wprowadzeniem. |
132 | ||
02ed7916 JB |
133 | %package core-drmkms |
134 | Summary: DRM/KMS core system for DirectFB | |
135 | Summary(pl.UTF-8): System DRM/KMS dla DirectFB | |
136 | Group: Libraries | |
137 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
138 | ||
139 | %description core-drmkms | |
140 | This package contains DRM/KMS core system module for DirectFB. | |
141 | ||
142 | %description core-drmkms -l pl.UTF-8 | |
143 | Ten pakiet zawiera moduł systemu DRM/KMS dla DirectFB. | |
144 | ||
84ec87b6 JB |
145 | %package core-mesa |
146 | Summary: Mesa/GLESv2 core system for DirectFB | |
147 | Summary(pl.UTF-8): System Mesa/GLESv2 dla DirectFB | |
148 | Group: Libraries | |
149 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
150 | ||
151 | %description core-mesa | |
152 | This package contains Mesa/GLESv2 core system module for DirectFB. | |
153 | ||
154 | %description core-mesa -l pl.UTF-8 | |
155 | Ten pakiet zawiera moduł systemu Mesa/GLESv2 dla DirectFB. | |
156 | ||
c61914f8 JB |
157 | %package core-sdl |
158 | Summary: SDL core system for DirectFB | |
29dd91d0 | 159 | Summary(pl.UTF-8): System SDL dla DirectFB |
c61914f8 | 160 | Group: Libraries |
d9652db7 | 161 | Requires: %{name} = %{epoch}:%{version}-%{release} |
c61914f8 JB |
162 | |
163 | %description core-sdl | |
164 | This package contains SDL core system module for DirectFB. | |
165 | ||
50c27dbd JR |
166 | %description core-sdl -l pl.UTF-8 |
167 | Ten pakiet zawiera moduł systemu SDL dla DirectFB. | |
c61914f8 | 168 | |
84ec87b6 JB |
169 | %package core-vdpau |
170 | Summary: X11/VDPAU core system for DirectFB | |
171 | Summary(pl.UTF-8): System X11/VDPAU dla DirectFB | |
172 | Group: Libraries | |
173 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
174 | ||
175 | %description core-vdpau | |
176 | This package contains X11/VDPAU core system module for DirectFB. | |
177 | ||
178 | %description core-vdpau -l pl.UTF-8 | |
179 | Ten pakiet zawiera moduł systemu X11/VDPAU dla DirectFB. | |
180 | ||
b737ab1d JB |
181 | %package core-vnc |
182 | Summary: VNC core system for DirectFB | |
29dd91d0 | 183 | Summary(pl.UTF-8): System VNC dla DirectFB |
b737ab1d JB |
184 | Group: Libraries |
185 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
186 | ||
187 | %description core-vnc | |
188 | This package contains VNC core system module for DirectFB. | |
189 | ||
50c27dbd JR |
190 | %description core-vnc -l pl.UTF-8 |
191 | Ten pakiet zawiera moduł systemu VNC dla DirectFB. | |
b737ab1d JB |
192 | |
193 | %package core-x11 | |
194 | Summary: X11 core system for DirectFB | |
29dd91d0 | 195 | Summary(pl.UTF-8): System X11 dla DirectFB |
b737ab1d JB |
196 | Group: Libraries |
197 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
198 | ||
199 | %description core-x11 | |
200 | This package contains X11 core system module for DirectFB. | |
201 | ||
50c27dbd JR |
202 | %description core-x11 -l pl.UTF-8 |
203 | Ten pakiet zawiera moduł systemu X11 dla DirectFB. | |
b737ab1d | 204 | |
b621b93e JB |
205 | %package font-ft2 |
206 | Summary: FreeType2 font provider for DirectFB | |
29dd91d0 | 207 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca fonty poprzez FreeType2 |
b621b93e | 208 | Group: Libraries |
d9652db7 | 209 | Requires: %{name} = %{epoch}:%{version}-%{release} |
b621b93e JB |
210 | |
211 | %description font-ft2 | |
212 | This package contains FreeType2 font provider for DirectFB. | |
213 | ||
50c27dbd JR |
214 | %description font-ft2 -l pl.UTF-8 |
215 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą fonty poprzez | |
216 | bibliotekę FreeType2. | |
b621b93e | 217 | |
bb7da712 JB |
218 | %package gfx-sh772x |
219 | Summary: SH7722/SH7723 graphics driver for DirectFB | |
220 | Summary(pl.UTF-8): Sterownik graficzny SH7722/7723 dla DirectFB | |
221 | Group: Libraries | |
222 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
223 | Requires: libshbeu >= 1.0.2 | |
224 | Requires: libshjpeg >= 1.3.3 | |
225 | Requires: libuiomux >= 1.5.0 | |
226 | ||
227 | %description gfx-sh772x | |
228 | SH7722/SH7723 graphics (SH-Mobile devices) driver for DirectFB. | |
229 | ||
230 | %description gfx-sh772x -l pl.UTF-8 | |
231 | Sterownik graficzny SH7722/7723 (SH-Mobile) dla DirectFB. | |
232 | ||
b775b9bd | 233 | %package input-dynapro |
84b3c8f4 | 234 | Summary: Dynapro touchscreen input driver for DirectFB |
235 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Dynapro dla DirectFB | |
236 | Group: Libraries | |
237 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
b775b9bd JB |
238 | |
239 | %description input-dynapro | |
240 | Dynapro touchscreen input driver for DirectFB. | |
241 | ||
242 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
243 | unless you don't have Dynapro device connected to this port. It can | |
244 | mess with other devices connected to this port (mouse, modem etc.). | |
245 | ||
44b72f5f | 246 | %description input-dynapro -l pl.UTF-8 |
b775b9bd JB |
247 | Sterownik wejściowy do touchscreenów Dynapro dla DirectFB. |
248 | ||
249 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
250 | nie należy go instalować, jeśli urządzenie Dynapro nie jest podłączone | |
251 | do tego portu. Sterownik może utrudnić współpracę z innymi | |
252 | urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
253 | ||
639e9568 JB |
254 | %package input-elo |
255 | Summary: ELO touchscreen input driver for DirectFB | |
29dd91d0 | 256 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów ELO dla DirectFB |
639e9568 JB |
257 | Group: Libraries |
258 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
259 | ||
260 | %description input-elo | |
261 | ELO touchscreen input driver for DirectFB. | |
262 | ||
263 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
b80e2d72 JB |
264 | unless you have ELO device connected to this port. It can mess with |
265 | other devices connected to this port (mouse, modem etc.). | |
639e9568 | 266 | |
50c27dbd JR |
267 | %description input-elo -l pl.UTF-8 |
268 | Sterownik wejściowy do touchscreenów ELO dla DirectFB. | |
639e9568 | 269 | |
50c27dbd JR |
270 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc |
271 | nie należy go instalować, jeśli urządzenie ELO nie jest podłączone do | |
272 | tego portu. Sterownik może utrudnić współpracę z innymi urządzeniami | |
273 | podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
639e9568 | 274 | |
b775b9bd | 275 | %package input-gunze |
84b3c8f4 | 276 | Summary: Gunze touchscreen input driver for DirectFB |
277 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów Gunze dla DirectFB | |
278 | Group: Libraries | |
279 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
b775b9bd JB |
280 | |
281 | %description input-gunze | |
282 | Gunze touchscreen input driver for DirectFB. | |
283 | ||
284 | NOTE: currently it uses hardcoded /dev/ttyS0 port, so don't install it | |
285 | unless you don't have Gunze device connected to this port. It can mess | |
286 | with other devices connected to this port (mouse, modem etc.). | |
287 | ||
44b72f5f | 288 | %description input-gunze -l pl.UTF-8 |
b775b9bd JB |
289 | Sterownik wejściowy do touchscreenów Gunze dla DirectFB. |
290 | ||
291 | UWAGA: aktualnie używa zakodowanego na stałe portu /dev/ttyS0, więc | |
292 | nie należy go instalować, jeśli urządzenie Gunze nie jest podłączone | |
293 | do tego portu. Sterownik może utrudnić współpracę z innymi | |
294 | urządzeniami podłączonymi do /dev/ttyS0 (jak mysz, modem itp.). | |
295 | ||
639e9568 JB |
296 | %package input-mutouch |
297 | Summary: MuTouch touchscreen input driver for DirectFB | |
29dd91d0 | 298 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów MuTouch dla DirectFB |
639e9568 JB |
299 | Group: Libraries |
300 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
301 | ||
302 | %description input-mutouch | |
303 | MuTouch touchscreen input driver for DirectFB. | |
304 | ||
b737ab1d | 305 | NOTE: it needs "mut-device" setting in directfbrc in order to work. |
639e9568 | 306 | |
50c27dbd JR |
307 | %description input-mutouch -l pl.UTF-8 |
308 | Sterownik wejściowy do touchscreenów MuTouch dla DirectFB. | |
639e9568 | 309 | |
50c27dbd | 310 | UWAGA: do działania potrzebuje ustawienia "mut-device" w directfbrc. |
639e9568 | 311 | |
b3a13aad JB |
312 | %package input-tslib |
313 | Summary: tslib-based touchscreen input driver for DirectFB | |
314 | Summary(pl.UTF-8): Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB | |
315 | Group: Libraries | |
316 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
84ec87b6 | 317 | Requires: tslib >= 1.0 |
b3a13aad JB |
318 | |
319 | %description input-tslib | |
320 | tslib-based touchscreen input driver for DirectFB | |
321 | ||
322 | %description input-tslib -l pl.UTF-8 | |
323 | Oparty na tslib sterownik wejściowy do touchscreenów dla DirectFB. | |
324 | ||
b775b9bd | 325 | %package input-ucb1x00 |
84b3c8f4 | 326 | Summary: UCB1x00 touchscreen input driver for DirectFB |
327 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB | |
328 | Group: Libraries | |
329 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
b775b9bd JB |
330 | |
331 | %description input-ucb1x00 | |
332 | UCB1x00 touchscreen input driver for DirectFB. | |
333 | ||
44b72f5f | 334 | %description input-ucb1x00 -l pl.UTF-8 |
b775b9bd JB |
335 | Sterownik wejściowy do touchscreenów UCB1x00 dla DirectFB. |
336 | ||
337 | %package input-wm97xx | |
84b3c8f4 | 338 | Summary: WM97xx touchscreen input driver for DirectFB |
339 | Summary(pl.UTF-8): Sterownik wejściowy do touchscreenów WM97xx dla DirectFB | |
340 | Group: Libraries | |
341 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
b775b9bd JB |
342 | |
343 | %description input-wm97xx | |
344 | WM97xx touchscreen input driver for DirectFB. | |
345 | ||
44b72f5f | 346 | %description input-wm97xx -l pl.UTF-8 |
b775b9bd JB |
347 | Sterownik wejściowy do touchscreenów WM97xx dla DirectFB. |
348 | ||
84ec87b6 JB |
349 | %package image-imlib2 |
350 | Summary: Imlib2 image provider for DirectFB | |
351 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę Imlib2 | |
352 | Group: Libraries | |
353 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
354 | ||
355 | %description image-imlib2 | |
356 | This package contains Imlib2 image provider for DirectFB. | |
357 | ||
358 | %description image-imlib2 -l pl.UTF-8 | |
359 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę Imlib2. | |
360 | ||
361 | %package image-jpeg | |
362 | Summary: JPEG image provider for DirectFB | |
363 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG | |
364 | Group: Libraries | |
365 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
366 | ||
367 | %description image-jpeg | |
368 | This package contains JPEG image provider for DirectFB. | |
369 | ||
370 | %description image-jpeg -l pl.UTF-8 | |
371 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę JPEG. | |
372 | ||
373 | %package image-jpeg2000 | |
374 | Summary: JPEG2000 image provider for DirectFB | |
375 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę JPEG2000 | |
376 | Group: Libraries | |
377 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
378 | ||
379 | %description image-jpeg2000 | |
380 | This package contains JPEG2000 image provider for DirectFB (based on | |
381 | jasper library). | |
382 | ||
383 | %description image-jpeg2000 -l pl.UTF-8 | |
384 | Ten pakiet zawiera wtyczkę dla DirectFB, opartą na bibliotece jasper, | |
385 | dostarczającą grafikę JPEG2000. | |
386 | ||
387 | %package image-png | |
388 | Summary: PNG image provider for DirectFB | |
389 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę PNG | |
390 | Group: Libraries | |
391 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
392 | Requires: libpng >= 2:1.4.0 | |
393 | ||
394 | %description image-png | |
395 | This package contains PNG image provider for DirectFB. | |
396 | ||
397 | %description image-png -l pl.UTF-8 | |
398 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę PNG. | |
399 | ||
400 | %package image-svg | |
401 | Summary: SVG image provider for DirectFB | |
402 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę SVG | |
403 | Group: Libraries | |
404 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
405 | Requires: libsvg-cairo >= 0.1.6 | |
406 | ||
407 | %description image-svg | |
408 | This package contains SVG image provider for DirectFB, based on Cairo | |
409 | library. | |
410 | ||
411 | %description image-svg -l pl.UTF-8 | |
412 | Ten pakiet zawiera wtyczkę dla DirectFB, opartą na bibliotece Cairo, | |
413 | dostarczającą grafikę SVG. | |
414 | ||
02ed7916 JB |
415 | %package image-tiff |
416 | Summary: TIFF image provider for DirectFB | |
417 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę TIFF | |
418 | Group: Libraries | |
419 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
420 | Requires: libtiff >= 4 | |
421 | ||
422 | %description image-tiff | |
423 | This package contains TIFF image provider for DirectFB. | |
424 | ||
425 | %description image-tiff -l pl.UTF-8 | |
426 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę TIFF. | |
427 | ||
428 | %package image-webp | |
429 | Summary: WebP image provider for DirectFB | |
430 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca grafikę WebP | |
431 | Group: Libraries | |
432 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
433 | Requires: libwebp >= 0.2.1 | |
434 | ||
435 | %description image-webp | |
436 | This package contains WebP image provider for DirectFB. | |
437 | ||
438 | %description image-webp -l pl.UTF-8 | |
439 | Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę WebP. | |
440 | ||
31e736cd JB |
441 | %package video-gstreamer |
442 | Summary: GStreamer video provider for DirectFB | |
443 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca obraz z GStreamera | |
444 | Group: Libraries | |
445 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
446 | ||
447 | %description video-gstreamer | |
448 | This package contains GStreamer video provider for DirectFB. | |
449 | ||
450 | %description video-gstreamer -l pl.UTF-8 | |
451 | Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą obraz z | |
452 | GStreamera. | |
453 | ||
84ec87b6 JB |
454 | %package video-mng |
455 | Summary: MNG video provider for DirectFB | |
456 | Summary(pl.UTF-8): DirectFB - wtyczka dostarczająca animacje MNG | |
457 | Group: Libraries | |
458 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
459 | ||
460 | %description video-mng | |
461 | This package contains MNG video provider for DirectFB. | |
462 | ||
463 | %description video-mng -l pl.UTF-8 | |
464 | Ten pakiet zawiera wtyczkę dla DirectFB, dostarczającą animacje MNG. | |
465 | ||
02ed7916 JB |
466 | %package c++ |
467 | Summary: ++DFB - advanced C++ binding for DirectFB | |
468 | Summary(pl.UTF-8): ++DFB - zaawansowane wiązania C++ do DirectFB | |
469 | Group: Libraries | |
470 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
471 | # (probably) can't Obsolete ++DFB | |
472 | Obsoletes: __DFB | |
473 | ||
474 | %description c++ | |
475 | ++DFB - advanced C++ binding for DirectFB. | |
476 | ||
477 | %description c++ -l pl.UTF-8 | |
478 | ++DFB - zaawansowane wiązania C++ do DirectFB. | |
479 | ||
480 | %package c++-devel | |
481 | Summary: Header files for ++DFB | |
482 | Summary(pl.UTF-8): Pliki nagłówkowe ++DFB | |
483 | Group: Development/Libraries | |
484 | Requires: %{name}-c++ = %{epoch}:%{version}-%{release} | |
485 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
486 | Obsoletes: __DFB-devel | |
487 | ||
488 | %description c++-devel | |
489 | Header files for ++DFB. | |
490 | ||
491 | %description c++-devel -l pl.UTF-8 | |
492 | Pliki nagłówkowe ++DFB. | |
493 | ||
494 | %package c++-static | |
495 | Summary: Static ++DFB library | |
496 | Summary(pl.UTF-8): Statyczna biblioteka ++DFB | |
497 | Group: Development/Libraries | |
498 | Requires: %{name}-c++-devel = %{epoch}:%{version}-%{release} | |
499 | Obsoletes: __DFB-static | |
500 | ||
501 | %description c++-static | |
502 | Static ++DFB library. | |
503 | ||
504 | %description c++-static -l pl.UTF-8 | |
505 | Statyczna biblioteka ++DFB. | |
506 | ||
b97730cd | 507 | %prep |
bb829f4a | 508 | %setup -q -a1 |
caa11f9b | 509 | %patch0 -p1 |
6937d70e | 510 | %patch1 -p1 |
d9652db7 JB |
511 | %patch2 -p1 |
512 | %patch3 -p1 | |
e92bfe87 | 513 | %patch4 -p1 |
84ec87b6 JB |
514 | %patch5 -p1 |
515 | %patch6 -p1 | |
02ed7916 | 516 | %patch7 -p1 |
b97730cd | 517 | |
84ec87b6 JB |
518 | # video drivers |
519 | %{__sed} -i -e 's/checkfor_\(cle266\|cyber5k\|radeon\|savage\|unichrome\|vmware\)=no/checkfor_\1=yes/' configure.in | |
520 | # input drivers | |
521 | %{__sed} -i -e 's/checkfor_\(dynapro\|elo\|gunze\)=no/checkfor_\1=yes/' configure.in | |
bb7da712 | 522 | |
b97730cd | 523 | %build |
841e5017 | 524 | %{__libtoolize} |
b3a13aad | 525 | %{__aclocal} -I m4 |
4a64870b | 526 | %{__autoconf} |
b3a13aad | 527 | %{__autoheader} |
bb829f4a | 528 | %{__automake} |
32d034f8 | 529 | # MMX and SSE are detected at runtime, so it's safe to enable |
bb829f4a | 530 | %configure \ |
d9652db7 | 531 | %{!?debug:--disable-debug} \ |
055ea81c | 532 | --disable-maintainer-mode \ |
84ec87b6 | 533 | --disable-silent-rules \ |
c61914f8 | 534 | --enable-fast-install \ |
31e736cd | 535 | %{?with_gstreamer:--enable-gstreamer} \ |
02ed7916 JB |
536 | --enable-imlib2 \ |
537 | --enable-mng \ | |
a86e3925 | 538 | %{?with_multi:--enable-multi} \ |
805046f4 | 539 | %{?with_one:--enable-one} \ |
c61914f8 | 540 | --enable-sdl \ |
d9652db7 JB |
541 | --enable-shared \ |
542 | --enable-static \ | |
02ed7916 | 543 | --enable-svg \ |
d9652db7 JB |
544 | --enable-unique \ |
545 | --enable-video4linux2 \ | |
546 | --enable-voodoo \ | |
b737ab1d | 547 | --enable-x11 \ |
d9652db7 | 548 | --enable-zlib \ |
e92bfe87 | 549 | %ifarch %{ix86} %{x8664} |
98afd923 | 550 | %ifnarch i386 i486 |
32d034f8 JB |
551 | --enable-mmx \ |
552 | %endif | |
98afd923 | 553 | %ifnarch i386 i486 i586 |
b80e2d72 | 554 | --enable-sse \ |
bb829f4a | 555 | %endif |
98afd923 | 556 | %endif |
cd8353f7 | 557 | --with-smooth-scaling \ |
27d0b85e | 558 | %{!?with_static_libs:--disable-static} |
303025bb | 559 | |
6a063a1f | 560 | %{__make} -j1 \ |
b80e2d72 JB |
561 | X11_CFLAGS= \ |
562 | X11_LIBS="-lX11 -lXext" | |
b97730cd | 563 | |
564 | %install | |
565 | rm -rf $RPM_BUILD_ROOT | |
b737ab1d | 566 | install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_sysconfdir}} |
c4ab922f | 567 | |
6a063a1f | 568 | %{__make} -j1 install \ |
c4ab922f PG |
569 | DESTDIR=$RPM_BUILD_ROOT |
570 | ||
bb829f4a JB |
571 | cp -rf DFBTutorials* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
572 | ||
cc3bbc38 | 573 | touch $RPM_BUILD_ROOT%{_sysconfdir}/directfbrc |
b737ab1d | 574 | |
7209bb84 JB |
575 | %clean |
576 | rm -rf $RPM_BUILD_ROOT | |
577 | ||
bb829f4a JB |
578 | %post -p /sbin/ldconfig |
579 | %postun -p /sbin/ldconfig | |
b97730cd | 580 | |
b97730cd | 581 | %files |
303025bb | 582 | %defattr(644,root,root,755) |
0a93b064 | 583 | %doc AUTHORS ChangeLog NEWS README TODO |
a86e3925 | 584 | %attr(755,root,root) %{_bindir}/dfbdump |
31e736cd | 585 | %attr(755,root,root) %{_bindir}/dfbdumpinput |
b3a13aad | 586 | %attr(755,root,root) %{_bindir}/dfbfx |
a86e3925 | 587 | %attr(755,root,root) %{_bindir}/dfbg |
ac9e29cd | 588 | %attr(755,root,root) %{_bindir}/dfbinfo |
b80e2d72 | 589 | %attr(755,root,root) %{_bindir}/dfbinput |
b3a13aad | 590 | %attr(755,root,root) %{_bindir}/dfbinspector |
d9652db7 | 591 | %attr(755,root,root) %{_bindir}/dfblayer |
b3a13aad | 592 | %attr(755,root,root) %{_bindir}/dfbmaster |
b80e2d72 | 593 | %attr(755,root,root) %{_bindir}/dfbpenmount |
d9652db7 JB |
594 | %attr(755,root,root) %{_bindir}/dfbproxy |
595 | %attr(755,root,root) %{_bindir}/dfbscreen | |
b775b9bd JB |
596 | %attr(755,root,root) %{_bindir}/mkdfiff |
597 | %attr(755,root,root) %{_bindir}/mkdgiff | |
cd8353f7 JB |
598 | %attr(755,root,root) %{_bindir}/mkdgifft |
599 | %attr(755,root,root) %{_bindir}/pxa3xx_dump | |
d9652db7 | 600 | %attr(755,root,root) %{_bindir}/uwmdump |
cd8353f7 | 601 | %attr(755,root,root) %{_bindir}/voodooplay |
84ec87b6 JB |
602 | %attr(755,root,root) %{_bindir}/voodooplay_client |
603 | %attr(755,root,root) %{_bindir}/voodooplay_server | |
02ed7916 JB |
604 | %attr(755,root,root) %{_libdir}/libdirect-1.7.so.*.*.* |
605 | %attr(755,root,root) %ghost %{_libdir}/libdirect-1.7.so.0 | |
606 | %attr(755,root,root) %{_libdir}/libdirectfb-1.7.so.*.*.* | |
607 | %attr(755,root,root) %ghost %{_libdir}/libdirectfb-1.7.so.0 | |
608 | %attr(755,root,root) %{_libdir}/libfusion-1.7.so.*.*.* | |
609 | %attr(755,root,root) %ghost %{_libdir}/libfusion-1.7.so.0 | |
805046f4 | 610 | %if %{with one} |
02ed7916 JB |
611 | %attr(755,root,root) %{_libdir}/libone-1.7.so.*.*.* |
612 | %attr(755,root,root) %ghost %{_libdir}/libone-1.7.so.0 | |
805046f4 | 613 | %endif |
02ed7916 JB |
614 | %attr(755,root,root) %{_libdir}/libuniquewm-1.7.so.*.*.* |
615 | %attr(755,root,root) %ghost %{_libdir}/libuniquewm-1.7.so.0 | |
616 | %attr(755,root,root) %{_libdir}/libvoodoo-1.7.so.*.*.* | |
617 | %attr(755,root,root) %ghost %{_libdir}/libvoodoo-1.7.so.0 | |
b621b93e JB |
618 | %dir %{dfbdir} |
619 | %dir %{dfbdir}/gfxdrivers | |
bb7da712 JB |
620 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_ati128.so |
621 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_cle266.so | |
622 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_cyber5k.so | |
623 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_ep9x.so | |
624 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_gl.so | |
625 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_i810.so | |
626 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_i830.so | |
627 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_mach64.so | |
628 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_matrox.so | |
629 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_neomagic.so | |
630 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_nsc.so | |
631 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_nvidia.so | |
632 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_pxa3xx.so | |
633 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_radeon.so | |
634 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_savage.so | |
635 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sdlgraphics.so | |
636 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sis315.so | |
637 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_tdfx.so | |
638 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_unichrome.so | |
639 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_vmware.so | |
84ec87b6 JB |
640 | %ifarch arm |
641 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_davinci.so | |
642 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_omap.so | |
643 | %endif | |
b621b93e | 644 | %dir %{dfbdir}/inputdrivers |
84ec87b6 | 645 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_input_hub.so |
c61914f8 JB |
646 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_joystick.so |
647 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_keyboard.so | |
d9652db7 | 648 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_linux_input.so |
c61914f8 | 649 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_lirc.so |
b775b9bd | 650 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_penmount.so |
c61914f8 JB |
651 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ps2mouse.so |
652 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_serialmouse.so | |
653 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sonypi.so | |
cd8353f7 | 654 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_zytronic.so |
b621b93e | 655 | %dir %{dfbdir}/interfaces |
792eb3b9 JB |
656 | %dir %{dfbdir}/interfaces/ICoreResourceManager |
657 | %attr(755,root,root) %{dfbdir}/interfaces/ICoreResourceManager/libicoreresourcemanager_test.so | |
d9652db7 JB |
658 | %dir %{dfbdir}/interfaces/IDirectFB |
659 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFB/lib*.so | |
660 | %dir %{dfbdir}/interfaces/IDirectFBDataBuffer | |
661 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDataBuffer/lib*.so | |
662 | %dir %{dfbdir}/interfaces/IDirectFBDisplayLayer | |
663 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBDisplayLayer/lib*.so | |
664 | %dir %{dfbdir}/interfaces/IDirectFBEventBuffer | |
665 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBEventBuffer/lib*.so | |
b621b93e | 666 | %dir %{dfbdir}/interfaces/IDirectFBFont |
b775b9bd | 667 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dgiff.so |
d9652db7 JB |
668 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_dispatcher.so |
669 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_requestor.so | |
b621b93e | 670 | %dir %{dfbdir}/interfaces/IDirectFBImageProvider |
84ec87b6 | 671 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so |
b775b9bd | 672 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dfiff.so |
d9652db7 | 673 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dispatcher.so |
41033e4b | 674 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_gif.so |
84ec87b6 JB |
675 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_mpeg2.so |
676 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so | |
d9652db7 JB |
677 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_requestor.so |
678 | %dir %{dfbdir}/interfaces/IDirectFBInputDevice | |
679 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBInputDevice/lib*.so | |
680 | %dir %{dfbdir}/interfaces/IDirectFBPalette | |
681 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBPalette/lib*.so | |
682 | %dir %{dfbdir}/interfaces/IDirectFBScreen | |
683 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBScreen/lib*.so | |
684 | %dir %{dfbdir}/interfaces/IDirectFBSurface | |
685 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBSurface/lib*.so | |
b621b93e | 686 | %dir %{dfbdir}/interfaces/IDirectFBVideoProvider |
b775b9bd | 687 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gif.so |
bf0cc7cf | 688 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so |
d9652db7 JB |
689 | %dir %{dfbdir}/interfaces/IDirectFBWindow |
690 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBWindow/lib*.so | |
84ec87b6 JB |
691 | %dir %{dfbdir}/interfaces/IDirectFBWindows |
692 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBWindows/lib*.so | |
693 | %dir %{dfbdir}/interfaces/IWater | |
694 | %attr(755,root,root) %{dfbdir}/interfaces/IWater/lib*.so | |
8457d9fb | 695 | %dir %{dfbdir}/systems |
b3a13aad | 696 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_devmem.so |
cd8353f7 | 697 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_dummy.so |
8457d9fb | 698 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_fbdev.so |
d9652db7 | 699 | %dir %{dfbdir}/wm |
cd8353f7 | 700 | %attr(755,root,root) %{dfbdir}/wm/lib*.so |
b775b9bd | 701 | %{_datadir}/directfb-%{version} |
b737ab1d | 702 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/directfbrc |
a86e3925 | 703 | %{_mandir}/man1/dfbg.1* |
b3a13aad | 704 | %{_mandir}/man5/directfbrc.5* |
340488a1 | 705 | |
706 | %files devel | |
303025bb | 707 | %defattr(644,root,root,755) |
4996377e | 708 | %attr(755,root,root) %{_bindir}/directfb-config |
e9f43c92 | 709 | %attr(755,root,root) %{_bindir}/directfb-csource |
d9652db7 JB |
710 | %attr(755,root,root) %{_libdir}/libdirect.so |
711 | %attr(755,root,root) %{_libdir}/libdirectfb.so | |
712 | %attr(755,root,root) %{_libdir}/libfusion.so | |
805046f4 | 713 | %{?with_one:%attr(755,root,root) %{_libdir}/libone.so} |
d9652db7 JB |
714 | %attr(755,root,root) %{_libdir}/libuniquewm.so |
715 | %attr(755,root,root) %{_libdir}/libvoodoo.so | |
716 | %{_libdir}/libdirect.la | |
717 | %{_libdir}/libdirectfb.la | |
718 | %{_libdir}/libfusion.la | |
805046f4 | 719 | %{?with_one:%{_libdir}/libone.la} |
d9652db7 JB |
720 | %{_libdir}/libuniquewm.la |
721 | %{_libdir}/libvoodoo.la | |
02ed7916 | 722 | %{_includedir}/One |
bb829f4a | 723 | %{_includedir}/directfb |
7b3020ed | 724 | %{_includedir}/directfb-internal |
b3a13aad JB |
725 | %{_pkgconfigdir}/direct.pc |
726 | %{_pkgconfigdir}/directfb-internal.pc | |
727 | %{_pkgconfigdir}/directfb.pc | |
728 | %{_pkgconfigdir}/fusion.pc | |
805046f4 | 729 | %{?with_one:%{_pkgconfigdir}/one.pc} |
b3a13aad | 730 | %{_pkgconfigdir}/voodoo.pc |
e9f43c92 | 731 | %{_mandir}/man1/directfb-csource.1* |
055ea81c | 732 | |
27d0b85e | 733 | %if %{with static_libs} |
bb829f4a JB |
734 | %files static |
735 | %defattr(644,root,root,755) | |
bb7da712 JB |
736 | %{_libdir}/libdirect.a |
737 | %{_libdir}/libdirectfb.a | |
738 | %{_libdir}/libfusion.a | |
805046f4 | 739 | %{?with_one:%{_libdir}/libone.a} |
bb7da712 JB |
740 | %{_libdir}/libuniquewm.a |
741 | %{_libdir}/libvoodoo.a | |
e9c71960 JB |
742 | %{dfbdir}/gfxdrivers/*.[alo]* |
743 | %{dfbdir}/inputdrivers/*.[alo]* | |
744 | %{dfbdir}/interfaces/*/*.[alo]* | |
745 | %{dfbdir}/systems/*.[alo]* | |
746 | %{dfbdir}/wm/*.[alo]* | |
27d0b85e | 747 | %endif |
bb829f4a | 748 | |
340488a1 | 749 | %files doc |
303025bb | 750 | %defattr(644,root,root,755) |
201f3399 | 751 | %doc docs/html/*.{html,png} |
bb829f4a JB |
752 | %{_examplesdir}/%{name}-%{version} |
753 | ||
02ed7916 JB |
754 | %files core-drmkms |
755 | %defattr(644,root,root,755) | |
756 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_drmkms_system.so | |
757 | ||
84ec87b6 JB |
758 | %files core-mesa |
759 | %defattr(644,root,root,755) | |
760 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_gles2.so | |
761 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_mesa_system.so | |
762 | ||
c61914f8 JB |
763 | %files core-sdl |
764 | %defattr(644,root,root,755) | |
765 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_sdlinput.so | |
766 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_sdl.so | |
767 | ||
84ec87b6 JB |
768 | %files core-vdpau |
769 | %defattr(644,root,root,755) | |
770 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_vdpau.so | |
771 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11vdpau.so | |
772 | ||
b737ab1d JB |
773 | %files core-vnc |
774 | %defattr(644,root,root,755) | |
b737ab1d JB |
775 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_vnc.so |
776 | ||
777 | %files core-x11 | |
778 | %defattr(644,root,root,755) | |
779 | %doc systems/x11/README | |
b737ab1d JB |
780 | %attr(755,root,root) %{dfbdir}/systems/libdirectfb_x11.so |
781 | ||
b621b93e JB |
782 | %files font-ft2 |
783 | %defattr(644,root,root,755) | |
41033e4b | 784 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBFont/libidirectfbfont_ft2.so |
b621b93e | 785 | |
bb7da712 JB |
786 | %if %{with sh772x} |
787 | %files gfx-sh772x | |
788 | %defattr(644,root,root,755) | |
789 | %attr(755,root,root) %{dfbdir}/gfxdrivers/libdirectfb_sh772x.so | |
790 | %endif | |
791 | ||
b775b9bd JB |
792 | %files input-dynapro |
793 | %defattr(644,root,root,755) | |
794 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_dynapro.so | |
795 | ||
639e9568 JB |
796 | %files input-elo |
797 | %defattr(644,root,root,755) | |
798 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_elo.so | |
799 | ||
b775b9bd JB |
800 | %files input-gunze |
801 | %defattr(644,root,root,755) | |
802 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_gunze.so | |
803 | ||
639e9568 JB |
804 | %files input-mutouch |
805 | %defattr(644,root,root,755) | |
806 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_mutouch.so | |
b775b9bd | 807 | |
b3a13aad JB |
808 | %files input-tslib |
809 | %defattr(644,root,root,755) | |
810 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_tslib.so | |
811 | ||
84ec87b6 | 812 | %ifarch arm |
b775b9bd JB |
813 | %files input-ucb1x00 |
814 | %defattr(644,root,root,755) | |
815 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_ucb1x00_ts.so | |
84ec87b6 | 816 | %endif |
b775b9bd JB |
817 | |
818 | %files input-wm97xx | |
819 | %defattr(644,root,root,755) | |
820 | %attr(755,root,root) %{dfbdir}/inputdrivers/libdirectfb_wm97xx_ts.so | |
84ec87b6 JB |
821 | |
822 | %files image-imlib2 | |
823 | %defattr(644,root,root,755) | |
824 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so | |
825 | ||
826 | %files image-jpeg | |
827 | %defattr(644,root,root,755) | |
828 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so | |
829 | ||
830 | %files image-jpeg2000 | |
831 | %defattr(644,root,root,755) | |
832 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg2000.so | |
833 | ||
834 | %files image-png | |
835 | %defattr(644,root,root,755) | |
836 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so | |
837 | ||
838 | %files image-svg | |
839 | %defattr(644,root,root,755) | |
840 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_svg.so | |
31e736cd | 841 | |
02ed7916 JB |
842 | %files image-tiff |
843 | %defattr(644,root,root,755) | |
844 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_tiff.so | |
845 | ||
846 | %files image-webp | |
847 | %defattr(644,root,root,755) | |
848 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_webp.so | |
849 | ||
6a8ec698 | 850 | %if %{with gstreamer} |
31e736cd JB |
851 | %files video-gstreamer |
852 | %defattr(644,root,root,755) | |
853 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gstreamer.so | |
6a8ec698 | 854 | %endif |
84ec87b6 JB |
855 | |
856 | %files video-mng | |
857 | %defattr(644,root,root,755) | |
858 | %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_mng.so | |
02ed7916 JB |
859 | |
860 | %files c++ | |
861 | %defattr(644,root,root,755) | |
862 | # ++DFB based utilities | |
863 | %attr(755,root,root) %{_bindir}/dfbplay | |
864 | %attr(755,root,root) %{_bindir}/dfbshow | |
865 | %attr(755,root,root) %{_bindir}/dfbswitch | |
866 | # library itself | |
867 | %attr(755,root,root) %{_libdir}/lib++dfb-1.7.so.*.*.* | |
868 | %attr(755,root,root) %ghost %{_libdir}/lib++dfb-1.7.so.0 | |
869 | ||
870 | %files c++-devel | |
871 | %defattr(644,root,root,755) | |
872 | %attr(755,root,root) %{_libdir}/lib++dfb.so | |
873 | %{_libdir}/lib++dfb.la | |
874 | %{_includedir}/++dfb | |
875 | %{_pkgconfigdir}/++dfb.pc | |
876 | ||
877 | %files c++-static | |
878 | %defattr(644,root,root,755) | |
879 | %{_libdir}/lib++dfb.a |