Name: jazz2-resurrection Version: 3.5.0 Release: 3%{?dist} Summary: Open-source reimplementation of Jazz Jackrabbit 2 License: GPL-3.0-only URL: https://github.com/deathkiller/jazz2 Source0: https://github.com/deathkiller/jazz2-native/archive/refs/tags/%{version}.tar.gz Source1: jazz2.desktop BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake >= 3.13 BuildRequires: make BuildRequires: git # Note: the .pc file is glfw3, not glfw BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(vorbisfile) BuildRequires: pkgconfig(libopenmpt) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(gl) BuildRequires: desktop-file-utils # Runtime library dependencies are auto-detected by RPM — do not list them manually. %description Jazz² Resurrection is a reimplementation of the game Jazz Jackrabbit 2 released in 1998. Supports various versions of the game (Shareware Demo, Holiday Hare '98, The Secret Files and Christmas Chronicles). Also, it partially supports some features of JJ2+ extension and MLLE. This is a fully rewritten version in C++ with better performance and many improvements. %prep %autosetup -n jazz2-native-%{version} %build %cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DNCINE_DOWNLOAD_DEPENDENCIES=OFF \ -DNCINE_PREFERRED_BACKEND=GLFW \ -DNCINE_WITH_GLEW=OFF %cmake_build %install %cmake_install # Delete extra unpacked README.md rm -rf %{buildroot}%{_datadir}/doc/"Jazz² Resurrection"/ # Install desktop file install -pDm0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/jazz2.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/jazz2.desktop %files %doc README.md Docs/ %license LICENSE %{_bindir}/jazz2 %{_datadir}/applications/jazz2.desktop # Include any data/content files installed by cmake "%{_datadir}/Jazz² Resurrection/" %{_datadir}/icons/hicolor/*/apps/jazz2.png %changelog * Thu Feb 19 2026 Arnošt Dudek - 3.5.0-3 - update cmake build options in spec file for improved configuration - clean up unused dependencies * Tue Feb 17 2026 Jenkins - 3.5.0-2 - Automated update to upstream version 3.5.0 * Tue Feb 17 2026 Arnošt Dudek - 3.4.0-1 - Initial jazz2-resurrection package build