File python-numpy.spec of Package python-numpy
#
# spec file for package python-numpy (Version 1.3.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define modname numpy
Name: python-numpy
Url: http://numpy.scipy.org/
Summary: Array processing for numbers, strings, records and objects
Version: 1.3.0
Release: 1.<RELEASE1>
License: BSD 3-Clause
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
Source1: rpmlintrc
Patch0: numpy-buildfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
BuildRequires: python-devel
%description
The fundamental package needed for scientific computing with Python is
called NumPy. This package contains:
* a powerful N-dimensional array object
* sophisticated (broadcasting) functions
* basic linear algebra functions
* basic Fourier transforms
* sophisticated random number capabilities
* tools for integrating Fortran code.
Authors: Todd Miller <jmiller@stsci.edu> Perry Greenfield
<perry@stsci.edu>
Authors:
--------
Todd Miller <jmiller@stsci.edu>
Perry Greenfield <perry@stsci.edu>
%prep
%setup -q -n %{modname}-%{version}
%patch0
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
python setup.py build
%install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT"
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc COMPATIBILITY LICENSE.txt README.txt THANKS.txt DEV_README.txt
%changelog