[python-spiffgtkwidgets/f16] Initial import

leamas leamas at fedoraproject.org
Mon May 7 19:59:12 UTC 2012


commit df541a13b74ccb2201d9837feba7863b0b64fc93
Author: Alec Leamas <alec at tests.notat.diaspora.com>
Date:   Mon May 7 21:56:53 2012 +0200

    Initial import

 59a713f                              |  Bin 0 -> 107818 bytes
 python-spiffgtkwidgets-fsf-fix.patch |   52 +++++++++++++++++++++++++++++
 python-spiffgtkwidgets.spec          |   60 ++++++++++++++++++++++++++++++++++
 3 files changed, 112 insertions(+), 0 deletions(-)
---
diff --git a/59a713f b/59a713f
new file mode 100644
index 0000000..00ed40e
Binary files /dev/null and b/59a713f differ
diff --git a/python-spiffgtkwidgets-fsf-fix.patch b/python-spiffgtkwidgets-fsf-fix.patch
new file mode 100644
index 0000000..30b9f27
--- /dev/null
+++ b/python-spiffgtkwidgets-fsf-fix.patch
@@ -0,0 +1,52 @@
+diff --git a/src/SpiffGtkWidgets/Calendar/CanvasDayRange.py b/src/SpiffGtkWidgets/Calendar/CanvasDayRange.py
+index bb6c199..a708caf 100644
+--- a/src/SpiffGtkWidgets/Calendar/CanvasDayRange.py
++++ b/src/SpiffGtkWidgets/Calendar/CanvasDayRange.py
+@@ -13,7 +13,7 @@
+ #
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA     
++# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA     
+ #
+ ##############################################################################
+ 
+diff --git a/src/SpiffGtkWidgets/FormEditor/Elements/Element.py b/src/SpiffGtkWidgets/FormEditor/Elements/Element.py
+index 797a380..b1e70e4 100644
+--- a/src/SpiffGtkWidgets/FormEditor/Elements/Element.py
++++ b/src/SpiffGtkWidgets/FormEditor/Elements/Element.py
+@@ -15,7 +15,7 @@
+ #
+ # You should have received a copy of the GNU Lesser General Public License
+ # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
+ import gobject, gtk, pango
+ 
+ class Element(gtk.EventBox):
+diff --git a/src/SpiffGtkWidgets/FormEditor/FloatBox.py b/src/SpiffGtkWidgets/FormEditor/FloatBox.py
+index 661a39a..dcaae01 100644
+--- a/src/SpiffGtkWidgets/FormEditor/FloatBox.py
++++ b/src/SpiffGtkWidgets/FormEditor/FloatBox.py
+@@ -16,7 +16,7 @@
+ #
+ # You should have received a copy of the GNU Lesser General Public License
+ # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
+ import gobject, gtk
+ from gtk import gdk
+ 
+diff --git a/src/SpiffGtkWidgets/color.py b/src/SpiffGtkWidgets/color.py
+index 0ecd3af..4eede76 100644
+--- a/src/SpiffGtkWidgets/color.py
++++ b/src/SpiffGtkWidgets/color.py
+@@ -14,7 +14,7 @@
+ #
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA     
++# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA     
+ #
+ ##############################################################################
+ 
diff --git a/python-spiffgtkwidgets.spec b/python-spiffgtkwidgets.spec
new file mode 100644
index 0000000..0f76ba2
--- /dev/null
+++ b/python-spiffgtkwidgets.spec
@@ -0,0 +1,60 @@
+%global git 59a713f
+
+Summary:    Collection of useful Gtk widgets
+Name:       python-spiffgtkwidgets
+Version:    0.2.0
+Release:    2.%{git}%{?dist}
+            # src/SpiffGtkWidgets/FormEditor/Elements/Element.py
+            # and src/SpiffGtkWidgets/FormEditor/FloatBox.py
+            # are LGPLv3, all other AGPLv3
+License:    AGPLv3 and LGPLv3
+Group:      Development/Libraries
+URL:        https://github.com/knipknap/SpiffGtkWidgets
+BuildArch:  noarch
+Source0:    https://github.com/knipknap/SpiffGtkWidgets/tarball/%{git}
+            # https://github.com/knipknap/SpiffGtkWidgets/issues/4
+Patch0:     %{name}-fsf-fix.patch
+
+Requires:   hippo-canvas-python
+Requires:   pygtk2
+
+BuildRequires: python-setuptools-devel
+BuildRequires: python2-devel
+
+
+%description
+Spiff Gtk Widgets provides a collection of Gtk widgets
+- An annotated text view and a calendar similar to Google's online calendar.
+
+
+%prep
+ln -sf %{SOURCE0} source0.tar.gz
+%global SOURCE0 source0.tar.gz
+%setup -q -n knipknap-SpiffGtkWidgets-%{git}
+%patch0 -p1
+
+
+%build
+%{__python} setup.py --quiet build
+
+
+%install
+%{__python} setup.py --quiet install -O1 --skip-build --root %{buildroot}
+
+
+%files
+%doc AUTHORS COPYING ChangeLog README TODO
+%{python_sitelib}/SpiffGtkWidgets
+%{python_sitelib}/*.egg-info
+
+
+%changelog
+* Fri Apr 27 2012 Alec Leamas <alec at nowhere.com>   0.2.0-2.59a713f
+- Updating to last release.
+- Removing %%clean, %%buildroot etc.
+- Patching illegal fsf addresses.
+- Updating retrieve source comment.
+
+* Thu Aug 18 2011 Matthias Saou <matthias at saou.eu> 0.2.0-1
+- Initial RPM release.
+


More information about the scm-commits mailing list