- Latest upstream release

- Strip out included fonts
This commit is contained in:
Jef Spaleta
2009-03-13 21:48:25 +00:00
parent 213be56319
commit 607effeb3b
2 changed files with 12 additions and 4 deletions
+11 -3
View File
@@ -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.98.3
Version: 0.98.5.2
Release: 1%{?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
@@ -50,6 +50,7 @@ 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
@@ -58,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%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
@@ -77,6 +78,13 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Dec 22 2008 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.98.5-1
- 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
+1 -1
View File
@@ -1 +1 @@
d6b579f52705df584650fb6f61302f92 matplotlib-0.98.3.tar.gz
3e8210ec8bb71a18962ec8b43688509c matplotlib-0.98.5.2.tar.gz