%global git_date 20250922 %global git_hash 99ac5b6 %global git_ver 0.19.2 %global rel 1 %global src_name %{name}-%{git_date}-%{git_hash}.tar.xz Name: humble-cli Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Missing CLI for downloading your Humble Bundle purchases License: MIT URL: https://github.com/smbl64/humble-cli Source: %{url}/%{src_name} BuildRequires: cargo rustc %global _description %{expand: The missing CLI for downloading your Humble Bundle purchases.} %description %{_description} %prep %autosetup -n humble-cli -p1 %build cargo build --release %install ## Manually... install -p -D -m755 target/release/%{name} %{buildroot}%{_bindir}/%{name} %files %license LICENSE %doc README.md %{_bindir}/humble-cli %changelog %autochangelog