k9s/k9s.spec

40 lines
938 B
RPMSpec
Raw Normal View History

2021-08-02 19:15:00 +03:00
%define debug %nil
%define debug_package %nil
Name: k9s
2023-12-24 12:36:13 +00:00
Version: 0.30.0
2021-08-02 19:15:00 +03:00
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
2022-09-22 22:42:18 +03:00
BuildRequires: pkgconfig(x11)
2021-08-02 19:15:00 +03:00
%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
2023-12-24 12:53:25 +00:00
export GOPROXY=https://proxy.golang.org/cached-only
2021-08-02 19:15:00 +03:00
%make build
upx execs/%{name}
%install
install -Dm0755 execs/%{name} %{buildroot}/%{_bindir}/%{name}
%files
%doc README.md LICENSE
%{_bindir}/%{name}