numpy.spec revision 17185
10139N/A#
10139N/A# spec file for package numpy
10139N/A#
12147N/A# includes module(s): numpy
10139N/A#
10139N/A# Copyright 2008 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner laca
10139N/A# bugdb: http://projects.scipy.org/scipy/numpy/report
10139N/A#
14136N/A%{!?pythonver:%define pythonver 2.4}
10139N/A
10139N/A%define OSR 8466:1.0.4
10139N/A
10139N/AName: numpy
13400N/ALicense: BSD
10139N/AGroup: Development/Languages/Python
10139N/AVersion: 1.3.0
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Python XML module
10139N/ASource: http://superb-east.dl.sourceforge.net/sourceforge/numpy/numpy-%{version}.tar.gz
10139N/AURL: http://numpy.scipy.org/
10491N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10491N/ADocdir: %{_defaultdocdir}/doc
10491N/AAutoreqprov: off
10491N/APrereq: /sbin/ldconfig
12088N/ARequires: python >= %{pythonver}
10139N/ABuildRequires: python-devel >= %{pythonver}
12088N/A
10139N/A%description
12088N/ANumerical processing extensions to the python programming language.
12176N/A
12196N/A%prep
12306N/A%setup -q -n numpy-%{version}
12368N/A
13088N/A%install
13278N/Apython%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
10139N/A
10139N/A# move to vendor-packages
10139N/Amkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
10139N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
10139N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
10139N/Armdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr(-, root, root)
10139N/A%{_bindir}
10139N/A%{_libdir}/python?.?/vendor-packages
10139N/A
10139N/A%changelog
10139N/A* Tue Apr 14 2009 - brian.cameron@sun.com
10139N/A- Bump to 1.3.0.
10139N/A* Tue Feb 03 2009 - brian.cameron@sun.com
10139N/A- Bump to 1.2.1.
10139N/A* Mon Nov 24 2008 - laca@sun.com
10139N/A- use %{pythonver} macro to select which version of Python to build with
10139N/A* Mon Nov 17 2007 - jedy.wang@sun.com
10139N/A- Fix installation directory bug.
10139N/A* Thu Oct 25 2007 - brian.cameron@sun.com
10139N/A- Initial version. Based on the spec-files-extra SFEpython-numpy.spec
10139N/A file written by Ananth Shrinivas <ananth@sun.com> on Sep 02 2007.
10139N/A
10139N/A