Update to 0.5.5 release
This commit is contained in:
parent
3ba3804ca0
commit
0b6eb25d5f
1
sources
1
sources
@ -1 +1,2 @@
|
|||||||
43c269da571e65b12421b6fc9f871e98 virt-viewer-0.5.4.tar.gz
|
43c269da571e65b12421b6fc9f871e98 virt-viewer-0.5.4.tar.gz
|
||||||
|
a5516d33a29df5d135611c4667c03f77 virt-viewer-0.5.5.tar.gz
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
# -*- rpm-spec -*-
|
# -*- rpm-spec -*-
|
||||||
|
|
||||||
|
# Default to skipping autoreconf. Distros can change just this one line
|
||||||
|
# (or provide a command-line override) if they backport any patches that
|
||||||
|
# touch configure.ac or Makefile.am.
|
||||||
|
%{!?enable_autotools:%define enable_autotools 0}
|
||||||
|
|
||||||
# Plugin isn't ready for real world use yet - it needs
|
# Plugin isn't ready for real world use yet - it needs
|
||||||
# a security audit at very least
|
# a security audit at very least
|
||||||
%define _with_plugin %{?with_plugin:1}%{!?with_plugin:0}
|
%define _with_plugin %{?with_plugin:1}%{!?with_plugin:0}
|
||||||
@ -24,15 +29,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: virt-viewer
|
Name: virt-viewer
|
||||||
Version: 0.5.4
|
Version: 0.5.5
|
||||||
Release: 3%{?dist}%{?extra_release}
|
Release: 1%{?dist}%{?extra_release}
|
||||||
Summary: Virtual Machine Viewer
|
Summary: Virtual Machine Viewer
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://virt-manager.org/
|
URL: http://virt-manager.org/
|
||||||
Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
|
||||||
# Fix crash after entering spice password (bz 880381)
|
|
||||||
Patch1: 0001-Don-t-free-SPICE-ticket-twice.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: openssh-clients
|
Requires: openssh-clients
|
||||||
Requires(post): %{_sbindir}/update-alternatives
|
Requires(post): %{_sbindir}/update-alternatives
|
||||||
@ -40,6 +43,13 @@ Requires(postun): %{_sbindir}/update-alternatives
|
|||||||
Requires(post): desktop-file-utils
|
Requires(post): desktop-file-utils
|
||||||
Requires(postun): desktop-file-utils
|
Requires(postun): desktop-file-utils
|
||||||
|
|
||||||
|
%if 0%{?enable_autotools}
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: gettext-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: glib2-devel >= 2.22
|
BuildRequires: glib2-devel >= 2.22
|
||||||
%if %{with_gtk3}
|
%if %{with_gtk3}
|
||||||
BuildRequires: gtk3-devel >= 3.0.0
|
BuildRequires: gtk3-devel >= 3.0.0
|
||||||
@ -55,9 +65,9 @@ BuildRequires: gtk-vnc-devel >= 0.3.8
|
|||||||
%endif
|
%endif
|
||||||
%if %{with_spice}
|
%if %{with_spice}
|
||||||
%if %{with_gtk3}
|
%if %{with_gtk3}
|
||||||
BuildRequires: spice-gtk3-devel >= 0.12.101
|
BuildRequires: spice-gtk3-devel >= 0.16.26
|
||||||
%else
|
%else
|
||||||
BuildRequires: spice-gtk-devel >= 0.12.101
|
BuildRequires: spice-gtk-devel >= 0.16.26
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: spice-protocol >= 0.10.1
|
BuildRequires: spice-protocol >= 0.10.1
|
||||||
%endif
|
%endif
|
||||||
@ -93,10 +103,13 @@ browsers.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
%if 0%{?enable_autotools}
|
||||||
|
autoreconf -if
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{_with_plugin}
|
%if %{_with_plugin}
|
||||||
%define plugin_arg --enable-plugin
|
%define plugin_arg --enable-plugin
|
||||||
%else
|
%else
|
||||||
@ -115,7 +128,7 @@ browsers.
|
|||||||
%define gtk_arg --with-gtk=2.0
|
%define gtk_arg --with-gtk=2.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure %{spice_arg} %{plugin_arg} %{gtk_arg}
|
%configure %{spice_arg} %{plugin_arg} %{gtk_arg} --with-buildid=-%{release}
|
||||||
%__make %{?_smp_mflags}
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -163,6 +176,7 @@ update-desktop-database -q %{_datadir}/applications
|
|||||||
%{_datadir}/%{name}/ui/virt-viewer-about.xml
|
%{_datadir}/%{name}/ui/virt-viewer-about.xml
|
||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
%{_datadir}/applications/remote-viewer.desktop
|
%{_datadir}/applications/remote-viewer.desktop
|
||||||
|
%{_datadir}/mime/packages/virt-viewer-mime.xml
|
||||||
%ghost %{_libexecdir}/spice-xpi-client
|
%ghost %{_libexecdir}/spice-xpi-client
|
||||||
%{_libexecdir}/spice-xpi-client-remote-viewer
|
%{_libexecdir}/spice-xpi-client-remote-viewer
|
||||||
%{_mandir}/man1/virt-viewer.1*
|
%{_mandir}/man1/virt-viewer.1*
|
||||||
|
Loading…
Reference in New Issue
Block a user