mirror of
https://abf.rosa.ru/djam/terraform-provider-sshclient.git
synced 2025-02-23 05:32:51 +00:00
Imported from SRPM
This commit is contained in:
commit
840749f664
2 changed files with 46 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
terraform-provider-sshclient-1.0.1.tar.gz: 73e35568b2e3220e73953ed46288738f25888f1b
|
44
terraform-provider-sshclient.spec
Normal file
44
terraform-provider-sshclient.spec
Normal file
|
@ -0,0 +1,44 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
%define tfprovider sshclient
|
||||
%ifarch x86_64 amd64
|
||||
%global goarch amd64
|
||||
%else
|
||||
%global goarch 386
|
||||
%endif
|
||||
|
||||
Name: terraform-provider-%{tfprovider}
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
Summary: Terraform sshclient provider
|
||||
URL: https://github.com/luma-planet/%{name}
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
License: MPL 2.0
|
||||
Group: Development/Other
|
||||
BuildRequires: go >= 1.16
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export GOPROXY=direct
|
||||
go build --ldflags="-s -w"
|
||||
|
||||
upx %{name}
|
||||
|
||||
%install
|
||||
install -Dm0755 %{name} %{buildroot}/%{_datadir}/terraform/plugins/tf.%{tfprovider}.online/mylocal/%{tfprovider}/%{version}/linux_%{goarch}/%{name}
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE
|
||||
%{_datadir}/terraform/plugins/tf.%{tfprovider}.online/mylocal/%{tfprovider}/%{version}/linux_%{goarch}/%{name}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue