From 638d1961a98cd6cc8c2aff7b73b5cab1e0fec522 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoitel Date: Mon, 2 Aug 2021 19:15:00 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ k9s.spec | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .abf.yml create mode 100644 k9s.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..094407f --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + k9s-0.24.14.tar.gz: 21b1d83b3b5df017287b1c5e16c7b0af44ccddd2 diff --git a/k9s.spec b/k9s.spec new file mode 100644 index 0000000..bd69696 --- /dev/null +++ b/k9s.spec @@ -0,0 +1,37 @@ +%define debug %nil +%define debug_package %nil + +Name: k9s +Version: 0.24.14 +Release: 1 +Summary: Kubernetes CLI To Manage Your Clusters In Style +URL: https://k9scli.io +Source0: https://github.com/derailed/k9s/archive/v%{version}/%{name}-%{version}.tar.gz +License: ASL 2.0 +Group: Development/Other +BuildRequires: go >= 1.11 +BuildRequires: upx +BuildRequires: git-core + +%description +K9s provides a terminal UI to interact with your Kubernetes +clusters. The aim of this project is to make it easier to +navigate, observe and manage your applications in the wild. +K9s continually watches Kubernetes for changes and offers +subsequent commands to interact with your observed +resources. + +%prep +%setup -q + +%build +%make build +upx execs/%{name} + +%install +install -Dm0755 execs/%{name} %{buildroot}/%{_bindir}/%{name} + +%files +%doc README.md LICENSE +%{_bindir}/%{name} +