%define name python2.4-numeric %define version 24.2 %define rel 4 %define release %mkrel %{rel} Summary: Python numerical facilities Name: %{name} Version: %{version} Release: %{release} License: BSD-like URL: http://www.pfdubois.com/numpy/ Group: Development/Python Source0: Numeric-%{version}.tar.bz2 Source1: numpy.pdf.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}buildroot Requires: python2.4 >= 2.0 BuildRequires: python2.4-devel %description A collection of extension modules to provide high-performance multidimensional numeric arrays to the Python programming language. %package devel Group: Development/Python Summary: Python numerical facilities Requires: python2.4-devel %{name} = %{version} %description devel A collection of extension modules to provide high-performance multidimensional numeric arrays to the Python programming language. Devel files %prep %setup -n Numeric-%{version} -q cp %{SOURCE1} . bunzip2 numpy.pdf.bz2 %build python2.4 setup.py build for Package in FFT LALITE MA RANLIB RNG; do (cd Packages/$Package; python2.4 setup.py build) done %install rm -rf %{buildroot} python2.4 setup.py install --root=%{buildroot} for Package in FFT LALITE MA RANLIB RNG; do (cd Packages/$Package; python2.4 setup.py install --root=%{buildroot}) done %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc MANIFEST README changes.txt %{_libdir}/python*/site-packages/Numeric/* %{_libdir}/python*/site-packages/Numeric.pth %ifarch x86_64 /usr/lib/python*/site-packages/Numeric/* /usr/lib/python*/site-packages/Numeric.pth %endif %files devel %defattr(-, root, root) %doc Demo Test numpy.pdf %{_includedir}/python*/Numeric %changelog * Tue Nov 28 2006 Götz Waschk 24.2-4mdv2007.0 + Revision: 87991 - rebuild * Wed Oct 25 2006 Lev Givon 24.2-3mdv2007.0 + Revision: 72892 - Remove old python-numpy provides/obsoletes (which clash with newer python-numpy package) - Import python-numeric * Fri Aug 11 2006 Emmanuel Andry 24.2-2mdv2007.0 - fix 86_64 packaging * Fri Mar 10 2006 Jerome Soyer 24.2-1mdk - New release 24.2 * Sun Jan 01 2006 Mandriva Linux Team 24.0-2mdk - Rebuild * Thu Jul 14 2005 Per Øyvind Karlsen 24.0-1mdk - 24.0 - fix requires - %%mkrel * Sat Dec 04 2004 Michael Scherer 23.1-3mdk - Rebuild for new python * Tue Dec 16 2003 Lenny Cartier 23.1-2mdk - requires python-devel * Fri Dec 12 2003 Arnaud de Lorbeau 23.1-1mdk - 23.1 * Fri Aug 08 2003 Per Øyvind Karlsen 22.0-4mdk - rebuild for new python * Thu Jul 24 2003 Per Øyvind Karlsen 22.0-3mdk - rebuild - don't rm -rf $RPM_BUILD_ROOT in %%prep * Thu Jan 16 2003 Lenny Cartier 22.0-2mdk - rebuild * Thu Nov 07 2002 Lenny Cartier 22.0-1mdk - 22.0 * Sat Mar 23 2002 Lenny Cartier 21.0-1mdk - 21.0 * Fri Jan 25 2002 Lenny Cartier 20.3-2mdk - fix permission on source files * Fri Jan 11 2002 Lenny Cartier 20.3-1mdk - updated by RA <> 20.3-1mdk : - update - fixed doc file name * Fri Sep 28 2001 RA 20.2.1-1mdk - Release 20.2.1 - new docs * Mon Aug 20 2001 Frederic Crozat 20.1.0-1mdk - Release 20.1.0 * Mon Jul 30 2001 Lenny Cartier 17.3.0-4mdk - rebuild * Tue Apr 03 2001 Lenny Cartier 17.3.0-3mdk - remove patch condition if LAPACK/BLAS is present (thx G.Vermeulen) * Sat Mar 17 2001 Lenny Cartier 17.3.0-2mdk - split package * Thu Feb 22 2001 Lenny Cartier 17.3.0-1mdk - updated to 17.3.0 - used patches from Gerard Vermeulen * Mon Feb 12 2001 Lenny Cartier 17.2.0-1mdk - used srpm from Gerard Vermeulen - updated to 17.2.0 * Mon Jan 15 2001 Lenny Cartier 17.0-1mdk - new in contribs * Fri Oct 27 2000 Gerard Vermeulen 17.1.1-1gv - CVS-source sucked on Oct 27 2000 - fix: depends on '#include "Numeric/arrayobject.h"' being installed - fix: Fortran LAPACK/BLAS - FIXME: Gist?