# Generated by go2rpm %bcond_without check # https://github.com/gin-contrib/sse %global goipath github.com/gin-contrib/sse %global commit 5545eab6dad3bbbd6c5ae9186383c2a9d23c0dae %gometa %global common_description %{expand: Server-sent events (SSE) is a technology where a browser receives automatic updates from a server via HTTP connection. The Server-Sent Events EventSource API is standardized as part of HTML5[1] by the W3C.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Server-sent events implementation in Go. used by the gin framework License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Apr 30 14:53:05 CEST 2019 Robert-André Mauchin - 0-0.1.20190430git5545eab - Initial package