# Generated by go2rpm %bcond_without check # https://github.com/elazarl/goproxy %global goipath github.com/elazarl/goproxy Version: 1.1 %gometa %global common_description %{expand: Package Goproxy provides a customizable HTTP proxy library for Go. It supports regular HTTP proxy, HTTPS through CONNECT, and "hijacking" HTTPS connection using "Man in the Middle" style attack.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: 1%{?dist} Summary: HTTP proxy library for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/inconshreveable/go-vhost) BuildRequires: golang(github.com/rogpeppe/go-charset/charset) BuildRequires: golang(github.com/rogpeppe/go-charset/data) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # Needs network %gocheck -d . %endif %gopkgfiles %changelog * Fri May 10 14:36:24 CEST 2019 Robert-André Mauchin - 1.1-1 - Initial package