1
0
forked from pool/trigger-rally
Pavol Rusnak 2009-03-02 20:26:05 +00:00 committed by Git OBS Bridge
parent 9fff14ff3c
commit 6ccffd7c18
8 changed files with 65 additions and 66 deletions

3
.gitattributes vendored
View File

@ -21,3 +21,6 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
trigger32.xpm filter=lfs diff=lfs merge=lfs -text
trigger64.xpm filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f727f6b02f852018869f21235b208451f0c979a74a3e50e015c982fa4e14b9f
size 333592

View File

@ -1,62 +0,0 @@
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)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1270eed63a3ab723a96cdfee5ad4f598a515e149b926ec1ff5f2f52b968b152e
size 12631650

View File

@ -1,5 +1,4 @@
[Desktop Entry]
Encoding=UTF-8
Name=Trigger
Name[de]=Trigger
GenericName=Rally Racing Game

53
trigger-rally.spec Normal file
View 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)

3
trigger32.xpm Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee7aefdc5f477d99c58ba38cd868eda7449b5d301c4c1ef610efe4fc8c3f286d
size 10213

3
trigger64.xpm Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b978257037740877873def70ec3be7cb2194f392c88eb7f0802268e7d883e1e3
size 36854