From 93e172e9a0e76e5a7b9401b97bccbcd7f6552f06 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:34:32 +0100 Subject: [PATCH] rebuilt with gtk2 version for python binding [release 0.5.4-2mamba;Mon Oct 05 2015] --- gtk-vnc.spec | 53 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 17 deletions(-) diff --git a/gtk-vnc.spec b/gtk-vnc.spec index f10ebf1..53b847d 100644 --- a/gtk-vnc.spec +++ b/gtk-vnc.spec @@ -2,7 +2,7 @@ Name: gtk-vnc Version: 0.5.4 -Release: 1mamba +Release: 2mamba Summary: A VNC viewer widget for GTK Group: Development/Libraries Vendor: openmamba @@ -13,33 +13,40 @@ Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/%{majver}/gtk-vnc- License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libXdmcp-devel BuildRequires: libatk-devel +BuildRequires: libbsd-devel +BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libexpat-devel +BuildRequires: libffi-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel +BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel -BuildRequires: libglitz-devel +BuildRequires: libgmp-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel +BuildRequires: libgraphite2-devel BuildRequires: libgtk-devel +BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libnettle-devel +BuildRequires: libopenssl-devel +BuildRequires: libp11-kit-devel BuildRequires: libpango-devel -BuildRequires: libpixman-devel BuildRequires: libpng-devel -BuildRequires: libpthread-stubs-devel +BuildRequires: libpulseaudio-devel BuildRequires: libpython-devel -BuildRequires: libsasl-devel +BuildRequires: libsasl2-devel BuildRequires: libselinux-devel -BuildRequires: libstdc++6-devel BuildRequires: libtasn1-devel -BuildRequires: libX11-devel -BuildRequires: libXau-devel BuildRequires: libxcb-devel -BuildRequires: libxcb-util-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXrender-devel BuildRequires: libz-devel +BuildRequires: trousers-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -76,13 +83,22 @@ This package contains a module allowing use of the GTK-VNC widget from python. %setup -q %build +tar xf %{S:0} +mv %{name}-%{version} gtk2-build +cd gtk2-build +%configure --with-python --with-gtk-2.0 --disable-static +cd .. + %configure \ - --with-gtk=3.0 + --with-gtk=3.0 \ + --with-python + #--enable-plugin=yes %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C gtk2-build %makeinstall %find_lang %{name} @@ -131,13 +147,16 @@ This package contains a module allowing use of the GTK-VNC widget from python. %{_libdir}/pkgconfig/gvncpulse-1.0.pc #%doc ChangeLog NEWS README -#%files -n python-gtk-vnc -#%defattr(-, root, root) -#%{python_sitearch}/gtkvnc.la -#%{python_sitearch}/gtkvnc.so -##%doc examples/gvncviewer.py +%files -n python-gtk-vnc +%defattr(-, root, root) +%{python_sitearch}/gtkvnc.la +%{python_sitearch}/gtkvnc.so +#%doc examples/gvncviewer.py %changelog +* Mon Oct 05 2015 Silvan Calarco 0.5.4-2mamba +- rebuilt with gtk2 version for python binding + * Sun Apr 19 2015 Automatic Build System 0.5.4-1mamba - automatic version update by autodist