db0ccc3
# Generated by go2rpm 1
db0ccc3
%bcond_without check
db0ccc3
db0ccc3
# https://github.com/brocaar/chirpstack-api
db0ccc3
%global goipath         github.com/brocaar/chirpstack-api
db0ccc3
Version:                3.7.7
db0ccc3
db0ccc3
%gometa
db0ccc3
db0ccc3
%global common_description %{expand:
db0ccc3
ChirpStack gRPC API message and service wrappers for Go.}
db0ccc3
db0ccc3
Name:           %{goname}
db0ccc3
Release:        1%{?dist}
db0ccc3
Summary:        Chirpstack Go API
db0ccc3
db0ccc3
License:        MIT
db0ccc3
db0ccc3
URL:            %{gourl}
db0ccc3
Source0:        %{gosource}
db0ccc3
db0ccc3
BuildRequires:  golang(github.com/golang/protobuf/descriptor)
db0ccc3
BuildRequires:  golang(github.com/golang/protobuf/proto)
db0ccc3
BuildRequires:  golang(github.com/golang/protobuf/ptypes/duration)
db0ccc3
BuildRequires:  golang(github.com/golang/protobuf/ptypes/empty)
db0ccc3
BuildRequires:  golang(github.com/golang/protobuf/ptypes/timestamp)
db0ccc3
# Package was renamed sometime ago 
db0ccc3
BuildRequires:  golang-github-grpc-ecosystem-gateway-devel
db0ccc3
BuildRequires:  golang(google.golang.org/genproto/googleapis/api/annotations)
db0ccc3
BuildRequires:  golang(google.golang.org/grpc)
db0ccc3
db0ccc3
%description
db0ccc3
%{common_description}
db0ccc3
db0ccc3
%gopkg
db0ccc3
db0ccc3
%prep
db0ccc3
%goprep
db0ccc3
db0ccc3
%install
db0ccc3
%gopkginstall
db0ccc3
db0ccc3
%if %{with check}
db0ccc3
%check
db0ccc3
%gocheck
db0ccc3
%endif
db0ccc3
db0ccc3
%gopkgfiles
db0ccc3
db0ccc3
%changelog
db0ccc3
* Tue Sep 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.7-1
db0ccc3
- Initial package for Fedora
db0ccc3