From a61a4dda7a45f143162058a8da35347c377a2ec3a9c91c1ecd63ef75d7289531 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 17 Nov 2022 19:03:58 +0000 Subject: [PATCH 1/3] - Metadata update (homepage URL). Trim old RPM constructs. OBS-URL: https://build.opensuse.org/package/show/games/asteroids3D?expand=0&rev=6 --- _service | 14 ++++++++++++++ asteroids3D.changes | 5 +++++ asteroids3D.spec | 17 +++++++---------- 3 files changed, 26 insertions(+), 10 deletions(-) create mode 100644 _service 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 From 82d4807807ed1a94daa413dd9675c03ca5c74c1170564a7d193462882d1e6420 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 17 Nov 2022 21:31:53 +0000 Subject: [PATCH 2/3] - Update to release 1.0 OBS-URL: https://build.opensuse.org/package/show/games/asteroids3D?expand=0&rev=7 --- _service | 14 -------------- asteroids3D-0.5.1+.tar.xz | 3 --- asteroids3D-1.0.tar.asc | 7 +++++++ asteroids3D-1.0.tar.xz | 3 +++ asteroids3D.changes | 6 ++++-- asteroids3D.spec | 9 +++++---- 6 files changed, 19 insertions(+), 23 deletions(-) delete mode 100644 _service delete mode 100644 asteroids3D-0.5.1+.tar.xz create mode 100644 asteroids3D-1.0.tar.asc create mode 100644 asteroids3D-1.0.tar.xz diff --git a/_service b/_service deleted file mode 100644 index eeb67b9..0000000 --- a/_service +++ /dev/null @@ -1,14 +0,0 @@ - - - git - https://codeberg.org/jengelh/asteroids3D - master - v0.5.1 - 0.5.1+ - - - *.tar - xz - - - diff --git a/asteroids3D-0.5.1+.tar.xz b/asteroids3D-0.5.1+.tar.xz deleted file mode 100644 index 419de97..0000000 --- a/asteroids3D-0.5.1+.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e5c987271fd363749fec43bcc7984e4fe5122295d06af6c1eb0008ed4b1630b -size 509668 diff --git a/asteroids3D-1.0.tar.asc b/asteroids3D-1.0.tar.asc new file mode 100644 index 0000000..62b2f17 --- /dev/null +++ b/asteroids3D-1.0.tar.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYKAB0WIQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCY3aihQAKCRD3bv5dDCI6 +jyK8AQCJEUtR6y09hAFXR+Zxyf3R/1ogsnfJN4xZKuI7q3UaYQD+IKAr6t+BMbxB +IlsyXywRy3XjMPwGsqxecVs9lp80ZAk= +=MnNb +-----END PGP SIGNATURE----- diff --git a/asteroids3D-1.0.tar.xz b/asteroids3D-1.0.tar.xz new file mode 100644 index 0000000..93f70cb --- /dev/null +++ b/asteroids3D-1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a84f514fc9ab97e9343baaaf5537eac25f5d6bde2e0c3c2b94705cc6b84efa74 +size 512080 diff --git a/asteroids3D.changes b/asteroids3D.changes index 13639bd..fa3976d 100644 --- a/asteroids3D.changes +++ b/asteroids3D.changes @@ -1,7 +1,9 @@ ------------------------------------------------------------------- -Thu Nov 17 19:01:52 UTC 2022 - Jan Engelhardt +Thu Nov 17 21:14:05 UTC 2022 - Jan Engelhardt -- Metadata update (homepage URL). Trim old RPM constructs. +- Update to release 1.0 + * Build system modernization +- Metadata update (homepage URL) and trim old RPM constructs. ------------------------------------------------------------------- Fri Aug 29 19:43:35 UTC 2014 - jengelh@inai.de diff --git a/asteroids3D.spec b/asteroids3D.spec index 2f78555..6881806 100644 --- a/asteroids3D.spec +++ b/asteroids3D.spec @@ -17,19 +17,19 @@ Name: asteroids3D -Version: 0.5.1+ +Version: 1.0 Release: 0 Summary: First-person shooter blowing up asteroids License: GPL-2.0-or-later Group: Amusements/Games/Action/Arcade -URL: https://codeberg.org/jengelh/asteroids3D +URL: https://inai.de/projects/asteroids3D Source: %name-%version.tar.xz -BuildRequires: freeglut-devel -BuildRequires: pkgconfig >= 0.19 +BuildRequires: pkg-config >= 0.19 BuildRequires: xz BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(glut) %description A simple first person shooter of blowing up asteroids in 3D space. @@ -48,6 +48,7 @@ OpenGL. %files %_bindir/asteroids3D +%_datadir/applications/*.desktop %_datadir/games/%name %changelog From 12eb0d871fc3618c6ab596a24f87ac34245fb0b696ea9fd43cbd01e348120cf9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 17 Nov 2022 21:32:34 +0000 Subject: [PATCH 3/3] add keyring OBS-URL: https://build.opensuse.org/package/show/games/asteroids3D?expand=0&rev=8 --- asteroids3D.keyring | 25 +++++++++++++++++++++++++ asteroids3D.spec | 4 +++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 asteroids3D.keyring diff --git a/asteroids3D.keyring b/asteroids3D.keyring new file mode 100644 index 0000000..5a8de51 --- /dev/null +++ b/asteroids3D.keyring @@ -0,0 +1,25 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEYdM5whYJKwYBBAHaRw8BAQdADytr1kM/qc54vO40yIHht0XeDD7sMe1rw8Xo +Nq/LtMO0IEphbiBFbmdlbGhhcmR0IDxqZW5nZWxoQGluYWkuZGU+iJUEExYKAD0W +IQS8oMXDCcrFaedKkhz3bv5dDCI6jwUCYdM5wgIbAwUJCWYBgAQLCQgHBRUKCQgL +BRYCAwEAAh4FAheAAAoJEPdu/l0MIjqPriUBAPLcct0ekiHZHS/mPDaS0I0mh5zy +zaZFuB5FaMpQQgQ5AP45H+SqGxP7BRlsEDajDmcEyM+IPvn22lOGKyR5OKQxDokC +MwQQAQoAHRYhBCNobBCkVpG+ekJRCdY4gYHzWgk4BQJh0zqPAAoJENY4gYHzWgk4 +F7EP/3ZG6rs4l24k/GOvO1CNPM0rHaOccbB3E8BXzTJ6BsKIG1T3X4cokLHAkhmO +8ffw9NYV/HJ1AJyirvHfYFd6nn55aMakbyjo7RmDpmMmpJH5UpbhtqlJkeRQdMni +3bx+9i9E8QFJG6eFaGz8UhCCyzQvuLhawNcA6mPDumQkIri73NnA9vegw8yyDqpr +14fm4Eh+uERzXQ6JkNTqaZuKfyryb4MSluJ6LEUqNv1vqJeCHoE5iQc0WaDPamiP +Dnd3G/k2KHIFTlYdFVKnow0MYo+kyRKxUUL38x/tZ/WEhSv9oiNUOqTZJhkPOHOv +VaHfRdxOGV3845bWngegkXD6KGQvWT1vlfGa9XbNqxWQFqi59malm/jShnd8XJAK +gZuU9pB70lFwCglc+NQLPPrY16cYwFv1L2xU3owhtdiMydTI38Cw7hPteYPkASpa +/1EHf0pPxRhv01RtrPEsGhroXennooFTHe6U0Ay3Z0yBZbRJhoDv8PvBZ4RatdNR +p05qu2SBUWC+neecIHvbguI9x5G8egJ8WsGgDAuMcvWsW95H9oj/aONAgtL6LcsT +KHaPI9senfBTYI+ak+E9sHi/kaQIl5umvf8+B2CAh4QPhmkYvGtINH+HCZI6WdyE +tIsg+JklBgFwSBus9zHHUwwBfio2PgIlocRL6SL5Q2amcALPuDgEYdM5whIKKwYB +BAGXVQEFAQEHQKpjexO72fM4FUcrTh2r6MCyxmAF0CBUpnTQeIk5nVZ2AwEIB4h+ +BBgWCgAmFiEEvKDFwwnKxWnnSpIc927+XQwiOo8FAmHTOcICGwwFCQlmAYAACgkQ +927+XQwiOo/sOgD9GOjmj2blZGtR5attfY46/9B9bBkb8kDW7LACK007YZUBAJr8 +JCfIUFBfm5b/ev80rscAUSp4uTn4Z/W6ywR5STIH +=NTtt +-----END PGP PUBLIC KEY BLOCK----- diff --git a/asteroids3D.spec b/asteroids3D.spec index 6881806..448a95c 100644 --- a/asteroids3D.spec +++ b/asteroids3D.spec @@ -24,7 +24,9 @@ License: GPL-2.0-or-later Group: Amusements/Games/Action/Arcade URL: https://inai.de/projects/asteroids3D -Source: %name-%version.tar.xz +Source: https://inai.de/files/asteroids3D/%name-%version.tar.xz +Source2: https://inai.de/files/asteroids3D/%name-%version.tar.asc +Source3: %name.keyring BuildRequires: pkg-config >= 0.19 BuildRequires: xz BuildRequires: pkgconfig(gl)