From 2fa45bcf81a326c7ba29e3a22bdc1a8a7c9bce74 Mon Sep 17 00:00:00 2001 From: Pavlina Moravcova Varekova Date: Feb 22 2018 08:13:07 +0000 Subject: Initial import (#1491216). --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1771b18 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/5minute-0.2.26.tar.gz diff --git a/5minute.spec b/5minute.spec new file mode 100644 index 0000000..2bcdd16 --- /dev/null +++ b/5minute.spec @@ -0,0 +1,56 @@ +Name: 5minute +Version: 0.2.26 +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 + +%files +%license LICENSE +%doc README.md +%{python3_sitelib}/* +%{_bindir}/5minute + +%changelog +* Fri Jan 26 2018 Pavlina Moravcova Varekova - 0.2.26-1 +- Initial package diff --git a/README.md b/README.md deleted file mode 100644 index 16d0082..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# 5minute - -The 5minute package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..1b83d8f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (5minute-0.2.26.tar.gz) = 7430df1de6fa11ca6aee5b30770745596bab929ff096c2a6a829fd73701fd35314544a469ade17fae31650068ffae6173edd073fb6e8bdd582d722cc9201fd71