summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt>2016-03-04 11:20:41 +0000
committerRicardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt>2016-03-04 11:54:52 +0000
commitd739eb0a58351990d047c07eb772d09836cde623 (patch)
tree482edf23061bb503d52116c40d9ed577654a7ee5
downloadpython-novaclient-os-diskconfig-d739eb0a58351990d047c07eb772d09836cde623.tar.gz
python-novaclient-os-diskconfig-d739eb0a58351990d047c07eb772d09836cde623.tar.xz
python-novaclient-os-diskconfig-d739eb0a58351990d047c07eb772d09836cde623.zip
0.1.3-1: Initial package
-rw-r--r--SPECS/python-novaclient-os-diskconfig.spec46
1 files changed, 46 insertions, 0 deletions
diff --git a/SPECS/python-novaclient-os-diskconfig.spec b/SPECS/python-novaclient-os-diskconfig.spec
new file mode 100644
index 0000000..91b8a58
--- /dev/null
+++ b/SPECS/python-novaclient-os-diskconfig.spec
@@ -0,0 +1,46 @@
+%global srcname novaclient-os-diskconfig
+%global upstreamname os_diskconfig_python_novaclient_ext
+
+Name: python-%{srcname}
+Version: 0.1.3
+Release: 1%{?dist}
+Summary: Disk Config extension for python-novaclient
+
+Group: Development/Libraries
+License: ASL 2.0
+URL: http://pypi.python.org/pypi/%{upstreamname}
+Source0: http://pypi.python.org/packages/source/o/%{upstreamname}/%{upstreamname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+
+%description
+%{summary}
+%package -n python2-%{srcname}
+Summary: %{summary}
+BuildRequires: python-novaclient
+Requires: python-novaclient
+%{?python_provide:%python_provide python2-%{srcname}}
+
+%description -n python2-%{srcname}
+%{summary}
+
+%prep
+%autosetup -n %{upstreamname}-%{version}
+
+%build
+%py2_build
+
+%install
+%py2_install
+
+%check
+%{__python2} setup.py test
+
+%files -n python2-%{srcname}
+%doc README.rst
+%{python2_sitelib}/*
+
+%changelog
+* Thu Mar 03 2016 Ricardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt> - 0.1.3-1
+- Initial package