Name: stuntrally
Version: 2.3
Release: %mkrel 2
Summary: Stunt Rally game with Track Editor, based on VDrift and OGRE
Group: Games/Sports
License: GPLv3+
URL:
http://code.google.com/p/vdrift-ogre/Source0:
https://github.com/stuntrally/%{name}/archive/%{version}.tar.gzPatch0: stuntrally-2.2-mga-gamesbindir.patch
Patch1: stuntrally-2.2-mga-mygui-libdir.patch
# This should fix
http://forum.freegamedev.net/viewtopic.php?f=78&t=5512&p=56305Patch2: stuntrally-2.3-upstream-ogre-plugin-dir.patch
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: pkgconfig(libenet)
BuildRequires: pkgconfig(MYGUI)
BuildRequires: pkgconfig(OGRE)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(vorbis)
Requires: %{name}-data = %{version}-%{release}
Requires: %{name}-tracks = %{version}
%description
Stunt Rally is a game based on VDrift and OGRE, with a Track Editor.
Game modes include: Single Race, Tutorials, Championships, Challenges,
Multiplayer and Split Screen. Also Replays and Ghost drive are present.
The Track Editor allows modifying and creating tracks.
The game aims at a rally style of driving (like in Richard Burns Rally),
with possible stunt elements (loops, jumps).
It also introduces road pipes, and provides a 3D spline generated road.
%files
%doc Readme.txt
%{_gamesbindir}/%{name}
%{_gamesbindir}/sr-editor
%{_datadir}/applications/*.desktop
%{_iconsdir}/hicolor/64x64/apps/*.png
#----------------------------------------------------------------------------
%package data
Summary: Stunt Rally game with Track Editor, based on VDrift and OGRE
Group: Games/Sports
BuildArch: noarch
%description data
Data files for Stunt Rally.
%files data
%{_gamesdatadir}/%{name}/
#----------------------------------------------------------------------------
%prep
%setup -q
%apply_patches
%build
%cmake
%make
%install
%makeinstall_std -C build
%changelog
* Mon May 12 2014 akien <akien> 2.3-2.mga5
+ Revision: 622112
- Add upstream patch to fix undefined OGRE plugin dir
* Sun May 11 2014 akien <akien> 2.3-1.mga5
+ Revision: 621909
- Version 2.3
* Mon Mar 31 2014 akien <akien> 2.2.1-3.mga5
+ Revision: 610923
- Rebuild for new MyGUI
* Thu Mar 27 2014 tv <tv> 2.2.1-2.mga5
+ Revision: 608939
- make data be noarch
* Wed Mar 26 2014 akien <akien> 2.2.1-1.mga5
+ Revision: 608811
- imported package stuntrally (mga#11850)