diff --git a/scipy.spec b/scipy.spec index 534fd57..95a7106 100644 --- a/scipy.spec +++ b/scipy.spec @@ -1,45 +1,52 @@ %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 +Summary: Scipy: Scientific Tools for Python Name: scipy -Version: 0.5.2 -Release: 1.1%{?dist} +Version: 0.6.0 +Release: 6%{?dist} Group: Development/Libraries -License: BSD -Url: http://numeric.scipy.org +License: BSD and LGPLv2+ +Url: http://www.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 -BuildRequires: gcc-gfortran -# numpy is not correctly detecting gfortran in development tree -# reverting to f77 for the time being in devel -#BuildRequires: compat-gcc-34-g77 +BuildRequires: numpy, python-devel +BuildRequires: fftw-devel, blas-devel, lapack-devel, ufsparse-devel +BuildRequires: gcc-gfortran, swig 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. +Scipy is open-source software for mathematics, science, and +engineering. The core library is NumPy which provides convenient and +fast N-dimensional array manipulation. The SciPy library is built to +work with NumPy arrays, and provides many user-friendly and efficient +numerical routines such as routines for numerical integration and +optimization. Together, they run on all popular operating systems, are +quick to install, and are free of charge. NumPy and SciPy are easy to +use, but powerful enough to be depended upon by some of the world's +leading scientists and engineers. %prep %setup -q +cat > site.cfg << EOF +[amd] +library_dirs = %{_libdir} +include_dirs = /usr/include/suitesparse:/usr/include/ufsparse +amd_libs = amd + +[umfpack] +library_dirs = %{_libdir} +include_dirs = /usr/include/suitesparse:/usr/include/ufsparse +umfpack_libs = umfpack +EOF %build env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu95 --noarch build -#env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu --f77flags="$RPM_OPT_FLAGS" build %install rm -rf $RPM_BUILD_ROOT @@ -58,6 +65,43 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed May 7 2008 Jef Spaleta - 0.6.0-6 +- rebuild for EL-5 + +* Tue Feb 19 2008 Fedora Release Engineering - 0.6.0-5 +- Autorebuild for GCC 4.3 + +* Fri Jan 04 2008 Jef Spaleta - 0.6.0-4 +- fix for egg-info file creation + +* Wed Oct 03 2007 Jef Spaleta - 0.6.0-3 +- include_dirs changes for ufsparse change in development + +* Tue Oct 02 2007 Jef Spaleta - 0.6.0-2 +- Fix licensing to match Fedora packaging guidance +- Remove unnecessary library deps + +* Tue Sep 25 2007 Jarrod Millman - 0.6.0-1 +- update to new upstream source +- update Summary, License, Url, and description +- added extra dependencies +- remove symlink since Lib has been renamed scipy + +* Tue Aug 21 2007 Jef Spaleta - 0.5.2.1-1 +- Update to new upstream source + +* Tue Aug 21 2007 Jef Spaleta - 0.5.2-3 +- fix licensing tag and bump for buildid rebuild + +* Wed Apr 18 2007 Jef Spaleta - 0.5.2-2.2 +- go back to using gfortran now that numpy is patched + +* Sat Apr 14 2007 Jef Spaleta - 0.5.2-2.1 +- minor correction for f77 usage + +* Sat Apr 14 2007 Jef Spaleta - 0.5.2-2 +- revert to f77 due to issue with numpy in development + * Sat Apr 14 2007 Jef Spaleta - 0.5.2-1.1 - remove arch specific optimizations diff --git a/sources b/sources index e5d8f54..0080e4c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e24387ac7f9e589816364db7c64c3185 scipy-0.5.2.tar.gz +417adf3bfe03f4c23c9fb265018e545c scipy-0.6.0.tar.gz