]>
Commit | Line | Data |
---|---|---|
a86e3925 | 1 | # |
e92bfe87 PS |
2 | # TODO: |
3 | # - fix x86-64 int32<->ptr64 casts. | |
4 | # | |
5 | # tree.c:88: warning: cast from pointer to integer of different size | |
6 | # tree.c:102: warning: cast from pointer to integer of different size | |
7 | # fonts.c:144: warning: cast to pointer from integer of different size | |
8 | # fonts.c:211: warning: cast to pointer from integer of different size | |
9 | # gfxcard.c:1451: warning: cast to pointer from integer of different size | |
10 | # fbdev.c:459: warning: cast from pointer to integer of different size | |
11 | # fbdev.c:578: warning: cast from pointer to integer of different size | |
12 | # fbdev.c:708: warning: cast from pointer to integer of different size | |
13 | # idirectfbfont_ft2.c:130: warning: cast from pointer to integer of different size | |
14 | # idirectfbfont_ft2.c:292: warning: cast from pointer to integer of different size | |
15 | # idirectfbfont_ft2.c:653: warning: cast to pointer from integer of different size | |
16 | # | |
a86e3925 | 17 | # Conditional build: |
8f1e72d3 | 18 | %bcond_with multi # build Multi-application core (requires working /dev/fusion*) |
a86e3925 | 19 | # |
7209bb84 | 20 | Summary: DirectFB - Hardware graphics acceleration |
b97730cd | 21 | Summary(pl): DirectFB - Wspomaganie grafiki |
22 | Name: DirectFB | |
3d874b33 | 23 | Version: 0.9.24 |
d9652db7 | 24 | Release: 1 |
75e7fed3 | 25 | Epoch: 1 |
dd531635 | 26 | License: LGPL v2+ |
c34d73d3 | 27 | Group: Libraries |
3d874b33 JB |
28 | Source0: http://www.directfb.org/downloads/Core/%{name}-%{version}.tar.gz |
29 | # Source0-md5: 1f4b56b20d4e6f5c6ceb15c1c4fd2ecd | |
30 | Source1: http://www.directfb.org/downloads/Extras/DFBTutorials-0.5.0.tar.gz | |
4474b793 | 31 | # Source1-md5: 13e443a64bddd68835b574045d9025e9 |
caa11f9b | 32 | Patch0: %{name}-am.patch |
c9a5c412 | 33 | Patch1: %{name}-pmake.patch |
d9652db7 | 34 | Patch2: %{name}-fix.patch |
3d874b33 | 35 | Patch3: %{name}-sh.patch |
e92bfe87 | 36 | Patch4: %{name}-gcc4.patch |
63d32190 | 37 | Patch5: %{name}-llh-ppc.patch |
7209bb84 | 38 | URL: http://www.directfb.org/ |
c61914f8 | 39 | BuildRequires: SDL-devel |
b737ab1d | 40 | BuildRequires: XFree86-devel |
134bb292 | 41 | BuildRequires: autoconf >= 2.52 |
7209bb84 | 42 | BuildRequires: automake |
bb829f4a | 43 | BuildRequires: freetype-devel >= 2.0.2 |
bb829f4a | 44 | BuildRequires: libjpeg-devel >= 6b |
b621b93e | 45 | BuildRequires: libpng-devel >= 1.0 |
bb829f4a | 46 | BuildRequires: libtool |
1d67db3f | 47 | BuildRequires: libvncserver-devel |
a86e3925 | 48 | %{?with_multi:BuildRequires: linux-fusion-devel} |
d9652db7 | 49 | BuildRequires: sed >= 4.0 |
b737ab1d | 50 | BuildRequires: sysfsutils-devel >= 1.3.0-3 |
bb829f4a | 51 | BuildRequires: zlib-devel >= 1.1.3 |
8e6b4a16 | 52 | %{?with_multi:Provides: DirectFB(multi)} |
fa14e7e8 | 53 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b97730cd | 54 | |
b621b93e JB |
55 | %define dfbdir %{_libdir}/directfb-%{version} |
56 | ||
e92bfe87 PS |
57 | %define specflags -fno-strict-aliasing |
58 | ||
1fc2240a JB |
59 | %ifarch %{ix86} |
60 | # gcc running out of registers with -O0 in generic_mmx.h | |
61 | %define debugcflags -O1 -g | |
62 | %endif | |
63 | ||
b97730cd | 64 | %description |
7209bb84 | 65 | DirectFB hardware graphics acceleration - libraries. |
b97730cd | 66 | |
67 | %description -l pl | |
7209bb84 | 68 | Wspomaganie grafiki DirectFB - biblioteki. |
b97730cd | 69 | |
340488a1 | 70 | %package devel |
7209bb84 JB |
71 | Summary: DirectFB - development package |
72 |