# Generated by go2rpm
%bcond_without check
%global debug_package %{nil}
# https://github.com/tomasen/realip
%global goipath github.com/tomasen/realip
%global commit f0c99a92ddcedd3964a269d23c8e89d9a9229be6
%gometa
%global common_description %{expand:
Go package that can be used to get client's real public IP, which usually useful
for logging HTTP server.}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Version: 0
Release: %autorelease
Summary: Get client's real public ip address from http request headers
License: MIT
URL: %{gourl}
Source0: %{gosource}
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
%autochangelog