1 |
# Generated by go2rpm 1 |
2 |
%bcond_without check |
3 |
|
4 |
# https://github.com/dpotapov/go-spnego |
5 |
%global goipath github.com/dpotapov/go-spnego |
6 |
%global commit c2c609116ad04b25367e2789f273aaf8d1c263da |
7 |
|
8 |
%gometa |
9 |
|
10 |
%global common_description %{expand: |
11 |
Wraps gokrb5 and sspi libraries to provide cross-platform way to make HTTP |
12 |
calls with Kerberos authentication.} |
13 |
|
14 |
%global golicenses LICENSE |
15 |
%global godocs examples README.md |
16 |
|
17 |
Name: %{goname} |
18 |
Version: 0 |
19 |
Release: %mkrel 1 |
20 |
Group: Development/Other |
21 |
Summary: Cross-platform HTTP calls with Kerberos authentication |
22 |
|
23 |
License: MIT |
24 |
URL: %{gourl} |
25 |
Source0: %{gosource} |
26 |
|
27 |
BuildArch: noarch |
28 |
BuildRequires: golang(gopkg.in/jcmturner/gokrb5.v5/client) |
29 |
BuildRequires: golang(gopkg.in/jcmturner/gokrb5.v5/config) |
30 |
BuildRequires: golang(gopkg.in/jcmturner/gokrb5.v5/credentials) |
31 |
|
32 |
%description |
33 |
%{common_description} |
34 |
|
35 |
%gopkg |
36 |
|
37 |
%prep |
38 |
%goprep |
39 |
|
40 |
%install |
41 |
%gopkginstall |
42 |
|
43 |
%if %{with check} |
44 |
%check |
45 |
%gocheck |
46 |
%endif |
47 |
|
48 |
%gopkgfiles |