File python-neutron-lib.spec of Package python-neutron-lib

#
# spec file for package python-neutron-lib
#
# Copyright (c) 2016 SUSE LINUX 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:           python-neutron-lib
Version:        0.4.0
Release:        0
Summary:        Neutron shared routines and utilities
License:        Unicode
Group:          Development/Languages/Python
Url:            http://www.openstack.org/
Source:         https://pypi.io/packages/source/n/neutron-lib/neutron-lib-%{version}.tar.gz
BuildRequires:  python-devel
BuildRequires:  python-fixtures
BuildRequires:  python-os-testr
BuildRequires:  python-oslo.config
BuildRequires:  python-oslo.db
BuildRequires:  python-oslo.log
BuildRequires:  python-oslo.messaging
BuildRequires:  python-oslo.policy
BuildRequires:  python-oslo.service
BuildRequires:  python-oslo.utils
BuildRequires:  python-oslotest
BuildRequires:  python-pbr
BuildRequires:  python-pep8
BuildRequires:  python-python-subunit
BuildRequires:  python-testrepository
BuildRequires:  python-testresources
BuildRequires:  python-testscenarios
BuildRequires:  python-testtools
Requires:       python-Babel >= 2.3.4
Requires:       python-SQLAlchemy >= 1.0.10
Requires:       python-debtcollector >= 1.2.0
Requires:       python-oslo.config >= 3.14.0
Requires:       python-oslo.context >= 2.9.0
Requires:       python-oslo.db >= 4.10.0
Requires:       python-oslo.i18n >= 2.1.0
Requires:       python-oslo.log >= 1.14.0
Requires:       python-oslo.messaging >= 5.2.0
Requires:       python-oslo.policy >= 1.9.0
Requires:       python-oslo.service >= 1.10.0
Requires:       python-oslo.utils >= 3.16.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Neutron shared routines and utilities.

%prep
%setup -q -n neutron-lib-%{version}

%build
python setup.py build

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

%check
python setup.py testr

%files
%defattr(-,root,root,-)
%doc LICENSE ChangeLog README.rst
%{python_sitelib}/*

%changelog
openSUSE Build Service is sponsored by