%define debug_package %{nil} Name: minio-mc Summary: MinIO Client Version: 2021.01.05.050358 Release: 1%{?dist} License: ASL 2.0 Source0: https://dl.min.io/client/mc/release/linux-amd64/archive/mc.RELEASE.%(echo %{version} | tr '.' '-' |sed -re 's/-(..)(..)(..)$/T\1-\2-\3Z/g') Source1: https://raw.githubusercontent.com/minio/mc/%{tag}/LICENSE URL: https://min.io BuildRoot: %{_tmppath}/%{name}-root %description MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage. %prep %build %install rm -rf %{buildroot} # install binary install -p -D -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/%{name} cp %{SOURCE1} . %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/* %license LICENSE %changelog * Mon Jan 31 2020 Pablo Ruiz - 2020.01.25.030219-1 - Update to RELEASE.2020-01-25T03-02-19Z