mirror of
https://abf.rosa.ru/djam/regclient.git
synced 2025-02-23 19:02:55 +00:00
Imported from SRPM
This commit is contained in:
commit
c7ee1172e1
2 changed files with 46 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
regclient-0.5.0.tar.gz: 8ba7b9f7e4b010f95a538024daae390f928e9125
|
44
regclient.spec
Normal file
44
regclient.spec
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Name: regclient
|
||||||
|
Version: 0.5.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Docker and OCI Registry Client
|
||||||
|
URL: https://github.com/regclient/regclient
|
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Other
|
||||||
|
Provides: regbot
|
||||||
|
Provides: regctl
|
||||||
|
Provides: regsync
|
||||||
|
BuildRequires: go
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: upx
|
||||||
|
|
||||||
|
%description
|
||||||
|
Client interface for the registry API. This includes regctl
|
||||||
|
for a command line interface to manage registries.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
export VCS_TAG=%{version}
|
||||||
|
%make binaries
|
||||||
|
|
||||||
|
upx ./bin/*
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0755 bin/regbot %{buildroot}%{_bindir}/regbot
|
||||||
|
install -Dm0755 bin/regctl %{buildroot}%{_bindir}/regctl
|
||||||
|
install -Dm0755 bin/regsync %{buildroot}%{_bindir}/regsync
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/regsync
|
||||||
|
%{_bindir}/regctl
|
||||||
|
%{_bindir}/regbot
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue