14198
|
1 |
#
|
|
2 |
# spec file for package SUNWpython26-setuptools
|
|
3 |
#
|
|
4 |
# Copyright 2009 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: dkenny
|
|
9 |
#
|
|
10 |
|
|
11 |
%include Solaris.inc
|
|
12 |
|
|
13 |
%define pythonver 2.6
|
|
14 |
%use pst = python-setuptools.spec
|
|
15 |
|
|
16 |
Name: SUNWpython26-setuptools
|
|
17 |
Summary: %{pst.summary}
|
|
18 |
URL: %{pst.url}
|
|
19 |
Version: %{pst.version}
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
|
21 |
SUNW_Copyright: SUNWpython-setuptools.copyright
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
BuildRequires: SUNWPython26-devel
|
|
24 |
Requires: SUNWPython26
|
|
25 |
|
|
26 |
%include default-depend.inc
|
|
27 |
|
|
28 |
%prep
|
|
29 |
rm -rf %name-%version
|
|
30 |
mkdir -p %name-%version
|
|
31 |
%pst.prep -d %name-%version
|
|
32 |
|
|
33 |
%build
|
|
34 |
%pst.build -d %name-%version
|
|
35 |
|
|
36 |
%install
|
|
37 |
rm -rf $RPM_BUILD_ROOT
|
|
38 |
%pst.install -d %name-%version
|
|
39 |
|
|
40 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
41 |
|
|
42 |
%clean
|
|
43 |
rm -rf $RPM_BUILD_ROOT
|
|
44 |
|
|
45 |
%files
|
|
46 |
%defattr(-,root,bin)
|
|
47 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
48 |
%{_bindir}/easy_install
|
|
49 |
%{_bindir}/easy_install-%{pythonver}
|
|
50 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
51 |
%{_libdir}/python%{pythonver}/vendor-packages/setuptools-%{pst.tarball_version}-py%{pythonver}.egg-info
|
|
52 |
%{_libdir}/python%{pythonver}/vendor-packages/setuptools/*
|
|
53 |
%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.pyc
|
|
54 |
%{_libdir}/python%{pythonver}/vendor-packages/easy_install.pyc
|
|
55 |
%{_libdir}/python%{pythonver}/vendor-packages/site.pyc
|
|
56 |
%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.py
|
|
57 |
%{_libdir}/python%{pythonver}/vendor-packages/easy_install.py
|
|
58 |
%{_libdir}/python%{pythonver}/vendor-packages/site.py
|
|
59 |
%doc -d setuptools-%{pst.tarball_version} PKG-INFO
|
|
60 |
%doc(bzip2) -d setuptools-%{pst.tarball_version} README.txt
|
|
61 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
62 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
63 |
|
|
64 |
%changelog
|
|
65 |
* Mon Feb 2 2009 - [email protected]
|
|
66 |
- create based on SUNWpython25-setuptools.spec
|
|
67 |
* Tue Nov 25 2008 - [email protected]
|
|
68 |
- create based on SUNWpython-setuptools.spec
|
|
69 |
* Tue Nov 18 2008 - [email protected]
|
|
70 |
- Fix installation directory problem.
|
|
71 |
* Wed Oct 01 2008 - [email protected]
|
|
72 |
- Bump to 0.6.9.
|
|
73 |
* Tue Sep 16 2008 - [email protected]
|
|
74 |
- Update copyright
|
|
75 |
* Wed May 14 2008 - [email protected]
|
|
76 |
- Add SUWNPython dependency.
|
|
77 |
* Mon May 05 2008 - [email protected]
|
|
78 |
- Bump to 0.6.8
|
|
79 |
* Tue Mar 11 2008 - [email protected]
|
|
80 |
- Use %tarball_version as appropriate in %files and %pre and %install.
|
|
81 |
* Fri Mar 07 2008 - [email protected]
|
|
82 |
- Change package version to be numeric.
|
|
83 |
* Tue Feb 12 2008 - [email protected]
|
|
84 |
- initial version
|