LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File supertux.spec of Package supertux2 (Project home:maths22:SuperTux)

Name: 		supertux2
Version: 	0.5.1
Release: 	1

Group:          Amusements/Games
Summary: 	A free arcade game like Super Mario.

Vendor:		The SuperTux Developer Team
Packager:   Jacob Burroughs
License: 	GPL
URL: 		http://supertuxproject.org/
Source0: 	SuperTux-v0.5.1-Source.tar.gz
Prefix: /usr
#Requires:       boost, openal, libogg, libvorbis, SDL2, SDL2_image, physfs, libcurl, glew
BuildRequires:  cmake >= 3.1, gcc-c++, boost-devel, openal-devel, libogg-devel, libvorbis-devel, SDL2-devel, SDL2_image-devel, libcurl-devel, glew-devel

%description
SuperTux is a jump'n run like game, with strong inspiration from the
Super Mario Bros games for Nintendo.

Run and jump through multiple worlds, fighting off enemies by jumping
on them or bumping them from below.  Grabbing power-ups and other stuff
on the way.

%prep
%setup -n SuperTux-v0.5.1-Source

%build
%cmake -DCMAKE_BUILD_TYPE:STRING=Release -DENABLE_BOOST_STATIC_LIBS:BOOL=OFF
%if 0%{?make_build:1}
%make_build
%else
make %{?_smp_mflags}
%endif

%install
%if 0%{?cmake_install:1}
%cmake_install
%else
%make_install
%endif

%files
/usr/games/supertux2
/usr/share/games/supertux2/
%doc /usr/share/doc/supertux2/
/usr/share/applications/supertux2.desktop
/usr/share/appdata/supertux2.appdata.xml
%dir /usr/share/appdata
/usr/share/pixmaps/supertux.png
/usr/share/pixmaps/supertux.xpm