%define module scientific %define name python-%{module} %define version 2.4.9 %define release 2mdk Summary: Various Python modules for scientific computing Name: %{name} Version: %{version} Release: %{release} Source: ScientificPython-%{version}.tar.bz2 License: BSD-like Group: Development/Python BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: python Url: http://dirac.cnrs-orleans.fr/ScientificPython/ %description ScientificPython is a collection of Python modules that are useful for scientific computing. In this collection you will find modules that cover basic geometry (vectors, tensors, transformations, vector and tensor fields), quaternions, automatic derivatives, (linear) interpolation, polynomials, elementary statistics, nonlinear least-squares fits, unit calculations, Fortran-compatible text formatting, 3D visualization via VRML, and two Tk widgets for simple line plots and 3D wireframe models. %package devel Summary: Various Python modules for scientific computing, header files Group: Development/Python Requires: python-devel %{name} = %{version}-%{release} %description devel This package contain some headers file from %{name} package. %prep %setup -q -n ScientificPython-%{version} %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README README.MPI README.BSPlib Doc/HTML Doc/PDF Doc/XML %{_libdir}/python%pyver/site-packages/Scientific/ %defattr(755,root,root) %{_bindir}/* %files devel %defattr(644,root,root,755) %{_includedir}/python%pyver/Scientific/* %changelog * Thu Feb 03 2005 Michael Scherer <misc@mandrake.org> 2.4.9-2mdk - add BuildRequires * Mon Nov 29 2004 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 2.4.9-1mdk - initial contrib release.