14198
|
1 |
#
|
|
2 |
# spec file for package SUNWPython26-extra
|
|
3 |
#
|
|
4 |
# includes module(s): Pyrex, numpy
|
|
5 |
#
|
|
6 |
# Copyright 2009 Sun Microsystems, Inc.
|
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: laca
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
%define pythonver 2.6
|
|
14 |
%use pyrex = Pyrex.spec
|
|
15 |
%use numpy = numpy.spec
|
|
16 |
|
|
17 |
Name: SUNWPython26-extra
|
|
18 |
Summary: Supplemental Python libraries and utilities
|
|
19 |
Version: 2.6.1
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
|
21 |
SUNW_Copyright: SUNWPython-extra.copyright
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
%include default-depend.inc
|
|
24 |
Requires: SUNWPython26
|
|
25 |
Requires: SUNWlexpt
|
|
26 |
BuildRequires: SUNWsfwhea
|
|
27 |
BuildRequires: SUNWPython26-devel
|
|
28 |
BuildRequires: SUNWpython26-setuptools
|
|
29 |
|
|
30 |
%prep
|
|
31 |
rm -rf %name-%version
|
|
32 |
mkdir %name-%version
|
|
33 |
%pyrex.prep -d %name-%version
|
|
34 |
%numpy.prep -d %name-%version
|
|
35 |
|
|
36 |
%install
|
|
37 |
rm -rf $RPM_BUILD_ROOT
|
|
38 |
export PYTHON=/usr/bin/python2.6
|
|
39 |
%pyrex.install -d %name-%version
|
|
40 |
%numpy.install -d %name-%version
|
|
41 |
|
|
42 |
mv $RPM_BUILD_ROOT%{_bindir}/pyrexc $RPM_BUILD_ROOT%{_bindir}/pyrexc2.6
|
|
43 |
|
|
44 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
45 |
|
|
46 |
%clean
|
|
47 |
rm -rf $RPM_BUILD_ROOT
|
|
48 |
|
|
49 |
%files
|
|
50 |
%defattr (-, root, bin)
|
|
51 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
52 |
%{_bindir}/*
|
|
53 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
54 |
%{_libdir}/*
|
|
55 |
|
|
56 |
|
|
57 |
%changelog
|
|
58 |
* Mon Feb 2 2009 - [email protected]
|
|
59 |
- create based on SUNWPython25-extra.spec
|
|
60 |
* Mon Nov 24 2008 - [email protected]
|
|
61 |
- created, based on SUNWPython-extra.spec
|
|
62 |
* Thu Oct 25 2007 - [email protected]
|
|
63 |
- Add numpy to add numerical processing extensions to Python.
|
|
64 |
* Thu Jul 27 2006 - [email protected]
|
|
65 |
- add elementtree
|
|
66 |
* Thu Oct 27 2005 - [email protected]
|
|
67 |
- add PyXML
|
|
68 |
- move pyspi to SUNWgnome-python-libs
|
|
69 |
- change permissions to root:bin
|
|
70 |
* Thu Oct 20 2005 - [email protected]
|
|
71 |
- Use %{default_pkg_version} instead of python version.
|
|
72 |
* Wed Oct 19 2005 - [email protected]
|
|
73 |
- Initial version.
|