SUNWpython26-setuptools.spec
author an230044
Mon, 27 Sep 2010 11:32:21 +0000
branchopensolaris-2009-06
changeset 20102 2d19c462bb98
parent 14198 0ae9c5c4287a
child 16280 462de9e707f7
permissions -rw-r--r--
6917569 CVE-2008-5824 libaudiofile contains heap-based buffer overflow in msadpcm.c Committing for Rohini because of svn issues on opensolaris2009.06 branch.

#
# spec file for package SUNWpython26-setuptools
#
# Copyright 2009 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.6
%use pst = python-setuptools.spec

Name:            SUNWpython26-setuptools
Summary:         %{pst.summary}
URL:             %{pst.url}
Version:         %{pst.version}
SUNW_BaseDir:    %{_basedir}
SUNW_Copyright:  SUNWpython-setuptools.copyright
BuildRoot:       %{_tmppath}/%{name}-%{version}-build
BuildRequires:   SUNWPython26-devel
Requires:        SUNWPython26

%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
* Mon Feb  2 2009 - [email protected]
- create based on SUNWpython25-setuptools.spec
* 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