author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 18269 | 5218a1567988 |
permissions | -rw-r--r-- |
11102 | 1 |
# |
2 |
# spec file for package numpy |
|
3 |
# |
|
4 |
# includes module(s): numpy |
|
5 |
# |
|
17470 | 6 |
# Copyright 2010 Sun Microsystems, Inc. |
11102 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
16434 | 10 |
%define owner laca |
11590 | 11 |
# bugdb: http://projects.scipy.org/scipy/numpy/report |
11102 | 12 |
# |
18269 | 13 |
%{!?pythonver:%define pythonver 2.6} |
11102 | 14 |
|
16425 | 15 |
%define OSR 8466:1.0.4 |
16 |
||
11102 | 17 |
Name: numpy |
11800
083f8a2852ed
I verified the numpy license is BSD, so updating license field.
yippi
parents:
11745
diff
changeset
|
18 |
License: BSD |
11102 | 19 |
Group: Development/Languages/Python |
17959 | 20 |
Version: 1.4.1 |
11102 | 21 |
Release: 1 |
22 |
Distribution: Java Desktop System |
|
17865 | 23 |
Vendor: SciPy |
11102 | 24 |
Summary: Python XML module |
17470 | 25 |
Source: %{sf_download}/numpy/numpy-%{version}.tar.gz |
11102 | 26 |
URL: http://numpy.scipy.org/ |
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
28 |
Docdir: %{_defaultdocdir}/doc |
|
29 |
Autoreqprov: off |
|
30 |
Prereq: /sbin/ldconfig |
|
31 |
Requires: python >= %{pythonver} |
|
32 |
BuildRequires: python-devel >= %{pythonver} |
|
33 |
||
34 |
%description |
|
35 |
Numerical processing extensions to the python programming language. |
|
36 |
||
37 |
%prep |
|
38 |
%setup -q -n numpy-%{version} |
|
39 |
||
40 |
%install |
|
14644 | 41 |
python%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT |
11102 | 42 |
|
43 |
# move to vendor-packages |
|
44 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages |
|
45 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \ |
|
46 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/ |
|
47 |
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages |
|
48 |
||
49 |
%clean |
|
50 |
rm -rf $RPM_BUILD_ROOT |
|
51 |
||
52 |
%files |
|
53 |
%defattr(-, root, root) |
|
54 |
%{_bindir} |
|
55 |
%{_libdir}/python?.?/vendor-packages |
|
56 |
||
57 |
%changelog |
|
17959 | 58 |
* Mon May 03 2010 - [email protected] |
59 |
- Bump to 1.4.1. |
|
17470 | 60 |
* Thu Jan 28 2010 - [email protected] |
61 |
- Bump to 1.4.0. |
|
16901 | 62 |
* Mon Nov 02 2009 - [email protected] |
63 |
- Add patch numpy-01-f77compat.diff to fix doo bug #11709. This fix allows |
|
64 |
SciPy to be compiled with NumPy. |
|
15618 | 65 |
* Tue Apr 14 2009 - [email protected] |
66 |
- Bump to 1.3.0. |
|
15007 | 67 |
* Tue Feb 03 2009 - [email protected] |
68 |
- Bump to 1.2.1. |
|
14644 | 69 |
* Mon Nov 24 2008 - [email protected] |
70 |
- use %{pythonver} macro to select which version of Python to build with |
|
14610 | 71 |
* Mon Nov 17 2007 - [email protected] |
72 |
- Fix installation directory bug. |
|
11102 | 73 |
* Thu Oct 25 2007 - [email protected] |
11104 | 74 |
- Initial version. Based on the spec-files-extra SFEpython-numpy.spec |
75 |
file written by Ananth Shrinivas <[email protected]> on Sep 02 2007. |
|
76 |