18110
|
1 |
#
|
|
2 |
# spec file for package SUNWpyyaml
|
|
3 |
#
|
|
4 |
# includes module(s): pyyaml
|
|
5 |
#
|
|
6 |
# Copyright 2008 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 |
%define owner yippi
|
|
11 |
#
|
|
12 |
|
|
13 |
%include Solaris.inc
|
|
14 |
%define pythonver 2.6
|
|
15 |
%use pyyaml = pyyaml.spec
|
|
16 |
|
|
17 |
Name: SUNWpyyaml26
|
|
18 |
IPS_package_name: library/python-2/pyyaml-26
|
|
19 |
Meta(info.classification): %{classification_prefix}:Development/Python
|
|
20 |
Summary: A YAML parser and emitter for the Python language
|
|
21 |
URL: http://pyyaml.org/
|
|
22 |
Version: %{pyyaml.version}
|
|
23 |
License: MIT
|
|
24 |
Distribution: Java Desktop System
|
|
25 |
Vendor: Sun Microsystems, Inc.
|
|
26 |
SUNW_BaseDir: %{_basedir}
|
|
27 |
SUNW_Copyright: SUNWpyyaml.copyright
|
|
28 |
SUNW_BaseDir: %{_basedir}
|
|
29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
30 |
%include default-depend.inc
|
|
31 |
Requires: SUNWPython26
|
|
32 |
BuildRequires: SUNWPython26
|
|
33 |
BuildRequires: SUNWpython26-setuptools
|
|
34 |
|
|
35 |
%prep
|
|
36 |
rm -rf %name-%version
|
|
37 |
mkdir -p %name-%version
|
|
38 |
%pyyaml.prep -d %name-%version
|
|
39 |
|
|
40 |
%build
|
|
41 |
%pyyaml.build -d %name-%version
|
|
42 |
|
|
43 |
%install
|
|
44 |
rm -rf $RPM_BUILD_ROOT
|
|
45 |
%pyyaml.install -d %name-%version
|
|
46 |
|
|
47 |
%clean
|
|
48 |
rm -rf $RPM_BUILD_ROOT
|
|
49 |
|
|
50 |
%files
|
|
51 |
%defattr (-, root, bin)
|
|
52 |
%dir %attr (0755, root, bin) %{_libdir}
|
20263
|
53 |
%{_libdir}/python%{pythonver}/vendor-packages/PyYAML-%{pyyaml.tarball_version}-py%{pythonver}.egg-info
|
18110
|
54 |
%{_libdir}/python%{pythonver}/vendor-packages/yaml/*
|
20263
|
55 |
%doc -d PyYAML-%{pyyaml.tarball_version} LICENSE README
|
18110
|
56 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
57 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
58 |
|
|
59 |
%changelog
|
|
60 |
* Fri Mar 06 2009 - [email protected]
|
|
61 |
- Change owner name to liyuan.
|
|
62 |
* Thu Feb 12 2009 - [email protected]
|
|
63 |
- created 2.6 version based on SUNWpyyaml.spec.
|
|
64 |
* Fri Jan 09 2009 - [email protected]
|
|
65 |
- Bump to 3.08
|
|
66 |
* Mon Nov 21 2008 - [email protected]
|
|
67 |
- add copyright
|
|
68 |
- add license tag
|
|
69 |
- rename SFEpyyaml to SUNWpyyaml
|
|
70 |
* Fri Oct 31 2008 - [email protected]
|
|
71 |
- Bump to 3.06.
|
|
72 |
* Sat Apr 12 2008 - [email protected]
|
|
73 |
- created with 3.05.
|