mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-03 01:17:46 +03:00
1f701aae66
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
63 lines
1.6 KiB
RPMSpec
63 lines
1.6 KiB
RPMSpec
# -*- rpm-spec -*-
|
|
|
|
Name: virt-viewer
|
|
Version: @VERSION@
|
|
Release: 1%{?dist}
|
|
Summary: Virtual Machine Viewer
|
|
License: GPLv2+
|
|
URL: https://gitlab.com/virt-viewer/virt-viewer
|
|
Source0: https://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.xz
|
|
Requires: openssh-clients
|
|
|
|
# Our bash completion script uses virsh to list domains
|
|
Requires: libvirt-client
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: meson
|
|
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)
|
|
BuildRequires: /usr/bin/pod2man
|
|
BuildRequires: gettext
|
|
BuildRequires: pkgconfig(govirt-1.0)
|
|
BuildRequires: pkgconfig(rest-0.7)
|
|
BuildRequires: pkgconfig(bash-completion)
|
|
|
|
|
|
%description
|
|
Virtual Machine Viewer provides a graphical console client for connecting
|
|
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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson -Dbuildid=%{release}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
%files -f %{name}.lang
|
|
%doc README.md COPYING AUTHORS ChangeLog NEWS
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/remote-viewer
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
%{_datadir}/icons/hicolor/*/devices/*
|
|
%{_datadir}/applications/remote-viewer.desktop
|
|
%{_datadir}/metainfo/remote-viewer.appdata.xml
|
|
%{_datadir}/mime/packages/virt-viewer-mime.xml
|
|
%{_mandir}/man1/virt-viewer.1*
|
|
%{_mandir}/man1/remote-viewer.1*
|
|
%{_datadir}/bash-completion/completions/virt-viewer
|
|
|
|
%changelog
|