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