11844N/A#
11844N/A# spec file for package numpy
11844N/A#
11844N/A# includes module(s): numpy
11844N/A#
18221N/A# Copyright 2010 Sun Microsystems, Inc.
11844N/A# This file and all modifications and additions to the pristine
11844N/A# package are under the same license as the package itself.
11844N/A#
17185N/A%define owner laca
12332N/A# bugdb: http://projects.scipy.org/scipy/numpy/report
11844N/A#
19806N/A%{!?pythonver:%define pythonver 2.6}
11844N/A
17176N/A%define OSR 8466:1.0.4
17176N/A
11844N/AName: numpy
12542N/ALicense: BSD
11844N/AGroup: Development/Languages/Python
18710N/AVersion: 1.4.1
11844N/ARelease: 1
11844N/ADistribution: Java Desktop System
18616N/AVendor: SciPy
11844N/ASummary: Python XML module
18221N/ASource: %{sf_download}/numpy/numpy-%{version}.tar.gz
11844N/AURL: http://numpy.scipy.org/
11844N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
11844N/ADocdir: %{_defaultdocdir}/doc
11844N/AAutoreqprov: off
11844N/APrereq: /sbin/ldconfig
11844N/ARequires: python >= %{pythonver}
11844N/ABuildRequires: python-devel >= %{pythonver}
11844N/A
11844N/A%description
11844N/ANumerical processing extensions to the python programming language.
11844N/A
11844N/A%prep
11844N/A%setup -q -n numpy-%{version}
11844N/A
11844N/A%install
15395N/Apython%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
11844N/A
11844N/A# move to vendor-packages
11844N/Amkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
11844N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
11844N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
11844N/Armdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
11844N/A
11844N/A%clean
11844N/Arm -rf $RPM_BUILD_ROOT
11844N/A
11844N/A%files
11844N/A%defattr(-, root, root)
11844N/A%{_bindir}
11844N/A%{_libdir}/python?.?/vendor-packages
11844N/A
11844N/A%changelog
18710N/A* Mon May 03 2010 - brian.cameron@oracle.com
18710N/A- Bump to 1.4.1.
18221N/A* Thu Jan 28 2010 - brian.cameron@sun.com
18221N/A- Bump to 1.4.0.
17652N/A* Mon Nov 02 2009 - brian.cameron@sun.com
17652N/A- Add patch numpy-01-f77compat.diff to fix doo bug #11709. This fix allows
17652N/A SciPy to be compiled with NumPy.
16369N/A* Tue Apr 14 2009 - brian.cameron@sun.com
16369N/A- Bump to 1.3.0.
15758N/A* Tue Feb 03 2009 - brian.cameron@sun.com
15758N/A- Bump to 1.2.1.
15395N/A* Mon Nov 24 2008 - laca@sun.com
15395N/A- use %{pythonver} macro to select which version of Python to build with
15361N/A* Mon Nov 17 2007 - jedy.wang@sun.com
15361N/A- Fix installation directory bug.
11844N/A* Thu Oct 25 2007 - brian.cameron@sun.com
11846N/A- Initial version. Based on the spec-files-extra SFEpython-numpy.spec
11846N/A file written by Ananth Shrinivas <ananth@sun.com> on Sep 02 2007.
11846N/A