etcd/etcd.spec
Your Name a52644d22e
Some checks failed
Run CI/CD... / main (push) Failing after 4m27s
3.5.18
2025-02-05 08:54:08 +00:00

43 lines
815 B
RPMSpec

%define debug_package %nil
Name: etcd
Version: 3.5.18
Release: 1
Summary: Key-value store
URL: https://etcd.io/
Source0: https://github.com/etcd-io/etcd/archive/v%{version}/%{name}-%{version}.tar.gz
License: ASL 2.0
Group: Development/Other
BuildRequires: go
BuildRequires: git-core
BuildRequires: upx
%description
Distributed reliable key-value store for the most critical
data of a distributed system
%package -n %{name}ctl
%description -n %{name}ctl
etcdctl is a command line client for etcd
%files -n %{name}ctl
%doc README.md LICENSE
%{_bindir}/%{name}ctl
%prep
%setup -q
%build
%make_build
#./build.sh
upx bin/*
%install
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
install -Dm0755 bin/%{name}ctl %{buildroot}%{_bindir}/%{name}ctl
%files
%doc README.md LICENSE
%{_bindir}/%{name}