rpms/wxGlade/FC-6 wxglade-0.5-docs_path.patch, NONE, 1.1 wxGlade.spec, 1.2, 1.3

ZC Miao (hellwolf) fedora-extras-commits at redhat.com
Thu Jul 19 01:22:34 UTC 2007


Author: hellwolf

Update of /cvs/extras/rpms/wxGlade/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30031/FC-6

Modified Files:
	wxGlade.spec 
Added Files:
	wxglade-0.5-docs_path.patch 
Log Message:
* Thu Jul 19 2007 ZC Miao <hellwolf.misty at gmail.com> - 0.5-6
- 248795 , patch for launch help docs correctly


wxglade-0.5-docs_path.patch:

--- NEW FILE wxglade-0.5-docs_path.patch ---
--- common.py.orig	2007-07-18 23:30:33.000000000 +0300
+++ common.py	2007-07-18 23:32:34.000000000 +0300
@@ -16,6 +16,9 @@
 # program path, set in wxglade.py
 wxglade_path = '.'
 
+# documentation path
+wxglade_docs_path = '/usr/share/doc/wxGlade-0.5'
+
 # widgets dictionary: each key is the name of some EditWidget class; the mapped
 # value is a 'factory' function which actually builds the object. Each of these
 # functions accept 3 parameters: the parent of the widget, the sizer by which
--- main.py.orig	2007-07-18 23:00:16.000000000 +0300
+++ main.py	2007-07-18 23:30:57.000000000 +0300
@@ -780,7 +780,7 @@
         self.about_box.ShowModal()
 
     def show_tutorial(self, event):
-        docs_path = os.path.join(common.wxglade_path, 'docs', 'index.html')
+        docs_path = os.path.join(common.wxglade_docs_path, 'docs', 'index.html')
         if wx.Platform == "__WXMAC__":
             os.system('open -a Help\ Viewer.app %s' % docs_path)
         else:


Index: wxGlade.spec
===================================================================
RCS file: /cvs/extras/rpms/wxGlade/FC-6/wxGlade.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wxGlade.spec	16 Apr 2007 07:08:21 -0000	1.2
+++ wxGlade.spec	19 Jul 2007 01:22:02 -0000	1.3
@@ -1,7 +1,7 @@
 Summary: 	A wxWidgets/wxPython/wxPerl GUI designer
 Name: 		wxGlade
 Version: 	0.5
-Release: 3%{?dist}
+Release: 6%{?dist}
 Source0: 	http://downloads.sourceforge.net/wxglade/%{name}-%{version}.tar.gz
 Source1:    wxglade.desktop
 Source2:    wxglade.png
@@ -14,6 +14,9 @@
 Requires: 	python >= 2.2
 Requires: 	wxPython >= 2.6
 
+# bug 248795
+Patch10: wxglade-0.5-docs_path.patch
+
 %description
 wxGlade is a GUI designer written in Python with the popular GUI
 toolkit wxPython, that helps you create wxWidgets/wxPython user
@@ -22,6 +25,8 @@
 
 %prep
 %setup -q
+%patch10 -p0 -b .docs_path
+
 
 %build
 # nothing to do
@@ -85,8 +90,11 @@
 
 
 %changelog
-* Mon Apr 16 2007 ZC Miao <hellwolf.misty at gmail.com> - 0.5-3
-- build for fc6
+* Thu Jul 19 2007 ZC Miao <hellwolf.misty at gmail.com> - 0.5-6
+- 248795 , patch for launch help docs correctly
+
+* Mon Apr 16 2007 ZC Miao <hellwolf.misty at gmail.com> - 0.5-5
+- update to fix EVR problem
 
 * Sun Apr 15 2007 ZC Miao <hellwolf.misty at gmail.com> - 0.5-2
 - file permissions with install command




More information about the fedora-extras-commits mailing list