Author: arekm                        Date: Wed Jun 29 20:55:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   python-matplotlib.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-matplotlib.spec
diff -u /dev/null SPECS/python-matplotlib.spec:1.1
--- /dev/null   Wed Jun 29 22:55:39 2005
+++ SPECS/python-matplotlib.spec        Wed Jun 29 22:55:34 2005
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+# TODO:
+# - files section
+%define                module  matplotlib
+Summary:       Matlab(TM) style python plotting package
+Name:          python-%{module}
+Version:       0.82
+Release:       0.1
+License:       GPL
+Group:         Libraries/Python
+Source0:       http://dl.sourceforge.net/matplotlib/%{module}-%{version}.tar.gz
+# Source0-md5: 94da6c11af51d5872c498e59fd31c9a0
+URL:           http://matplotlib.sourceforge.net/
+BuildRequires: python >= 2.2.1
+%pyrequires_eq python-modules
+BuildRequires: python-numpy
+BuildRequires: ncurses-devel
+BuildRequires: freetype-devel
+BuildRequires: python-devel
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+matplotlib strives to produce publication quality 2D graphics using
+matlab plotting for inspiration. Although the main lib is object
+oriented, there is a functional interface "pylab" for people coming
+from Matlab.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/ -name \*.py | xargs rm -f
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG KNOWN_BUGS NUMARRAY_ISSUES README TODO
+%{py_libdir}/*/*
+%{_datadir}/%{module}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/06/29 20:55:34  arekm
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to