%if 0%{!?mkrel:1} %define mkrel(c) %{1}%{?dist} %endif %global oname frozen-bubble Name: frozen-bubble-sdl3 Version: 2.4.64 Release: %mkrel 1 Summary: Classic bubble puzzle game ported to SDL3 Group: Games/Arcade License: GPLv2 URL: https://github.com/dchau360/frozen-bubble-sdl3 Source: https://github.com/dchau360/frozen-bubble-sdl3/archive/v%{version}/bluez-alsa-v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: frozen-bubble-sdl3-fix-log-location.diff BuildRequires: pkgconfig BuildRequires: pkgconfig(sdl3) BuildRequires: pkgconfig(sdl3-image) BuildRequires: pkgconfig(sdl3-mixer) BuildRequires: pkgconfig(sdl3-ttf) BuildRequires: cmake BuildRequires: (ninja or ninja-build) BuildRequires: (gcc-c++ or clang) BuildRequires: pkgconfig(glib-2.0) >= 2.10 #Obsoletes: %{oname} < 2.2.1 Provides: %{oname} = %{version}-%{release} Requires: %{name}-data %description A C++ / SDL3 port of the classic Frozen Bubble 2, reimplementing its gameplay, network multiplayer, and chain reaction system. The original was Linux-only; this port runs on Linux, macOS, Windows, Android TV, and in the browser. The original was written in Perl; this is a full rewrite in C++. Core gameplay and the network protocol are faithfully reproduced, but edge-case mechanics may still differ — bug reports are welcome via GitHub Issues. %package data Summary: Data files for %{name} BuildArch: noarch %description data %{summary}. %prep %autosetup -p1 %build %cmake -G Ninja %cmake_build %install %cmake_install %files %license COPYING %doc CHANGELOG.md README.md AUTHORS Changes HISTORY %{_bindir}/%{name} %files data %{_datadir}/%{oname}/