[SciPy-dev] scipy-0.8.4 SRPM patch available

Neal Becker ndbecker2 at gmail.com
Wed Dec 21 08:41:31 CST 2005


I have patched scipy SRPM to build scipy-0.8.4 on Fedora4, x86_64.  Also
builds on i386.

Please update the SPEC file.

Here is the SPEC file I used:

Note: I don't currently have atlas installed.  If I did, I guess I would
also need to add something for python setup.py to find it.

%define name scipy_core
%define version 0.8.4
%define release 1
%define python_sitearch %(%{__python} -c 'from distutils import sysconfig;
print sysconfig.get_python_lib(1)')

Summary: Core SciPy
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.gz
License: BSD
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
Vendor: SciPy Developers <scipy-dev at scipy.org>
Url: http://numeric.scipy.org

%description
UNKNOWN

%prep
%setup

%build
env BLAS=/usr/lib64 LAPACK=/usr/lib64 CFLAGS="$RPM_OPT_FLAGS" python
setup.py build
#env CFLAGS="$RPM_OPT_FLAGS" python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
#for some reason this was missed!
%{python_sitearch}/scipy/lib/_dotblas.so
%defattr(-,root,root)




More information about the Scipy-dev mailing list