File python-taskflow.spec of Package python-taskflow
#
# spec file for package python-taskflow
#
# Copyright (c) 2014 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: python-taskflow
Version: 0.4.0
Release: 0
Summary: Taskflow structured state management library
License: Apache-2.0
Group: Development/Languages/Python
Url: https://launchpad.net/taskflow
Source: https://pypi.python.org/packages/source/t/taskflow/taskflow-%{version}.tar.gz
BuildRequires: python-Babel
BuildRequires: python-Sphinx
BuildRequires: python-anyjson
BuildRequires: python-coverage
BuildRequires: python-devel
BuildRequires: python-futures
BuildRequires: python-iso8601
BuildRequires: python-kombu
BuildRequires: python-mock
BuildRequires: python-networkx
BuildRequires: python-oslosphinx
BuildRequires: python-pbr
BuildRequires: python-python-subunit
BuildRequires: python-setuptools
BuildRequires: python-six
BuildRequires: python-stevedore
BuildRequires: python-testrepository
BuildRequires: python-testtools
BuildRequires: python-zake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-Babel >= 1.3
Requires: python-PrettyTable >= 0.7
Requires: python-anyjson >= 0.3.3
Requires: python-futures >= 2.1.6
Requires: python-iso8601 >= 0.1.9
Requires: python-jsonschema >= 2
Requires: python-networkx >= 1.8
Requires: python-six >= 1.7
Requires: python-stevedore >= 0.14
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-discover
Requires: python-ordereddict
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
A library to do [jobs, tasks, flows] in a HA manner using different backends to be used with OpenStack projects.
* More information at http://wiki.openstack.org/wiki/TaskFlow
%prep
%setup -q -n taskflow-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog README.rst LICENSE AUTHORS
%{python_sitelib}/taskflow
%{python_sitelib}/taskflow-%{version}-py%{py_ver}.egg-info
%changelog