diff --git a/_service b/_service new file mode 100644 index 0000000..eeb67b9 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://codeberg.org/jengelh/asteroids3D + master + v0.5.1 + 0.5.1+ + + + *.tar + xz + + + diff --git a/asteroids3D.changes b/asteroids3D.changes index fb7d103..13639bd 100644 --- a/asteroids3D.changes +++ b/asteroids3D.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 17 19:01:52 UTC 2022 - Jan Engelhardt + +- Metadata update (homepage URL). Trim old RPM constructs. + ------------------------------------------------------------------- Fri Aug 29 19:43:35 UTC 2014 - jengelh@inai.de diff --git a/asteroids3D.spec b/asteroids3D.spec index fb60766..2f78555 100644 --- a/asteroids3D.spec +++ b/asteroids3D.spec @@ -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