SPECS: python-scipy.spec (NEW) - new
arekm
arekm at pld-linux.org
Wed Jun 29 16:12:14 CEST 2005
Author: arekm Date: Wed Jun 29 14:12:14 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-scipy.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-scipy.spec
diff -u /dev/null SPECS/python-scipy.spec:1.1
--- /dev/null Wed Jun 29 16:12:14 2005
+++ SPECS/python-scipy.spec Wed Jun 29 16:12:08 2005
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+# TODO:
+# - atlas, lapack support
+# - rework files
+%define module scipy
+Summary: A library of scientific tools
+Name: python-%{module}
+Version: 0.3.2
+Release: 1
+License: BSD
+Group: Development/Languages/Python
+Source0: http://www.scipy.org/download/scipy/src/SciPy_complete-%{version}.tar.gz
+# Source0-md5: 5ae2280ab2c4c653cb0ff8479e81284a
+URL: http://www.scipy.org/
+BuildRequires: python
+BuildRequires: f2py
+BuildRequires: python-devel >= 1:2.3
+BuildRequires: python-numpy-devel
+BuildRequires: gcc-g77
+BuildRequires: X11-devel
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SciPy is an open source library of scientific tools for Python. SciPy
+supplements the popular Numeric module, gathering a variety of high
+level science and engineering modules together as a single package.
+
+%prep
+%setup -q -n SciPy_complete-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+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_sitedir} -name '*.py' | \
+ grep -v examples | \
+ xargs rm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc DEVELOPERS.txt THANKS.txt
+%dir %{py_sitedir}/*
+%{py_sitedir}/*/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/06/29 14:12:08 arekm
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list