From 2b5a40ce74dd1cb32249a250ee47afdc8552b3a0 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 13 Jul 2012 12:25:22 +0100 Subject: [PATCH] Update to 0.5.1 release --- gtk-vnc.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++----- sources | 2 +- 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/gtk-vnc.spec b/gtk-vnc.spec index 446ca23..b0890c4 100644 --- a/gtk-vnc.spec +++ b/gtk-vnc.spec @@ -5,12 +5,12 @@ %define with_plugin 0 %define with_gir 0 -%if 0%{?fedora} >= 12 +%if 0%{?fedora} >= 12 || 0%{?rhel} >= 7 %define with_gir 1 %endif %define with_gtk3 0 -%if 0%{?fedora} >= 15 +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 %define with_gtk3 1 %endif @@ -19,10 +19,12 @@ %define with_vala 1 %endif +%define with_pulse 1 + Summary: A GTK2 widget for VNC clients Name: gtk-vnc -Version: 0.5.0 -Release: 2%{?dist}%{?extra_release} +Version: 0.5.1 +Release: 1%{?dist}%{?extra_release} License: LGPLv2+ Group: Development/Libraries Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.xz @@ -33,7 +35,7 @@ BuildRequires: pygtk2-devel python-devel zlib-devel BuildRequires: gnutls-devel cyrus-sasl-devel intltool %if %{with_gir} BuildRequires: gobject-introspection-devel -%if 0%{?fedora} < 14 +%if 0%{?fedora} && 0%{?fedora} < 14 BuildRequires: gir-repository-devel %endif %endif @@ -50,6 +52,9 @@ BuildRequires: gtk3-devel %if %{with_vala} BuildRequires: vala-tools %endif +%if %{with_pulse} +BuildRequires: pulseaudio-libs-devel +%endif %description gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines @@ -114,6 +119,29 @@ with the raw protocol itself. Libraries, includes, etc. to compile with the gvnc library +%if %{with_pulse} +%package -n gvncpulse +Summary: A Pulse Audio bridge for VNC connections + +%description -n gvncpulse +gvncpulse is a bridge to the Pulse Audio system for VNC. +It allows VNC clients to play back audio on the local +system + +%package -n gvncpulse-devel +Summary: Libraries, includes, etc. to compile with the gvncpulse library +Group: Development/Libraries +Requires: gvncpulse = %{version}-%{release} +Requires: pkgconfig + +%description -n gvncpulse-devel +gvncpulse is a bridge to the Pulse Audio system for VNC. +It allows VNC clients to play back audio on the local +system + +Libraries, includes, etc. to compile with the gvnc library +%endif + %package -n gvnc-tools Summary: Command line VNC tools Group: Applications/Internet @@ -259,6 +287,28 @@ rm -fr %{buildroot} %{_datadir}/gir-1.0/GVnc-1.0.gir %endif +%if %{with_pulse} +%files -n gvncpulse -f %{name}.lang +%defattr(-, root, root) +%{_libdir}/libgvncpulse-1.0.so.* +%if %{with_gir} +%{_libdir}/girepository-1.0/GVncPulse-1.0.typelib +%endif +%if %{with_vala} +%{_datadir}/vala/vapi/gvncpulse-1.0.vapi +%endif + +%files -n gvncpulse-devel +%defattr(-, root, root) +%{_libdir}/libgvncpulse-1.0.so +%dir %{_includedir}/gvncpulse-1.0/ +%{_includedir}/gvncpulse-1.0/*.h +%{_libdir}/pkgconfig/gvncpulse-1.0.pc +%if %{with_gir} +%{_datadir}/gir-1.0/GVncPulse-1.0.gir +%endif +%endif + %files -n gvnc-tools %defattr(-, root, root) %doc gtk-vnc-%{version}/AUTHORS @@ -297,8 +347,10 @@ rm -fr %{buildroot} %endif %endif - %changelog +* Thu Jul 12 2012 Daniel P. Berrange - 0.5.1-1 +- Update to 0.5.1 release + * Fri Jan 13 2012 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 9caa118..42fe9a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f45c9649c915af335cff91268e74ab67 gtk-vnc-0.5.0.tar.xz +626f919138b8362ba82faa969fa371f3 gtk-vnc-0.5.1.tar.xz