# no, this isn't built from source because there is like a hundred go packages and I gave up halfway through updating them %global debug_package %{nil} Name: hugo Version: 0.140.2 Release: 1%{?dist} Summary: The world’s fastest framework for building websites. License: Apache-2.0 URL: https://github.com/gohugoio/hugo Source0: https://github.com/gohugoio/hugo/releases/download/v%{version}/hugo_extended_%{version}_Linux-64bit.tar.gz %description The world’s fastest framework for building websites. %prep %setup -q -c -n hugo %install install -m 100 -d %{buildroot}hugo %{buildroot}%{_bindir}/hugo %files %{_bindir}/hugo %changelog %autochangelog