Blob Blame History Raw
# Generated by go2rpm
# Needs network
%bcond_with check

# https://github.com/nlopes/slack
%global goipath         github.com/nlopes/slack
Version:                0.6.0

%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
%gocheck
%endif

%gopkgfiles

%changelog
* Sat Feb 01 23:37:32 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.6.0-1
- Update to 0.6.0

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Wed May 15 23:52:52 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.5.0-1.20190701gite2954b1
- Initial package