k3d/k3d.spec
2024-11-26 22:24:04 +00:00

40 lines
800 B
RPMSpec

%define debug %nil
%define debug_package %nil
Name: k3d
Version: 5.7.5
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
BuildRequires: pkgconfig(openssl3.3)
%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}