bleee
OBS-URL: https://build.opensuse.org/package/show/games/trigger-rally?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
9fff14ff3c
commit
6ccffd7c18
53
trigger-rally.spec
Normal file
53
trigger-rally.spec
Normal file
@@ -0,0 +1,53 @@
|
||||
Name: trigger-rally
|
||||
Summary: Fast-paced open source rally racing game
|
||||
Version: 0.5.2.1
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Amusements/Games/Action/Race
|
||||
Source0: trigger-%{version}.tar.bz2
|
||||
Source1: %{name}.desktop
|
||||
Source2: %{name}32.xpm
|
||||
Source3: %{name}64.xpm
|
||||
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
|
||||
Requires: trigger-rally-data == %{version}
|
||||
|
||||
%description
|
||||
Trigger is a fast-paced open source rally racing game.
|
||||
|
||||
Copyright (C) 2004-2006 Jasmine Langridge, Richard Langridge
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./configure --datadir=%{_datadir}/trigger-rally
|
||||
jam
|
||||
# Data directory for program execution is set during compilation !
|
||||
# We only use jam for compilation, NOT FOR INSTALLATION (only datadir must be specified)
|
||||
# See ./configure --help for directory options
|
||||
|
||||
%install
|
||||
# Program:
|
||||
install -d $RPM_BUILD_ROOT%{_prefix}/games
|
||||
install -s -m 755 trigger $RPM_BUILD_ROOT%{_prefix}/games
|
||||
# Icons:
|
||||
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
||||
install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
|
||||
# Desktop menu entry:
|
||||
%suse_update_desktop_file -i %{name} Game SportsGame
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc doc/*
|
||||
%{_prefix}/games/trigger
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/*.xpm
|
||||
|
||||
%changelog
|
||||
* Sun Mar 01 2009 Frank Schaefer <schaeferf.obs@googlemail.com>
|
||||
- Initial openSUSE package release (0.5.2.1)
|
Reference in New Issue
Block a user