diff --git a/.cvsignore b/.cvsignore index e69de29..23da42e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +scipy-0.5.1.tar.gz diff --git a/scipy.spec b/scipy.spec new file mode 100644 index 0000000..1895a59 --- /dev/null +++ b/scipy.spec @@ -0,0 +1,83 @@ +%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)') + +Summary: Scipy: array processing for numbers, strings, records, and objects +Name: scipy +Version: 0.5.1 +Release: 4%{?dist} + +Group: Development/Libraries +License: BSD +Url: http://numeric.scipy.org +Source0: http://prdownloads.sourceforge.net/scipy/%{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: numpy, python-devel +BuildRequires: fftw-devel, blas-devel, lapack-devel, gcc-gfortran + +Requires: numpy, python + + +%description +Scipy 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. Scipy 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 -q + +%build +env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu95 build + +%install +rm -rf $RPM_BUILD_ROOT +env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu95 install --root=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt +%{python_sitearch}/scipy + + + +%changelog +* Sun Dec 3 2006 Jef Spaleta - 0.5.1-4 +- Minor adjustments to specfile for packaging guidelines. +- Changed buildrequires fftw version 3 from fftw2 + +* Sat Dec 2 2006 Jef Spaleta - 0.5.1-2 +- Updated spec for FE Packaging Guidelines and for upstream version 0.5.1 + +* Mon May 8 2006 Neal Becker - 0.4.8-4 +- Add BuildRequires gcc-c++ +- Add python-devel +- Add libstdc++ + +* Mon May 8 2006 Neal Becker - 0.4.8-3 +- Add BuildRequires gcc-gfortran + +* Sun May 7 2006 Neal Becker - 0.4.8-3 +- Add BuildRequires numpy + + +* Wed May 3 2006 Neal Becker - 0.4.8-2 +- Fix BuildRoot +- Add BuildRequires, Requires +- Test remove d1mach patch +- Fix defattr +- Add changelog +- Removed Prefix, Vendor +- Fix Source0 + diff --git a/sources b/sources index e69de29..8953f8d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +48442a427f0556ad2ad1721dd62e401c scipy-0.5.1.tar.gz