SUNWdiveintopython.spec revision 18861
10430N/A#
10430N/A# spec file for package SUNWdiveintopython
10430N/A#
10430N/A# Copyright 2008 Sun Microsystems, Inc.
10430N/A# This file and all modifications and additions to the pristine
10430N/A# package are under the same license as the package itself.
10430N/A#
10430N/A%define owner dermot
10430N/A#
17185N/A
10430N/A%include Solaris.inc
10430N/A
10430N/A%define OSR 10597:5.4
10430N/A
10430N/AName: SUNWdiveintopython
10430N/AIPS_package_name: documentation/diveintopython
10430N/AMeta(info.classification): %{classification_prefix}:Development/Python
10430N/ALicense: GNU Free Documentation License, v1.1
10430N/AVendor: diveintopython.org
10430N/ASummary: A book on Python programming
10430N/AVersion: 5.4
18688N/ASource: http://www.diveintopython.org/download/diveintopython-html-%{version}.zip
18688N/ASource1: diveintopython.desktop
10430N/ASUNW_BaseDir: %{_basedir}
10430N/ASUNW_Copyright: %{name}.copyright
10430N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12760N/A
19090N/APatch1: diveintopython-01-py26.diff
10430N/A%include default-depend.inc
10430N/A# SUNWgnome-libs needed for gnome-open command
20857N/ARequires: SUNWgnome-libs
20239N/A# SUNWgnome-themes needed for gnome-devel icon
10430N/ARequires: SUNWgnome-themes-only
20239N/A
20239N/A
18048N/A%prep
18048N/A# source only needed in build area for %doc files
18993N/A%setup -q -n diveintopython-%{version}
10430N/A%patch1 -p1
10430N/A
10430N/A
10430N/A%install
10430N/Amkdir -p $RPM_BUILD_ROOT/usr/share/doc/diveintopython
20857N/Acp -r ./* $RPM_BUILD_ROOT/usr/share/doc/diveintopython
10430N/Amkdir -p $RPM_BUILD_ROOT/usr/share/applications
10430N/Acd $RPM_BUILD_ROOT/usr/share/applications
10430N/Acp %SOURCE1 .
10430N/A
10430N/A
10430N/A%clean
10430N/Arm -rf $RPM_BUILD_ROOT
10430N/A
10430N/A
10430N/A%files
10430N/A%defattr (-, root, other)
10430N/A%dir %attr (0755, root, sys) %{_datadir}
10430N/A%dir %attr (0755, root, other) %{_datadir}/doc
10430N/A%dir %attr (0755, root, other) %{_datadir}/doc/diveintopython
10430N/A%{_datadir}/doc/diveintopython/*
19073N/A%dir %attr (0755, root, other) %{_datadir}/applications
10430N/A%{_datadir}/applications/diveintopython.desktop
10430N/A%doc -d html/appendix fdl.html
10430N/A%doc -d html/appendix fdl_aggregation.html
19073N/A%doc -d html/appendix fdl_applicability.html
10430N/A%doc -d html/appendix fdl_collections.html
10430N/A%doc -d html/appendix fdl_combining.html
10430N/A%doc -d html/appendix fdl_copying.html
10430N/A%doc -d html/appendix fdl_copyinginquantity.html
10430N/A%doc -d html/appendix fdl_future.html
10430N/A%doc -d html/appendix fdl_howto.html
10430N/A%doc -d html/appendix fdl_modifications.html
10430N/A%doc -d html/appendix fdl_termination.html
10430N/A%doc -d html/appendix fdl_translation.html
10430N/A%doc -d py LICENSE.txt
10430N/A
10430N/A
10430N/A%changelog
10430N/A* Wen Feb 10 2010 - yuntong.jin@sun.com
10430N/A- Refix Bug 13805 SUNWdiveintopython python interpreters path issue with osol_130
10430N/A* Tue Jan 12 2009 - yuntong.jin@sun.com
10430N/A- Use python2.6 explicity in py/kgp/kgp.py
10430N/A* Mon Nov 24 2008 - dermot.mccluskey@sun.com
14389N/A- Initial version.
14389N/A