Accepting request 163582 from devel:languages:python

- Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 162835 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/163582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gtk?expand=0&rev=35
This commit is contained in:
Stephan Kulow 2013-04-14 08:37:49 +00:00 committed by Git OBS Bridge
commit ed3db328a6
2 changed files with 18 additions and 11 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# spec file for package python-gtk
#
# Copyright (c) 2011 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
@ -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: LGPL-2.1+
Group: Development/Libraries/Python
Source: %{_name}-%{version}.tar.bz2
# conditionally use the new Capsule API instead of PyCObject, bnc#669802
Version: 2.24.0
Release: 0
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
@ -55,17 +57,17 @@ can write in python with PyGTK (within reason), but with all of
python's benefits.
%package devel
License: LGPL-2.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: LGPL-2.1+
Summary: Python bindings for the GTK+ widget set
Group: Development/Libraries/Python
Requires: %{name} = %{version}