Name: wtf Version: 0.46.1 Release: 1%{?dist} Summary: Information dashboard for terminal License: MIT URL: https://github.com/wtfutil/%{name} Source0: https://github.com/wtfutil/${name}/archive/refs/tags/v%{version}.tar.gz BuildRequires: golang >= 1.16 BuildRequires: git which %global debug_package %{nil} %description This is a sample Go application demonstrating RPM packaging. %prep %setup -q %build # Fetch Go modules export GO111MODULE=on %{__make} %install # Create target directory mkdir -p %{buildroot}%{_bindir} # Install the compiled binary # install -m 0755 %{_builddir}/%{name}/bin/ %{buildroot}%{_bindir} install -m 0755 bin/wtfutil %{buildroot}%{_bindir} %files %{_bindir}/wtfutil %changelog * Mon Oct 13 2025 FRS Packager - 0.46.1 - Initial release of wtfutil