%define SHA256SUM0 3cc26c514fbbfbfdf85db5dbcc3a5eb02a6db71dfbc135ce5a482925090c0e91 %define debug_package %nil Name: tree-game Version: 0.11 Release: 2%{?dist} Summary: seg's garden simulator - Powder toy like sandbox game focused on nature. Group: Amusements/Games License: MIT URL: https://github.com/segfaultdev/tree Source0: https://github.com/segfaultdev/tree/archive/refs/tags/v0.11.tar.gz BuildRequires: git gcc libglvnd libglvnd-devel %description seg's garden simulator - Powder toy like sandbox game focused on nature. %prep echo "%{SHA256SUM0} %{_sourcedir}/v0.11.tar.gz" > checksumfile sha256sum -c checksumfile rm -f checksumfile %autosetup -n tree-%{version} %build gcc -O3 $(find . -name "*.c") -Llib -Iinclude -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 -o tree %install install -D -m655 tree %{buildroot}/usr/bin/tree-game %files %license LICENSE %doc README.md /usr/bin/tree-game