# Generated by go2rpm 1.2 %bcond_without check # https://github.com/deepsecurity-pe/GoGhost %global goipath github.com/deepsecurity-pe/GoGhost %global commit 057d8c9cbabed3364a3c9f1e72851afba8b237d2 %gometa %global common_description %{expand: High Performance, lightweight, portable Open Source tool for mass SMBGhost Scan.} %global godocs README.md Name: goghost Version: 0 Release: 0.1%{?dist} Summary: High Performance, lightweight, portable Open Source tool for mass SMBGhost Scan License: # FIXME URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build %gobuild -o %{gobuilddir}/bin/GoGhost %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %doc README.md %{_bindir}/* %gopkgfiles %changelog * Sat Oct 17 2020 Fabian Affolter - 0-0.1.20201017git057d8c9 - Initial package for Fedora