1 |
%define name fife |
2 |
%define version 0.3.2 |
3 |
%define internal_version r2 |
4 |
%define release 1 |
5 |
|
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %mkrel %{release} |
9 |
License: LGPLv2+ |
10 |
Summary: FIFE is a cross platform game creation framework |
11 |
Source0: http://kent.dl.sourceforge.net/project/fife/active/src/%{name}-%{version}%{internal_version}.tar.gz |
12 |
Url: http://fifengine.net/ |
13 |
|
14 |
BuildRequires: scons |
15 |
BuildRequires: libopenal-devel |
16 |
BuildRequires: libSDL-devel |
17 |
BuildRequires: libSDL_ttf-devel |
18 |
BuildRequires: libSDL_image-devel |
19 |
BuildRequires: libguichan-devel |
20 |
BuildRequires: libvorbis-devel |
21 |
#BuildRequires: libfreeglut-devel |
22 |
#BuildRequires: libfreealut-devel |
23 |
#BuildRequires: libpng-devel |
24 |
#BuildRequires: libpython-devel |
25 |
BuildRequires: libboost-devel >= 1.46 |
26 |
|
27 |
%description |
28 |
FIFE stands for Flexible Isometric Free Engine and is a cross platform game creation framework. It provides you with the ability to create a game using Python interfaces. This means you need to have little to no knowledge of C++ to make a game! Don't want to use Python? That's okay because FIFE also comes as a DLL or static library so you can also use C++! |
29 |
Content that ships with FIFE releases is licensed under Creative Commons 3.0 attribution-share alike if not stated otherwhise in a LICENSE file in the same folder. (or if not listed as otherwise in the LICENSE file of the client's directory.) |
30 |
|
31 |
%prep |
32 |
%setup -q -n %{name}-%{version}%{internal_version} |
33 |
|
34 |
%build |
35 |
scons .\ |
36 |
CXXFLAGS='%{optflags}' \ |
37 |
--enable-debug |
38 |
--enable-rend-grid \ |
39 |
--enable-rend-camzone \ |
40 |
fife-shared fife-static fife-python fife-swig |
41 |
|
42 |
doxygen ./doc/doxygen/doxyfile |
43 |
rm -f ./doc/doxygen/html/installdox |
44 |
|
45 |
%install |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
|
48 |
scons . \ |
49 |
CXXFLAGS='%{optflags}' \ |
50 |
--enable-debug \ |
51 |
install-all \ |
52 |
install-dev \ |
53 |
DESTDIR=$RPM_BUILD_ROOT \ |
54 |
--prefix=%{_prefix} \ |
55 |
--python-prefix=%{python_sitearch} |
56 |
|
57 |
|
58 |
%clean |
59 |
rm -fr $RPM_BUILD_ROOT |
60 |
|
61 |
%files |
62 |
%defattr(-,root,root,-) |
63 |
|
64 |
%changelog |
65 |
* Fri Jul 08 2011 Matteo Pasotti <pasotti.matteo@gmail.com> %{version}%{internal_version}-%{release} |
66 |
- created spec file |