|
|
ba422bc |
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
|
|
|
ba422bc |
|
|
|
aad8285 |
Summary: Scipy: Scientific Tools for Python
|
|
|
ba422bc |
Name: scipy
|
|
|
aad8285 |
Version: 0.6.0
|
|
|
2a42dbb |
Release: 7%{?dist}
|
|
|
ba422bc |
|
|
|
ba422bc |
Group: Development/Libraries
|
|
|
8971371 |
License: BSD and LGPLv2+
|
|
|
aad8285 |
Url: http://www.scipy.org
|
|
|
ba422bc |
Source0: http://prdownloads.sourceforge.net/scipy/%{name}-%{version}.tar.gz
|
|
|
2a3713a |
# Missing setup.py files which control the build of this module
|
|
|
2a3713a |
# These should be removed as soon as upstream pushes a release with this fixed
|
|
|
2a3713a |
Source1: stsci_image_setup.py
|
|
|
2a3713a |
Source2: stsci_convolve_setup.py
|
|
|
ba422bc |
|
|
|
ba422bc |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ba422bc |
|
|
|
aad8285 |
BuildRequires: numpy, python-devel
|
|
|
aad8285 |
BuildRequires: fftw-devel, blas-devel, lapack-devel, ufsparse-devel
|
|
|
aad8285 |
BuildRequires: gcc-gfortran, swig
|
|
|
ba422bc |
Requires: numpy, python
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%description
|
|
|
aad8285 |
Scipy is open-source software for mathematics, science, and
|
|
|
aad8285 |
engineering. The core library is NumPy which provides convenient and
|
|
|
aad8285 |
fast N-dimensional array manipulation. The SciPy library is built to
|
|
|
aad8285 |
work with NumPy arrays, and provides many user-friendly and efficient
|
|
|
aad8285 |
numerical routines such as routines for numerical integration and
|
|
|
aad8285 |
optimization. Together, they run on all popular operating systems, are
|
|
|
aad8285 |
quick to install, and are free of charge. NumPy and SciPy are easy to
|
|
|
aad8285 |
use, but powerful enough to be depended upon by some of the world's
|
|
|
aad8285 |
leading scientists and engineers.
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%prep
|
|
|
ba422bc |
%setup -q
|
|
|
aad8285 |
cat > site.cfg << EOF
|
|
|
aad8285 |
[amd]
|
|
|
aad8285 |
library_dirs = %{_libdir}
|
|
|
aad8285 |
include_dirs = /usr/include/suitesparse:/usr/include/ufsparse
|
|
|
aad8285 |
amd_libs = amd
|
|
|
aad8285 |
|
|
|
aad8285 |
[umfpack]
|
|
|
aad8285 |
library_dirs = %{_libdir}
|
|
|
aad8285 |
include_dirs = /usr/include/suitesparse:/usr/include/ufsparse
|
|
|
aad8285 |
umfpack_libs = umfpack
|
|
|
aad8285 |
EOF
|
|
|
ba422bc |
|
|
|
2a42dbb |
cp %{SOURCE1} scipy/stsci/image/setup.py
|
|
|
2a42dbb |
cp %{SOURCE2} scipy/stsci/convolve/setup.py
|
|
|
2a3713a |
|
|
|
ba422bc |
%build
|
|
|
80f1d0c |
env CFLAGS="$RPM_OPT_FLAGS" ATLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu95 --noarch build
|
|
|
2e6656e |
|
|
|
ba422bc |
|
|
|
ba422bc |
%install
|
|
|
ba422bc |
rm -rf $RPM_BUILD_ROOT
|
|
|
2e6656e |
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
|
|
|
0eaafac |
%{python_sitearch}/*.egg-info
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
|
|
|
ba422bc |
%changelog
|
|
|
2a42dbb |
* Fri Oct 03 2008 Jef Spaleta <jspaleta@fedoraproject.org> - 0.6.0-7
|
|
|
2a42dbb |
- fix the stsci fix
|
|
|
2a42dbb |
|
|
|
2a3713a |
* Thu Oct 02 2008 Jef Spaleta <jspaleta@fedoraproject.org> - 0.6.0-6
|
|
|
2a3713a |
- include missing setup files for stsci module
|
|
|
2a3713a |
|
|
|
ea45f09 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.6.0-5
|
|
|
ea45f09 |
- Autorebuild for GCC 4.3
|
|
|
ea45f09 |
|
|
|
0eaafac |
* Fri Jan 04 2008 Jef Spaleta <jspaleta@fedoraproject.org> - 0.6.0-4
|
|
|
0eaafac |
- fix for egg-info file creation
|
|
|
0eaafac |
|
|
|
aad8285 |
* Wed Oct 03 2007 Jef Spaleta <jspaleta@gmail.com> - 0.6.0-3
|
|
|
aad8285 |
- include_dirs changes for ufsparse change in development
|
|
|
aad8285 |
|
|
|
aad8285 |
* Tue Oct 02 2007 Jef Spaleta <jspaleta@gmail.com> - 0.6.0-2
|
|
|
aad8285 |
- Fix licensing to match Fedora packaging guidance
|
|
|
aad8285 |
- Remove unnecessary library deps
|
|
|
aad8285 |
|
|
|
aad8285 |
* Tue Sep 25 2007 Jarrod Millman <millman@berkeley.edu> - 0.6.0-1
|
|
|
aad8285 |
- update to new upstream source
|
|
|
aad8285 |
- update Summary, License, Url, and description
|
|
|
aad8285 |
- added extra dependencies
|
|
|
aad8285 |
- remove symlink since Lib has been renamed scipy
|
|
|
aad8285 |
|
|
|
d298e18 |
* Tue Aug 21 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2.1-1
|
|
|
d298e18 |
- Update to new upstream source
|
|
|
d298e18 |
|
|
|
8971371 |
* Tue Aug 21 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-3
|
|
|
8971371 |
- fix licensing tag and bump for buildid rebuild
|
|
|
8971371 |
|
|
|
80f1d0c |
* Wed Apr 18 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-2.2
|
|
|
80f1d0c |
- go back to using gfortran now that numpy is patched
|
|
|
80f1d0c |
|
|
|
2609926 |
* Sat Apr 14 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-2.1
|
|
|
2609926 |
- minor correction for f77 usage
|
|
|
2609926 |
|
|
|
2e6656e |
* Sat Apr 14 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-2
|
|
|
2e6656e |
- revert to f77 due to issue with numpy in development
|
|
|
2e6656e |
|
|
|
2e6656e |
* Sat Apr 14 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-1.1
|
|
|
2e6656e |
- remove arch specific optimizations
|
|
|
2e6656e |
|
|
|
e42f289 |
* Wed Feb 21 2007 Jef Spaleta <jspaleta@gmail.com> - 0.5.2-1
|
|
|
e42f289 |
- Update for new upstream release
|
|
|
e42f289 |
|
|
|
6e804cd |
* Mon Dec 11 2006 Jef Spaleta <jspaleta@gmail.com> - 0.5.1-5
|
|
|
6e804cd |
- Bump for rebuild against python 2.5 in devel tree
|
|
|
6e804cd |
|
|
|
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 |
|