2016-09-23 09:28:49 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-pycha
|
|
|
|
#
|
2017-06-08 13:02:28 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-09-23 09:28:49 +00:00
|
|
|
# Copyright (c) 2016 Dr. Axel Braun
|
2017-06-08 13:02:28 +00:00
|
|
|
# Copyright (c) 2017 Oliver Kurz
|
2016-09-23 09:28:49 +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-11-09 10:39:45 +00:00
|
|
|
#
|
2016-09-23 09:28:49 +00:00
|
|
|
|
|
|
|
|
2017-06-08 13:02:28 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
|
|
|
%define mod_name pycha
|
2016-09-23 09:28:49 +00:00
|
|
|
Name: python-pycha
|
|
|
|
Version: 0.7.0
|
|
|
|
Release: 0
|
|
|
|
Summary: A library for making charts with Python
|
2016-11-09 10:39:45 +00:00
|
|
|
License: LGPL-3.0+
|
2016-09-23 09:28:49 +00:00
|
|
|
Group: Development/Languages/Python
|
2017-06-08 13:02:28 +00:00
|
|
|
Url: http://bitbucket.org/lgs/%{mod_name}/
|
|
|
|
Source: https://pypi.io/packages/source/p/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: python-rpm-macros
|
2016-11-09 10:39:45 +00:00
|
|
|
BuildRequires: fdupes
|
2016-09-23 09:28:49 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2017-06-08 13:02:28 +00:00
|
|
|
%python_subpackages
|
2016-09-23 09:28:49 +00:00
|
|
|
|
|
|
|
%description
|
2016-11-09 10:39:45 +00:00
|
|
|
Pycha is a Python package for drawing charts using the Cairo library.
|
|
|
|
It will not try to draw any possible chart on Earth, but draw the
|
|
|
|
most common ones nicely. Pycha is based on the Plotr which is based on
|
|
|
|
PlotKit, both of which are written in JavaScript and are for client
|
|
|
|
web programming. Pycha was developed for the server side.
|
2016-09-23 09:28:49 +00:00
|
|
|
|
|
|
|
%prep
|
2017-06-08 13:02:28 +00:00
|
|
|
%setup -q -n %{mod_name}-%{version}
|
2016-09-23 09:28:49 +00:00
|
|
|
|
|
|
|
%build
|
2017-06-08 13:02:28 +00:00
|
|
|
%python_build
|
2016-09-23 09:28:49 +00:00
|
|
|
|
|
|
|
%install
|
2017-06-08 13:02:28 +00:00
|
|
|
%python_install
|
2016-09-23 09:28:49 +00:00
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
2017-06-08 13:02:28 +00:00
|
|
|
%files %{python_files}
|
2016-09-23 09:28:49 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING README.txt CHANGES.txt AUTHORS
|
|
|
|
%{python_sitelib}/*
|
2017-06-08 13:02:28 +00:00
|
|
|
%python3_only %{_bindir}/chavier
|
2016-09-23 09:28:49 +00:00
|
|
|
|
|
|
|
%changelog
|