1 |
pterjan |
1665317 |
# Generated by go2rpm |
2 |
|
|
%bcond_without check |
3 |
|
|
|
4 |
|
|
# https://github.com/bgentry/speakeasy |
5 |
|
|
%global goipath github.com/bgentry/speakeasy |
6 |
|
|
Version: 0.1.0 |
7 |
|
|
|
8 |
|
|
%gometa |
9 |
|
|
|
10 |
|
|
%global common_description %{expand: |
11 |
|
|
This package provides cross-platform Go helpers for taking user input from the |
12 |
|
|
terminal while not echoing the input back (similar to getpasswd). The package |
13 |
|
|
uses syscalls to avoid any dependence on cgo, and is therefore compatible with |
14 |
|
|
cross-compiling.} |
15 |
|
|
|
16 |
|
|
%global golicenses LICENSE LICENSE_WINDOWS |
17 |
|
|
%global godocs example Readme.md |
18 |
|
|
|
19 |
|
|
%global gosupfiles glide.lock glide.yaml |
20 |
|
|
|
21 |
|
|
Name: %{goname} |
22 |
guillomovitch |
1757283 |
Release: %mkrel 2 |
23 |
pterjan |
1665317 |
Summary: Cross-platform golang helpers for reading password input without cgo |
24 |
pterjan |
1665319 |
Group: Development/Other |
25 |
|
|
BuildArch: noarch |
26 |
pterjan |
1665317 |
|
27 |
|
|
License: MIT |
28 |
|
|
URL: %{gourl} |
29 |
|
|
Source0: %{gosource} |
30 |
|
|
Source1: glide.yaml |
31 |
|
|
Source2: glide.lock |
32 |
|
|
|
33 |
|
|
%description |
34 |
|
|
%{common_description} |
35 |
|
|
|
36 |
|
|
%gopkg |
37 |
|
|
|
38 |
|
|
%prep |
39 |
|
|
%goprep |
40 |
|
|
cp %{S:1} %{S:2} . |
41 |
|
|
|
42 |
|
|
%install |
43 |
|
|
%gopkginstall |
44 |
|
|
|
45 |
|
|
%if %{with check} |
46 |
|
|
%check |
47 |
|
|
%gocheck |
48 |
|
|
%endif |
49 |
|
|
|
50 |
|
|
%gopkgfiles |
51 |
|
|
|