2021-02-15 21:43:45 +03:00
|
|
|
%define debug %nil
|
|
|
|
%define debug_package %nil
|
|
|
|
|
|
|
|
Name: helm
|
2024-05-23 19:20:08 +00:00
|
|
|
Version: 3.15.1
|
2021-09-16 10:29:39 +03:00
|
|
|
Release: 1
|
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
|
2024-05-16 17:53:54 +00:00
|
|
|
export GOPROXY=https://proxy.golang.org/cached-only
|
2021-02-15 21:43:45 +03:00
|
|
|
%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
|
|
|
|