1 |
pterjan |
1665170 |
# golang-github-circonus-labs-gometrics.spec |
2 |
|
|
# Generated by go2rpm |
3 |
|
|
%bcond_without check |
4 |
|
|
|
5 |
|
|
# https://github.com/circonus-labs/circonus-gometrics |
6 |
|
|
%global goipath github.com/circonus-labs/circonus-gometrics |
7 |
guillomovitch |
1756583 |
Version: 3.3.0 |
8 |
pterjan |
1665170 |
|
9 |
|
|
%gometa |
10 |
|
|
|
11 |
|
|
%global common_description %{expand: |
12 |
|
|
A Go implementation of metrics reporting for circonus.} |
13 |
|
|
|
14 |
|
|
%global golicenses LICENSE |
15 |
|
|
%global godocs OPTIONS.md README.md CHANGELOG.md |
16 |
|
|
|
17 |
|
|
%global gosupfiles glide.lock glide.yaml |
18 |
|
|
|
19 |
|
|
Name: %{goname} |
20 |
umeabot |
2245751 |
Release: %mkrel 3 |
21 |
pterjan |
1665170 |
Summary: Go implementation of metrics reporting for circonus |
22 |
wally |
2133579 |
Group: Development/Golang |
23 |
pterjan |
1665172 |
BuildArch: noarch |
24 |
pterjan |
1665170 |
|
25 |
|
|
# Upstream license specification: BSD-3-Clause |
26 |
|
|
License: BSD |
27 |
|
|
URL: %{gourl} |
28 |
|
|
Source0: %{gosource} |
29 |
|
|
Source1: glide.lock |
30 |
|
|
Source2: glide.yaml |
31 |
|
|
|
32 |
|
|
BuildRequires: golang(github.com/circonus-labs/circonusllhist) |
33 |
|
|
BuildRequires: golang(github.com/circonus-labs/go-apiclient) |
34 |
|
|
BuildRequires: golang(github.com/circonus-labs/go-apiclient/config) |
35 |
|
|
BuildRequires: golang(github.com/hashicorp/go-retryablehttp) |
36 |
|
|
BuildRequires: golang(github.com/pkg/errors) |
37 |
|
|
BuildRequires: golang(github.com/tv42/httpunix) |
38 |
|
|
|
39 |
|
|
%description |
40 |
|
|
%{common_description} |
41 |
|
|
|
42 |
|
|
%gopkg |
43 |
|
|
|
44 |
|
|
%prep |
45 |
|
|
%goprep |
46 |
|
|
cp %{S:1} %{S:2} . |
47 |
|
|
|
48 |
|
|
%install |
49 |
|
|
%gopkginstall |
50 |
|
|
|
51 |
|
|
%if %{with check} |
52 |
|
|
%check |
53 |
|
|
%gocheck |
54 |
|
|
%endif |
55 |
|
|
|
56 |
|
|
%gopkgfiles |
57 |
|
|
|