mirror of
https://abf.rosa.ru/djam/k3d.git
synced 2025-02-23 10:42:56 +00:00
39 lines
762 B
RPMSpec
39 lines
762 B
RPMSpec
%define debug %nil
|
|
%define debug_package %nil
|
|
|
|
Name: k3d
|
|
Version: 5.6.3
|
|
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
|
|
BuildRequires: curl
|
|
|
|
%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=https://proxy.golang.org/cached-only
|
|
%make build GIT_TAG=%{version}
|
|
|
|
upx bin/%{name}
|
|
|
|
%install
|
|
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|
|
|
|
|
%files
|
|
%doc README.md LICENSE docs
|
|
%{_bindir}/%{name}
|
|
|