SUNWpython-setuptools.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 14173 fe63d4719576
child 15077 f88cea34780d
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14173
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
#
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
# spec file for package SUNWpython-setuptools
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
#
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
# package are under the same license as the package itself.
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
#
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
# Owner: dkenny
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
#
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
%include Solaris.inc
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
%define pythonver 2.4
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
%use pst = python-setuptools.spec
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    15
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    16
Name:            SUNWpython-setuptools
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    17
Summary:         %{pst.summary}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    18
URL:             %{pst.url}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    19
Version:         %{pst.version}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    20
SUNW_BaseDir:    %{_basedir}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    21
SUNW_Copyright:  %{name}.copyright
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    22
BuildRoot:       %{_tmppath}/%{name}-%{version}-build
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    23
BuildRequires:   SUNWPython-devel
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    24
Requires:        SUNWPython
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    25
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    26
%include default-depend.inc
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    27
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    28
%prep
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    29
rm -rf %name-%version
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    30
mkdir -p %name-%version
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    31
%pst.prep -d %name-%version
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    32
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    33
%build
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    34
%pst.build -d %name-%version
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    35
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    36
%install
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    37
rm -rf $RPM_BUILD_ROOT
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    38
%pst.install -d %name-%version
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    39
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    40
rm $RPM_BUILD_ROOT%{_bindir}/easy_install
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    41
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    42
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    43
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    44
%clean
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    45
rm -rf $RPM_BUILD_ROOT
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    46
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    47
%files
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    48
%defattr(-,root,bin)
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    49
%dir %attr (0755, root, bin) %{_bindir}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    50
%{_bindir}/easy_install-%{pythonver}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    51
%dir %attr (0755, root, bin) %{_libdir}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    52
%{_libdir}/python%{pythonver}/vendor-packages/setuptools-%{pst.tarball_version}-py%{pythonver}.egg-info
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    53
%{_libdir}/python%{pythonver}/vendor-packages/setuptools/*
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    54
%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.pyc
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    55
%{_libdir}/python%{pythonver}/vendor-packages/easy_install.pyc
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    56
%{_libdir}/python%{pythonver}/vendor-packages/site.pyc
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    57
%{_libdir}/python%{pythonver}/vendor-packages/pkg_resources.py
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    58
%{_libdir}/python%{pythonver}/vendor-packages/easy_install.py
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    59
%{_libdir}/python%{pythonver}/vendor-packages/site.py
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    60
%doc -d setuptools-%{pst.tarball_version} PKG-INFO
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    61
%doc(bzip2) -d setuptools-%{pst.tarball_version} README.txt
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    62
%dir %attr (0755, root, sys) %{_datadir}
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    63
%dir %attr (0755, root, other) %{_datadir}/doc
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    64
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    65
%changelog
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    66
* Tue Nov 25 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    67
- use a base spec file
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    68
- delete /usr/bin/easy_install to avoid conflict with SUNWpython25-setuptools
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    69
* Tue Nov 18 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    70
- Fix installation directory problem.
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    71
* Wed Oct 01 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    72
- Bump to 0.6.9.
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    73
* Tue Sep 16 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    74
- Update copyright
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    75
* Wed May 14 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    76
- Add SUWNPython dependency.
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    77
* Mon May 05 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    78
- Bump to 0.6.8
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    79
* Tue Mar 11 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    80
- Use %tarball_version as appropriate in %files and %pre and %install.
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    81
* Fri Mar 07 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    82
- Change package version to be numeric.
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    83
* Tue Feb 12 2008 - [email protected]
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    84
- initial version