From d3c613a12fb4349b8ab34cde6d425f18ac9644bb Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:34:32 +0100 Subject: [PATCH] automatic version update by autodist [release 0.5.3-1mamba;Mon Oct 28 2013] --- README.md | 4 ++ gtk-vnc.spec | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 150 insertions(+) create mode 100644 gtk-vnc.spec diff --git a/README.md b/README.md index b5cec4d..b87acb4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # 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). + diff --git a/gtk-vnc.spec b/gtk-vnc.spec new file mode 100644 index 0000000..b68f3a1 --- /dev/null +++ b/gtk-vnc.spec @@ -0,0 +1,146 @@ +%define majver %(echo %version | cut -d. -f 1-2) + +Name: gtk-vnc +Version: 0.5.3 +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: 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 +#--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-1.0.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-1.0.gir +%{_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 +* 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