%ifarch x86_64 %global go_arch amd64 %endif %ifarch aarch64 %global go_arch arm64 %endif Name: humble-cli Version: 0.23.0 Release: 1%{?dist} Summary: The missing CLI for downloading your Humble Bundle purchases License: MIT URL: https://github.com/smbl64/humble-cli Source0: https://github.com/smbl64/humble-cli/releases/download/v%{version}/%{name}-linux-%{go_arch}.tar.gz Source1: https://raw.githubusercontent.com/smbl64/humble-cli/refs/tags/v%{version}/LICENSE ExclusiveArch: x86_64 aarch64 %description humble-cli is a command-line tool for downloading your Humble Bundle purchases without having to navigate the web interface. %global debug_package %{nil} %prep %setup -c %{name}-%{version} %build cp %{SOURCE1} . %check %install install -Dpm 0755 %{name}-linux-%{go_arch} %{buildroot}%{_bindir}/%{name} %files %license LICENSE %{_bindir}/%{name} %changelog * Tue Jun 2 2026 Chris Grau <113591+sirhc@users.noreply.github.com> - 0.23.0-1 - Initial package