mirror of
https://abf.rosa.ru/djam/etcd.git
synced 2025-02-23 22:02:51 +00:00
43 lines
815 B
RPMSpec
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}
|
|
|