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