Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:darix:restic
minio-mc
minio-mc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File minio-mc.spec of Package minio-mc
# # spec file for package minio-mc # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define pkg_name mc %define pkg_version 2024-05-09T17-04-24Z Name: minio-mc Version: %(echo "%{pkg_version}" | sed -e 's|-|.|g') Release: 0 Summary: Minio Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage License: Apache-2.0 Group: Productivity/Networking/Other Url: https://github.com/minio/mc/releases Source0: %{pkg_name}-RELEASE.%{pkg_version}.tar.gz Source1: vendor.tar.xz Source2: README.SUSE BuildRequires: golang-packaging BuildRequires: golang(API) >= 1.17 %{?go_nostrip} %description 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). %prep %setup -q -n mc-RELEASE.%{pkg_version} -a 1 %build perl -p -i -e 's|DEVELOPMENT.GOGET|%{pkg_version}|g' cmd/build-constants.go cp %{S:2} . go build -mod=vendor -buildmode=pie %install install -d -m 0755 %{buildroot}%{_sbindir} install -D -m 0755 %{pkg_name} %{buildroot}%{_bindir}/%{name} %files %defattr(-,root,root) %doc LICENSE NOTICE *.md README.SUSE %{_bindir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor