# Generated by go2rpm 1.3 %bcond_without check # https://github.com/Dliv3/Venom %global goipath github.com/Dliv3/Venom Version: 1.1.0 %gometa %global common_description %{expand: Venom is multi-hop proxy for penetration testers.} %global golicenses LICENSE %global godocs docs README-en.md README.md Name: venom Release: 1%{?dist} Summary: Golang multi-hop proxy License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cheggaaa/pb) BuildRequires: golang(github.com/libp2p/go-reuseport) BuildRequires: golang(golang.org/x/crypto/ssh) %description %{common_description} %gopkg %prep %goprep %build for cmd in admin agent; do %gobuild -o %{gobuilddir}/bin/venom-$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc docs README-en.md README.md %{_bindir}/* %gopkgfiles %changelog * Thu Dec 24 2020 Fabian Affolter - 1.1.0-1 - Initial package for Fedora