# Generated by go2rpm 1 # Needs network to fetch glide data %bcond_with check # https://github.com/lyft/protoc-gen-star %global goipath github.com/lyft/protoc-gen-star Version: 0.4.15 %gometa %global common_description %{expand: Protoc plugin library for efficient proto-based code generation.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md README.md Name: %{goname} Release: 1%{?dist} Summary: Protoc plugin library for efficient proto-based code generation # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/golang/protobuf/protoc-gen-go/descriptor) BuildRequires: golang(github.com/golang/protobuf/protoc-gen-go/generator) BuildRequires: golang(github.com/golang/protobuf/protoc-gen-go/plugin) BuildRequires: golang(github.com/spf13/afero) %if %{with check} # Tests BuildRequires: golang(github.com/golang/protobuf/descriptor) BuildRequires: golang(github.com/golang/protobuf/ptypes/any) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Jul 25 17:55:50 CEST 2020 Robert-André Mauchin - 0.4.15-1 - Initial package