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 298b63a544303a239753d04314aada5bdbad7e4a |
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 2 |
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(github.com/jcmturner/gokrb5/v8/client) |
29 |
BuildRequires: golang(github.com/jcmturner/gokrb5/v8/config) |
30 |
BuildRequires: golang(github.com/jcmturner/gokrb5/v8/credentials) |
31 |
BuildRequires: golang(github.com/jcmturner/gokrb5/v8/spnego) |
32 |
|
33 |
%description |
34 |
%{common_description} |
35 |
|
36 |
%gopkg |
37 |
|
38 |
%prep |
39 |
%goprep |
40 |
|
41 |
%install |
42 |
%gopkginstall |
43 |
|
44 |
%if %{with check} |
45 |
%check |
46 |
%gocheck |
47 |
%endif |
48 |
|
49 |
%gopkgfiles |