2009-01-19 Brian Cameron <[email protected]>
authoryippi
Mon, 19 Jan 2009 17:36:43 +0000
changeset 14933 5a6e5b08dc39
parent 14932 e250b06d716c
child 14934 3d7458359d44
2009-01-19 Brian Cameron <[email protected]> * SUNWpython-setuptools.spec, SUNWpython25-setuptools.spec, base-specs/python-setuptools.spec, copyright/SUNWpython-setuptools.copyright: Move from spec-files-other. * SUNWgnome-python-desktop.spec, SUNWgnome-menu-editor.spec, SUNWdbus-bindings.spec, SUNWgnome-panel.spec, SUNWgnome-applets.spec, SUNWPython-extra.spec, SUNWgnome-a11y-libs.spec, SUNWlibgsf.spec, SUNWgnome-python-libs.spec, SUNWgst-python.spec, SUNWgnome-python-extras.spec, SUNWIPython.spec, SUNWgnome-games.spec, SUNWgnome-img-editor.spec, SUNWgtk-vnc.spec, SUNWpysqlite.spec, SUNWavahi-bridge-dsd.spec: SUNWgst-python25.spec, SUNWPython25-extra.spec, SUNWgnome-python25-libs.spec: Make all modules with Python interfaces depend on setuptools. Fixes bug #5795062.
ChangeLog
SUNWIPython.spec
SUNWPython-extra.spec
SUNWPython25-extra.spec
SUNWavahi-bridge-dsd.spec
SUNWdbus-bindings.spec
SUNWgnome-a11y-libs.spec
SUNWgnome-applets.spec
SUNWgnome-games.spec
SUNWgnome-img-editor.spec
SUNWgnome-menu-editor.spec
SUNWgnome-panel.spec
SUNWgnome-python-desktop.spec
SUNWgnome-python-extras.spec
SUNWgnome-python-libs.spec
SUNWgnome-python25-libs.spec
SUNWgst-python.spec
SUNWgst-python25.spec
SUNWgtk-vnc.spec
SUNWlibgsf.spec
SUNWpysqlite.spec
SUNWpython-setuptools.spec
SUNWpython25-setuptools.spec
base-specs/python-setuptools.spec
copyright/SUNWpython-setuptools.copyright
--- a/ChangeLog	Mon Jan 19 12:37:43 2009 +0000
+++ b/ChangeLog	Mon Jan 19 17:36:43 2009 +0000
@@ -1,7 +1,26 @@
+2009-01-19  Brian Cameron  <[email protected]>
+
+	* SUNWpython-setuptools.spec, SUNWpython25-setuptools.spec,
+	  base-specs/python-setuptools.spec,
+	  copyright/SUNWpython-setuptools.copyright:
+	  Move from spec-files-other.
+	* SUNWgnome-python-desktop.spec, SUNWgnome-menu-editor.spec,
+	  SUNWdbus-bindings.spec, SUNWgnome-panel.spec,
+	  SUNWgnome-applets.spec, SUNWPython-extra.spec,
+	  SUNWgnome-a11y-libs.spec, SUNWlibgsf.spec,
+	  SUNWgnome-python-libs.spec, SUNWgst-python.spec,
+	  SUNWgnome-python-extras.spec, SUNWIPython.spec,
+	  SUNWgnome-games.spec, SUNWgnome-img-editor.spec,
+	  SUNWgtk-vnc.spec, SUNWpysqlite.spec, SUNWavahi-bridge-dsd.spec:
+	  SUNWgst-python25.spec, SUNWPython25-extra.spec,
+	  SUNWgnome-python25-libs.spec: Make all modules with Python interfaces
+	  depend on setuptools.  Fixes bug #5795062.
+
 2009-01-19  Ghee Teo  <[email protected]>
 
 	Bump to 2.25.3.
-	Added gnome-session-16-stop-ice-negotiation as code has not released as tarball yet.
+	Added gnome-session-16-stop-ice-negotiation as code has not released as
+	tarball yet.
 	To fix bugster#6760675(bugzilla 563354).
 	* base-specs/gnome-session.spec:
 	* patches/gnome-session-16-stop-ice-negotiation.diff:
@@ -9,7 +28,7 @@
 2009-01-19  henry  <[email protected]>
 
 	* patches/gnome-system-monitor-03-zfs.diff:
-           Add the patch file to patches/
+	  Add the patch file to patches/
 
 2009-01-19  Takao Fujiwara  <[email protected]>
 
