Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
levelhead
levelhead.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File levelhead.spec of Package levelhead
# # spec file for package levelhead # # Copyright (c) 2021 SUSE LLC # # 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: levelhead Version: 1.0 Release: 0 Summary: Spatial Memory Game License: GPL-3.0-only Group: Amusements/Games/Logic URL: https://julianoliver.com/levelhead/ # Extracted from https://julianoliver.com/levelhead/src/levelHead-trunk_fin.tar.gz Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM levelhead-1.0-abuild.patch adam@mizerski.pl -- Adds missing returns to nonvoid functions and fixes uninitialized variables. Patch0: %{name}-1.0-abuild.patch BuildRequires: ARToolKit_v4l-devel BuildRequires: SDL-devel BuildRequires: cal3d-devel BuildRequires: gcc-c++ BuildRequires: libARToolKitPlus-devel BuildRequires: libOpenSceneGraph-devel = 1.2 BuildRequires: libosgART-devel BuildRequires: libosgCal-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(glib-2.0) Requires: %{name}-config = %{version} Requires: %{name}-data = %{version} Requires: OpenSceneGraph1-plugins BuildRoot: %{_tmppath}/%{name}-%{version}-build %description levelHead uses a hand-held solid-plastic cube as its only interface. On-screen it appears each face of the cube contains a little room, each of which are logically connected by doors. In one of these rooms is a character. By tilting the cube the player directs this character from room to room in an effort to find the exit. Some doors lead nowhere and will send the character back to the room they started in, a trick designed to challenge the player's spatial memory. Which doors belong to which rooms? There are three cubes (levels) in total, each of which are connected by a single door. Players have the goal of moving the character from room to room, cube to cube in an attempt to find the final exit door of all three cubes. If this door is found the character will appear to leave the cube, walk across the table surface and vanish.. The game then begins again. Files needet to build cubes are in levelhead-data package %package config-v4l Summary: Levelhead's v4l config files Group: Amusements/Games/Logic Requires: %{name} = %{version} Requires: ARToolKit_v4l Provides: %{name}-config = %{version} Conflicts: %{name}-config-gst %description config-v4l %{summary}. %prep %setup -q %patch0 -p1 %build g++ src/levelhead.cpp -o bin/levelhead.bin -losgCal -losgART `pkg-config glib-2.0 sdl openscenegraph producer --libs --cflags` -lcal3d %{optflags} sed -e 's,__LIBDIR__,%{_libdir},' bin/levelhead.sh.in > bin/levelhead.sh %install install -D -d %{buildroot}%{_bindir} install -D -d %{buildroot}%{_libdir}/%{name} install -D -d %{buildroot}%{_datadir}/%{name}-data install -D -d %{buildroot}%{_datadir}/%{name}-data/{Data,fonts,models,shaders} install -m 755 bin/levelhead.{bin,sh} %{buildroot}%{_libdir}/%{name}/ install -m 644 bin/levelhead.{gst,v4l} %{buildroot}%{_libdir}/%{name}/ install -D -m 644 levelhead.png %{buildroot}%{_datadir}/pixmaps/%{name}.png ln -s -v %{_libdir}/%{name}/levelhead.sh %{buildroot}%{_bindir}/levelhead ln -s -v %{_datadir}/%{name}-data/{Data,fonts,models,shaders} %{buildroot}%{_libdir}/%{name} %suse_update_desktop_file -c %{name} %{name} "%{summary}" %{name} %{name} Game LogicGame %files %defattr(-,root,root) %dir %{_libdir}/%{name} %exclude %{_libdir}/%{name}/levelhead.v4l %exclude %{_libdir}/%{name}/levelhead.gst %{_libdir}/%{name}/* %{_bindir}/levelhead %dir %{_datadir}/%{name}-data %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %doc AUTHORS README_LEVELHEAD %files config-v4l %defattr(-,root,root) %{_libdir}/%{name}/levelhead.v4l %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