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