- New upstream release
- Remove undistributable file from bundled agg library
This commit is contained in:
parent
8ff61b63f9
commit
e8b7d4f3da
@ -1 +1 @@
|
|||||||
matplotlib-0.99.3.tar.gz
|
matplotlib-1.0.0-without-gpc.tar.gz
|
||||||
|
17
generate-tarball.sh
Executable file
17
generate-tarball.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
version=$1
|
||||||
|
|
||||||
|
[ -z $version ] && exit 1
|
||||||
|
|
||||||
|
dir=matplotlib-${version}
|
||||||
|
file=matplotlib-${version}.tar.gz
|
||||||
|
result=matplotlib-${version}-without-gpc.tar.gz
|
||||||
|
|
||||||
|
rm -rf matplotlib-${version}
|
||||||
|
tar xzf $file
|
||||||
|
|
||||||
|
rm matplotlib-${version}/agg24/include/agg_conv_gpc.h
|
||||||
|
|
||||||
|
rm -f $result
|
||||||
|
tar czf $result $dir
|
@ -1,14 +1,18 @@
|
|||||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Name: python-matplotlib
|
Name: python-matplotlib
|
||||||
Version: 0.99.3
|
Version: 1.0.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python plotting library
|
Summary: Python plotting library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: Python
|
License: Python
|
||||||
URL: http://sourceforge.net/projects/matplotlib
|
URL: http://sourceforge.net/projects/matplotlib
|
||||||
Source0: http://downloads.sourceforge.net/matplotlib/matplotlib-%{version}.tar.gz
|
#Modified Sources to remove the one undistributable file
|
||||||
|
#See generate-tarball.sh in fedora cvs repository for logic
|
||||||
|
#sha1sum matplotlib-1.0.0-without-gpc.tar.gz
|
||||||
|
#c3c2cb82ee122b36977f636948bb4a79b15c03ba matplotlib-1.0.0-without-gpc.tar.gz
|
||||||
|
Source0: http://downloads.sourceforge.net/matplotlib/matplotlib-%{version}-without-gpc.tar.gz
|
||||||
Source1: setup.cfg
|
Source1: setup.cfg
|
||||||
Patch0: matplotlib-gcc43.patch
|
Patch0: matplotlib-gcc43.patch
|
||||||
Patch1: matplotlib_gtk_tooltip.patch
|
Patch1: matplotlib_gtk_tooltip.patch
|
||||||
@ -42,7 +46,7 @@ Requires: tkinter
|
|||||||
%setup -q -n matplotlib-%{version}
|
%setup -q -n matplotlib-%{version}
|
||||||
#%setup -q -n matplotlib-0.99.3
|
#%setup -q -n matplotlib-0.99.3
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
%patch1 -p0
|
#%patch1 -p0
|
||||||
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
chmod -x lib/matplotlib/mpl-data/images/*.svg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -81,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 8 2010 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 1.0.0-1
|
||||||
|
- New upstream release
|
||||||
|
- Remove undistributable file from bundled agg library
|
||||||
|
|
||||||
* Thu Jul 1 2010 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.99.3-1
|
* Thu Jul 1 2010 Jef Spaleta <jspaleta AT fedoraproject DOT org> - 0.99.3-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user