mirror of
https://github.com/versity/versitygw.git
synced 2026-01-05 11:24:52 +00:00
32 lines
587 B
RPMSpec
32 lines
587 B
RPMSpec
%global debug_package %{nil}
|
|
%define pkg_version @@VERSION@@
|
|
|
|
Name: versitygw
|
|
Version: %{pkg_version}
|
|
Release: 1%{?dist}
|
|
Summary: Versity S3 Gateway
|
|
|
|
License: Apache-2.0
|
|
URL: https://github.com/versity/versitygw
|
|
Source0: %{name}-%{version}.tar.gz
|
|
%description
|
|
The S3 gateway is an S3 protocol translator that allows an S3 client
|
|
to access the supported backend storage as if it was a native S3 service.
|
|
|
|
BuildRequires: golang >= 1.20
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
install -m 0755 %{name} %{buildroot}%{_bindir}/
|
|
|
|
%post
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|