File openstack-networking-powervm.spec of Package openstack-networking-powervm

#
# spec file for package openstack-networking-powervm
#
# Copyright (c) specCURRENT_YEAR SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           openstack-networking-powervm
Version:        1.0.0rc1
Release:        0
License:        Apache-2.0
Summary:        Openstack networking plugin for PowerVM
Url:            https://github.com/openstack/networking-powervm
Group:          Productivity/Tools
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  python-pbr
Requires:       python-Routes
Requires:       python-oslotest
Requires:       python-testrepository
Requires:       python-six
Requires:       python-greenlet
Requires:       python-oslo.service
Requires:       python-oslo.serialization
Requires:       python-testscenarios
Requires:       python-oslo.utils
Requires:       python-fixtures
Requires:       python-eventlet
Requires:       python-python-subunit
Requires:       python-testtools
Requires:       python-oslo.log
Requires:       python-mock
Requires:       python-oslo.config

Source:		https://github.com/openstack/networking-powervm/archive/1.0.0rc1.tar.gz
BuildRequires:  python-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description

%prep
%setup -q -n networking-powervm-%{version}

%build
PBR_VERSION=1.0.0rc1 python setup.py build

%install
PBR_VERSION=1.0.0rc1 python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/networking-powervm-sea-agent
%{python_sitelib}/*

%changelog