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
%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
%{__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}
%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)