2007-07-20 15:26:08 -04:00
# -*- rpm-spec -*-
2021-01-11 15:40:40 +00:00
Name : virt-viewer
2007-07-20 15:26:08 -04:00
Version : @VERSION@
2018-05-07 16:40:31 +02:00
Release : 1%{?dist}
2007-07-20 15:26:08 -04:00
Summary : Virtual Machine Viewer
2008-03-07 12:53:56 -05:00
License : GPLv2+
2021-01-11 15:36:50 +00:00
URL : https://gitlab.com/virt-viewer/virt-viewer
2021-01-11 15:58:25 +00:00
Source0 : https://virt-manager.org/download/sources/%{name} /%{name} -%{version} .tar.xz
2008-03-07 12:53:56 -05:00
Requires : openssh-clients
2007-07-20 15:26:08 -04:00
2019-05-09 14:40:34 +02:00
# Our bash completion script uses virsh to list domains
Requires : libvirt-client
2018-07-27 17:08:34 +01:00
BuildRequires : gcc
2021-01-11 15:58:25 +00:00
BuildRequires : meson
2021-01-11 15:35:22 +00:00
BuildRequires : pkgconfig(glib-2.0)
BuildRequires : pkgconfig(gtk+-3.0)
BuildRequires : pkgconfig(libvirt)
BuildRequires : pkgconfig(libvirt-glib-1.0)
BuildRequires : pkgconfig(libxml-2.0)
BuildRequires : pkgconfig(gtk-vnc-2.0)
BuildRequires : pkgconfig(spice-client-gtk-3.0)
BuildRequires : pkgconfig(spice-protocol)
2007-07-20 15:59:19 -04:00
BuildRequires : /usr/bin/pod2man
2019-02-20 15:19:43 +00:00
BuildRequires : gettext
2021-01-11 15:35:22 +00:00
BuildRequires : pkgconfig(govirt-1.0)
BuildRequires : pkgconfig(rest-0.7)
BuildRequires : pkgconfig(bash-completion)
2007-07-20 15:26:08 -04:00
2013-05-23 15:45:40 +02:00
2007-07-20 15:26:08 -04:00
%description
Virtual Machine Viewer provides a graphical console client for connecting
2011-07-01 11:18:36 +01:00
to virtual machines. It uses the GTK-VNC or SPICE-GTK widgets to provide
the display, and libvirt for looking up VNC/SPICE server details.
2007-07-20 15:26:08 -04:00
%prep
%setup -q
%build
2021-02-12 18:14:17 +00:00
%meson -Dbuild-id=%{release}
2021-01-11 15:58:25 +00:00
%meson_build
2007-07-20 15:26:08 -04:00
%install
2021-01-11 15:58:25 +00:00
%meson_install
2007-07-20 15:26:08 -04:00
2021-01-11 15:58:25 +00:00
%find_lang %{name}
2012-02-08 16:41:37 +00:00
2010-01-11 17:00:37 +00:00
%files -f %{name}.lang
2017-02-07 16:31:42 +01:00
%doc README.md COPYING AUTHORS ChangeLog NEWS
2007-07-20 15:26:08 -04:00
%{_bindir} /%{name}
2012-01-27 14:51:23 +01:00
%{_bindir} /remote-viewer
2012-02-08 16:41:37 +00:00
%{_datadir} /icons/hicolor/*/apps/*
2014-03-12 22:35:25 +01:00
%{_datadir} /icons/hicolor/*/devices/*
2012-04-18 14:12:57 +01:00
%{_datadir} /applications/remote-viewer.desktop
2020-07-22 22:55:00 +02:00
%{_datadir} /metainfo/remote-viewer.appdata.xml
2013-02-12 18:59:04 +01:00
%{_datadir} /mime/packages/virt-viewer-mime.xml
2012-02-06 14:04:45 +00:00
%{_mandir} /man1/virt-viewer.1*
%{_mandir} /man1/remote-viewer.1*
2019-05-09 14:40:34 +02:00
%{_datadir} /bash-completion/completions/virt-viewer
2007-07-20 15:26:08 -04:00
%changelog