File hode.spec of Package hode
#
# spec file for package hode
#
# 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: hode
Version: 0.2.8
Release: 0
Summary: Heart of Darkness engine reimplementation
License: SUSE-Freeware
Group: Amusements/Games/Action/Arcade
URL: http://cyxdown.free.fr/hode/
Source: %{name}-%{version}.tar.bz2
# 3rd party dependencies
Source1: 3p.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(sdl2)
%description
hode is a rewrite of the engine used in the game Heart of Darkness
made by Amazing Studio. This program is designed as a cross-platform
replacement for the original executable.
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
tar xxvf %{SOURCE1}
%build
export CXXFLAGS="%{optflags}"
%make_build
%install
install -D -m0755 hode %{buildroot}%{_bindir}/hode
%files
%doc CHANGES.txt README.txt RELEASES.yaml
%{_bindir}/hode
%changelog