Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > 03c375224c973c732b23e74da86ab07f > files > 3

golang-github-pkg-sftp-1.8.3-1.mga7.src.rpm

# http://github.com/pkg/sftp
%global goipath         github.com/pkg/sftp
Version:                1.8.3

%gometa

Name:           %{goname}
Release:        1%{?dist}
Summary:        SFTP support for the go.crypto/ssh package
# Detected licences
# - BSD (2 clause) at 'LICENSE'
Group:          Development/Other
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}
Source1:        glide.yaml
Source2:        glide.lock
BuildArch:      noarch

%description
%{summary}

%package devel
Summary:       %{summary}

BuildRequires: golang(github.com/kr/fs)
BuildRequires: golang(github.com/pkg/errors)
BuildRequires: golang(golang.org/x/crypto/ssh)
BuildRequires: golang(github.com/stretchr/testify/assert)

%description devel
%{summary}

This package contains library source intended for
building other packages which use import path with
%{goipath} prefix.

%prep
%forgesetup
cp %{SOURCE1} %{SOURCE2} .

%install
%goinstall glide.lock glide.yaml

%check
%gochecks

#define license tag if not already defined
%{!?_licensedir:%global license %doc}

%files devel -f devel.file-list
%license LICENSE
%doc README.md CONTRIBUTORS



%changelog
* Mon Nov 26 2018 pterjan <pterjan> 1.8.3-1.mga7
+ Revision: 1335546
- imported package golang-github-pkg-sftp