Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
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) 2015 SUSE LINUX Products 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: 2.0 Release: 0 Url: http://www.virt-manager.org Source0: virt-viewer-2.0.tar.bz2 Patch50: netcat.patch Patch51: windows-keycombo.patch Patch52: netware-keycombo.patch Patch53: virtview-desktop.patch Patch54: reverse-3d5627d7-for-xen.patch ExclusiveArch: %ix86 x86_64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake %if %suse_version >= 1315 BuildRequires: pkgconfig(gtk+-3.0) %else 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 %patch50 -p1 %patch51 -p1 %patch52 -p1 %patch53 -p1 %patch54 -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 %{_bindir}/%{name} %{_bindir}/remote-viewer %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/ui %{_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}/virt-viewer/ui/virt-viewer-about.xml %{_datadir}/virt-viewer/ui/virt-viewer-auth.xml %{_datadir}/virt-viewer/ui/virt-viewer.xml %{_datadir}/virt-viewer/ui/virt-viewer-guest-details.xml %{_datadir}/virt-viewer/ui/virt-viewer-vm-connection.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