# -*- rpm-spec -*- %define _extra_release %{?extra_release:%{extra_release}} Name: virt-manager Version: 0.1.5 Release: 1%{_extra_release} Summary: Virtual Machine Manager Group: Applications/Emulators License: GPL URL: http://virt-manager.et.redhat.com/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # Any modern python should do Requires: python # These two are just the oldest version tested Requires: pygtk2 >= 1.99.12-6 Requires: gnome-python2-gconf >= 1.99.11-7 # Absolutely require this version or newer Requires: libvirt-python >= 0.1.1 # Definitely does not work with earlier due to python API changes Requires: dbus-python >= 0.61 # Might work with earlier, but this is what we've tested # We use 'ctypes' so don't need the 'gnome-keyring-python' bits Requires: gnome-keyring >= 0.4.9 # Minimum we've tested with Requires: python-ctypes >= 0.9.9.6 # src/vncViewer/image.py needs this but we'd like to kill it off # soon because it pulls in TCL/TK :-( Requires: python-imaging BuildRequires: pygtk2-devel BuildRequires: gtk2-devel BuildRequires: python-devel %description Virtual Machine Manager provides a graphical tool for administering virtual machines such as Xen. It uses libvirt as the backend management API. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.a rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/sparkline.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING AUTHORS ChangeLog NEWS %{_bindir}/%{name} %{_libexecdir}/%{name}-launch %{_libdir}/%{name}/* %{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/dbus-1/services/%{name}.service %changelog * Thu Jul 20 2006 Daniel Berrange - 0.1.5-1 - Update to new 0.1.5 release snapshot * Thu Jul 20 2006 Daniel Berrange - 0.1.4-1 - Update to new 0.1.4 release snapshot * Mon Jul 17 2006 Daniel Berrange - 0.1.3-1 - Fix License tag - Updated for new release * Wed Jun 28 2006 Daniel Berrange - 0.1.2-3 - Added missing copyright headers on all .py files * Wed Jun 28 2006 Daniel Berrange - 0.1.2-2 - Added python-devel to BuildRequires * Wed Jun 28 2006 Daniel Berrange - 0.1.2-1 - Change URL to public location * Fri Jun 16 2006 Daniel Berrange - 0.1.0-1 - Added initial support for using VNC console * Thu Apr 20 2006 Daniel Berrange - 0.0.2-1 - Added DBus remote control service * Wed Mar 29 2006 Daniel Berrange - 0.0.1-1 - Initial RPM build