k3d/k3d.spec

41 lines
800 B
RPMSpec
Raw Normal View History

2023-09-29 00:20:40 +03:00
%define debug %nil
%define debug_package %nil
Name: k3d
2024-11-26 22:24:04 +00:00
Version: 5.7.5
2023-09-29 00:20:40 +03:00
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
2023-09-30 19:32:45 +00:00
BuildRequires: curl
2024-11-26 22:24:04 +00:00
BuildRequires: pkgconfig(openssl3.3)
2023-09-29 00:20:40 +03:00
%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
2024-04-10 14:55:48 +00:00
export GOPROXY=https://proxy.golang.org/cached-only
2023-09-29 00:20:40 +03:00
%make build GIT_TAG=%{version}
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README.md LICENSE docs
%{_bindir}/%{name}