Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
opensurge
opensurge.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opensurge.spec of Package opensurge
# # spec file for package opensurge # # 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 # 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: opensurge Version: 0.6.0.3 Release: 0 Summary: Game based on Sonic the Hedgehog Universe License: Apache-2.0 AND GPL-3.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0 AND OFL-1.1 AND MIT Group: Amusements/Games/Action/Arcade URL: https://opensurge2d.org/ Source0: https://github.com/alemart/opensurge/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: fdupes %if 0%{?suse_version} <= 1500 BuildRequires: gcc10-c++ %else BuildRequires: gcc-c++ %endif BuildRequires: update-desktop-files BuildRequires: cmake(OpenAL) BuildRequires: pkgconfig(allegro-5) BuildRequires: pkgconfig(allegro_acodec-5) BuildRequires: pkgconfig(allegro_audio-5) BuildRequires: pkgconfig(allegro_dialog-5) BuildRequires: pkgconfig(allegro_font-5) BuildRequires: pkgconfig(allegro_image-5) BuildRequires: pkgconfig(allegro_memfile-5) BuildRequires: pkgconfig(allegro_primitives-5) BuildRequires: pkgconfig(allegro_ttf-5) BuildRequires: pkgconfig(surgescript) >= 0.5.6 %description Open Surge is a retro-style 2D sidescroller inspired by old-school games. The characters named Surge, Neon and Charge are to save the world from the evil Gimacian the Dark. %prep %autosetup %build %if 0%{?suse_version} <= 1500 export CC=gcc-10 export CXX=g++-10 %endif %cmake \ -DGAME_BINDIR="%{_bindir}" \ -DGAME_DATADIR="%{_datadir}/%{name}" %cmake_build %install %cmake_install %suse_update_desktop_file %{name} %fdupes %{buildroot}%{_prefix} # remove docs rm -fv %{buildroot}%{_datadir}/%{name}/{CHANGES.md,LICENSE,README.md} rm -rfv %{buildroot}%{_datadir}/%{name}/licenses %files %license licenses/* %doc CHANGES.md README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/pixmaps/%{name}.png %{_datadir}/%{name} %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