Update to 0.6.0
This commit is contained in:
parent
d298e1842a
commit
aad8285ff1
@ -1 +1 @@
|
|||||||
scipy-0.5.2.1.tar.gz
|
scipy-0.6.0.tar.gz
|
||||||
|
55
scipy.spec
55
scipy.spec
@ -1,40 +1,50 @@
|
|||||||
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
|
%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
|
Name: scipy
|
||||||
Version: 0.5.2.1
|
Version: 0.6.0
|
||||||
Release: 1%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: BSD and LGPLv2+
|
License: BSD and LGPLv2+
|
||||||
Url: http://numeric.scipy.org
|
Url: http://www.scipy.org
|
||||||
Source0: http://prdownloads.sourceforge.net/scipy/%{name}-%{version}.tar.gz
|
Source0: http://prdownloads.sourceforge.net/scipy/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: numpy, python-devel
|
BuildRequires: numpy, python-devel
|
||||||
BuildRequires: fftw-devel, blas-devel, lapack-devel
|
BuildRequires: fftw-devel, blas-devel, lapack-devel, ufsparse-devel
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran, swig
|
||||||
Requires: numpy, python
|
Requires: numpy, python
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Scipy is a general-purpose array-processing package designed to
|
Scipy is open-source software for mathematics, science, and
|
||||||
efficiently manipulate large multi-dimensional arrays of arbitrary
|
engineering. The core library is NumPy which provides convenient and
|
||||||
records without sacrificing too much speed for small multi-dimensional
|
fast N-dimensional array manipulation. The SciPy library is built to
|
||||||
arrays. Scipy is built on the Numeric code base and adds features
|
work with NumPy arrays, and provides many user-friendly and efficient
|
||||||
introduced by numarray as well as an extended C-API and the ability to
|
numerical routines such as routines for numerical integration and
|
||||||
create arrays of arbitrary type.
|
optimization. Together, they run on all popular operating systems, are
|
||||||
|
quick to install, and are free of charge. NumPy and SciPy are easy to
|
||||||
There are also basic facilities for discrete fourier transform,
|
use, but powerful enough to be depended upon by some of the world's
|
||||||
basic linear algebra and random number generation.
|
leading scientists and engineers.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%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
|
%build
|
||||||
ln -s Lib scipy
|
|
||||||
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=gnu95 --noarch build
|
||||||
|
|
||||||
|
|
||||||
@ -55,6 +65,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 03 2007 Jef Spaleta <jspaleta@gmail.com> - 0.6.0-3
|
||||||
|
- include_dirs changes for ufsparse change in development
|
||||||
|
|
||||||
|
* Tue Oct 02 2007 Jef Spaleta <jspaleta@gmail.com> - 0.6.0-2
|
||||||
|
- Fix licensing to match Fedora packaging guidance
|
||||||
|
- Remove unnecessary library deps
|
||||||
|
|
||||||
|
* Tue Sep 25 2007 Jarrod Millman <millman@berkeley.edu> - 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 <jspaleta@gmail.com> - 0.5.2.1-1
|
* Tue Aug 21 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2.1-1
|
||||||
- Update to new upstream source
|
- Update to new upstream source
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user