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