1 |
# Generated by go2rpm 1 |
2 |
%bcond_without check |
3 |
|
4 |
# https://github.com/census-instrumentation/opencensus-proto |
5 |
%global goipath github.com/census-instrumentation/opencensus-proto |
6 |
Version: 0.3.0 |
7 |
|
8 |
%gometa |
9 |
|
10 |
%global common_description %{expand: |
11 |
Language Independent Interface Types For OpenCensus.} |
12 |
|
13 |
%global golicenses LICENSE |
14 |
%global godocs CONTRIBUTING.md AUTHORS RELEASING.md README.md\\\ |
15 |
src/opencensus/proto/agent/README.md gen-\\\ |
16 |
python/README.rst |
17 |
|
18 |
Name: %{goname} |
19 |
Release: %mkrel 1 |
20 |
Summary: Language Independent Interface Types For OpenCensus |
21 |
Group: Development/Other |
22 |
BuildArch: noarch |
23 |
# Upstream license specification: Apache-2.0 |
24 |
License: ASL 2.0 |
25 |
URL: %{gourl} |
26 |
Source0: %{gosource} |
27 |
|
28 |
BuildRequires: golang(github.com/golang/protobuf/descriptor) |
29 |
BuildRequires: golang(github.com/golang/protobuf/proto) |
30 |
BuildRequires: golang(github.com/golang/protobuf/ptypes/timestamp) |
31 |
BuildRequires: golang(github.com/golang/protobuf/ptypes/wrappers) |
32 |
BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/runtime) |
33 |
BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/utilities) |
34 |
BuildRequires: golang(google.golang.org/grpc) |
35 |
BuildRequires: golang(google.golang.org/grpc/codes) |
36 |
BuildRequires: golang(google.golang.org/grpc/grpclog) |
37 |
BuildRequires: golang(google.golang.org/grpc/status) |
38 |
BuildRequires: golang(google.golang.org/protobuf/reflect/protoreflect) |
39 |
BuildRequires: golang(google.golang.org/protobuf/runtime/protoimpl) |
40 |
|
41 |
%description |
42 |
%{common_description} |
43 |
|
44 |
%gopkg |
45 |
|
46 |
%prep |
47 |
%goprep |
48 |
|
49 |
%install |
50 |
%gopkginstall |
51 |
|
52 |
%if %{with check} |
53 |
%check |
54 |
%gocheck |
55 |
%endif |
56 |
|
57 |
%gopkgfiles |
58 |
|