forked from pool/trigger-rally
This commit is contained in:
commit
9fff14ff3c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
62
trigger-rally-0.5.2_svn5.spec
Normal file
62
trigger-rally-0.5.2_svn5.spec
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
Name: trigger-rally
|
||||||
|
Summary: Fast-paced open source rally racing game
|
||||||
|
Version: 0.5.2_svn5
|
||||||
|
Release: 0.1
|
||||||
|
License: GPL
|
||||||
|
Group: Amusements/Games/Action/Race
|
||||||
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
|
Source1: %{name}.desktop
|
||||||
|
BuildRoot: %{_tmppath}/build-root-%{name}
|
||||||
|
Url: http://sourceforge.net/projects/trigger-rally
|
||||||
|
BuildRequires: gcc-c++, SDL-devel >= 1.2.5, SDL_image-devel >= 1.2, freealut-devel, openal-devel, physfs-devel, boost-jam, update-desktop-files
|
||||||
|
%if 0%{?suse_version} == 1030
|
||||||
|
BuildRequires: Mesa-devel
|
||||||
|
%endif
|
||||||
|
Requires: SDL >= 1.2.5, SDL_image >= 1.2, freealut, openal, physfs, trigger-rally-data == %{version}
|
||||||
|
%if 0%{?suse_version} == 1030
|
||||||
|
Requires: Mesa
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%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/%{_bindir}
|
||||||
|
install -s -m 755 trigger $RPM_BUILD_ROOT/%{_bindir}
|
||||||
|
# Icons:
|
||||||
|
install -d $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps
|
||||||
|
install -d $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps
|
||||||
|
install -m 644 icons/32x32/trigger.xpm $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps
|
||||||
|
install -m 644 icons/64x64/trigger.xpm $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps
|
||||||
|
# Desktop menu entry:
|
||||||
|
#%suse_update_desktop_file -c %{name} "Trigger Rally" "Rally Racing Game" trigger trigger Game SportsGame
|
||||||
|
%suse_update_desktop_file -i %{name} Game SportsGame
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
|
||||||
|
#rm -rf $RPM_SOURCE_DIR/trigger-rally.desktop
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc doc/*
|
||||||
|
%{_bindir}/trigger
|
||||||
|
/usr/share/applications/trigger-rally.desktop
|
||||||
|
/usr/share/icons/hicolor
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Mar 01 2009 Frank Schaefer <schaeferf.obs@googlemail.com>
|
||||||
|
- Initial openSUSE package release (0.5.2_svn5)
|
3
trigger-rally-0.5.2_svn5.tar.bz2
Normal file
3
trigger-rally-0.5.2_svn5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1270eed63a3ab723a96cdfee5ad4f598a515e149b926ec1ff5f2f52b968b152e
|
||||||
|
size 12631650
|
10
trigger-rally.desktop
Normal file
10
trigger-rally.desktop
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Trigger
|
||||||
|
Name[de]=Trigger
|
||||||
|
GenericName=Rally Racing Game
|
||||||
|
GenericName[de]=Rallye-Racing-Spiel
|
||||||
|
Type=Application
|
||||||
|
Exec=trigger
|
||||||
|
Icon=trigger
|
||||||
|
Categories=Game;SportsGame;
|
Loading…
Reference in New Issue
Block a user