From e82808163d3d47aac0c2cfcbba2de2f550c8a353 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 27 Jan 2014 16:57:09 +0100 Subject: [PATCH] - updated to 0.6.0 --- virt-viewer.spec | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/virt-viewer.spec b/virt-viewer.spec index d68ef99..bb4d201 100644 --- a/virt-viewer.spec +++ b/virt-viewer.spec @@ -7,35 +7,37 @@ Summary: Virtual Machine Viewer Summary(pl.UTF-8): Przeglądarka maszyny wirtualnej Name: virt-viewer -Version: 0.5.7 +Version: 0.6.0 Release: 1 License: GPL v2+ Group: X11/Applications/Networking -Source0: http://virt-manager.org/download/sources/virt-viewer/%{name}-%{version}.tar.gz -# Source0-md5: c0d6d2de66e61df6c2ad339625c58a2a +Source0: https://fedorahosted.org/released/virt-viewer/%{name}-%{version}.tar.gz +# Source0-md5: a3d7dd877105117e36185378ee1849ee URL: http://virt-manager.org/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: gettext-devel >= 0.14.1 BuildRequires: glib2-devel >= 1:2.22.0 BuildRequires: intltool >= 0.35.0 -%{?with_ovirt:BuildRequires: libgovirt-devel >= 0.1.0} +%{?with_ovirt:BuildRequires: libgovirt-devel >= 0.3.0} BuildRequires: libtool >= 2:2 BuildRequires: libvirt-devel >= 0.10.0 BuildRequires: libxml2-devel >= 1:2.6.0 BuildRequires: perl-tools-pod +BuildRequires: rpmbuild(macros) >= 1.596 BuildRequires: sed >= 4.0 BuildRequires: spice-protocol >= 0.10.1 %if %{with gtk2} BuildRequires: gtk+2-devel >= 2:2.18.0 BuildRequires: gtk-vnc-devel >= 0.4.3 -%{?with_spice:BuildRequires: spice-gtk2-devel >= 0.20} +%{?with_spice:BuildRequires: spice-gtk2-devel >= 0.22} %else BuildRequires: gtk+3-devel >= 3.0.0 BuildRequires: gtk3-vnc-devel >= 0.4.3 -%{?with_spice:BuildRequires: spice-gtk-devel >= 0.20} +%{?with_spice:BuildRequires: spice-gtk-devel >= 0.22} %endif Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): shared-mime-info Requires: glib2 >= 1:2.22.0 Requires: hicolor-icon-theme Requires: libvirt >= 0.10.0 @@ -43,13 +45,13 @@ Requires: libxml2 >= 1:2.6.0 %if %{with gtk2} Requires: gtk+2 >= 2:2.18.0 Requires: gtk-vnc >= 0.4.3 -%{?with_spice:Requires: spice-gtk2 >= 0.20} +%{?with_spice:Requires: spice-gtk2 >= 0.22} %else -BuildRequires: gtk+3 >= 3.0.0 -BuildRequires: gtk3-vnc >= 0.4.3 -%{?with_spice:BuildRequires: spice-gtk >= 0.20} +Requires: gtk+3 >= 3.0.0 +Requires: gtk3-vnc >= 0.4.3 +%{?with_spice:Requires: spice-gtk >= 0.22} %endif -%{?with_ovirt:Requires: libgovirt >= 0.1.0} +%{?with_ovirt:Requires: libgovirt >= 0.3.0} Suggests: openssh-clients Suggests: gnome-keyring >= 0.4.9 Obsoletes: virt-viewer-plugin @@ -81,6 +83,7 @@ serwera VNC/SPICE. %{__automake} %configure \ --disable-silent-rules \ + --disable-update-mimedb \ %{__with_without spice spice-gtk} \ --with-gtk=%{?with_gtk2:2.0}%{!?with_gtk2:3.0} \ %{!?with_ovirt:--without-ovirt} @@ -100,9 +103,11 @@ rm -rf $RPM_BUILD_ROOT %post %update_icon_cache hicolor +%update_mime_database %postun %update_icon_cache hicolor +%update_mime_database %files -f %{name}.lang %defattr(644,root,root,755) -- 2.43.0