Blame 5minute.spec

2fa45bc
Name:           5minute
2fa45bc
Version:        0.2.26
0412369
Release:        3%{?dist}
2fa45bc
Summary:        Give me an instance of mine image on OpenStack. Hurry!
2fa45bc
License:        GPLv2
2fa45bc
URL:            https://github.com/SatelliteQE/%{name}/
2fa45bc
Source0:        https://github.com/SatelliteQE/%{name}/archive/%{name}-%{version}.tar.gz
2fa45bc
BuildRequires:  pandoc
2fa45bc
BuildRequires:  python3-cinderclient
2fa45bc
BuildRequires:  python3-heatclient
2fa45bc
BuildRequires:  python3-neutronclient
2fa45bc
BuildRequires:  python3-xmltodict
2fa45bc
BuildRequires:  python3-prettytable
2fa45bc
BuildRequires:  python3-novaclient
2fa45bc
BuildRequires:  python3-keystoneclient
2fa45bc
BuildRequires:  python3-devel
2fa45bc
BuildRequires:  python3-setuptools
2fa45bc
Requires:       python3-cinderclient
2fa45bc
Requires:       python3-heatclient
2fa45bc
Requires:       python3-neutronclient
2fa45bc
Requires:       python3-xmltodict
2fa45bc
Requires:       python3-prettytable
2fa45bc
Requires:       python3-novaclient
2fa45bc
Requires:       python3-keystoneclient
2fa45bc
BuildArch:      noarch
2fa45bc
2fa45bc
%description
2fa45bc
This is a command-line tool to provide and maintain virtual machine on
2fa45bc
OpenStack instance or set of instances based on pre-prepared image and
2fa45bc
scenario configuration file which defines network setup. This way if you
2fa45bc
prepare OpenStack image(s), maybe with complex setup on them, you can
2fa45bc
easily provide hosts for development, testing or to scale your production
2fa45bc
environment from command-line.
2fa45bc
2fa45bc
%prep
2fa45bc
%autosetup -n %{name}-%{name}-%{version}
2fa45bc
sed -i '/env python3/d' vminute/__init__.py
2fa45bc
sed -i '/env python3/d' vminute/vminute.py
2fa45bc
2fa45bc
2fa45bc
%build
2fa45bc
pandoc --from=markdown --to=rst --output=README README.md
2fa45bc
%py3_build
2fa45bc
2fa45bc
%install
2fa45bc
%py3_install
2fa45bc
c04e996
%check
c04e996
%{__python3} setup.py test
c04e996
2fa45bc
%files
2fa45bc
%license LICENSE
2fa45bc
%doc README.md
2fa45bc
%{python3_sitelib}/*
043491a
%{_bindir}/%{name}
2fa45bc
2fa45bc
%changelog
0412369
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.26-3
0412369
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0412369
4c7d4d5
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.2.26-2
4c7d4d5
- Rebuilt for Python 3.7
4c7d4d5
2fa45bc
* Fri Jan 26 2018 Pavlina Moravcova Varekova <pmoravco@redhat.com> - 0.2.26-1
2fa45bc
- Initial package