1 |
# Generated by go2rpm |
2 |
%bcond_without check |
3 |
|
4 |
# https://github.com/d2g/dhcp4 |
5 |
%global goipath github.com/d2g/dhcp4 |
6 |
%global commit a1d1b6c41b1ce8a71a5121a9cee31809c4707d9c |
7 |
|
8 |
%gometa |
9 |
|
10 |
%global common_description %{expand: |
11 |
A DHCP library written in Go.} |
12 |
|
13 |
%global golicenses LICENSE |
14 |
%global godocs README.md |
15 |
|
16 |
%global gosupfiles glide.lock glide.yaml |
17 |
|
18 |
Name: %{goname} |
19 |
Version: 0 |
20 |
Release: %mkrel 0.20 |
21 |
Summary: DHCP4 library written in Go |
22 |
Group: Development/Other |
23 |
# Upstream license specification: BSD-3-Clause |
24 |
License: BSD |
25 |
URL: %{gourl} |
26 |
Source0: %{gosource} |
27 |
Source1: glide.yaml |
28 |
Source2: glide.lock |
29 |
|
30 |
%description |
31 |
%{common_description} |
32 |
|
33 |
%gopkg |
34 |
|
35 |
%prep |
36 |
%goprep |
37 |
cp %{S:1} %{S:2} . |
38 |
|
39 |
%install |
40 |
%gopkginstall |
41 |
|
42 |
%if %{with check} |
43 |
%check |
44 |
%gocheck |
45 |
%endif |
46 |
|
47 |
%gopkgfiles |
48 |
|