# Generated by go2rpm 1.2 %bcond_without check # https://github.com/apache/cloudstack-cloudmonkey %global goipath github.com/apache/cloudstack-cloudmonkey Version: 6.2.0 %global tag 6.2.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: 6%{?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 * Wed Jan 18 2023 Fedora Release Engineering - 6.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 6.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G - 6.2.0-4 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Fri Jun 17 2022 Robert-André Mauchin - 6.2.0-3 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Wed Jan 19 2022 Fedora Release Engineering - 6.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Sep 25 2021 Olivier Lemasle - 6.2.0-1 - Update to upstream 6.2.0 (fixes rhbz#2007649) * Wed Jul 21 2021 Fedora Release Engineering - 6.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 6.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 29 2020 Olivier Lemasle - 6.1.0-1 - Initial package