helmfile/helmfile.spec

38 lines
844 B
RPMSpec
Raw Normal View History

2023-06-20 15:36:17 +03:00
%define debug %nil
%define debug_package %nil
Name: helmfile
Version: 0.154.0
Release: 1
Summary: Deploy Kubernetes Helm Charts
URL: https://helmfile.readthedocs.io
Source0: https://github.com/helmfile/helmfile/archive/v%{version}/%{name}-%{version}.tar.gz
License: MIT
Group: Development/Other
BuildRequires: go
BuildRequires: git-core
BuildRequires: upx
%description
Declaratively deploy your Kubernetes manifests, Kustomize
configs, and Charts as Helm releases. Generate all-in-one
manifests for use with ArgoCD.
%prep
%setup -q
%build
2025-02-13 21:26:13 +00:00
export GOPROXY=direct
2023-06-20 15:36:17 +03:00
go build -o bin/%{name} -ldflags="-s -w -X go.szostok.io/version.version=%{version}" .
upx bin/%{name}
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%files
%doc README* LICENSE CONTRIBUTING.md SECURITY.md USERS.md docs examples
%{_bindir}/%{name}