40 lines
888 B
RPMSpec
40 lines
888 B
RPMSpec
%define debug_package %{nil}
|
|
|
|
Name: kubekey
|
|
Summary: Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
|
|
Version: v1.2.0
|
|
Release: 1
|
|
License: Apache-2.0
|
|
URL: https://gitee.com/openeuler/kubekey
|
|
|
|
Source0: https://github.com/kubesphere/kubekey/releases/download/%{version}-openEuler/kubekey-%{version}.tar.gz
|
|
|
|
BuildRequires: git go
|
|
Requires: socat
|
|
Requires: conntrack
|
|
|
|
|
|
%description
|
|
Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%build
|
|
bash -x build.sh -p
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
|
|
cp output/kk $RPM_BUILD_ROOT/usr/local/bin
|
|
|
|
%files
|
|
/usr/local/bin/kk
|
|
|
|
|
|
%changelog
|
|
* Fri Aug 6 2021 guofeng <guofeng@yunify.com> v1.2.0-1
|
|
- Init package
|
|
|