File bermuda.spec of Package bermuda

#
# spec file for package bermuda
#
# Copyright (c) 2020, 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:           bermuda
Version:        0.1.7
Release:        0
Summary:        Bermuda Syndrome engine reimplementation
License:        SUSE-Freeware
Group:          Amusements/Games/Action/Arcade
URL:            http://cyxdown.free.fr/bs/
#Git-Clone:     https://github.com/cyxx/bermuda.git
Source:         https://github.com/cyxx/bermuda/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0:         obey-cflags.patch
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(vorbis)
BuildRequires:  pkgconfig(sdl2)
BuildRequires:  pkgconfig(SDL2_mixer)
BuildRequires:  pkgconfig(zlib)

%description
This program is a re-implementation of the engine used in the game Bermuda
Syndrome made by Century Interactive and published by BMG in 1995. The original
data files are required (retail or demo versions).

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
%patch0 -p1

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

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

%files
%doc README.TXT
%{_bindir}/bs

%changelog
openSUSE Build Service is sponsored by