File python-relatorio.spec of Package python-relatorio
#
# spec file for package python-relatorio
#
# 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/
#
#
%define mod_name relatorio
Name: python-relatorio
BuildRequires: python-devel
BuildRequires: python-genshi
BuildRequires: python-lxml
BuildRequires: python-setuptools
Version: 0.6.3
Release: 0
Source: https://pypi.io/packages/source/r/relatorio/%{mod_name}-%{version}.tar.gz
Url: https://pypi.python.org/pypi/relatorio
BuildArch: noarch
Summary: Python module to create reports from Python objects
License: GPL-3.0+
Group: Productivity/Office/Management
Requires: python-PyYAML
Requires: python-pycha
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a Python module to create reports from Python objects. Output plugins to several formats are included, such
as documents (odt, ods, pdf) or images (png, svg).
%prep
%setup -q -n %{mod_name}-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%_prefix --root=%buildroot
%files
%defattr(-,root,root)
%doc README AUTHORS LICENSE
%{python_sitelib}/*
%changelog