Initial import (#1892646).
This commit is contained in:
parent
ad6062573e
commit
67a20030ba
3 changed files with 71 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/cloudstack-cloudmonkey-6.1.0.tar.gz
|
||||
69
apache-cloudstack-cloudmonkey.spec
Normal file
69
apache-cloudstack-cloudmonkey.spec
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# Generated by go2rpm 1.2
|
||||
%bcond_without check
|
||||
|
||||
# https://github.com/apache/cloudstack-cloudmonkey
|
||||
%global goipath github.com/apache/cloudstack-cloudmonkey
|
||||
Version: 6.1.0
|
||||
%global tag 6.1.0
|
||||
|
||||
%gometa
|
||||
|
||||
%global common_description %{expand:
|
||||
Apache Cloudstack Cloudmonkey is a command line interface (CLI) for Apache
|
||||
CloudStack.
|
||||
|
||||
CloudMonkey can be use both as an interactive shell and as a command line tool
|
||||
which simplifies Apache CloudStack configuration and management.}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs README.md CHANGES.md
|
||||
|
||||
Name: apache-cloudstack-cloudmonkey
|
||||
Release: 1%{?dist}
|
||||
Summary: Apache Cloudstack Cloudmonkey
|
||||
|
||||
# Upstream license specification: Apache-2.0
|
||||
License: ASL 2.0
|
||||
URL: %{gourl}
|
||||
Source0: %{gosource}
|
||||
|
||||
BuildRequires: golang(github.com/briandowns/spinner)
|
||||
BuildRequires: golang(github.com/chzyer/readline)
|
||||
BuildRequires: golang(github.com/gofrs/flock)
|
||||
BuildRequires: golang(github.com/google/shlex)
|
||||
BuildRequires: golang(github.com/mitchellh/go-homedir)
|
||||
BuildRequires: golang(github.com/olekukonko/tablewriter)
|
||||
BuildRequires: golang(gopkg.in/ini.v1)
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep
|
||||
|
||||
%build
|
||||
%gobuild -o %{gobuilddir}/bin/cmk %{goipath}
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md CHANGES.md
|
||||
%{_bindir}/*
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
* Thu Oct 29 2020 Olivier Lemasle <o.lemasle@gmail.com> - 6.1.0-1
|
||||
- Initial package
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (cloudstack-cloudmonkey-6.1.0.tar.gz) = c94a66e037d574406b64782a03248457504f24f611f9692e5c0b1efe184e9868f020886108790134e065085109f6586a2eee0f5633b0df9c773935c28c2009e3
|
||||
Loading…
Add table
Add a link
Reference in a new issue