@@ -20,9 +39,9 @@
 2009-01-19  Wang Xin  <[email protected]>
 
 	* base-specs/gnome-power-manager.spec: Bump to 2.24.3 and remove
-	11-no-daemon.diff.
+	  11-no-daemon.diff.
 	* patches/gnome-power-manager-10-brightness-progressbar.diff: Updated to
-	fix build problem.
+	  fix build problem.
 	* patches/gnome-power-manager-11-no-daemon.diff: Removed.
 
 2009-01-19  Jeff Cai <[email protected]>
@@ -32,9 +51,9 @@
 
 2009-01-19  Jerry Tan <[email protected]>
 
-        * ext-sources/tracker-firefox-history-xesam.xpi: 
-        updated to avoid version error
- 
+	* ext-sources/tracker-firefox-history-xesam.xpi: 
+	  updated to avoid version error
+
 2009-01-16  Brian Cameron  <[email protected]>
 
 	* SUNWgst-python.spec: Fix packaging so it builds.
@@ -42,7 +61,8 @@
 2009-01-16  Brian Cameron  <[email protected]>
 
 	* ext-sources/gnome-cleanup:  Update so that the script backs up the
-	  user's configuration files to a tarball in /tmp.
+	  user's configuration files to a tarball in /tmp.  Fixes bug
+	  #6795044.
 
 2009-01-16  Christian Kelly  <[email protected]>
 
@@ -92,7 +112,7 @@
 
 	* base-specs/enchant.spec:
 	* patches/enchant-03-zemberek-segv.diff: Added to avoid segv 
-	when zemberek server doesn't connect. 6793551.
+	  when zemberek server doesn't connect. 6793551.
 	* patches/enchant-04-ordering.diff: Added myspell is default.
 
 2009-01-14  Wang Xin  <[email protected]>
--- a/SUNWIPython.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWIPython.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -25,6 +25,7 @@
 
 Requires: SUNWPython
 BuildRequires: SUNWPython-devel
+BuildRequires: SUNWpython-setuptools
 
 %prep
 rm -rf %name-%version
--- a/SUNWPython-extra.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWPython-extra.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -26,6 +26,7 @@
 Requires: SUNWlexpt
 BuildRequires: SUNWsfwhea
 BuildRequires: SUNWPython-devel
+BuildRequires: SUNWpython-setuptools
 
 %prep
 rm -rf %name-%version
--- a/SUNWPython25-extra.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWPython25-extra.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -26,6 +26,7 @@
 Requires: SUNWlexpt
 BuildRequires: SUNWsfwhea
 BuildRequires: SUNWPython25-devel
+BuildRequires: SUNWpython25-setuptools
 
 %prep
 rm -rf %name-%version
--- a/SUNWavahi-bridge-dsd.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWavahi-bridge-dsd.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -27,6 +27,7 @@
 BuildRequires:  SUNWgnome-base-libs-devel
 BuildRequires:  SUNWgnome-python-libs-devel
 BuildRequires:  SUNWdbus-bindings-devel
+BuildRequires:  SUNWpython-setuptools
 Requires:       SUNWgnome-base-libs
 Requires:       SUNWgnome-python-libs
 Requires:       SUNWdbus-bindings
--- a/SUNWdbus-bindings.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWdbus-bindings.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -41,6 +41,7 @@
 BuildRequires:	SUNWlxml
 BuildRequires:  SUNWsfwhea
 BuildRequires:  SUNWPython-extra
+BuildRequires:  SUNWpython-setuptools
 
 %package devel
 Summary:                 %{summary} - development files
--- a/SUNWgnome-a11y-libs.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-a11y-libs.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -54,6 +54,7 @@
 BuildRequires: SUNWgnome-libs-devel
 BuildRequires: SUNWgnome-panel-devel
 BuildRequires: SUNWgnome-component-devel
+BuildRequires: SUNWpython-setuptools
 
 %package root
 Summary:                 %{summary} - / filesystem
--- a/SUNWgnome-applets.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-applets.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -30,6 +30,7 @@
 BuildRequires: SUNWgnome-vfs-devel
 BuildRequires: SUNWgnome-panel-devel
 BuildRequires: SUNWgnome-python-desktop-devel
+BuildRequires: SUNWpython-setuptools
 BuildRequires: SUNWsolnm
 BuildRequires: SUNWarc
 BuildRequires: SUNWevolution-data-server-devel
