8 Summary: Virtual Machine Viewer
13 Group: X11/Applications/Networking
14 Source0: http://virt-manager.org/download/sources/virt-viewer/%{name}-%{version}.tar.gz
15 # Source0-md5: 69c82567df00afadfa2f79d3f1eb692d
16 URL: http://virt-manager.org/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gettext-devel >= 0.14.1
20 BuildRequires: glib2-devel
21 BuildRequires: intltool >= 0.35.0
23 BuildRequires: gtk+3-devel >= 3.0.0
24 BuildRequires: gtk3-vnc-devel >= 0.4.3
25 %{?with_spice:BuildRequires: spice-gtk-devel >= 0.9}
28 BuildRequires: gtk+2-devel >= 2.12.0
29 BuildRequires: gtk-vnc-devel >= 0.4.3
30 %{?with_spice:BuildRequires: spice-gtk2-devel >= 0.9}
32 BuildRequires: libtool
33 BuildRequires: libvirt-devel >= 0.6.0
34 BuildRequires: libxml2-devel
35 BuildRequires: perl-tools-pod
36 BuildRequires: sed >= 4.0
37 %{?with_plugin:BuildRequires: xulrunner-devel}
38 Requires(post,postun): gtk-update-icon-cache
39 Requires: hicolor-icon-theme
40 Suggests: openssh-clients
41 Suggests: gnome-keyring >= 0.4.9
42 ExclusiveArch: %{ix86} x86_64 ia64
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 Virtual Machine Viewer provides a graphical console client for
47 connecting to virtual machines. It uses the GTK-VNC or SPICE-GTK
48 widgets to provide the display, and libvirt for looking up VNC/SPICE
51 Virtual Machine Viewer provides a graphical console client for
52 connecting to virtual machines. It uses the GTK-VNC or SPICE-GTK
53 widgets to provide the display, and libvirt for looking up VNC/SPICE
57 Summary: Mozilla plugin for the gtk-vnc library
58 Group: Development/Libraries
59 Requires: %{name} = %{version}-%{release}
62 Virtual Machine Viewer provides a graphical
63 console client for connecting to virtual machines. It uses the GTK-VNC
64 or SPICE-GTK widgets to provide the display, and libvirt for looking
65 up VNC/SPICE server details.
67 This package provides a web browser plugin for Mozilla compatible
73 %{__sed} -i -e 's|PWD|shell pwd|g' icons/*/Makefile.am
81 %{__enable_disable plugin} \
82 %{__with_without spice spice-gtk} \
83 %{__with_without gtk2 gtk 2.0} \
84 %{__with_without gtk3 gtk 3.0}
89 rm -rf $RPM_BUILD_ROOT
92 DESTDIR=$RPM_BUILD_ROOT
97 rm -rf $RPM_BUILD_ROOT
100 %update_icon_cache hicolor
103 %update_icon_cache hicolor
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README
108 %attr(755,root,root) %{_bindir}/virt-viewer
109 %attr(755,root,root) %{_bindir}/remote-viewer
110 %dir %{_datadir}/%{name}
111 %dir %{_datadir}/%{name}/ui
112 %{_datadir}/%{name}/ui/*.xml
113 %{_iconsdir}/hicolor/*/apps/virt-viewer.png
114 %{_mandir}/man1/virt-viewer.1*
115 %{_mandir}/man1/remote-viewer.1*
119 %defattr(644,root,root,755)