LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-pychart.spec of Package python-pychart (Project spins:invis)

%define version 1.39
#%define release 1
%define modname pychart
Name: 	 	python-pychart
Summary:	Python library for data graphs and charts 	
Version: 	%{version}
Release: 	13.2

Source:		pychart-%{version}.tar.bz2
URL:		http://home.gna.org/pychart/
License:	GPL
Group:		Development/Libraries/Python
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
BuildRequires:	python-devel
BuildArch:      noarch

PyChart is a Python library for creating high quality Encapsulated Postscript,
PDF, PNG, or SVG charts. It currently supports line plots, bar plots,
range-fill plots, and pie charts. Because it is based on Python, you can make
full use of Python's scripting power.

%setup -q -n %modname-%version
chmod 644 `find -type f`

python setup.py build

[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}

%doc README demos doc COPYING
%dir %py_sitedir/pychart
%dir %py_sitedir/pychart/afm

* Tue Nov 30 2010 Bruno Friedmann <bruno@ioda.net.ch> 
- 1.39 opensuse new package
- Rebuild for new python

* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 1.33-3mdk
- Rebuild for new python

* Fri Aug 8 2003 Austin Acton <aacton@yorku.ca> 1.33-2mdk
- python 2.3

* Tue Jun 10 2003 Austin Acton <aacton@yorku.ca> 1.33-1mdk
- initial package