From a719a4074d8c24c7d000de2b32e77ffd533a635cb86c73c0b09ee751b6695488 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 7 Sep 2012 21:01:28 +0000 Subject: [PATCH 1/2] Accepting request 132793 from GNOME:Next Starting to push GNOME:Next... OBS-URL: https://build.opensuse.org/request/show/132793 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gtk?expand=0&rev=25 --- python-gtk.spec | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/python-gtk.spec b/python-gtk.spec index 778b145..d82d9ec 100644 --- a/python-gtk.spec +++ b/python-gtk.spec @@ -1,7 +1,7 @@ # # spec file for package python-gtk # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,12 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: python-gtk %define _name pygtk -BuildRequires: fdupes libglade2-devel python-cairo-devel python-devel python-gobject2-devel +BuildRequires: fdupes +BuildRequires: libglade2-devel +BuildRequires: python-cairo-devel +BuildRequires: python-devel +BuildRequires: python-gobject2-devel %if %suse_version <= 1130 BuildRequires: python-gobject2-doc %endif @@ -30,12 +32,12 @@ Requires: python-numpy BuildRequires: gtk-doc Url: http://www.pygtk.org/ Summary: Python bindings for the GTK+ widget set -Version: 2.24.0 -Release: 1 -License: LGPLv2.1+ +License: LGPL-2.1+ Group: Development/Libraries/Python +Version: 2.24.0 +Release: 0 Source: %{_name}-%{version}.tar.bz2 -# conditionally use the new Capsule API instead of PyCObject, bnc#669802 +# PATCH-FIX-UPSTREAM pygtk-2.22.0-capsule.patch bgo#623965 bnc#669802 jmatejek@novell.com -- Conditionally use the new Capsule API instead of PyCObject Patch0: pygtk-2.22.0-capsule.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -55,17 +57,17 @@ can write in python with PyGTK (within reason), but with all of python's benefits. %package devel -License: LGPLv2.1+ Summary: Files needed to build wrappers for GTK+ addon libraries Group: Development/Libraries/Python -Requires: %{name} = %{version} python-gobject2-devel python-cairo-devel +Requires: %{name} = %{version} +Requires: python-cairo-devel +Requires: python-gobject2-devel %description devel This package contains files required to build wrappers for GTK+ addon libraries so that they interoperate with pygtk. %package doc -License: LGPLv2.1+ Summary: Python bindings for the GTK+ widget set Group: Development/Libraries/Python Requires: %{name} = %{version} From ad63448adddf392030f8ee53d6a562b207f62f13b30b2610fa307db83968fecd Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 11 Apr 2013 07:37:02 +0000 Subject: [PATCH 2/2] Accepting request 162835 from home:namtrac:bugfix - Add Source URL, see https://en.opensuse.org/SourceUrls OBS-URL: https://build.opensuse.org/request/show/162835 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gtk?expand=0&rev=26 --- python-gtk.changes | 5 +++++ python-gtk.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-gtk.changes b/python-gtk.changes index 21e2dd7..06a1980 100644 --- a/python-gtk.changes +++ b/python-gtk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 5 13:22:32 UTC 2013 - idonmez@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + ------------------------------------------------------------------- Tue Oct 11 13:28:52 UTC 2011 - jmatejek@suse.com diff --git a/python-gtk.spec b/python-gtk.spec index d82d9ec..999a4fc 100644 --- a/python-gtk.spec +++ b/python-gtk.spec @@ -1,7 +1,7 @@ # # spec file for package python-gtk # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ License: LGPL-2.1+ Group: Development/Libraries/Python Version: 2.24.0 Release: 0 -Source: %{_name}-%{version}.tar.bz2 +Source: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/%{_name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM pygtk-2.22.0-capsule.patch bgo#623965 bnc#669802 jmatejek@novell.com -- Conditionally use the new Capsule API instead of PyCObject Patch0: pygtk-2.22.0-capsule.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build