commit 9fff14ff3c7ed9b4517859afa841c9f44b2353909390c2eef39406a757ebd62c Author: Pavol Rusnak Date: Mon Mar 2 20:08:02 2009 +0000 OBS-URL: https://build.opensuse.org/package/show/games/trigger-rally?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/trigger-rally-0.5.2_svn5.spec b/trigger-rally-0.5.2_svn5.spec new file mode 100644 index 0000000..f35ff24 --- /dev/null +++ b/trigger-rally-0.5.2_svn5.spec @@ -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 +- Initial openSUSE package release (0.5.2_svn5) diff --git a/trigger-rally-0.5.2_svn5.tar.bz2 b/trigger-rally-0.5.2_svn5.tar.bz2 new file mode 100644 index 0000000..db81dd2 --- /dev/null +++ b/trigger-rally-0.5.2_svn5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1270eed63a3ab723a96cdfee5ad4f598a515e149b926ec1ff5f2f52b968b152e +size 12631650 diff --git a/trigger-rally.desktop b/trigger-rally.desktop new file mode 100644 index 0000000..efb0efe --- /dev/null +++ b/trigger-rally.desktop @@ -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;