Blob Blame History Raw
Name:           5minute
Version:        0.2.31
Release:        1%{?dist}
Summary:        Give me an instance of mine image on OpenStack. Hurry!
License:        GPLv2
URL:            https://github.com/SatelliteQE/%{name}/
Source0:        https://github.com/SatelliteQE/%{name}/archive/%{name}-%{version}.tar.gz
BuildRequires:  pandoc
BuildRequires:  python3-cinderclient
BuildRequires:  python3-heatclient
BuildRequires:  python3-neutronclient
BuildRequires:  python3-xmltodict
BuildRequires:  python3-prettytable
BuildRequires:  python3-novaclient
BuildRequires:  python3-keystoneclient
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
Requires:       python3-cinderclient
Requires:       python3-heatclient
Requires:       python3-neutronclient
Requires:       python3-xmltodict
Requires:       python3-prettytable
Requires:       python3-novaclient
Requires:       python3-keystoneclient
BuildArch:      noarch

%description
This is a command-line tool to provide and maintain virtual machine on
OpenStack instance or set of instances based on pre-prepared image and
scenario configuration file which defines network setup. This way if you
prepare OpenStack image(s), maybe with complex setup on them, you can
easily provide hosts for development, testing or to scale your production
environment from command-line.

%prep
%autosetup -n %{name}-%{name}-%{version}
sed -i '/env python3/d' vminute/__init__.py
sed -i '/env python3/d' vminute/vminute.py


%build
pandoc --from=markdown --to=rst --output=README README.md
%py3_build

%install
%py3_install

%check
%{__python3} setup.py test

%files
%license LICENSE
%doc README.md
%{python3_sitelib}/*
%{_bindir}/%{name}

%changelog
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.26-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.2.26-2
- Rebuilt for Python 3.7

* Fri Jan 26 2018 Pavlina Moravcova Varekova <pmoravco@redhat.com> - 0.2.26-1
- Initial package