Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37603893
en ru br
ALT Linux repos
S:0.6.2-alt1
5.0: 0.5.1-alt0.M50.1
4.1: 0.5.1-alt0.M41.1
4.0: 0.3.3-alt1
3.0: 0.1.3-alt1

Group :: Games/Arcade
RPM: xmoto

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: xmoto
Version: 0.5.1
Release: alt0.M41.1

Summary: A challenging 2D motocross platform game.
License: GPL
Group: Games/Arcade
Packager: Denis Pynkin <dans at altlinux.ru>

Url: http://xmoto.tuxfamily.org
Source: %name-%version-src.tar.gz

BuildRequires: gcc-c++ libSDL-devel libSDL_mixer-devel libjpeg-devel
BuildRequires: liblua5-devel libode-devel libpng-devel libstdc++-devel
BuildRequires: zlib-devel libmesa-devel bzlib-devel libcurl-devel
BuildRequires: libSDL_gfx-devel libsqlite3-devel libSDL_ttf-devel
BuildRequires: libSDL_net-devel

%description
XMoto is a challenging 2D motocross platform game, where physics play an all important role in the gameplay. You need to control your bike to its limit, if you want to have a chance finishing the more difficult of the challenges.

%prep
%setup -q

%build

sed -i "s at /mang at /man6 at g" Makefile.in

export LDFLAGS="-L%_x11libdir"
%configure --bindir=%_gamesbindir \
--with-enable-zoom=1 \
--with-enable-www=1 \
--with-renderer-openGl=1

%define __nprocs 1
%make_build

%install
%make_install DESTDIR="%buildroot" install

mkdir -p %buildroot%_datadir/applications
mkdir -p %buildroot%_iconsdir
cp extra/xmoto.desktop %buildroot%_datadir/applications
cp extra/xmoto.xpm %buildroot%_iconsdir

%find_lang --output=%name.files %name

%files -f %name.files
%doc AUTHORS INSTALL README
%_gamesbindir/*
%_iconsdir/%name.xpm
%_datadir/applications/*
%_datadir/%name
%_man6dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin