%define majver %(echo %version | cut -d. -f 1-2) Name: gtk-vnc Version: 0.7.0 Release: 1mamba Summary: A VNC viewer widget for GTK Group: Development/Libraries Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://live.gnome.org/gtk-vnc Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc/%{majver}/gtk-vnc-%{version}.tar.xz 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: 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: libpng-devel BuildRequires: libpulseaudio-devel BuildRequires: libpython-devel BuildRequires: libsasl2-devel BuildRequires: libselinux-devel BuildRequires: libtasn1-devel BuildRequires: libxcb-devel BuildRequires: libz-devel BuildRequires: trousers-devel ## AUTOBUILDREQ-END BuildRequires: libpulseaudio-devel >= 8.0-1mamba BuildRoot: %{_tmppath}/%{name}-%{version}-root %description gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. It provides a core C library, and bindings for Python (PyGTK). %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. It provides a core C library, and bindings for Python (PyGTK). This package contains static libraries and header files need for development. %package -n python-gtk-vnc Summary: Python bindings for the gtk-vnc library Group: Development/Libraries/Python Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-gtk-vnc gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. It provides a core C library, and bindings for Python (PyGTK). This package contains a module allowing use of the GTK-VNC widget from python. %prep %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-python #--enable-plugin=yes %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C gtk2-build %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/gvnccapture %{_libdir}/libgtk-vnc*.so.* %{_libdir}/libgvnc-1.0.so.* %{_libdir}/libgvncpulse-1.0.so.* %{_libdir}/girepository-1.0/GVnc-1.0.typelib %{_libdir}/girepository-1.0/GVncPulse-1.0.typelib %{_libdir}/girepository-1.0/GtkVnc-*.typelib %{_mandir}/man1/gvnccapture.1.gz %doc AUTHORS COPYING.LIB %files devel %defattr(-,root,root) %dir %{_includedir}/gtk-vnc-*/ %{_includedir}/gtk-vnc-*/*.h %dir %{_includedir}/gvnc-1.0 %{_includedir}/gvnc-1.0/*.h %dir %{_includedir}/gvncpulse-1.0 %{_includedir}/gvncpulse-1.0/*.h %{_libdir}/libgtk-vnc*.la %{_libdir}/libgtk-vnc*.so %{_libdir}/libgvnc-1.0.la %{_libdir}/libgvnc-1.0.so %{_libdir}/libgvncpulse-1.0.la %{_libdir}/libgvncpulse-1.0.so %{_datadir}/gir-1.0/GVnc-1.0.gir %{_datadir}/gir-1.0/GVncPulse-1.0.gir %{_datadir}/gir-1.0/GtkVnc-*.gir %{_datadir}/vala/vapi/*.deps %{_datadir}/vala/vapi/*.vapi %{_libdir}/pkgconfig/gtk-vnc-*.pc %{_libdir}/pkgconfig/gvnc-1.0.pc %{_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 %changelog * Sat Feb 11 2017 Automatic Build System 0.7.0-1mamba - automatic version update by autodist * Tue Aug 23 2016 Automatic Build System 0.6.0-1mamba - automatic version update by autodist * Sat Apr 02 2016 Silvan Calarco 0.5.4-3mamba - rebuilt by autoport with build requirements: libpulseaudio-devel>=8.0-1mamba * 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 * Tue May 20 2014 Silvan Calarco 0.5.3-2mamba - rebuilt with gtk 3.0 * Mon Oct 28 2013 Automatic Build System 0.5.3-1mamba - automatic version update by autodist * Fri Mar 01 2013 Automatic Build System 0.5.2-1mamba - automatic version update by autodist * Wed Oct 24 2012 Automatic Build System 0.5.1-1mamba - update to 0.5.1 * Thu Mar 25 2010 Davide Madrisan 0.3.10-1mamba - package created by autospec