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