numpy.spec revision 15361
11844N/A#
11844N/A# spec file for package numpy
11844N/A#
11844N/A# includes module(s): numpy
11844N/A#
11844N/A# Copyright (c) 2005 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#
11844N/A# Owner: laca
12332N/A# bugdb: http://projects.scipy.org/scipy/numpy/report
11844N/A#
11844N/A%define pythonver 2.4
11844N/A
11844N/AName: numpy
12542N/ALicense: BSD
11844N/AGroup: Development/Languages/Python
12060N/AVersion: 1.0.4
11844N/ARelease: 1
11844N/ADistribution: Java Desktop System
11844N/AVendor: Sun Microsystems, Inc.
11844N/ASummary: Python XML module
12060N/ASource: http://easynews.dl.sourceforge.net/sourceforge/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
15361N/Apython 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
15361N/A* Mon Nov 17 2007 - jedy.wang@sun.com
15361N/A- Fix installation directory bug.
15361N/A
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