Blob Blame History Raw
Summary: Numerical Extension to Python
Name: python-numeric
Version: 23.7
>Release: 1
License: Python
Group: Development/Languages
URL: http://numpy.sourceforge.net
Source0: Numeric-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python2-devel
Patch: Numeric-23.7-blasfix.patch

%description
Numeric is a python module that provides support for numerical
operations.

%prep
%setup -q -n Numeric-%{version}
%patch -p1 -b .blasfix

%build
env CFLAGS="$RPM_OPT_FLAGS" /usr/bin/python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
/usr/bin/python setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Demo/
%{_libdir}/python*/site-packages/Numeric.pth
%{_libdir}/python*/site-packages/Numeric/
%{_includedir}/python*/Numeric/



%changelog
* Wed Feb 23 2005 Jonathan Blandford <jrb@redhat.com> 23.7-1
- rename Numeric to python-numeric

* Thu Feb 17 2005  <jrb@redhat.com> - 
- Initial build.