%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_siteinc: %define python_siteinc %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc()")} Name: python-numarray Version: 1.5.2 Release: 4%{?_dist_release} Summary: Python array manipulation and computational library Group: Development/Languages License: BSD URL: http://www.stsci.edu/resources/software_hardware/numarray Source0: http://dl.sf.net/numpy/numarray-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel Provides: %{name}-devel = %{version}-%{release} Vendor: Project Vine Distribution: Vine Linux %description Numarray provides array manipulation and computational capabilities similar to those found in IDL, Matlab, or Octave. Using numarray, it is possible to write many efficient numerical data processing applications directly in Python without using any C, C++ or Fortran code (as well as doing such analysis interactively within Python or PyRAF). For algorithms that are not well suited for efficient computation using array facilities it is possible to write C functions (and eventually Fortran) that can read and write numarray arrays that can be called from Python. %prep %setup -q -n numarray-%{version} find -name \*~ | xargs rm -f %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT chmod +x $RPM_BUILD_ROOT%{python_sitearch}/numarray/examples/convolve/benchmark.py %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE.txt README.txt Doc/* %{python_siteinc}/numarray/ %{python_sitearch}/numarray/ %{python_sitearch}/numarray-*.egg-info %changelog * Sun Jan 12 2014 Yoji TOYODA 1.5.2-4 - rebuild with VineSeed environment * Sun Feb 19 2012 Yoji TOYODA 1.5.2-3 - rebuild with python-2.7.2 * Tue Feb 02 2010 Shu KONNO 1.5.2-2 - rebuild with python-2.6 * Fri Oct 10 2008 MATSUBAYASHI Kohji - 1.5.2-1 - initial build for VineSeed * Tue Feb 19 2008 Fedora Release Engineering - 1.5.2-6 - Autorebuild for GCC 4.3 * Wed Jan 9 2008 - Orion Poplawski - 1.5.2-5 - Add python egg-info file * Thu Aug 23 2007 - Orion Poplawski - 1.5.2-4 - Update license tag to BSD - Rebuild for BuildID * Thu May 17 2007 - Orion Poplawski - 1.5.2-3 - Rebuild to reduce shared object sizes * Tue Dec 12 2006 - Jef Spaleta - 1.5.2-2 - Bump and release for python 2.5 rebuild * Wed Sep 6 2006 - Orion Poplawski - 1.5.2-1 - Update to 1.5.2 - No longer ghost .pyo files * Tue Feb 14 2006 - Orion Poplawski - 1.5.1-1 - Update to 1.5.1 * Thu Dec 22 2005 - Orion Poplawski - 1.5.0-1 - Update to 1.5.0 * Thu Aug 11 2005 - Orion Poplawski - 1.3.3-4 - Use sitearch macro instead of sitelib * Thu Aug 11 2005 - Orion Poplawski - 1.3.3-3 - Properly %ghost .pyo files * Tue Aug 09 2005 - Orion Poplawski - 1.3.3-2 - Cleanup - Added -devel provides * Tue Aug 02 2005 - Orion Poplawski - 1.3.3-1 - Initial release for Fedora Extras