2013-10-19 12:19:40 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-relatorio
|
|
|
|
#
|
2016-07-04 05:07:33 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-10-19 12:19:40 +00:00
|
|
|
#
|
|
|
|
# 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/
|
2016-07-04 05:07:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-10-19 12:19:40 +00:00
|
|
|
#
|
|
|
|
%define mod_name relatorio
|
|
|
|
|
|
|
|
Name: python-relatorio
|
|
|
|
BuildRequires: python-devel
|
2016-07-04 05:07:33 +00:00
|
|
|
BuildRequires: python-genshi
|
2013-10-19 12:19:40 +00:00
|
|
|
BuildRequires: python-lxml
|
|
|
|
BuildRequires: python-setuptools
|
2016-07-04 05:07:33 +00:00
|
|
|
Version: 0.6.3
|
|
|
|
Release: 0
|
2016-08-19 06:14:07 +00:00
|
|
|
Source: https://pypi.io/packages/source/r/relatorio/%{mod_name}-%{version}.tar.gz
|
2013-10-19 12:19:40 +00:00
|
|
|
Url: https://pypi.python.org/pypi/relatorio
|
|
|
|
BuildArch: noarch
|
|
|
|
Summary: Python module to create reports from Python objects
|
2016-07-04 05:07:33 +00:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Office/Management
|
|
|
|
Requires: python-PyYAML
|
|
|
|
Requires: python-pycha
|
|
|
|
|
2013-10-19 12:19:40 +00:00
|
|
|
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)
|
2016-08-25 09:18:54 +00:00
|
|
|
%doc README AUTHORS LICENSE
|
2013-10-19 12:19:40 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
2016-07-04 05:07:33 +00:00
|
|
|
%changelog
|