File argocd.spec of Package argocd

#
# spec file for package ArgoCD
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

Name:           argocd
Version:        3.1.8
Release:        1%{?dist}
Group:          Productivity/Other
Distribution:   %{_repository}
Summary:        Client for Argo CD
License:        Apache-2.0
URL:            https://github.com/argoproj/argo-cd

%description
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.

%prep
cd %{_topdir}/BUILD
rm -rf %{name}
cp -rf %{_topdir}/SOURCES/%{name} .

%build

%install
install -D -m 0755 "%{name}" "%{buildroot}/%{_bindir}/%{name}"

%files
%defattr(-, root, root)
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by