1
0
forked from pool/trigger-rally
Pavol Rusnak 2009-03-02 21:08:27 +00:00 committed by Git OBS Bridge
parent 6ccffd7c18
commit 851322e577
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,10 @@
--- src/Jamfile
+++ src/Jamfile
@@ -7,7 +7,6 @@
C++FLAGS += -DDATADIR='\"$(datadir)\"' ;
-SubInclude TOP src glew ;
SubInclude TOP src pengine ;
SubInclude TOP src psim ;
SubInclude TOP src trigger ;

View File

@ -4,10 +4,11 @@ Version: 0.5.2.1
Release: 1
License: GPL
Group: Amusements/Games/Action/Race
Source0: trigger-%{version}.tar.bz2
Source0: trigger-%{version}-src.tar.bz2
Source1: %{name}.desktop
Source2: %{name}32.xpm
Source3: %{name}64.xpm
Patch0: %{name}-%{version}-glew.patch
Url: http://sourceforge.net/projects/trigger-rally
BuildRoot: %{_tmppath}/build-root-%{name}
BuildRequires: gcc-c++ SDL-devel SDL_image-devel freealut-devel Mesa-devel openal-devel physfs-devel boost-jam update-desktop-files
@ -19,7 +20,12 @@ Trigger is a fast-paced open source rally racing game.
Copyright (C) 2004-2006 Jasmine Langridge, Richard Langridge
%prep
%setup -q
%setup -q -n trigger-%{version}-src
# use system glew
%patch0
rm -rf src/glew
# set attributes
chmod a-x Jam* config.* configure.ac doc/* mk/autoconf/* mk/jam/* src/Jamfile src/pengine/* src/psim/* src/trigger/*
%build
./configure --datadir=%{_datadir}/trigger-rally