mirror of
https://abf.rosa.ru/djam/k3d.git
synced 2025-02-23 18:52:54 +00:00
39 lines
711 B
RPMSpec
39 lines
711 B
RPMSpec
|
%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}
|
||
|
|