Name: virt-viewer Version: 9.0 Release: 201906191603.0.spice.nightly%{?dist} Summary: Virtual Machine Viewer Group: Applications/System License: GPLv2+ URL: http://virt-manager.org/ Source0: virt-viewer-9.0.tar.gz Requires: openssh-clients Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives Requires(post): desktop-file-utils Requires(postun): desktop-file-utils BuildRequires: gcc BuildRequires: pkgconfig(glib-2.0) >= 2.38 BuildRequires: pkgconfig(gtk+-3.0) >= 3.12 BuildRequires: pkgconfig(libvirt) >= 0.10.0 BuildRequires: pkgconfig(libvirt-glib-1.0) >= 0.1.8 BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0 BuildRequires: pkgconfig(gtk-vnc-2.0) >= 0.4.0 BuildRequires: pkgconfig(spice-client-gtk-3.0) >= 0.33 BuildRequires: pkgconfig(spice-protocol) >= 0.12.7 BuildRequires: /usr/bin/pod2man BuildRequires: intltool BuildRequires: pkgconfig(govirt-1.0) >= 0.3.2 Obsoletes: spice-client < 0.12.3-2 %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 -n virt-viewer-9.0 %build %define spice_arg --with-spice-gtk %define govirt_arg --with-ovirt %configure %{spice_arg} %{gtk_arg} %{govirt_arg} --with-buildid=%{release} --disable-update-mimedb %__make %{?_smp_mflags} V=1 %install rm -rf $RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT mkdir -p %{buildroot}%{_libexecdir} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : /bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || : /usr/bin/update-desktop-database -q %{_datadir}/applications %postun if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : fi /usr/bin/update-desktop-database -q %{_datadir}/applications %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %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}/appdata/remote-viewer.appdata.xml %{_datadir}/mime/packages/virt-viewer-mime.xml %{_mandir}/man1/virt-viewer.1* %{_mandir}/man1/remote-viewer.1* %changelog * Wed Jun 19 2019 SPICE Development Team - 9.0-201906191603.0.spice.nightly - Build from git commmit 898f972d534480b35f5a74aa41d0e9abc94f302f in @spice/nightly copr