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