File spacecadetpinball.spec of Package spacecadetpinball
#
# spec file for package spacecadetpinball
#
# Copyright (c) 2021, 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: spacecadetpinball
Version: 2.1.0
Release: 0
Summary: A game engine for 3D Pinball for Windows – Space Cadet
License: MIT
Group: Amusements/Games/Action/Arcade
#Git-Clone: https://github.com/k4zmu2a/SpaceCadetPinball.git
URL: https://github.com/k4zmu2a/SpaceCadetPinball
Source: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(sdl2)
%description
An open-source game engine for 3D Pinball for Windows – Space Cadet,
a game bundled with MS Windows.
NOTE:
You need the original game data files to play the game!
%prep
%setup -q
%build
%cmake
%make_build
### TODO
# * icon
# * desktop file
# * wrapper - game data expected to be relative to the binary
# * notes where to get the binary from
# * ...
%install
install -Dm0755 bin/SpaceCadetPinball %{buildroot}%{_bindir}/spacecadetpinball
%files
%license LICENSE
%doc README.md
%{_bindir}/spacecadetpinball
%changelog