helm/helm.spec

38 lines
792 B
RPMSpec
Raw Normal View History

2021-02-15 21:43:45 +03:00
%define debug %nil
%define debug_package %nil
Name: helm
2021-07-15 08:30:40 +03:00
Version: 3.6.3
2021-08-25 18:05:17 +03:00
Release: 2
2021-02-15 21:43:45 +03:00
Summary: The Kubernetes Package Manager
URL: https://helm.sh
Source0: https://github.com/helm/helm/archive/v%{version}/%{name}-%{version}.tar.gz
License: ASL 2.0
Group: Development/Other
BuildRequires: go
BuildRequires: git-core
BuildRequires: upx
%description
Helm is a tool for managing Charts. Charts are packages
of pre-configured Kubernetes resources.
%prep
%setup -q
%build
%make
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
2021-08-25 18:05:17 +03:00
install -d %{buildroot}%{_sysconfdir}/bash_completion.d
bin/helm completion bash > %{buildroot}%{_sysconfdir}/bash_completion.d/%{name}
2021-02-15 21:43:45 +03:00
%files
%doc README.md LICENSE
%{_bindir}/%{name}
2021-08-25 18:05:17 +03:00
%{_sysconfdir}/bash_completion.d/%{name}
2021-02-15 21:43:45 +03:00