commit 5b2687f588aa0777fd57b6c724bea32a8ce9fbf6
Author: Elan Ruusamäe <>
Date:   Thu Sep 22 19:15:50 2016 +0300

    new, RELEASE.2016-08-21T03-02-49Z

 minio-mc.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
diff --git a/minio-mc.spec b/minio-mc.spec
new file mode 100644
index 0000000..e65deaa
--- /dev/null
+++ b/minio-mc.spec
@@ -0,0 +1,47 @@
+%define                tag     RELEASE.2016-08-21T03-02-49Z
+%define                subver  %(echo %{tag} | sed -e 's/[^0-9]//g')
+Summary:       Minio Client: commands for filesystems and object storage
+Name:          minio-mc
+Version:       0.0.%{subver}
+Release:       1
+License:       Apache v2.0
+Group:         Applications
+# Source0-md5: 5d8c632198d83735966c62c38094544c
+BuildRequires: golang >= 1.3.1
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define                _enable_debug_packages 0
+%define                gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head 
-c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
+%define                import_path
+Minio Client (mc) provides a modern alternative to UNIX commands like
+ls, cat, cp, mirror, diff etc. It supports filesystems and Amazon S3
+compatible cloud storage service (AWS Signature v2 and v4).
+%setup -qc
+mv mc-*/* .
+install -d src/$(dirname %{import_path})
+ln -s ../../.. src/%{import_path}
+export GOPATH=$(pwd)
+%gobuild -o mc
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p mc $RPM_BUILD_ROOT%{_bindir}
+%doc NOTICE
+%attr(755,root,root) %{_bindir}/mc

---- gitweb:

pld-cvs-commit mailing list

Reply via email to