mirror of
https://abf.rosa.ru/djam/k3d.git
synced 2025-02-23 10:42:56 +00:00
Imported from SRPM
This commit is contained in:
commit
7abe539db8
2 changed files with 40 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
k3d-5.6.0.tar.gz: 15173e6a5cddc2e88221a8490ce98d2123d548ee
|
38
k3d.spec
Normal file
38
k3d.spec
Normal file
|
@ -0,0 +1,38 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: k3d
|
||||
Version: 5.6.0
|
||||
Release: 1
|
||||
Summary: Little helper to run CNCF's k3s in Docker
|
||||
URL: https://k3d.io
|
||||
Source0: https://github.com/k3d-io/k3d/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
License: MIT
|
||||
Group: Development/Other
|
||||
BuildRequires: go
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%description
|
||||
k3d creates containerized k3s clusters. This means, that you
|
||||
can spin up a multi-node k3s cluster on a single machine using
|
||||
docker.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export GOPROXY=direct
|
||||
%make build GIT_TAG=%{version}
|
||||
|
||||
upx bin/%{name}
|
||||
|
||||
%install
|
||||
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE docs
|
||||
%{_bindir}/%{name}
|
||||
|
Loading…
Add table
Reference in a new issue