commit eddb0744a9afe7956f8568820fae6673f85a4e9c Author: Sergey Zhemoytel Date: Tue Jun 20 15:36:17 2023 +0300 Imported from SRPM diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..82d776a --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + helmfile-0.154.0.tar.gz: 5da6fba623e59a4aa1314d74d474a64c728880f6 diff --git a/helmfile.spec b/helmfile.spec new file mode 100644 index 0000000..67bfde7 --- /dev/null +++ b/helmfile.spec @@ -0,0 +1,36 @@ +%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 +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} + +