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