9397
|
1 |
#
|
|
2 |
# spec file for package SUNWPython-extra
|
|
3 |
#
|
|
4 |
# includes module(s): Pyrex, pyxml
|
|
5 |
#
|
|
6 |
# Copyright (c) 2005 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 |
%use pyrex = Pyrex.spec
|
|
14 |
%use pyxml = pyxml.spec
|
|
15 |
%use elementtree = elementtree.spec
|
11102
|
16 |
%use numpy = numpy.spec
|
9397
|
17 |
|
|
18 |
Name: SUNWPython-extra
|
|
19 |
Summary: Supplemental Python libraries and utilities
|
|
20 |
Version: 2.4.2
|
|
21 |
SUNW_BaseDir: %{_basedir}
|
11965
|
22 |
SUNW_Copyright: %{name}.copyright
|
9397
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
%include default-depend.inc
|
|
25 |
Requires: SUNWPython
|
|
26 |
Requires: SUNWlexpt
|
|
27 |
BuildRequires: SUNWsfwhea
|
|
28 |
BuildRequires: SUNWPython-devel
|
14173
|
29 |
BuildRequires: SUNWpython-setuptools
|
9397
|
30 |
|
|
31 |
%prep
|
|
32 |
rm -rf %name-%version
|
|
33 |
mkdir %name-%version
|
|
34 |
%pyrex.prep -d %name-%version
|
|
35 |
%pyxml.prep -d %name-%version
|
|
36 |
%elementtree.prep -d %name-%version
|
11102
|
37 |
%numpy.prep -d %name-%version
|
9397
|
38 |
|
|
39 |
%install
|
|
40 |
rm -rf $RPM_BUILD_ROOT
|
|
41 |
%pyrex.install -d %name-%version
|
|
42 |
%pyxml.install -d %name-%version
|
|
43 |
%elementtree.install -d %name-%version
|
11102
|
44 |
%numpy.install -d %name-%version
|
9397
|
45 |
|
|
46 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
47 |
|
|
48 |
%clean
|
|
49 |
rm -rf $RPM_BUILD_ROOT
|
|
50 |
|
|
51 |
%files
|
|
52 |
%defattr (-, root, bin)
|
|
53 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
54 |
%{_bindir}/*
|
|
55 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
56 |
%{_libdir}/*
|
|
57 |
|
|
58 |
|
|
59 |
%changelog
|
11102
|
60 |
* Thu Oct 25 2007 - [email protected]
|
|
61 |
- Add numpy to add numerical processing extensions to Python.
|
9397
|
62 |
* Thu Jul 27 2006 - [email protected]
|
|
63 |
- add elementtree
|
|
64 |
* Thu Oct 27 2005 - [email protected]
|
|
65 |
- add PyXML
|
|
66 |
- move pyspi to SUNWgnome-python-libs
|
|
67 |
- change permissions to root:bin
|
|
68 |
* Thu Oct 20 2005 - [email protected]
|
|
69 |
- Use %{default_pkg_version} instead of python version.
|
|
70 |
* Wed Oct 19 2005 - [email protected]
|
|
71 |
- Initial version.
|