Blob Blame History Raw
# Generated by go2rpm 1
%bcond_without check

# https://github.com/brocaar/chirpstack-api
%global goipath         github.com/brocaar/chirpstack-api
Version:                3.7.7

%gometa

%global common_description %{expand:
ChirpStack gRPC API message and service wrappers for Go.}

Name:           %{goname}
Release:        1%{?dist}
Summary:        Chirpstack Go API

License:        MIT

URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/golang/protobuf/descriptor)
BuildRequires:  golang(github.com/golang/protobuf/proto)
BuildRequires:  golang(github.com/golang/protobuf/ptypes/duration)
BuildRequires:  golang(github.com/golang/protobuf/ptypes/empty)
BuildRequires:  golang(github.com/golang/protobuf/ptypes/timestamp)
# Package was renamed sometime ago 
BuildRequires:  golang-github-grpc-ecosystem-gateway-devel
BuildRequires:  golang(google.golang.org/genproto/googleapis/api/annotations)
BuildRequires:  golang(google.golang.org/grpc)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Tue Sep 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.7-1
- Initial package for Fedora