File chocolate-quake.spec of Package chocolate-quake
#
# spec file for package chocolate-quake
#
# Copyright (c) 2025, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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: chocolate-quake
Version: 2.0.0
Release: 0
Summary: A purist Quake source port
License: GPL-3.0-or-later
Group: Amusements/Games/3D/Shoot
URL: https://github.com/Henrique194/chocolate-quake
Source: https://github.com/Henrique194/chocolate-quake/archive/refs/tags/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(mad)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(vorbis)
%description
A purist Quake source port that restores the original look and feel
of v1.09 and earlier.
%prep
%autosetup -p1 -n %{name}-%{name}-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/chocolate-quake
%{_datadir}/applications/io.github.henrique194.%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/io.github.henrique194.%{name}.svg
%{_datadir}/metainfo/io.github.henrique194.%{name}.metainfo.xml
%changelog