|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
|
|
Name: python-matplotlib
|
|
|
|
|
Version: 0.91.2
|
|
|
|
|
Version: 0.98.5.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Python plotting library
|
|
|
|
|
|
|
|
|
|
@@ -18,7 +18,7 @@ BuildRequires: pygtk2-devel, gtk2-devel, tkinter, tk-devel
|
|
|
|
|
BuildRequires: pytz, python-dateutil, numpy
|
|
|
|
|
Requires: numpy, pytz, python-dateutil
|
|
|
|
|
Requires: pycairo >= 1.2.0
|
|
|
|
|
|
|
|
|
|
Requires: dejavu-fonts
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Matplotlib is a pure python plotting library with the goal of making
|
|
|
|
|
@@ -39,7 +39,7 @@ Requires: tkinter
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n matplotlib-%{version}
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
#%patch0 -p1
|
|
|
|
|
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
@@ -50,20 +50,22 @@ cp %{SOURCE1} ./setup.cfg
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
|
|
|
|
|
chmod +x $RPM_BUILD_ROOT%{python_sitearch}/matplotlib/dates.py
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{python_sitearch}/matplotlib/mpl-data/fonts
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README license/LICENSE license/LICENSE_enthought.txt
|
|
|
|
|
%doc README.txt license/LICENSE license/LICENSE_enthought.txt
|
|
|
|
|
%doc license/LICENSE_PAINT license/LICENSE_PIL
|
|
|
|
|
%doc API_CHANGES CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
|
|
|
|
|
%doc CHANGELOG CXX INSTALL INTERACTIVE KNOWN_BUGS
|
|
|
|
|
%doc PKG-INFO TODO examples
|
|
|
|
|
%if 0%{?fedora} >= 9
|
|
|
|
|
%{python_sitearch}/*egg-info
|
|
|
|
|
%endif
|
|
|
|
|
%{python_sitearch}/matplotlib/
|
|
|
|
|
%{python_sitearch}/mpl_toolkits/
|
|
|
|
|
%{python_sitearch}/pylab.py*
|
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/backend_tkagg.*
|
|
|
|
|
%exclude %{python_sitearch}/matplotlib/backends/tkagg.*
|
|
|
|
|
@@ -76,6 +78,19 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 13 2009 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.5-2
|
|
|
|
|
- Latest upstream release
|
|
|
|
|
- Strip out included fonts
|
|
|
|
|
|
|
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.98.3-2
|
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
|
|
|
|
|
* Wed Aug 6 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.3-1
|
|
|
|
|
- Latest upstream release
|
|
|
|
|
|
|
|
|
|
* Fri Jul 1 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.1-1
|
|
|
|
|
- Latest upstream release
|
|
|
|
|
|
|
|
|
|
* Fri Mar 21 2008 Jef Spaleta <jspaleta[AT]fedoraproject org> - 0.91.2-2
|
|
|
|
|
- gcc43 cleanups
|
|
|
|
|
|
|
|
|
|
|