File python-numarray.spec of Package python-numarray

%define modname numarray
Name:           python-%{modname}
URL:            http://www.stsci.edu/resources/software_hardware/numarray
Summary:        Array processing for numbers, strings, records and objects
Version:        1.5.2
Release:        1
License:        Other licenses. See package for details
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-root
%{py_requires}
BuildRequires:  python-devel

%description
Numarray is an array processing package designed to efficiently manipulate
large multi-dimensional arrays. Numarray is modelled after Numeric and
features c-code generated from python template scripts, the capacity to
operate directly on arrays in files, and improved type promotions. Numarray
provides support for manipulating arrays consisting of numbers, strings,
records, or objects using the same basic infrastructure and syntax.

Authors:
--------
    Todd Miller <jmiller@stsci.edu>
    Perry Greenfield <perry@stsci.edu>

%prep
%setup -q -n %{modname}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc Doc Examples LICENSE.txt README.txt

%changelog

* Fri Jan 19 2007 - Cristian Rodriguez <judas_iscariote@shorewall.net> - 1.5.2-1
- update

* Wed Jul 05 2006 - James Oakley <jfunk@funktronics.ca> - 1.5.1-1
- Update

* Thu Apr 14 2005 - James Oakley <jfunk@funktronics.ca> - 1.3.0-1
- Initial release
openSUSE Build Service is sponsored by