diff --git a/gtk-vnc.spec b/gtk-vnc.spec index 043c7cd..62ea89b 100644 --- a/gtk-vnc.spec +++ b/gtk-vnc.spec @@ -5,7 +5,6 @@ %define with_plugin 0 %define with_gir 0 - %if 0%{?fedora} >= 12 %define with_gir 1 %endif @@ -15,10 +14,15 @@ %define with_gtk3 1 %endif +%define with_vala 0 +%if 0%{with_gtk3} +%define with_vala 1 +%endif + Summary: A GTK2 widget for VNC clients Name: gtk-vnc -Version: 0.4.3 -Release: 2%{?dist}%{?extra_release} +Version: 0.4.4 +Release: 1%{?dist}%{?extra_release} License: LGPLv2+ Group: Development/Libraries Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.4/%{name}-%{version}.tar.bz2 @@ -28,9 +32,6 @@ BuildRequires: gtk2-devel >= 2.14 BuildRequires: pygtk2-devel python-devel zlib-devel BuildRequires: gnutls-devel cyrus-sasl-devel intltool %if %{with_gir} -# Temp hack for missing dep -# https://bugzilla.redhat.com/show_bug.cgi?id=613466 -BuildRequires: libtool BuildRequires: gobject-introspection-devel %if 0%{?fedora} < 14 BuildRequires: gir-repository-devel @@ -46,6 +47,9 @@ BuildRequires: firefox-devel %if %{with_gtk3} BuildRequires: gtk3-devel %endif +%if %{with_vala} +BuildRequires: vala-tools +%endif %description gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines @@ -241,6 +245,9 @@ rm -fr %{buildroot} %if %{with_gir} %{_libdir}/girepository-1.0/GVnc-1.0.typelib %endif +%if %{with_vala} +%{_datadir}/vala/vapi/gvnc-1.0.vapi +%endif %files -n gvnc-devel %defattr(-, root, root) @@ -270,6 +277,10 @@ rm -fr %{buildroot} %if %{with_gir} %{_libdir}/girepository-1.0/GtkVnc-2.0.typelib %endif +%if %{with_vala} +%{_datadir}/vala/vapi/gtk-vnc-2.0.deps +%{_datadir}/vala/vapi/gtk-vnc-2.0.vapi +%endif %files -n gtk-vnc2-devel %defattr(-, root, root) @@ -288,6 +299,9 @@ rm -fr %{buildroot} %changelog +* Thu Nov 10 2011 Daniel P. Berrange - 0.4.4-1 +- Update to 0.4.4 release + * Tue Nov 08 2011 Adam Jackson - 0.4.3-2 - Rebuild to break bogus libpng dep diff --git a/sources b/sources index a8643c0..b8f5d42 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 38d3fbacb5d00e630f939e88858206f1 gtk-vnc-0.4.3.tar.bz2 +0c51bcbdf1530c4856f49ace7c8f709a gtk-vnc-0.4.4.tar.bz2