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