|
|
5c67a30 |
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
5c67a30 |
|
|
|
25f5d42 |
Name: python-matplotlib
|
|
|
5550f6f |
Version: 0.90.0
|
|
|
32df714 |
Release: 3%{?dist}
|
|
|
25f5d42 |
Summary: Python plotting library
|
|
|
25f5d42 |
|
|
|
25f5d42 |
Group: Development/Libraries
|
|
|
25f5d42 |
License: Python Software Foundation License
|
|
|
25f5d42 |
URL: http://sourceforge.net/projects/matplotlib
|
|
|
25f5d42 |
Source0: http://dl.sf.net/matplotlib/matplotlib-%{version}.tar.gz
|
|
|
4172d14 |
Patch0: matplotlib-0.87.7-matplotlibrc.patch
|
|
|
4172d14 |
Patch1: matplotlib-0.87.7-tkagg-check.patch
|
|
|
5ca800e |
Patch2: matplotlib-0.87.7-pygtk-check.patch
|
|
|
25f5d42 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
25f5d42 |
|
|
|
25f5d42 |
BuildRequires: python-devel, freetype-devel, libpng-devel, zlib-devel
|
|
|
8217450 |
BuildRequires: pygtk2-devel, gtk2-devel, tkinter, tk-devel
|
|
|
8217450 |
BuildRequires: python-numeric, pytz, python-dateutil, numpy, python-numarray
|
|
|
5ca800e |
Requires: numpy, pytz, python-dateutil
|
|
|
1887561 |
Requires: pycairo >= 1.2.0
|
|
|
25f5d42 |
|
|
|
8217450 |
|
|
|
25f5d42 |
%description
|
|
|
25f5d42 |
Matplotlib is a pure python plotting library with the goal of making
|
|
|
25f5d42 |
publication quality plots using a syntax familiar to matlab users. The
|
|
|
25f5d42 |
library uses Numeric for handling large data sets and supports a variety
|
|
|
25f5d42 |
of output backends
|
|
|
25f5d42 |
|
|
|
8217450 |
|
|
|
8217450 |
%package tk
|
|
|
8217450 |
Summary: Tk backend for python-matplotlib
|
|
|
8217450 |
Group: Development/Libraries
|
|
|
8217450 |
Requires: %{name} = %{version}-%{release}
|
|
|
8217450 |
Requires: tkinter
|
|
|
8217450 |
|
|
|
8217450 |
%description tk
|
|
|
8217450 |
%{summary}
|
|
|
8217450 |
|
|
|
8217450 |
|
|
|
25f5d42 |
%prep
|
|
|
25f5d42 |
%setup -q -n matplotlib-%{version}
|
|
|
4172d14 |
%patch0 -p1 -b .matplotlibrc
|
|
|
5ca800e |
%patch1 -p1 -b .tkagg
|
|
|
5ca800e |
%patch2 -p1 -b .pygtk
|
|
|
899948a |
chmod -x images/*.svg
|
|
|
25f5d42 |
|
|
|
25f5d42 |
%build
|
|
|
25f5d42 |
%{__python} setup.py build
|
|
|
25f5d42 |
|
|
|
25f5d42 |
%install
|
|
|
25f5d42 |
rm -rf $RPM_BUILD_ROOT
|
|
|
df8fffe |
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
|
|
|
df8fffe |
chmod +x $RPM_BUILD_ROOT%{python_sitearch}/matplotlib/dates.py
|
|
|
25f5d42 |
|
|
|
25f5d42 |
%clean
|
|
|
25f5d42 |
rm -rf $RPM_BUILD_ROOT
|
|
|
25f5d42 |
|
|
|
df8fffe |
%files
|
|
|
25f5d42 |
%defattr(-,root,root,-)
|
|
|
25f5d42 |
%doc README license/LICENSE license/LICENSE_enthought.txt
|
|
|
df8fffe |
%doc license/LICENSE_PAINT license/LICENSE_PIL
|
|
|
25f5d42 |
%doc API_CHANGES CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
|
|
|
a019183 |
%doc NUMARRAY_ISSUES PKG-INFO TODO examples
|
|
|
145fd38 |
%{python_sitearch}/matplotlib/
|
|
|
145fd38 |
%{python_sitearch}/pylab.py*
|
|
|
8217450 |
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
|
|
8217450 |
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
|
|
8217450 |
%exclude %{python_sitearch}/matplotlib/backends/_tkagg.so
|
|
|
8217450 |
|
|
|
8217450 |
%files tk
|
|
|
145fd38 |
%{python_sitearch}/matplotlib/backends/backend_tkagg.py*
|
|
|
145fd38 |
%{python_sitearch}/matplotlib/backends/tkagg.py*
|
|
|
8217450 |
%{python_sitearch}/matplotlib/backends/_tkagg.so
|
|
|
25f5d42 |
|
|
|
644f5c0 |
|
|
|
25f5d42 |
%changelog
|
|
|
32df714 |
* Wed Feb 14 2007 Orion Poplawski <orion@cora.nwra.com> 0.90.0-2
|
|
|
32df714 |
- Rebuild for Tcl/Tk downgrade
|
|
|
32df714 |
|
|
|
0346b9d |
* Sat Feb 10 2007 Jef Spaleta <jspaleta@gmail.com> 0.90.0-2
|
|
|
0346b9d |
- Release bump for rebuild against new tk
|
|
|
0346b9d |
|
|
|
5550f6f |
* Fri Feb 09 2007 Orion Poplawski <orion@cora.nwra.com> 0.90.0-1
|
|
|
5550f6f |
- Update to 0.90.0
|
|
|
5550f6f |
|
|
|
a019183 |
* Tue Jan 5 2007 Orion Poplawski <orion@cora.nwra.com> 0.87.7-4
|
|
|
a019183 |
- Add examples to %docs
|
|
|
a019183 |
|
|
|
a019183 |
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> 0.87.7-3
|
|
|
f319b1c |
- Release bump for rebuild against python 2.5 in devel tree
|
|
|
f319b1c |
|
|
|
a019183 |
* Tue Dec 5 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.7-2
|
|
|
5ca800e |
- Force build of gtk/gtkagg backends in mock (bug #218153)
|
|
|
5ca800e |
- Change Requires from python-numeric to numpy (bug #218154)
|
|
|
5ca800e |
|
|
|
a019183 |
* Tue Nov 21 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.7-1
|
|
|
4172d14 |
- Update to 0.87.7 and fix up the defaults to use numpy
|
|
|
4172d14 |
- Force build of tkagg backend without X server
|
|
|
4172d14 |
- Use src.rpm from Jef Spaleta, closes bug 216578
|
|
|
4172d14 |
|
|
|
e197124 |
* Fri Oct 6 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.6-1
|
|
|
e197124 |
- Update to 0.87.6
|
|
|
e197124 |
|
|
|
145fd38 |
* Thu Sep 7 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.5-1
|
|
|
145fd38 |
- Update to 0.87.5
|
|
|
145fd38 |
|
|
|
145fd38 |
* Thu Jul 27 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.4-1
|
|
|
145fd38 |
- Update to 0.87.4
|
|
|
145fd38 |
|
|
|
644f5c0 |
* Wed Jun 7 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.3-1
|
|
|
644f5c0 |
- Update to 0.87.3
|
|
|
644f5c0 |
|
|
|
54692bd |
* Mon May 15 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.2-2
|
|
|
54692bd |
- Rebuild for new numpy
|
|
|
54692bd |
|
|
|
ccda7c8 |
* Tue Mar 7 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.2-1
|
|
|
ccda7c8 |
- Update to 0.87.2
|
|
|
ccda7c8 |
|
|
|
31c351b |
* Tue Mar 7 2006 Orion Poplawski <orion@cora.nwra.com> 0.87.1-1
|
|
|
31c351b |
- Update to 0.87.1
|
|
|
31c351b |
- Add pycairo >= 1.0.2 requires (FC5+ only)
|
|
|
31c351b |
|
|
|
8217450 |
* Fri Feb 24 2006 Orion Poplawski <orion@cora.nwra.com> 0.87-1
|
|
|
8217450 |
- Update to 0.87
|
|
|
8217450 |
- Add BR numpy and python-numarray
|
|
|
8217450 |
- Add patch to keep Numeric as the default numerix package
|
|
|
8217450 |
- Add BR tkinter and tk-devel for TkInter backend
|
|
|
8217450 |
- Make separate package for Tk backend
|
|
|
8217450 |
|
|
|
899948a |
* Tue Jan 10 2006 Orion Poplawski <orion@cora.nwra.com> 0.86-1
|
|
|
899948a |
- Update to 0.86
|
|
|
899948a |
|
|
|
6883dbf |
* Thu Dec 22 2005 Orion Poplawski <orion@cora.nwra.com> 0.85-2
|
|
|
6883dbf |
- Rebuild
|
|
|
6883dbf |
|
|
|
111a53d |
* Sun Nov 20 2005 Orion Poplawski <orion@cora.nwra.com> 0.85-1
|
|
|
111a53d |
- New upstream version 0.85
|
|
|
111a53d |
|
|
|
d22666d |
* Mon Sep 19 2005 Orion Poplawski <orion@cora.nwra.com> 0.84-1
|
|
|
d22666d |
- New upstream version 0.84
|
|
|
d22666d |
|
|
|
4ba8ff1 |
* Tue Aug 02 2005 Orion Poplawski <orion@cora.nwra.com> 0.83.2-3
|
|
|
4ba8ff1 |
- bump release
|
|
|
4ba8ff1 |
|
|
|
ff18059 |
* Tue Aug 02 2005 Orion Poplawski <orion@cora.nwra.com> 0.83.2-2
|
|
|
ff18059 |
- Add Requires: python-numeric, pytz, python-dateutil
|
|
|
ff18059 |
|
|
|
daf5031 |
* Fri Jul 29 2005 Orion Poplawski <orion@cora.nwra.com> 0.83.2-1
|
|
|
daf5031 |
- New upstream version matplotlib 0.83.2
|
|
|
daf5031 |
|
|
|
634341f |
* Thu Jul 28 2005 Orion Poplawski <orion@cora.nwra.com> 0.83.1-2
|
|
|
634341f |
- Bump rel to fix botched tag
|
|
|
634341f |
|
|
|
87eb208 |
* Thu Jul 28 2005 Orion Poplawski <orion@cora.nwra.com> 0.83.1-1
|
|
|
87eb208 |
- New upstream version matplotlib 0.83.1
|
|
|
87eb208 |
|
|
|
df8fffe |
* Tue Jul 05 2005 Orion Poplawski <orion@cora.nwra.com> 0.82-4
|
|
|
df8fffe |
- BuildRequires: pytz, python-dateutil - use upstream
|
|
|
df8fffe |
- Don't use INSTALLED_FILES, list dirs
|
|
|
df8fffe |
- Fix execute permissions
|
|
|
df8fffe |
|
|
|
5c67a30 |
* Fri Jul 01 2005 Orion Poplawski <orion@cora.nwra.com> 0.82-3
|
|
|
f217e72 |
- Use %%{python_sitearch}
|
|
|
5c67a30 |
|
|
|
25f5d42 |
* Thu Jun 30 2005 Orion Poplawski <orion@cora.nwra.com> 0.82-2
|
|
|
25f5d42 |
- Rename to python-matplotlib
|
|
|
25f5d42 |
- Remove unneeded Requires: python
|
|
|
25f5d42 |
- Add private directories to %files
|
|
|
25f5d42 |
|
|
|
25f5d42 |
* Tue Jun 28 2005 Orion Poplawski <orion@cora.nwra.com> 0.82-1
|
|
|
25f5d42 |
- Initial package for Fedora Extras
|