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