File f2bgl.spec of Package f2bgl

#
# spec file for package f2bgl
#
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
#
# 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:           f2bgl
Version:        0.3.1
Release:        0
Summary:        A re-implementation of the engine used in the game Fade To Black
License:        SUSE-Freeware
Group:          Amusements/Games/Action/Arcade
URL:            https://github.com/cyxx/f2bgl
Source:         https://github.com/cyxx/f2bgl/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(fluidsynth)
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(sdl2)
BuildRequires:  pkgconfig(wildmidi)
BuildRequires:  pkgconfig(zlib)

%description
f2bgl is a re-implementation of the engine used in the game Fade To Black
made by Delphine Software and released in 1995.

You will need the original files of the PC release or PC demo.
By default, the program will try to load the game data files from the
current directory.

%prep
%setup -q

%build
export CXXFLAGS="%{optflags}"
%make_build

%install
install -D -m0755 f2bgl %{buildroot}%{_bindir}/f2bgl

%files
%doc README.txt
%{_bindir}/f2bgl

%changelog
openSUSE Build Service is sponsored by