1
0
forked from pool/trigger-rally

Strip redundant sections/tags from specfile; put changelog into dedicated .changes file

OBS-URL: https://build.opensuse.org/package/show/games/trigger-rally?expand=0&rev=11
This commit is contained in:
Jan Engelhardt 2012-03-24 11:04:57 +00:00 committed by Git OBS Bridge
parent d38451856f
commit 3a225afc4d
2 changed files with 57 additions and 25 deletions

15
trigger-rally.changes Normal file
View File

@ -0,0 +1,15 @@
-------------------------------------------------------------------
Fri Mar 6 00:00:00 UTC 2009 - schaeferf.obs@googlemail.com
- update to SVN-version (revision 5)
-------------------------------------------------------------------
Tue Mar 3 00:00:00 UTC 2009 - Pavol Rusnak <prusnak@suse.cz
- use system glew library (glew.patch)
-------------------------------------------------------------------
Sun Mar 1 00:00:00 UTC 2009 - schaeferf.obs@googlemail.com
- Initial openSUSE package release (0.5.2.1)

View File

@ -1,18 +1,44 @@
Name: trigger-rally
Summary: Fast-paced open source rally racing game
Version: 0.5.2.svn5
Release: 1
License: GPL
Group: Amusements/Games/Action/Race
Source0: trigger-rally-src-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}32.png
Source3: %{name}64.png
Patch0: %{name}-%{version}-glew.patch
Url: http://sourceforge.net/projects/trigger-rally
BuildRoot: %{_tmppath}/build-root-%{name}
BuildRequires: gcc-c++ SDL-devel SDL_image-devel freealut-devel glew-devel openal-devel physfs-devel boost-jam update-desktop-files
Requires: trigger-rally-data == %{version}
#
# spec file for package trigger-rally
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: trigger-rally
Summary: Fast-paced open source rally racing game
License: GPL-2.0
Group: Amusements/Games/Action/Race
Version: 0.5.2.svn5
Release: 0
Source0: trigger-rally-src-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}32.png
Source3: %{name}64.png
Patch0: %{name}-%{version}-glew.patch
Url: http://sourceforge.net/projects/trigger-rally
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: SDL-devel
BuildRequires: SDL_image-devel
BuildRequires: boost-jam
BuildRequires: freealut-devel
BuildRequires: gcc-c++
BuildRequires: glew-devel
BuildRequires: openal-devel
BuildRequires: physfs-devel
BuildRequires: update-desktop-files
Requires: trigger-rally-data = %{version}
%description
Trigger is a fast-paced open source rally racing game.
@ -28,7 +54,7 @@ chmod u+x configure
rm -rf src/glew
%build
./configure --datadir=%{_datadir}/games/trigger-rally
%configure --datadir=%{_datadir}/games/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)
@ -43,9 +69,6 @@ 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/*
@ -59,9 +82,3 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor/*/apps/*.png
%changelog
* Fri Mar 06 2009 Frank Schaefer <schaeferf.obs@googlemail.com>
- update to SVN-version (revision 5)
* Tue Mar 03 2009 Pavol Rusnak <prusnak@suse.cz
- use system glew library (glew.patch)
* Sun Mar 01 2009 Frank Schaefer <schaeferf.obs@googlemail.com>
- Initial openSUSE package release (0.5.2.1)