%define name convirt %define version 2.0 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: A graphical Xen management tool Group: System/Libraries License: GPL URL: http://www.convirt.net Source: http://downloads.sourceforge.net/xenman/%{name}-%{version}.tar.gz Requires: python Requires: pygtk2.0 Requires: python-vte Requires: python-paramiko >= 1.6.4 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description ConVirt is an intuitive, graphical management tool aimed at operational lifecycle management for the Xen virtualization platform. ConVirt is built on the firm design philosophy that ease-of-use and sophistication can, and should, co-exist in a single management tool. So, ConVirt should hopefully prove valuable to both seasoned Xen Administrators as well as those just seeking an introduction to Xen Virtualization %prep %setup -qn %name %install rm -rf %{buildroot} install -d -m 755 %{buildroot}%{_bindir} install -m 755 install/common/mk_image_store %{buildroot}%{_bindir}/mk_image_store cat > %{buildroot}%{_bindir}/convirt <<'EOF' #!/bin/sh if [ "$DISPLAY" == "" ]; then export DISPLAY=:0.0 fi export CONVIRT_ROOT=%{_datadir}/%{name} export CONVIRT_SRC=$CONVIRT_ROOT/src export PYTHONPATH=$PYTHONPATH:$CONVIRT_SRC python $CONVIRT_SRC/convirt/client/convirt_client.py EOF chmod 755 %{buildroot}%{_bindir}/convirt install -d -m 755 %{buildroot}%{_datadir}/%{name} cp -r src %{buildroot}%{_datadir}/%{name} install -d -m 755 %{buildroot}%{_var}/cache/%{name} cp -r image_store %{buildroot}%{_var}/cache/%{name} cp -r appliance_store %{buildroot}%{_var}/cache/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc doc/* %{_bindir}/convirt %{_bindir}/mk_image_store %{_datadir}/convirt %{_var}/cache/%{name} %changelog * Thu Mar 04 2010 Funda Wang <fwang@mandriva.org> 2.0-1mdv2010.1 + Revision: 514236 - fix build - new version 2.0 * Wed Aug 19 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.1-2mdv2010.0 + Revision: 418307 - fix shell wrapper * Sat Jun 27 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.1-1mdv2010.0 + Revision: 389942 - update to new version 1.1 * Tue Mar 17 2009 Frederic Crozat <fcrozat@mandriva.com> 1.0-2mdv2009.1 + Revision: 356840 - Replace incorrect gtk1 dependency with gtk2 one * Thu Mar 12 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.0-1mdv2009.1 + Revision: 354392 - update to new version 1.0 * Tue Nov 18 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.6-1mdv2009.1 + Revision: 304188 - update to new version 0.9.6 * Mon Oct 13 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.5-1mdv2009.1 + Revision: 293226 - update to new version 0.9.5 * Sun Aug 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.1-1mdv2009.0 + Revision: 270557 - new version * Tue Jul 01 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.9-1mdv2009.0 + Revision: 230495 - new version * Wed Mar 26 2008 Gustavo De Nardin <gustavodn@mandriva.com> 0.8.2-2mdv2008.1 + Revision: 190221 - require python-vte, which in turn requires vte * Sat Mar 22 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.2-1mdv2008.1 + Revision: 189476 - new version * Sun Feb 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.1-1mdv2008.1 + Revision: 164956 - import convirt * Sun Feb 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.1-1mdv2008.1 - first mdv release