# Generated by go2rpm %bcond_without check # 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: 0.1%{?dist} 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 * Tue May 07 18:24:35 CEST 2019 Robert-André Mauchin - 0-0.1.20190507gitf0c99a9 - Initial package