3
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
5
# This macro is used for the continuous automated builds. It just
6
# allows an extra fragment based on the timestamp to be appended
7
# to the release. This distinguishes automated builds, from formal
9
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}}
10
%define appname virtinst
12
Summary: Python modules for starting Xen guest installations
13
Name: python-%{appname}
15
Release: 1%{_extra_release}
16
Source0: http://virt-manager.et.redhat.com/download/sources/%{appname}/%{appname}-%{version}.tar.gz
18
Group: Development/Libraries
19
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
21
Url: http://virt-manager.et.redhat.com
22
Requires: libvirt-python >= 0.2.0
25
BuildRequires: python-devel
28
virtinst is a module to help in starting installations of Fedora/Red
29
Hat Enterprise Linux related distributions inside of virtual machines. It
30
supports both paravirt guests (for which only FC and RHEL guests are
31
currently supported) as well as fully virtualized guests. It uses
32
libvirt (http://www.libvirt.org) for starting things.
34
Also contained is a simple script virt-install which uses
35
virtinst in a command line mode.
38
%setup -q -n %{appname}-%{version}
44
rm -rf $RPM_BUILD_ROOT
45
python setup.py install -O1 --root=$RPM_BUILD_ROOT
46
%find_lang %{appname} || echo 0
49
rm -rf $RPM_BUILD_ROOT
51
%files -f %{appname}.lang
53
%doc README COPYING AUTHORS ChangeLog NEWS doc/image.rng doc/example1.xml
54
%dir %{python_sitelib}/%{appname}
55
%{python_sitelib}/%{appname}/*
58
%{_bindir}/virt-install
63
* Tue Sep 25 2007 Daniel P. Berrange <berrange@redhat.com> - 0.300.1-1
64
- Fixed default architecture on 32-bit
65
- Fixed QEMU guest installs from remote architectures
66
- Added support for PXE installs of fullyvirtualized guests
67
- Fixed Fedora distro detection
69
* Wed Aug 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.300.0-1
71
- Added virt-image tool
72
- Switched to calling virsh console and virt-viewer
73
- Improved user input validation
75
* Tue Jul 18 2007 Daniel P. Berrange <berrange@redhat.com> - 0.200.0-1
77
- Added virt-clone tool
80
* Tue Jun 05 2007 Daniel P. Berrange <berrange@redhat.com> - 0.103.0-1
81
- Updated to 0.103.0 release
82
- Fixed module import when using --accelerate
83
- Fixed detection of RHEL5 client distro
84
- Fixed default 'network's selection & default URI choice to
86
- Fixed features XML when using initrd for fullvirt
88
* Tue Mar 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.102.0-1
89
- Updated to 0.102.0 release
91
* Tue Feb 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.101.0-1
92
- Introduce QEMU support & refactored kerne/initrd fetching
94
* Mon Jan 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.100.0-1
95
- Initial generic spec file