Update to 0.5.1 release

This commit is contained in:
Daniel P. Berrange 2012-07-13 12:25:22 +01:00
parent 6e128b437d
commit 2b5a40ce74
2 changed files with 59 additions and 7 deletions

View File

@ -5,12 +5,12 @@
%define with_plugin 0 %define with_plugin 0
%define with_gir 0 %define with_gir 0
%if 0%{?fedora} >= 12 %if 0%{?fedora} >= 12 || 0%{?rhel} >= 7
%define with_gir 1 %define with_gir 1
%endif %endif
%define with_gtk3 0 %define with_gtk3 0
%if 0%{?fedora} >= 15 %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
%define with_gtk3 1 %define with_gtk3 1
%endif %endif
@ -19,10 +19,12 @@
%define with_vala 1 %define with_vala 1
%endif %endif
%define with_pulse 1
Summary: A GTK2 widget for VNC clients Summary: A GTK2 widget for VNC clients
Name: gtk-vnc Name: gtk-vnc
Version: 0.5.0 Version: 0.5.1
Release: 2%{?dist}%{?extra_release} Release: 1%{?dist}%{?extra_release}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.5/%{name}-%{version}.tar.xz 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 BuildRequires: gnutls-devel cyrus-sasl-devel intltool
%if %{with_gir} %if %{with_gir}
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
%if 0%{?fedora} < 14 %if 0%{?fedora} && 0%{?fedora} < 14
BuildRequires: gir-repository-devel BuildRequires: gir-repository-devel
%endif %endif
%endif %endif
@ -50,6 +52,9 @@ BuildRequires: gtk3-devel
%if %{with_vala} %if %{with_vala}
BuildRequires: vala-tools BuildRequires: vala-tools
%endif %endif
%if %{with_pulse}
BuildRequires: pulseaudio-libs-devel
%endif
%description %description
gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines 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 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 %package -n gvnc-tools
Summary: Command line VNC tools Summary: Command line VNC tools
Group: Applications/Internet Group: Applications/Internet
@ -259,6 +287,28 @@ rm -fr %{buildroot}
%{_datadir}/gir-1.0/GVnc-1.0.gir %{_datadir}/gir-1.0/GVnc-1.0.gir
%endif %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 %files -n gvnc-tools
%defattr(-, root, root) %defattr(-, root, root)
%doc gtk-vnc-%{version}/AUTHORS %doc gtk-vnc-%{version}/AUTHORS
@ -297,8 +347,10 @@ rm -fr %{buildroot}
%endif %endif
%endif %endif
%changelog %changelog
* Thu Jul 12 2012 Daniel P. Berrange <berrange@redhat.com> - 0.5.1-1
- Update to 0.5.1 release
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
f45c9649c915af335cff91268e74ab67 gtk-vnc-0.5.0.tar.xz 626f919138b8362ba82faa969fa371f3 gtk-vnc-0.5.1.tar.xz