SHA256
1
0
forked from pool/python-gtk

Accepting request 44818 from home:vuntz:branches:devel:languages:python

Copy from home:vuntz:branches:devel:languages:python/python-gtk via accept of submit request 44818 revision 2.
Request was accepted with message:
Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/44818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gtk?expand=0&rev=11
This commit is contained in:
Vincent Untz 2010-08-07 10:45:59 +00:00 committed by Git OBS Bridge
parent 853c61c35c
commit e216dee62e
3 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,20 @@
commit a9e24426aae96e5968b95ef76aacf41d3153ddf7
Author: Colin Walters <walters@verbum.org>
Date: Fri Jul 30 10:23:56 2010 -0400
[pygtk-2.0.pc] Should require gtk+-2.0
https://bugzilla.redhat.com/show_bug.cgi?id=618944
diff --git a/pygtk-2.0.pc.in b/pygtk-2.0.pc.in
index 0506e75..e277e80 100644
--- a/pygtk-2.0.pc.in
+++ b/pygtk-2.0.pc.in
@@ -20,6 +20,6 @@ codegendir=${datadir}/pygobject/2.0/codegen
Name: PyGTK
Description: Python bindings for GTK+ and related libraries
-Requires: pygobject-2.0
+Requires: pygobject-2.0 gtk+-2.0
Version: @VERSION@
Cflags: -I${pygtkincludedir} @THREADING_CFLAGS@

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Aug 7 12:36:27 CEST 2010 - vuntz@opensuse.org
- Add python-gtk-fix-pkg-config.patch to add missing gtk+-2.0 in
pkg-config file. Taken from upstream.
-------------------------------------------------------------------
Thu Apr 8 16:34:46 CEST 2010 - vuntz@opensuse.org
- Change python-numpy BuildRequires to python-numpy-devel to really
build with numpy support. Fix bnc#591012.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 15 12:09:02 CET 2010 - vuntz@opensuse.org Fri Jan 15 12:09:02 CET 2010 - vuntz@opensuse.org

View File

@ -24,17 +24,19 @@ BuildRequires: fdupes libglade2-devel python-cairo-devel python-devel python-go
%if %suse_version > 1020 || 0%{?opensuse_bs} %if %suse_version > 1020 || 0%{?opensuse_bs}
BuildRequires: python-gobject2-doc BuildRequires: python-gobject2-doc
%endif %endif
BuildRequires: python-numpy BuildRequires: python-numpy-devel
Requires: python-numpy Requires: python-numpy
# Only for directory ownership: # Only for directory ownership:
BuildRequires: gtk-doc BuildRequires: gtk-doc
Url: http://www.pygtk.org/ Url: http://www.pygtk.org/
Summary: Python bindings for the GTK+ widget set Summary: Python bindings for the GTK+ widget set
Version: 2.17.0 Version: 2.17.0
Release: 1 Release: 2
License: LGPLv2.1+ License: LGPLv2.1+
Group: Development/Libraries/Python Group: Development/Libraries/Python
Source: %{_name}-%{version}.tar.bz2 Source: %{_name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM python-gtk-fix-pkg-config.patch vuntz@opensuse.org -- Taken from upstream
Patch0: python-gtk-fix-pkg-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define lparen ( %define lparen (
%define rparen ) %define rparen )
@ -75,6 +77,7 @@ python's benefits.
%prep %prep
%setup -q -n %{_name}-%{version} %setup -q -n %{_name}-%{version}
%patch0 -p1
%build %build
%configure %configure