3 Summary: Virtual Machine Manager
8 Group: Applications/Emulators
9 Source0: http://virt-manager.org/download/sources/virt-manager/%{name}-%{version}.tar.gz
10 # Source0-md5: cfee07b277e315b16d5180cfab5f8307
11 Patch0: %{name}-dead-code.patch
12 URL: http://virt-manager.org/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gettext-devel >= 0.14.1
16 BuildRequires: glib2-devel
17 BuildRequires: intltool >= 0.35.0
18 BuildRequires: libtool
19 BuildRequires: perl-tools-pod
20 BuildRequires: python-devel >= 1:2.6
21 BuildRequires: python-pygobject-devel >= 2.28.6
22 BuildRequires: python-pygtk-devel >= 2.24.0
23 BuildRequires: sed >= 4.0
24 Requires(pre,preun,post): GConf2
25 Requires(post,postun): gtk-update-icon-cache
26 Requires: python-gnome-gconf >= 2.28.1
27 Requires: python-pygobject >= 2.28.6
28 Requires: python-pygtk-gtk >= 2.24.0
29 Requires: python-libvirt >= 0.9.6
30 Requires: python-dbus >= 0.84.0
31 Requires: python-gnome-desktop-librsvg >= 2.32.0
32 Requires: python-libxml2 >= 2.7.8
33 Requires: python-pygtk-glade >= 2.24.0
34 Requires: python-virtinst >= 0.600.1
35 Requires: hicolor-icon-theme
36 Requires: python-gtk-vnc >= 0.4.3
37 Requires: python-urlgrabber
38 Requires: python-pycairo
39 Requires: python-vte0 >= 0.28.2
40 Suggests: python-libguestfs >= 1.12.0
41 Suggests: gnome-keyring >= 0.4.9
42 Suggests: python-gnome-desktop-keyring >= 2.15.4
43 Suggests: python-spice-gtk
44 ExclusiveArch: %{ix86} x86_64 ia64
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 Virtual Machine Manager provides a graphical tool for administering
49 virtual machines for KVM, Xen, and QEmu. Start, stop, add or remove
50 virtual devices, connect to a graphical or serial console, and see
51 resource usage statistics for existing VMs on local or remote
52 machines. Uses libvirt as the backend management API.
58 %{__sed} -i -e 's|PWD|shell pwd|g' icons/hicolor/*/Makefile.am
66 --with-libvirt-package-names=libvirt \
67 --with-kvm-packages=qemu-kvm
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT
76 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
77 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
79 #%%py_postclean %{_datadir}/%{name}
84 rm -rf $RPM_BUILD_ROOT
87 %gconf_schema_install %{name}.schemas
88 %update_icon_cache hicolor
91 %gconf_schema_uninstall %{name}.schemas
94 %update_icon_cache hicolor
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc README COPYING COPYING-DOCS AUTHORS ChangeLog NEWS
100 %{_sysconfdir}/gconf/schemas/%{name}.schemas
101 %attr(755,root,root) %{_bindir}/%{name}
102 %attr(755,root,root) %{_bindir}/%{name}-tui
103 %{_libexecdir}/%{name}-launch
105 %dir %{_datadir}/%{name}
106 %{_datadir}/%{name}/*.glade
107 %{_datadir}/%{name}/icons
108 %{_iconsdir}/hicolor/*/apps/virt-manager.png
110 %{_datadir}/%{name}/*.py
111 %{_datadir}/%{name}/*.py[co]
112 %dir %{_datadir}/%{name}/virtManager
113 %{_datadir}/%{name}/virtManager/*.py
114 %{_datadir}/%{name}/virtManager/*.py[co]
115 %dir %{_datadir}/%{name}/virtManagerTui
116 %{_datadir}/%{name}/virtManagerTui/*.py
117 %{_datadir}/%{name}/virtManagerTui/*.py[co]
118 %dir %{_datadir}/%{name}/virtManagerTui/importblacklist
119 %{_datadir}/%{name}/virtManagerTui/importblacklist/*.py
120 %{_datadir}/%{name}/virtManagerTui/importblacklist/*.py[co]
122 %{_desktopdir}/%{name}.desktop
123 %{_datadir}/dbus-1/services/%{name}.service
124 %{_mandir}/man1/%{name}.1*