summaryrefslogtreecommitdiffstats
path: root/SPECS
diff options
context:
space:
mode:
authorRicardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt>2016-02-20 20:27:51 +0000
committerRicardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt>2016-02-20 20:27:51 +0000
commit1896bab1739faf7e0c49d67e826a02cbd9b4fa01 (patch)
treeb615c71c77e458d3500e5632bdc4479d713ef742 /SPECS
downloadpython-novaclient-os-networks-1896bab1739faf7e0c49d67e826a02cbd9b4fa01.zip
python-novaclient-os-networks-1896bab1739faf7e0c49d67e826a02cbd9b4fa01.tar.gz
python-novaclient-os-networks-1896bab1739faf7e0c49d67e826a02cbd9b4fa01.tar.xz
0.25-1: initial package
Diffstat (limited to 'SPECS')
-rw-r--r--SPECS/python-novaclient-os-networks.spec48
1 files changed, 48 insertions, 0 deletions
diff --git a/SPECS/python-novaclient-os-networks.spec b/SPECS/python-novaclient-os-networks.spec
new file mode 100644
index 0000000..7d934e5
--- /dev/null
+++ b/SPECS/python-novaclient-os-networks.spec
@@ -0,0 +1,48 @@
+%global srcname novaclient-os-networks
+%global upstreamname os_networksv2_python_novaclient_ext
+%global sum Adds network extension support to python-novaclient
+
+Name: python-%{srcname}
+Version: 0.25
+Release: 1%{?dist}
+Summary: %{sum}
+
+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
+Requires: python-novaclient
+
+%description
+%{sum}
+%package -n python2-%{srcname}
+Summary: %{sum}
+BuildRequires: python-novaclient
+%{?python_provide:%python_provide python2-%{srcname}}
+
+%description -n python2-%{srcname}
+%{sum}
+
+%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
+* Sat Feb 20 2016 Ricardo Cordeiro <gryfrev8-redhat.com-rjmco@tux.com.pt> - 0.25-1
+- Initial package