2011-12-18 17:13:51 +01:00
|
|
|
#
|
|
|
|
# spec file for package asteroids3D
|
|
|
|
#
|
2022-11-17 20:03:58 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2011-12-18 17:13:51 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-11-17 20:03:58 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-12-18 17:13:51 +01:00
|
|
|
#
|
|
|
|
|
2011-12-18 21:17:15 +01:00
|
|
|
|
|
|
|
Name: asteroids3D
|
2022-11-17 22:31:53 +01:00
|
|
|
Version: 1.0
|
2011-12-18 21:17:15 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: First-person shooter blowing up asteroids
|
2022-11-17 20:03:58 +01:00
|
|
|
License: GPL-2.0-or-later
|
2014-08-29 21:43:56 +02:00
|
|
|
Group: Amusements/Games/Action/Arcade
|
2022-11-17 22:31:53 +01:00
|
|
|
URL: https://inai.de/projects/asteroids3D
|
2011-12-18 17:13:51 +01:00
|
|
|
|
2011-12-18 21:17:15 +01:00
|
|
|
Source: %name-%version.tar.xz
|
2022-11-17 22:31:53 +01:00
|
|
|
BuildRequires: pkg-config >= 0.19
|
2014-08-29 21:43:56 +02:00
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
BuildRequires: pkgconfig(glu)
|
2022-11-17 22:31:53 +01:00
|
|
|
BuildRequires: pkgconfig(glut)
|
2011-12-18 17:13:51 +01:00
|
|
|
|
|
|
|
%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
|
2022-11-17 20:03:58 +01:00
|
|
|
%autosetup
|
2011-12-18 17:13:51 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --with-gamesdir=%_bindir --with-gamedatadir=%_datadir/games/%name
|
2022-11-17 20:03:58 +01:00
|
|
|
%make_build
|
2011-12-18 17:13:51 +01:00
|
|
|
|
|
|
|
%install
|
2022-11-17 20:03:58 +01:00
|
|
|
%make_install
|
2011-12-18 17:13:51 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%_bindir/asteroids3D
|
2022-11-17 22:31:53 +01:00
|
|
|
%_datadir/applications/*.desktop
|
2011-12-18 17:13:51 +01:00
|
|
|
%_datadir/games/%name
|
2011-12-18 21:17:15 +01:00
|
|
|
|
|
|
|
%changelog
|