1
0
forked from pool/asteroids3D

- Metadata update (homepage URL). Trim old RPM constructs.

OBS-URL: https://build.opensuse.org/package/show/games/asteroids3D?expand=0&rev=6
This commit is contained in:
Jan Engelhardt 2022-11-17 19:03:58 +00:00 committed by Git OBS Bridge
parent ef8b84b846
commit a61a4dda7a
3 changed files with 26 additions and 10 deletions

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://codeberg.org/jengelh/asteroids3D</param>
<param name="revision">master</param>
<param name="parent-tag">v0.5.1</param>
<param name="versionformat">0.5.1+</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 17 19:01:52 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Metadata update (homepage URL). Trim old RPM constructs.
-------------------------------------------------------------------
Fri Aug 29 19:43:35 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package asteroids3D
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,13 +20,11 @@ Name: asteroids3D
Version: 0.5.1+
Release: 0
Summary: First-person shooter blowing up asteroids
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Amusements/Games/Action/Arcade
Url: http://sf.net/projects/a3d
URL: https://codeberg.org/jengelh/asteroids3D
#Git-Clone: git://a3d.git.sf.net/gitroot/a3d/a3d
Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: freeglut-devel
BuildRequires: pkgconfig >= 0.19
BuildRequires: xz
@ -39,17 +37,16 @@ The codebase also serves as an introduction to trigonometry and
OpenGL.
%prep
%setup -q
%autosetup
%build
%configure --with-gamesdir=%_bindir --with-gamedatadir=%_datadir/games/%name
make %{?_smp_mflags};
%make_build
%install
make install DESTDIR="%buildroot";
%make_install
%files
%defattr(-,root,root)
%_bindir/asteroids3D
%_datadir/games/%name