--- /dev/null
+--- gtk-vnc-0.9.0/gvnc-1.0.pc.in.orig 2017-11-13 12:32:22.000000000 +0100
++++ gtk-vnc-0.9.0/gvnc-1.0.pc.in 2020-06-22 21:41:17.420482796 +0200
+@@ -5,7 +5,7 @@
+
+ Name: GVNC
+ Description: GObject for VNC client connections
+-Requires: gobject-2.0 >= @GOBJECT_REQUIRED@
++Requires: gobject-2.0 >= @GLIB_REQUIRED@
+ Version: @VERSION@
+ Libs: -L${libdir} -lgvnc-1.0
+ Cflags: -I${includedir}/gvnc-1.0
Group: X11/Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/0.9/%{name}-%{version}.tar.xz
# Source0-md5: 1eed0aa5d71f849eae9fa00ecf28e247
+Patch0: %{name}-pc.patch
URL: https://wiki.gnome.org/Projects/gtk-vnc
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.10
%prep
%setup -q
+%patch0 -p1
%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' examples/gvncviewer.py