Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-S
perl-SDL-Tutorial
perl-SDL-Tutorial-3DWorld.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-SDL-Tutorial-3DWorld.spec of Package perl-SDL-Tutorial
# # spec file for package perl-SDL-Tutorial-3DWorld # # Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/ # Name: perl-SDL-Tutorial-3DWorld Version: 0.28 Release: 0 %define cpan_name SDL-Tutorial-3DWorld Summary: Create a 3D world from scratch with SDL and OpenGL License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::ShareDir) >= 1.02 BuildRequires: perl(File::Spec) >= 3.31 BuildRequires: perl(IO::File) >= 1.14 BuildRequires: perl(List::MoreUtils) >= 0.22 BuildRequires: perl(OpenGL) >= 0.64 BuildRequires: perl(OpenGL::List) >= 0.01 BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(SDL) >= 2.524 BuildRequires: perl(Test::More) >= 0.82 BuildRequires: perl(Test::NoWarnings) >= 1.00 BuildRequires: perl(Test::Script) >= 1.05 Requires: perl(File::ShareDir) >= 1.02 Requires: perl(File::Spec) >= 3.31 Requires: perl(IO::File) >= 1.14 Requires: perl(List::MoreUtils) >= 0.22 Requires: perl(OpenGL) >= 0.64 Requires: perl(OpenGL::List) >= 0.01 Requires: perl(Params::Util) >= 1.00 Requires: perl(SDL) >= 2.524 %{perl_requires} %description This tutorial is intended to demonstrate the creation of a trivial but relatively usable "3D Game Engine". The demonstration code provided implements the four main elements of a basic three-dimensional game world. * A static landscape in which events will occur. * A light source to illuminate the world. * A collection of N objects which move around independantly inside the world. * A user-controlled mobile camera through which the world is viewed Each element of the game world is encapsulated inside a standalone class. This lets you see which parts of the Open GL operations are used to work with each element of the game world, and provides a starting point from which you can start to make your own simple game-specific engines. %prep %setup -q -n %{cpan_name}-%{version} %build PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor