# Generated by go2rpm %bcond_without check # https://github.com/nlopes/slack %global goipath github.com/nlopes/slack Version: 0.5.0 %global commit e2954b1409b0228b16a1ac3515a036a3f2f4aac1 %gometa %global common_description %{expand: This library supports most if not all of the api.slack.com REST calls, as well as the Real-Time Messaging protocol over websocket, in a fully managed way.} %global golicenses LICENSE %global godocs examples CHANGELOG.md TODO.txt README.md Name: %{goname} Release: 1%{?dist} Summary: Slack API in Go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/gorilla/websocket) BuildRequires: golang(github.com/pkg/errors) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # .: needs network %gocheck -d . %endif %gopkgfiles %changelog * Wed May 15 23:52:52 CEST 2019 Robert-André Mauchin - 0.5.0-1.20190516gite2954b1 - Initial package