%define name fife %define version 0.3.2 %define internal_version r2 %define release 1 Name: %{name} Version: %{version} Release: %mkrel %{release} License: LGPLv2+ Summary: FIFE is a cross platform game creation framework Source0: http://kent.dl.sourceforge.net/project/fife/active/src/%{name}-%{version}%{internal_version}.tar.gz Url: http://fifengine.net/ BuildRequires: scons BuildRequires: libopenal-devel BuildRequires: libSDL-devel BuildRequires: libSDL_ttf-devel BuildRequires: libSDL_image-devel BuildRequires: libguichan-devel #BuildRequires: libvorbis-devel #BuildRequires: libfreeglut-devel #BuildRequires: libfreealut-devel #BuildRequires: libpng-devel #BuildRequires: libpython-devel #BuildRequires: libboost-devel >= 1.46 %description 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++! 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.) %prep %setup -q -n %{name}-%{version}%{internal_version} %build scons .\ CXXFLAGS='%{optflags}' \ --enable-debug --enable-rend-grid \ --enable-rend-camzone \ fife-shared fife-static fife-python fife-swig doxygen ./doc/doxygen/doxyfile rm -f ./doc/doxygen/html/installdox %install rm -rf $RPM_BUILD_ROOT scons . \ CXXFLAGS='%{optflags}' \ --enable-debug \ install-all \ install-dev \ DESTDIR=$RPM_BUILD_ROOT \ --prefix=%{_prefix} \ --python-prefix=%{python_sitearch} %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %changelog * Fri Jul 08 2011 Matteo Pasotti %{version}%{internal_version}-%{release} - created spec file