File python-cot.spec of Package python-cot
#
# spec file for package python-cot
#
# Copyright (c) 2016, Martin Hauke <mardnh@gmx.de>
#
# 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/
Name: python-cot
Version: 1.7.4
Release: 0
License: MIT
Summary: Common OVF Tool
Url: https://github.com/glennmatthews/cot
Group: Development/Languages/Python
Source: https://pypi.io/packages/source/c/cot/cot-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-pyvmomi
BuildRequires: python-sphinx_rtd_theme
BuildRequires: python-colorlog
BuildRequires: python-Sphinx >= 1.3
BuildRequires: python-argparse
BuildRequires: python-verboselogs
BuildRequires: python-argcomplete
BuildRequires: python-backports.shutil_get_terminal_size
Requires: python-pyvmomi
Requires: python-colorlog
Requires: python-argparse
Requires: python-verboselogs
Requires: python-argcomplete
Requires: python-backports.shutil_get_terminal_size
BuildArch: noarch
%description
COT (the Common OVF Tool) is a tool for editing Open Virtualization Format
(.ovf, .ova) virtual appliances, with a focus on virtualized network appliances
such as the Cisco CSR 1000V and Cisco IOS XRv platforms.
COT’s capabilities include:
- Add a disk or other file to an OVF/OVA
- Edit OVF hardware information (CPUs, RAM, NICs, configuration profiles, etc.)
- Edit product description information in an OVF/OVA
- Edit OVF environment properties
- Display a descriptive summary of the contents of an OVA or OVF package
- Embed a bootstrap configuration text file into an OVF/OVA.
- Remove files and disks from an OVF or OVA package
- Deploy an OVF/OVA to an ESXi (VMware vSphere or vCenter) server to provision
a new virtual machine (VM), including serial port configuration as needed.
%prep
%setup -q -n cot-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGELOG.rst COPYRIGHT.txt LICENSE.txt README.md README.rst
%{_bindir}/cot
%{python_sitelib}/COT
%{python_sitelib}/cot-%{version}-py%{py_ver}.egg-info
%changelog