Accepting request 423503 from home:Mailaender:branches:games
new upstream release and some further preparations for a factory submission OBS-URL: https://build.opensuse.org/request/show/423503 OBS-URL: https://build.opensuse.org/package/show/games/trigger-rally?expand=0&rev=23
This commit is contained in:
committed by
Git OBS Bridge
parent
04d445f225
commit
7328471b8a
@@ -17,16 +17,20 @@
|
||||
|
||||
|
||||
Name: trigger-rally
|
||||
Version: 0.6.3
|
||||
Version: 0.6.4
|
||||
Release: 0
|
||||
Summary: Fast-paced open source rally racing game
|
||||
Summary: Fast-paced single-player rally racing game
|
||||
License: GPL-2.0
|
||||
Group: Amusements/Games/Action/Race
|
||||
Url: http://trigger-rally.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/project/trigger-rally/trigger-0.6.3/trigger-rally-%{version}.tar.gz
|
||||
Source0: http://downloads.sourceforge.net/project/trigger-rally/trigger-%{version}/trigger-rally-%{version}.tar.gz
|
||||
# PATCH-FEATURE-UPSTREAM https://sourceforge.net/p/trigger-rally/patches/14/
|
||||
Source1: %{name}.desktop
|
||||
# PATCH-FIX-OPENSUSE Fix compilation errors with C++5.
|
||||
Patch1: ftbfs.patch
|
||||
# PATCH-FEATURE-UPSTREAM https://sourceforge.net/p/trigger-rally/patches/15/
|
||||
Source2: %{name}.appdata.xml
|
||||
# PATCH-FIX-UPSTREAM https://sourceforge.net/p/trigger-rally/patches/13/
|
||||
Patch0: hiscore1.h.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc5-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
@@ -42,11 +46,15 @@ BuildRequires: pkgconfig(sdl)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Trigger Rally is a fast-paced open source rally racing game.
|
||||
A 3D rally simulation with a physics engine for drifting, over 100 maps,
|
||||
different terrain materials like dirt, asphalt, sand, ice etc. and various
|
||||
weather, light and fog conditions. Most maps are equipped with spoken co-driver
|
||||
notes and co-driver icons.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch0
|
||||
dos2unix doc/*.txt bin/*.defs
|
||||
|
||||
%build
|
||||
CXX=g++-5 CC=gcc-5 \
|
||||
@@ -55,11 +63,14 @@ make --directory=src prefix=%{_prefix} exec_prefix=%{_prefix} bindir=%{_bindir}
|
||||
%install
|
||||
%make_install --directory=src prefix=%{_prefix} exec_prefix=%{_prefix} bindir=%{_bindir}
|
||||
|
||||
%suse_update_desktop_file -i %{name} Game SportsGame
|
||||
%suse_update_desktop_file -i %{name}
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
|
||||
ln -sf %{_datadir}/games/trigger-rally/icon/trigger-rally-icons.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/trigger-rally.svg
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/appdata
|
||||
install -Dm0644 %{S:2} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
||||
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%post
|
||||
@@ -77,5 +88,7 @@ ln -sf %{_datadir}/games/trigger-rally/icon/trigger-rally-icons.svg %{buildroot}
|
||||
%{_datadir}/applications/trigger-rally.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/trigger-rally.svg
|
||||
%{_datadir}/doc/trigger-rally/
|
||||
%dir %{_datadir}/appdata/
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user