%define name python-numpy %define version 0.9.8 %define release 1 Summary: NumPy: array processing for numbers, strings, records, and objects. Name: %{name} Version: %{version} Release: %{release} Source0: http://prdownloads.sourceforge.net/numpy/numpy-%{version}.tar.bz2 License: BSD Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Url: http://numeric.scipy.org/ BuildRequires: python-devel %description NumPy is a general-purpose array-processing package designed to efficiently manipulate large multi-dimensional arrays of arbitrary records without sacrificing too much speed for small multi-dimensional arrays. NumPy is built on the Numeric code base and adds features introduced by numarray as well as an extended C-API and the ability to create arrays of arbitrary type. There are also basic facilities for discrete fourier transform, basic linear algebra and random number generation. %prep %setup -n numpy-%{version} -q %build env CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Tue Aug 22 2006 Frederic Lepied 0.9.8-1 - minor cleanup from distributed spec file