summaryrefslogtreecommitdiffstats
path: root/SPECS/python-novaclient-os-diskconfig.spec
diff options
context:
space:
mode:
Diffstat (limited to 'SPECS/python-novaclient-os-diskconfig.spec')
-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