File python-ioflo.spec of Package python-ioflo

# spec file for package python-ioflo
# Copyright (c) 2015 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

Name:           python-ioflo
Version:        1.3.8
Release:        0
License:        Apache-2.0
Summary:        Python IoFlo
Group:          Development/Languages/Python
BuildRoot:      %{_tmppath}/ioflo-%{version}-build

BuildRequires:  python-setuptools
BuildRequires:  fdupes

%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildRequires:  python-importlib
Requires:       python-importlib
BuildArch:      noarch

IoFlo is a magically powerful open interoperable software framework that enables non experts can intelligently automate 
their own programmable world. IoFlo has its roots in the research and development of autonomous underwater vehicles, 
autonomic ships, and automated buildings. These are cool applications that can be scarily complex. That complexity 
was the prime motivation for IoFlo and its ancestors, to make programming autonomous/autonomic systems easy 
even for people without PhDs.

%setup -q -n ioflo-%{version}

python build

python install --prefix=%{_prefix} --root=%{buildroot} --optimize=1
%fdupes %{buildroot}%{_prefix}