2006-12-07 00:41:53 +00:00
|
|
|
%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
|
2007-02-23 05:18:15 +00:00
|
|
|
Version: 0.5.2
|
2007-04-14 18:58:42 +00:00
|
|
|
Release: 2.1%{?dist}
|
2006-12-07 00:41:53 +00:00
|
|
|
|
|
|
|
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
|
2007-04-14 11:47:08 +00:00
|
|
|
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
|
2006-12-07 00:41:53 +00:00
|
|
|
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
|
2007-04-14 18:58:42 +00:00
|
|
|
env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu --noarch build
|
2007-04-14 11:47:08 +00:00
|
|
|
|
|
|
|
#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
|
2006-12-07 00:41:53 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-04-14 11:47:08 +00:00
|
|
|
env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py install --root=$RPM_BUILD_ROOT
|
2006-12-07 00:41:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE.txt
|
|
|
|
%{python_sitearch}/scipy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2007-04-14 18:58:42 +00:00
|
|
|
* Sat Apr 14 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-2.1
|
|
|
|
- minor correction for f77 usage
|
|
|
|
|
2007-04-14 11:47:08 +00:00
|
|
|
* Sat Apr 14 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-2
|
|
|
|
- revert to f77 due to issue with numpy in development
|
|
|
|
|
|
|
|
* Sat Apr 14 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-1.1
|
|
|
|
- remove arch specific optimizations
|
|
|
|
|
2007-02-23 05:18:15 +00:00
|
|
|
* Wed Feb 21 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-1
|
|
|
|
- Update for new upstream release
|
|
|
|
|
2006-12-12 05:15:37 +00:00
|
|
|
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> - 0.5.1-5
|
|
|
|
- Bump for rebuild against python 2.5 in devel tree
|
|
|
|
|
2006-12-07 00:41:53 +00:00
|
|
|
* Sun Dec 3 2006 Jef Spaleta <jspaleta@gmail.com> - 0.5.1-4
|
|
|
|
- Minor adjustments to specfile for packaging guidelines.
|
|
|
|
- Changed buildrequires fftw version 3 from fftw2
|
|
|
|
|
|
|
|
* Sat Dec 2 2006 Jef Spaleta <jspaleta@gmail.com> - 0.5.1-2
|
|
|
|
- Updated spec for FE Packaging Guidelines and for upstream version 0.5.1
|
|
|
|
|
|
|
|
* Mon May 8 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-4
|
|
|
|
- Add BuildRequires gcc-c++
|
|
|
|
- Add python-devel
|
|
|
|
- Add libstdc++
|
|
|
|
|
|
|
|
* Mon May 8 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-3
|
|
|
|
- Add BuildRequires gcc-gfortran
|
|
|
|
|
|
|
|
* Sun May 7 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-3
|
|
|
|
- Add BuildRequires numpy
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 3 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-2
|
|
|
|
- Fix BuildRoot
|
|
|
|
- Add BuildRequires, Requires
|
|
|
|
- Test remove d1mach patch
|
|
|
|
- Fix defattr
|
|
|
|
- Add changelog
|
|
|
|
- Removed Prefix, Vendor
|
|
|
|
- Fix Source0
|
|
|
|
|