--- a/SUNWgnome-games.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-games.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -27,6 +27,7 @@
 %include default-depend.inc
 BuildRequires: SUNWlibrsvg-devel
 BuildRequires: SUNWPython-devel
+BuildRequires: SUNWpython-setuptools
 BuildRequires: SUNWgnome-libs-devel
 BuildRequires: SUNWgnome-vfs-devel
 BuildRequires: SUNWgnome-config-devel
--- a/SUNWgnome-img-editor.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-img-editor.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -47,6 +47,7 @@
 BuildRequires: SUNWlibrsvg-devel
 BuildRequires: SUNWpng-devel
 BuildRequires: SUNWgnome-python-libs-devel
+BuildRequires: SUNWpython-setuptools
 BuildRequires: SUNWgnome-pdf-viewer-devel
 BuildRequires: SUNWgnome-libs-devel
 BuildRequires: SUNWgnome-base-libs-devel
--- a/SUNWgnome-menu-editor.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-menu-editor.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -28,6 +28,7 @@
 BuildRequires: SUNWgnome-libs-devel
 BuildRequires: SUNWgnome-python-libs-devel
 BuildRequires: SUNWPython
+BuildRequires: SUNWpython-setuptools
 
 %if %build_l10n
 %package l10n
--- a/SUNWgnome-panel.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-panel.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -45,6 +45,7 @@
 BuildRequires: SUNWlxml-python
 BuildRequires: SUNWlibrsvg-devel
 BuildRequires: SUNWlibsexy-devel
+BuildRequires: SUNWpython-setuptools
 Requires: SUNWlibsexy
 Requires: SUNWgnome-panel-root
 Requires: SUNWgnome-libs
--- a/SUNWgnome-python-desktop.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-python-desktop.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -63,6 +63,7 @@
 BuildRequires: SUNWgnome-wm-devel
 BuildRequires: SUNWgnome-gtksourceview-devel
 BuildRequires: SUNWlibgtop-devel
+BuildRequires: SUNWpython-setuptools
 
 %package devel
 Summary:           %{summary} - development files
--- a/SUNWgnome-python-extras.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-python-extras.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -28,6 +28,7 @@
 BuildRequires:           SUNWgnome-python-libs-devel
 BuildRequires:           SUNWfirefox-devel
 BuildRequires:           SUNWgksu-devel
+BuildRequires:           SUNWpython-setuptools
 
 %include default-depend.inc
 
--- a/SUNWgnome-python-libs.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-python-libs.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -56,6 +56,7 @@
 BuildRequires: SUNWgnome-component-devel
 BuildRequires: SUNWgnome-config-devel
 BuildRequires: SUNWgnome-gtksourceview-devel
+BuildRequires: SUNWpython-setuptools
 
 %package devel
 Summary:           %{summary} - development files
--- a/SUNWgnome-python25-libs.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgnome-python25-libs.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -57,6 +57,7 @@
 BuildRequires: SUNWgnome-component-devel
 BuildRequires: SUNWgnome-config-devel
 BuildRequires: SUNWgnome-gtksourceview-devel
+BuildRequires: SUNWpython25-setuptools
 
 %package devel
 Summary:           %{summary} - development files
--- a/SUNWgst-python.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgst-python.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -25,6 +25,7 @@
 Requires:                SUNWgnome-media
 BuildRequires:           SUNWgnome-python-libs-devel
 BuildRequires:           SUNWgnome-media-devel
+BuildRequires:           SUNWpython-setuptools
 
 %package devel		
 Summary:                 %{summary} - development files
--- a/SUNWgst-python25.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgst-python25.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -25,6 +25,7 @@
 Requires:                SUNWgnome-media
 BuildRequires:           SUNWgnome-python25-libs-devel
 BuildRequires:           SUNWgnome-media-devel
+BuildRequires:           SUNWpython25-setuptools
 
 %package devel		
 Summary:                 %{summary} - development files
--- a/SUNWgtk-vnc.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWgtk-vnc.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -60,6 +60,7 @@
 Requires:      SUNWPython
 Requires:      SUNWgnome-python-libs
 BuildRequires: SUNWPython-devel
+BuildRequires: SUNWpython-setuptools
 BuildRequires: SUNWgnome-python-libs-devel
 
 %package python25
@@ -70,6 +71,7 @@
 Requires:      SUNWPython25
 Requires:      SUNWgnome-python25-libs
 BuildRequires: SUNWPython25-devel
