From 461597843a16146020858fd363019fce1ec7372851c1b3823d0a1bced6dd1458 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sun, 18 Dec 2011 16:13:51 +0000 Subject: [PATCH] Accepting request 96880 from home:jengelh:dev Stuart Pomerantz's educative GL asteroid shooter OBS-URL: https://build.opensuse.org/request/show/96880 OBS-URL: https://build.opensuse.org/package/show/games/asteroids3D?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + asteroids3D-0.5.1+.tar.xz | 3 +++ asteroids3D.changes | 4 ++++ asteroids3D.spec | 50 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 81 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 asteroids3D-0.5.1+.tar.xz create mode 100644 asteroids3D.changes create mode 100644 asteroids3D.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/asteroids3D-0.5.1+.tar.xz b/asteroids3D-0.5.1+.tar.xz new file mode 100644 index 0000000..419de97 --- /dev/null +++ b/asteroids3D-0.5.1+.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e5c987271fd363749fec43bcc7984e4fe5122295d06af6c1eb0008ed4b1630b +size 509668 diff --git a/asteroids3D.changes b/asteroids3D.changes new file mode 100644 index 0000000..f01e6f4 --- /dev/null +++ b/asteroids3D.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Dec 16 17:09:43 UTC 2011 - jengelh@medozas.de + +- Initial package for build.opensuse.org diff --git a/asteroids3D.spec b/asteroids3D.spec new file mode 100644 index 0000000..7c18beb --- /dev/null +++ b/asteroids3D.spec @@ -0,0 +1,50 @@ +# +# spec file for package asteroids3D +# +# Copyright (c) 2011 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: asteroids3D +Version: 0.5.1+ +Release: 0 +Group: Amusements/Games/Action/First Person Shootes +Summary: First-person shooter blowing up asteroids +License: GPL-2.0+ +URL: http://sf.net/projects/a3d + +#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, pkgconfig(gl), pkgconfig(glu), xz + +%description +A simple first person shooter of blowing up asteroids in 3D space. +The codebase also serves as an introduction to trigonometry and +OpenGL. + +%prep +%setup -q + +%build +%configure --with-gamesdir=%_bindir --with-gamedatadir=%_datadir/games/%name +make %{?_smp_mflags}; + +%install +make install DESTDIR="%buildroot"; + +%files +%defattr(-,root,root) +%_bindir/asteroids3D +%_datadir/games/%name