diff --git a/sources b/sources index 5389ca4..689b286 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4e846786fab0fdcfa89720bfec802b26 virt-viewer-0.2.1.tar.gz +5b8fc64e26c26b79e1654b95b88abcd6 virt-viewer-0.3.0.tar.gz diff --git a/virt-viewer.spec b/virt-viewer.spec index 74dce24..5aecf12 100644 --- a/virt-viewer.spec +++ b/virt-viewer.spec @@ -4,9 +4,14 @@ # a security audit at very least %define _with_plugin %{?with_plugin:1}%{!?with_plugin:0} +%define with_spice 0 +%if 0%{?fedora} >= 14 +%define with_spice 1 +%endif + Name: virt-viewer -Version: 0.2.1 -Release: 2%{?dist} +Version: 0.3.0 +Release: 1%{?dist}%{?extra_release} Summary: Virtual Machine Viewer Group: Applications/System License: GPLv2+ @@ -20,6 +25,9 @@ BuildRequires: libvirt-devel >= 0.6.0 BuildRequires: libxml2-devel BuildRequires: libglade2-devel BuildRequires: gtk-vnc-devel >= 0.3.8 +%if %{with_spice} +BuildRequires: spice-gtk-devel >= 0.5 +%endif BuildRequires: /usr/bin/pod2man BuildRequires: intltool %if %{_with_plugin} @@ -53,11 +61,20 @@ browsers. %setup -q %build + %if %{_with_plugin} -%configure --enable-plugin=yes +%define plugin_arg --enable-plugin %else -%configure +%define plugin_arg --disable-plugin %endif + +%if %{with_spice} +%define spice_arg --enable-spice +%else +%define spice_arg --disable-spice +%endif + +%configure %{spice_arg} %{plugin_arg} %__make %{?_smp_mflags} @@ -70,7 +87,6 @@ rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.la %endif %find_lang %{name} - %clean rm -rf $RPM_BUILD_ROOT @@ -92,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Mon Feb 21 2011 Daniel P. Berrange - 0.3.0-1 +- Update to 0.3.0 and enable SPICE + * Mon Feb 07 2011 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild @@ -140,4 +159,3 @@ rm -rf $RPM_BUILD_ROOT * Wed Aug 15 2007 Daniel P. Berrange - 0.0.1-1.fc8 - First release -