rpms/gtk-vnc/devel gtk-vnc.spec,1.10,1.11 sources,1.5,1.6

Daniel P. Berrange (berrange) fedora-extras-commits at redhat.com
Sun Feb 3 22:27:55 UTC 2008


Author: berrange

Update of /cvs/pkgs/rpms/gtk-vnc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16169

Modified Files:
	gtk-vnc.spec sources 
Log Message:
Update to 0.3.3 release


Index: gtk-vnc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk-vnc/devel/gtk-vnc.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gtk-vnc.spec	15 Jan 2008 21:33:45 -0000	1.10
+++ gtk-vnc.spec	3 Feb 2008 22:27:17 -0000	1.11
@@ -1,16 +1,22 @@
 # -*- rpm-spec -*-
 
+# Plugin isn't ready for real world use yet - it needs
+# a security audit at very least
+%define with_plugin 0
+
 Summary: A GTK widget for VNC clients
 Name: gtk-vnc
-Version: 0.3.2
-Release: 2%{?dist}
+Version: 0.3.3
+Release: 1%{?dist}
 License: LGPLv2+
 Group: Development/Libraries
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
-Patch1: %{name}-%{version}-keystate-tracking.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL: http://gtk-vnc.sf.net/
 BuildRequires: gtk2-devel pygtk2-devel python-devel gnutls-devel zlib-devel
+%if %{with_plugin}
+BuildRequires: firefox-devel
+%endif
 
 %description
 gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
@@ -40,12 +46,27 @@
 
 A module allowing use of the GTK-VNC widget from python
 
+%package plugin
+Summary: Mozilla plugin for the gtk-vnc library
+Group: Development/Libraries
+Requires: %{name} = %{version}
+
+%description plugin
+gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
+allowing it to be completely asynchronous while remaining single threaded.
+
+This package provides a web browser plugin for Mozilla compatible
+browsers.
+
 %prep
 %setup -q
-%patch1 -p1
 
 %build
+%if %{with_plugin}
+%configure --enable-plugin=yes
+%else
 %configure
+%endif
 make
 
 %install
@@ -55,6 +76,10 @@
 rm -f %{buildroot}%{_libdir}/*.la
 rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
 rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
+%if %{with_plugin}
+rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.a
+rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.la
+%endif
 
 %clean
 rm -fr %{buildroot}
@@ -81,7 +106,16 @@
 %doc examples/gvncviewer.py
 %{_libdir}/python*/site-packages/gtkvnc.so
 
+%if %{with_plugin}
+%files plugin
+%defattr(-, root, root)
+%{_libdir}/mozilla/plugins/%{name}-plugin.so
+%endif
+
 %changelog
+* Sun Feb  3 2008 Daniel P. Berrange <berrange at redhat.com> - 0.3.3-1.fc9
+- Update to 0.3.3 release
+
 * Mon Jan 14 2008 Daniel P. Berrange <berrange at redhat.com> - 0.3.2-2.fc9
 - Track keystate to avoid stuck modifier keys
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gtk-vnc/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	31 Dec 2007 17:57:01 -0000	1.5
+++ sources	3 Feb 2008 22:27:18 -0000	1.6
@@ -1 +1 @@
-d87f4921c031c77335907c19ca1dbf03  gtk-vnc-0.3.2.tar.gz
+9d1762c53cb632461f9f75da336f3f8c  gtk-vnc-0.3.3.tar.gz




More information about the fedora-extras-commits mailing list