Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 2ff20349d8780b4e50beb0b4ce5f85fe > files > 2

python-gnuplot-1.8-3mdv2010.0.src.rpm

Summary: A Python interface to the gnuplot plotting program
Name:    python-gnuplot
Version: 1.8
Release: %mkrel 3
Source0: http://downloads.sourceforge.net/gnuplot-py/gnuplot-py-%{version}.tar.gz
License: LGPLv2
Group:   Development/Python
Url:     http://gnuplot-py.sourceforge.net
Requires: gnuplot
Requires: python-numpy
Provides: gnuplot-py = %{version}
Buildrequires: python-devel
Buildrequires: gnuplot
Buildrequires: python-numpy
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch


%description
Gnuplot.py is a Python package that interfaces to gnuplot,
the popular open-source plotting program. It allows you
to use gnuplot from within Python to plot arrays of data
from memory, data files, or mathematical functions.
If you use Python to perform computations or as 'glue'
for numerical programs, you can use this package to plot
data on the fly as they are computed. And the combination
with Python makes it is easy to automate things, including
to create crude 'animations' by plotting different datasets
one after another.
The package includes a demonstration that can be run by 
typing 'python %{py_puresitedir}/Gnuplot/demo.py'.

%prep
%setup -q -n gnuplot-py-%{version}

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --root="%{buildroot}" --prefix="%{_prefix}"

%clean
rm -rf %{buildroot}

%files 
%defattr(-,root,root,-)
%doc ANNOUNCE.txt README.txt NEWS.txt FAQ.txt CREDITS.txt TODO.txt LICENSE.txt Gnuplot.html doc/
%{py_puresitedir}/*



%changelog
* Tue Sep 15 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.8-3mdv2010.0
+ Revision: 442141
- rebuild

* Sat Jan 03 2009 Funda Wang <fundawang@mandriva.org> 1.8-2mdv2009.1
+ Revision: 323716
- rebuild

* Wed Sep 03 2008 Gaëtan Lehmann <glehmann@mandriva.org> 1.8-1mdv2009.0
+ Revision: 279735
- import python-gnuplot