Commit 71b3a7c7 authored by Nicolas Steinmetz's avatar Nicolas Steinmetz

Initial commit

parents
Pipeline #358 failed with stages
noarch/*
*.tar.gz
*.src.rpm
*.log
kubectx-*/
\ No newline at end of file
Name: kubectx
Version: 0.6.3
Release: 1%{?dist}
Summary: kubectx and kubens ease managing kubernetes contexts / name spaces
License: ASL 2.0
URL: https://github.com/ahmetb/kubectx
Source0: %{url}/archive/v%{version}.tar.gz
BuildArch: noarch
%description
kubectx is a utility to manage and switch between kubectl contexts.
kubens is a utility to switch between Kubernetes name spaces.
Requires: bash
%install
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_datadir}/licenses/%{name}
tar xzf v%{version}.tar.gz
install -p -m 755 %{name}-%{version}/kubectx %{buildroot}/%{_bindir}
install -p -m 755 %{name}-%{version}/kubens %{buildroot}/%{_bindir}
install -p -m 644 %{name}-%{version}/LICENSE %{buildroot}/%{_datadir}/licenses/%{name}/
%files
%license LICENSE
%{_bindir}/kubectx
%{_bindir}/kubens
%changelog
* Wed Apr 03 2019 Nicolas Steinmetz <contact@cerenit.fr> - 0.6.3-1
- Initial package.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment