Blob Blame History Raw
# 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.2%{?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
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue Apr 30 14:53:05 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190626git5545eab
- Initial package