+BuildRequires: SUNWpython25-setuptools
 BuildRequires: SUNWgnome-python25-libs-devel
 
 %prep
--- a/SUNWlibgsf.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWlibgsf.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -44,6 +44,7 @@
 BuildRequires: SUNWgnome-vfs-devel
 BuildRequires: SUNWlxml-devel
 BuildRequires: SUNWgnome-python-libs-devel
+BuildRequires: SUNWpython-setuptools
 
 %package root
 Summary:                 %{summary} - / filesystem
--- a/SUNWpysqlite.spec	Mon Jan 19 12:37:43 2009 +0000
+++ b/SUNWpysqlite.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -25,6 +25,7 @@
 Requires:                SUNWsqlite3
 BuildRequires:           SUNWPython-devel
 BuildRequires:           SUNWsqlite3
+BuildRequires:           SUNWpython-setuptools
 
 %include default-depend.inc
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SUNWpython-setuptools.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -0,0 +1,84 @@
+#
+# spec file for package SUNWpython-setuptools
+#
+# Copyright 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Owner: dkenny
+#
+
+%include Solaris.inc
+
+%define pythonver 2.4
+%use pst = python-setuptools.spec
+
+Name:            SUNWpython-setuptools
+Summary:         %{pst.summary}
+URL:             %{pst.url}
+Version:         %{pst.version}
+SUNW_BaseDir:    %{_basedir}
+SUNW_Copyright:  %{name}.copyright
+BuildRoot:       %{_tmppath}/%{name}-%{version}-build
+BuildRequires:   SUNWPython-devel
+Requires:        SUNWPython
+
+%include default-depend.inc
+
+%prep
+rm -rf %name-%version
+mkdir -p %name-%version
+%pst.prep -d %name-%version
+
+%build
+%pst.build -d %name-%version
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%pst.install -d %name-%version
+
+rm $RPM_BUILD_ROOT%{_bindir}/easy_install
+
+%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/easy_install-%{pythonver}
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/python%{pythonver}/vendor-packages/setuptools-%{pst.tarball_version}-py%{pythonver}.egg-info
+%{_libdir}/python%{pythonver}/vendor-packages/setuptools/*
+%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.pyc
+%{_libdir}/python%{pythonver}/vendor-packages/easy_install.pyc
+%{_libdir}/python%{pythonver}/vendor-packages/site.pyc
+%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.py
+%{_libdir}/python%{pythonver}/vendor-packages/easy_install.py
+%{_libdir}/python%{pythonver}/vendor-packages/site.py
+%doc -d setuptools-%{pst.tarball_version} PKG-INFO
+%doc(bzip2) -d setuptools-%{pst.tarball_version} README.txt
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/doc
+
+%changelog
+* Tue Nov 25 2008 - [email protected]
+- use a base spec file
+- delete /usr/bin/easy_install to avoid conflict with SUNWpython25-setuptools
+* Tue Nov 18 2008 - [email protected]
+- Fix installation directory problem.
+* Wed Oct 01 2008 - [email protected]
+- Bump to 0.6.9.
+* Tue Sep 16 2008 - [email protected]
+- Update copyright
+* Wed May 14 2008 - [email protected]
+- Add SUWNPython dependency.
+* Mon May 05 2008 - [email protected]
+- Bump to 0.6.8
+* Tue Mar 11 2008 - [email protected]
+- Use %tarball_version as appropriate in %files and %pre and %install.
+* Fri Mar 07 2008 - [email protected]
+- Change package version to be numeric.
+* Tue Feb 12 2008 - [email protected]
+- initial version
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SUNWpython25-setuptools.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -0,0 +1,82 @@
+#
+# spec file for package SUNWpython25-setuptools
+#
+# Copyright 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Owner: dkenny
+#
+
+%include Solaris.inc
+
+%define pythonver 2.5
+%use pst = python-setuptools.spec
+
+Name:            SUNWpython25-setuptools
+Summary:         %{pst.summary}
+URL:             %{pst.url}
+Version:         %{pst.version}
+SUNW_BaseDir:    %{_basedir}
+SUNW_Copyright:  SUNWpython-setuptools.copyright
+BuildRoot:       %{_tmppath}/%{name}-%{version}-build
+BuildRequires:   SUNWPython25-devel
+Requires:        SUNWPython25
+
+%include default-depend.inc
+
+%prep
+rm -rf %name-%version
+mkdir -p %name-%version
+%pst.prep -d %name-%version
+
+%build
+%pst.build -d %name-%version
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%pst.install -d %name-%version
+
+%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/easy_install
+%{_bindir}/easy_install-%{pythonver}
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/python%{pythonver}/vendor-packages/setuptools-%{pst.tarball_version}-py%{pythonver}.egg-info
+%{_libdir}/python%{pythonver}/vendor-packages/setuptools/*
+%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.pyc
+%{_libdir}/python%{pythonver}/vendor-packages/easy_install.pyc
+%{_libdir}/python%{pythonver}/vendor-packages/site.pyc
+%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.py
+%{_libdir}/python%{pythonver}/vendor-packages/easy_install.py
+%{_libdir}/python%{pythonver}/vendor-packages/site.py
+%doc -d setuptools-%{pst.tarball_version} PKG-INFO
+%doc(bzip2) -d setuptools-%{pst.tarball_version} README.txt
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/doc
+
+%changelog
+* Tue Nov 25 2008 - [email protected]
+- create based on SUNWpython-setuptools.spec
+* Tue Nov 18 2008 - [email protected]
+- Fix installation directory problem.
+* Wed Oct 01 2008 - [email protected]
+- Bump to 0.6.9.
+* Tue Sep 16 2008 - [email protected]
+- Update copyright
+* Wed May 14 2008 - [email protected]
+- Add SUWNPython dependency.
+* Mon May 05 2008 - [email protected]
+- Bump to 0.6.8
+* Tue Mar 11 2008 - [email protected]
+- Use %tarball_version as appropriate in %files and %pre and %install.
+* Fri Mar 07 2008 - [email protected]
+- Change package version to be numeric.
+* Tue Feb 12 2008 - [email protected]
+- initial version
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/base-specs/python-setuptools.spec	Mon Jan 19 17:36:43 2009 +0000
@@ -0,0 +1,62 @@
+#
+# base spec file for python-setuptools
+#
+# Copyright 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Owner: dkenny
+#
+
+%define name python-%oname
+%define tarball_version 0.6c9
+
+Name:            setuptools
+Summary:         Download, build, install, upgrade, and uninstall Python packages easily
+URL:             http://peak.telecommunity.com/DevCenter/setuptools
+Version:         0.6.9
+Source0:         http://cheeseshop.python.org/packages/source/s/%{name}/%{name}-%{tarball_version}.tar.gz
+BuildRoot:       %{_tmppath}/%{name}-%{version}-build
+Requires:        Python
+
+%{?!pythonver:%define pythonver 2.4}
+
+%prep
+%setup -q -n %name-%tarball_version
+
+%build
+python%{pythonver} setup.py build
+perl -pi -e 's|^#!python|#!/usr/bin/python%{pythonver}|' easy_install.py setuptools/command/easy_install.py
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python%{pythonver} setup.py install --prefix=%_prefix --root=$RPM_BUILD_ROOT --old-and-unmanageable
+
+# move to vendor-packages
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
+mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
+   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
+rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%changelog
+* Tue Nov 25 2008 - [email protected]
+- split from SUNWpython-setuptools.spec
+* Tue Nov 18 2008 - [email protected]
+- Fix installation directory problem.
+* Wed Oct 01 2008 - [email protected]
+- Bump to 0.6.9.
+* Tue Sep 16 2008 - [email protected]
+- Update copyright
+* Wed May 14 2008 - [email protected]
+- Add SUWNPython dependency.
+* Mon May 05 2008 - [email protected]
+- Bump to 0.6.8
+* Tue Mar 11 2008 - [email protected]
+- Use %tarball_version as appropriate in %files and %pre and %install.
+* Fri Mar 07 2008 - [email protected]
+- Change package version to be numeric.
+* Tue Feb 12 2008 - [email protected]
+- initial version
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/copyright/SUNWpython-setuptools.copyright	Mon Jan 19 17:36:43 2009 +0000
@@ -0,0 +1,18 @@
+Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+Use is subject to license terms.
+
+--------------------------------------------------------------------
+
+Licensing and copyright information for %{name}
+
+  License: PSF 
+  License: Zope Public License
+
+  You can find more information in the following directory:
+  %{_pkg_docdir}
+
+    PKG-INFO: Package informaiton about Setuptools
+    README.txt.bz2: More informaiton about Setuptools
+
+  The sources of setuptools-%{version} were downloaded
+  from %{SOURCE0.url}