1 |
guillomovitch |
1556197 |
# 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: Developement/Other |
21 |
|
|
Summary: Cross-platform HTTP calls with Kerberos authentication |
22 |
|
|
|
23 |
|
|
License: MIT |
24 |
|
|
URL: %{gourl} |
25 |
|
|
Source0: %{gosource} |
26 |
|
|
|
27 |
|
|
BuildRequires: golang(gopkg.in/jcmturner/gokrb5.v5/client) |
28 |
|
|
BuildRequires: golang(gopkg.in/jcmturner/gokrb5.v5/config) |
29 |
|
|
BuildRequires: golang(gopkg.in/jcmturner/gokrb5.v5/credentials) |
30 |
|
|
|
31 |
|
|
%description |
32 |
|
|
%{common_description} |
33 |
|
|
|
34 |
|
|
%gopkg |
35 |
|
|
|
36 |
|
|
%prep |
37 |
|
|
%goprep |
38 |
|
|
|
39 |
|
|
%install |
40 |
|
|
%gopkginstall |
41 |
|
|
|
42 |
|
|
%if %{with check} |
43 |
|
|
%check |
44 |
|
|
%gocheck |
45 |
|
|
%endif |
46 |
|
|
|
47 |
|
|
%gopkgfiles |