# Generated by go2rpm 1.8.2 %bcond_without check # https://github.com/tenox7/wrp %global goipath github.com/tenox7/wrp Version: 4.6.0 %global tag 4.6.0 %gometa -f %global common_description %{expand: Web Rendering Proxy (WRP) is a browser-in-browser "proxy" server that allows to use historical / vintage web browsers on the modern web. It works by rendering a web page in to a GIF or PNG image with clickable imagemap.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Web Rendering Proxy to use legacy browsers on the modern web License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %package -n wrp Summary: %{summary} %description -n wrp %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/wrp %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n wrp %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog %autochangelog