Solaris/SUNWPython-extra.spec
author laca
Fri, 28 Oct 2005 01:33:57 +0000
changeset 6200 19ff8721b8f2
parent 6195 b3b577f4eca0
child 6214 92e130976803
permissions -rw-r--r--
add %changelog entries (:

#
# spec file for package SUNWPython-extra
#
# includes module(s): Pyrex, pyxml
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%include Solaris.inc
%use python = SUNWPython.spec
%use pyrex = Pyrex.spec
%use pyxml = pyxml.spec

Name:                    SUNWPython-extra
Summary:                 Supplemental Python libraries and utilities
Version:                 %{python.version}
SUNW_BaseDir:            %{_basedir}
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWPython
Requires: SUNWlexpt
BuildRequires: SUNWsfwhea
BuildRequires: SUNWPython-devel

%prep
rm -rf %name-%version
mkdir %name-%version
%pyrex.prep -d %name-%version
%pyxml.prep -d %name-%version

%install
rm -rf $RPM_BUILD_ROOT
%pyrex.install -d %name-%version
%pyxml.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}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/*


%changelog
* Thu Oct 27 2005 - [email protected]
- add PyXML
- move pyspi to SUNWgnome-python-libs
- change permissions to root:bin

* Thu Oct 20 2005 - [email protected]
- Use %{default_pkg_version} instead of python version.

* Wed Oct 19 2005 - [email protected]
- Initial version.