# -*- rpm-spec -*- %define _extra_release %{?extra_release:%{extra_release}} Name: @PACKAGE@ Version: @VERSION@ Release: 2%{_extra_release} Summary: Virtual Machine Manager Group: Applications/Emulators License: GPL v2+ URL: http://people.redhat.com/berrange/virt-manager/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: python Requires: pygtk2 >= 1.99.12-6 Requires: gnome-python2-gconf >= 1.99.11-7 Requires: libvirt-python >= 0.1.1 Requires: dbus-python >= 0.61 Requires: python-matplotlib # src/vncViewer/image.py needs either this Requires: python-imaging # Or this # pygame pulls in crazy dependancies such as Tcl, so we use python-imaging for now #Requires: pygame # But not both! 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,-) %{_bindir}/%{name} %{_libexecdir}/%{name}-launch %{_libdir}/%{name}/* %{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/dbus-1/services/%{name}.service %changelog * 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