File mingw64-CatacombGL.spec of Package mingw64-CatacombGL
#
# spec file for package mingw64-CatacombGL
#
# Copyright (c) 2024, 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 http://bugs.opensuse.org/
#
%define realname CatacombGL
Name: mingw64-%{realname}
Version: 0.5.6
Release: 0
Summary: A source port of Catacomb 3D
License: GPL-3.0-only
Group: Amusements/Games/3D/Shoot
URL: https://github.com/ArnoAnsems/CatacombGL/
#Git-Clone: https://github.com/ArnoAnsems/CatacombGL.git
Source: https://github.com/ArnoAnsems/CatacombGL/archive/refs/tags/v%{version}-beta.tar.gz
Patch0: win32-no-sdl-download.patch
Patch1: fix-include.patch
BuildRequires: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-libSDL2-devel
%_mingw64_package_header_debug
BuildArch: noarch
%description
CatacombGL is a source port of Catacomb 3D and the Catacomb Adventure series.
Features
* Hardware accelerated 3D rendering via OpenGL, supporting widescreen
resolutions, a customizable field of view and an uncapp ed frame rate.
* Player, projectile and monster movement with floating point precision.
* Configurable mouse and keyboard controls.
* Supports all four Catacomb 3D games as included in the Catacombs Pack
from GOG.com.
* Supports The Catacomb Abyss version 1.13 (shareware).
%_mingw64_debug_package
%prep
%setup -q -n %{realname}-%{version}-beta
%autopatch -p1
%build
%{_mingw64_cmake}
%{_mingw64_cmake_build}
%install
install -Dpm 0755 build/CatacombGL.exe %{buildroot}/%{_mingw64_bindir}/CatacombGL.exe
%files
%license LICENSE
%doc README.md
%{_mingw64_bindir}/CatacombGL.exe
%changelog