Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
virt-viewer
virt-viewer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virt-viewer.spec of Package virt-viewer
# # spec file for package virt-viewer # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if %suse_version >= 1315 %define gtk_arg --with-gtk=3.0 %else %define gtk_arg --with-gtk=2.0 %endif Name: virt-viewer Summary: Virtual Machine Viewer License: GPL-2.0+ Group: System/Monitoring Version: 4.0 Release: 0 Url: http://www.virt-manager.org Source0: virt-viewer-4.0.tar.bz2 Patch1: 35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch Patch2: a62827d2-close-when-seeing-domain-stop-event.patch Patch3: 813c775c-fix-filename-leak-on-transfer-dialog.patch Patch50: netcat.patch Patch51: virtview-desktop.patch Patch52: reverse-3d5627d7-for-xen.patch Patch53: virtview-dont-show-Domain-0.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake %if %suse_version >= 1315 BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libvirt) >= 0.10.0 BuildRequires: pkgconfig(libvirt-glib-1.0) >= 0.1.8 %else BuildRequires: glib2-devel >= 2.26 BuildRequires: gtk2-devel %endif BuildRequires: libvirt-devel >= 0.9.7 BuildRequires: libxml2-devel %if %suse_version > 1140 %if %suse_version >= 1315 BuildRequires: pkgconfig(gtk-vnc-2.0) %else BuildRequires: gtk-vnc2-devel %endif %endif BuildRequires: gtk-vnc-devel >= 0.3.8 BuildRequires: libglade2-devel %if %suse_version > 1130 BuildRequires: libpixman-1-0-devel %else BuildRequires: libpixman %endif BuildRequires: intltool %if %suse_version >= 1230 BuildRequires: spice-gtk-devel Requires: libspice-controller0 %endif # Our Runtime requirements Requires: netcat %description Virtual Machine Viewer provides a graphical console client for connecting to virtual machines. It uses the GTK-VNC widget to provide the display, and libvirt for looking up VNC server details. %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch50 -p1 %patch51 -p1 %patch52 -p1 %patch53 -p1 %build echo "suse_version = %suse_version" %if %suse_version >= 1230 %configure --with-spice-gtk %{gtk_arg} --disable-update-mimedb %else %configure --with-gtk=2.0 --disable-update-mimedb GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0 %endif make %{?_smp_mflags} %install %makeinstall %{find_lang} %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING AUTHORS ChangeLog %dir %{_datadir}/appdata %{_bindir}/%{name} %{_bindir}/remote-viewer %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/24x24/devices/virt-viewer-usb.png %{_datadir}/icons/hicolor/24x24/devices/virt-viewer-usb.svg %{_mandir}/man1/virt-viewer.1* %{_mandir}/man1/remote-viewer.1* %{_datadir}/applications/remote-viewer.desktop %{_datadir}/mime/packages/virt-viewer-mime.xml %{_datadir}/appdata/remote-viewer.appdata.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor