virt-viewer/virt-viewer.spec

86 lines
2.3 KiB
RPMSpec
Raw Normal View History

2007-08-17 19:42:14 +00:00
# -*- rpm-spec -*-
%if 0%{?rhel} >= 9
%global with_govirt 0
%global with_spice 0
%else
%global with_govirt 1
%global with_spice 1
2013-05-01 16:37:44 +00:00
%endif
2007-08-17 19:42:14 +00:00
Name: virt-viewer
Version: 10.0
Release: 1%{?dist}
2007-08-17 19:42:14 +00:00
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
2008-03-10 14:58:12 +00:00
Requires: openssh-clients
2013-02-13 16:33:29 +00:00
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(vte-2.91)
%if %{with_spice}
BuildRequires: pkgconfig(spice-client-gtk-3.0)
BuildRequires: pkgconfig(spice-protocol)
%endif
2009-07-29 14:33:14 +00:00
BuildRequires: /usr/bin/pod2man
BuildRequires: gettext
2013-05-01 16:37:44 +00:00
%if %{with_govirt}
BuildRequires: pkgconfig(govirt-1.0)
BuildRequires: pkgconfig(rest-0.7)
%endif
BuildRequires: pkgconfig(bash-completion)
2007-08-17 19:42:14 +00:00
%description
Virtual Machine Viewer provides a graphical console client for connecting
2011-07-12 12:17:17 +00: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-08-17 19:42:14 +00:00
%prep
%setup -q
%build
%meson -Dbuild-id=%{release}
%meson_build
2007-08-17 19:42:14 +00:00
%install
%meson_install
2010-01-15 13:02:08 +00:00
%find_lang %{name}
2010-01-15 13:02:08 +00:00
%files -f %{name}.lang
%doc README.md COPYING AUTHORS ChangeLog NEWS
2007-08-17 19:42:14 +00:00
%{_bindir}/%{name}
2012-02-14 16:31:03 +00:00
%{_bindir}/remote-viewer
%{_datadir}/icons/hicolor/*/apps/*
2012-05-16 12:07:02 +00:00
%{_datadir}/applications/remote-viewer.desktop
%{_datadir}/metainfo/remote-viewer.appdata.xml
2013-02-13 16:33:29 +00:00
%{_datadir}/mime/packages/virt-viewer-mime.xml
2012-02-14 16:31:03 +00:00
%{_mandir}/man1/virt-viewer.1*
%{_mandir}/man1/remote-viewer.1*
%{_datadir}/bash-completion/completions/virt-viewer
2007-08-17 19:42:14 +00:00
%changelog
* Tue Apr 20 2021 Daniel P. Berrangé <berrange@redhat.com> - 10.0-1
- Update to 10.0 release
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 1 2020 Daniel P. Berrangé <berrange@redhat.com> - 9.0-1
- Update to 9.0 release
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild