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