Name: msh Version: 0.0.git.959.672f9abc Release: 1%{?dist} Summary: Autostart and stop minecraft-server when players join/leave License: GPLv3 URL: https://github.com/KyleGospo/minecraft-server-hibernation Source: minecraft-server-hibernation-672f9abc.tar.gz BuildRequires: golang BuildRequires: git Conflicts: msh-dev %description Avoid wasting of resources by automatically starting your minecraft server when a player join and stopping it when no one is online # Disable debug packages %define debug_package %{nil} %prep %setup -T -b 0 -q -n minecraft-server-hibernation %build go build . %install mkdir -p %{buildroot}/%{_bindir} install -m 0755 ./msh %{buildroot}/%{_bindir}/ %files %license LICENSE %doc README.md %{_bindir}/msh %changelog