# Generated by go2rpm %bcond_without check %bcond_without bootstrap # https://github.com/nats-io/go-nats-streaming %global goipath github.com/nats-io/go-nats-streaming Version: 0.4.4 %global forgesetupargs -n stan.go-%{version} %global topdir stan.go-%{version} %global extractdir stan.go-%{version} %gometa %global common_description %{expand: NATS Streaming is an extremely performant, lightweight reliable streaming platform powered by NATS.} %global golicenses LICENSE %global godocs examples CODE-OF-CONDUCT.md GOVERNANCE.md\\\ MAINTAINERS.md README.md Name: %{goname} Release: 1%{?dist} Summary: NATS Streaming System # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/gogo/protobuf/gogoproto) BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/nats-io/go-nats) BuildRequires: golang(github.com/nats-io/go-nats/bench) BuildRequires: golang(github.com/nats-io/nuid) %if %{without bootstrap} %if %{with check} # Tests BuildRequires: golang(github.com/nats-io/nats-server/test) BuildRequires: golang(github.com/nats-io/nats-streaming-server/server) %endif %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog * Tue May 14 00:41:18 CEST 2019 Robert-André Mauchin - 0.4.4-1 - Initial package