|
|
ba422bc |
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
|
|
|
ba422bc |
|
|
|
ba422bc |
Summary: Scipy: array processing for numbers, strings, records, and objects
|
|
|
ba422bc |
Name: scipy
|
|
|
561cc87 |
Version: 0.5.2
|
|
|
5867043 |
Release: 1.1%{?dist}
|
|
|
ba422bc |
|
|
|
ba422bc |
Group: Development/Libraries
|
|
|
ba422bc |
License: BSD
|
|
|
ba422bc |
Url: http://numeric.scipy.org
|
|
|
ba422bc |
Source0: http://prdownloads.sourceforge.net/scipy/%{name}-%{version}.tar.gz
|
|
|
ba422bc |
|
|
|
ba422bc |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ba422bc |
|
|
|
ba422bc |
BuildRequires: numpy, python-devel
|
|
|
5867043 |
BuildRequires: fftw-devel, blas-devel, lapack-devel
|
|
|
5867043 |
BuildRequires: gcc-gfortran
|
|
|
5867043 |
# numpy is not correctly detecting gfortran in development tree
|
|
|
5867043 |
# reverting to f77 for the time being in devel
|
|
|
5867043 |
#BuildRequires: compat-gcc-34-g77
|
|
|
ba422bc |
Requires: numpy, python
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%description
|
|
|
ba422bc |
Scipy is a general-purpose array-processing package designed to
|
|
|
ba422bc |
efficiently manipulate large multi-dimensional arrays of arbitrary
|
|
|
ba422bc |
records without sacrificing too much speed for small multi-dimensional
|
|
|
ba422bc |
arrays. Scipy is built on the Numeric code base and adds features
|
|
|
ba422bc |
introduced by numarray as well as an extended C-API and the ability to
|
|
|
ba422bc |
create arrays of arbitrary type.
|
|
|
ba422bc |
|
|
|
ba422bc |
There are also basic facilities for discrete fourier transform,
|
|
|
ba422bc |
basic linear algebra and random number generation.
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%prep
|
|
|
ba422bc |
%setup -q
|
|
|
ba422bc |
|
|
|
ba422bc |
%build
|
|
|
5867043 |
env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu95 --noarch build
|
|
|
5867043 |
|
|
|
5867043 |
#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
|
|
|
ba422bc |
|
|
|
ba422bc |
%install
|
|
|
ba422bc |
rm -rf $RPM_BUILD_ROOT
|
|
|
5867043 |
env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py install --root=$RPM_BUILD_ROOT
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%clean
|
|
|
ba422bc |
rm -rf $RPM_BUILD_ROOT
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%files
|
|
|
ba422bc |
%defattr(-,root,root,-)
|
|
|
ba422bc |
%doc LICENSE.txt
|
|
|
ba422bc |
%{python_sitearch}/scipy
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%changelog
|
|
|
5867043 |
* Sat Apr 14 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-1.1
|
|
|
5867043 |
- remove arch specific optimizations
|
|
|
5867043 |
|
|
|
561cc87 |
* Wed Feb 21 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-1
|
|
|
561cc87 |
- Update for new upstream release
|
|
|
561cc87 |
|
|
|
561cc87 |
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> - 0.5.1-5
|
|
|
561cc87 |
- Bump for rebuild against python 2.5 in devel tree
|
|
|
59f786d |
|
|
|
ba422bc |
* Sun Dec 3 2006 Jef Spaleta <jspaleta@gmail.com> - 0.5.1-4
|
|
|
ba422bc |
- Minor adjustments to specfile for packaging guidelines.
|
|
|
ba422bc |
- Changed buildrequires fftw version 3 from fftw2
|
|
|
ba422bc |
|
|
|
ba422bc |
* Sat Dec 2 2006 Jef Spaleta <jspaleta@gmail.com> - 0.5.1-2
|
|
|
ba422bc |
- Updated spec for FE Packaging Guidelines and for upstream version 0.5.1
|
|
|
ba422bc |
|
|
|
ba422bc |
* Mon May 8 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-4
|
|
|
ba422bc |
- Add BuildRequires gcc-c++
|
|
|
ba422bc |
- Add python-devel
|
|
|
ba422bc |
- Add libstdc++
|
|
|
ba422bc |
|
|
|
ba422bc |
* Mon May 8 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-3
|
|
|
ba422bc |
- Add BuildRequires gcc-gfortran
|
|
|
ba422bc |
|
|
|
ba422bc |
* Sun May 7 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-3
|
|
|
ba422bc |
- Add BuildRequires numpy
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
* Wed May 3 2006 Neal Becker <ndbecker2@gmail.com> - 0.4.8-2
|
|
|
ba422bc |
- Fix BuildRoot
|
|
|
ba422bc |
- Add BuildRequires, Requires
|
|
|
ba422bc |
- Test remove d1mach patch
|
|
|
ba422bc |
- Fix defattr
|
|
|
ba422bc |
- Add changelog
|
|
|
ba422bc |
- Removed Prefix, Vendor
|
|
|
ba422bc |
- Fix Source0
|
|
|
ba422bc |
|