%define majver %(echo %version | cut -d. -f 1-2) Name: gtk-vnc Version: 0.5.3 Release: 2mamba 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: libatk-devel BuildRequires: libcairo-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcrypt-devel BuildRequires: libglib-devel BuildRequires: libglitz-devel BuildRequires: libgnutls-devel BuildRequires: libgpg-error-devel BuildRequires: libgtk-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpng-devel BuildRequires: libpthread-stubs-devel BuildRequires: libpython-devel BuildRequires: libsasl-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 ## AUTOBUILDREQ-END 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 %configure \ --with-gtk=3.0 #--enable-plugin=yes %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %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/gtk-vnc-2.0.deps %{_datadir}/vala/vapi/gtk-vnc-2.0.vapi %{_datadir}/vala/vapi/gvnc-1.0.vapi %{_datadir}/vala/vapi/gvncpulse-1.0.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 * 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