~ubuntu-branches/ubuntu/raring/virtinst/raring-proposed

« back to all changes in this revision

Viewing changes to python-virtinst.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-11-20 13:40:28 UTC
  • Revision ID: james.westby@ubuntu.com-20071120134028-rg0pjby0jc4mycks
Tags: upstream-0.300.1+hg20071120
ImportĀ upstreamĀ versionĀ 0.300.1+hg20071120

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- rpm-spec -*-
 
2
 
 
3
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
4
 
 
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
 
8
# Fedora RPM builds
 
9
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}}
 
10
%define appname virtinst
 
11
 
 
12
Summary: Python modules for starting Xen guest installations
 
13
Name: python-%{appname}
 
14
Version: ::VERSION::
 
15
Release: 1%{_extra_release}
 
16
Source0: http://virt-manager.et.redhat.com/download/sources/%{appname}/%{appname}-%{version}.tar.gz
 
17
License: GPLv2+
 
18
Group: Development/Libraries
 
19
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
20
BuildArch: noarch
 
21
Url: http://virt-manager.et.redhat.com
 
22
Requires: libvirt-python >= 0.2.0
 
23
Requires: virt-viewer
 
24
Requires: urlgrabber
 
25
BuildRequires: python-devel
 
26
 
 
27
%description
 
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.
 
33
 
 
34
Also contained is a simple script virt-install which uses
 
35
virtinst in a command line mode.
 
36
 
 
37
%prep
 
38
%setup -q -n %{appname}-%{version}
 
39
 
 
40
%build
 
41
python setup.py build
 
42
 
 
43
%install
 
44
rm -rf $RPM_BUILD_ROOT
 
45
python setup.py install -O1 --root=$RPM_BUILD_ROOT
 
46
%find_lang %{appname} || echo 0
 
47
 
 
48
%clean
 
49
rm -rf $RPM_BUILD_ROOT
 
50
 
 
51
%files -f %{appname}.lang
 
52
%defattr(-,root,root)
 
53
%doc README COPYING AUTHORS ChangeLog NEWS doc/image.rng doc/example1.xml
 
54
%dir %{python_sitelib}/%{appname}
 
55
%{python_sitelib}/%{appname}/*
 
56
%{_mandir}/man1/*
 
57
%{_mandir}/man5/*
 
58
%{_bindir}/virt-install
 
59
%{_bindir}/virt-clone
 
60
%{_bindir}/virt-image
 
61
 
 
62
%changelog
 
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
 
68
 
 
69
* Wed Aug 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.300.0-1
 
70
- Updated to 0.300.0
 
71
- Added virt-image tool
 
72
- Switched to calling virsh console and virt-viewer
 
73
- Improved user input validation
 
74
 
 
75
* Tue Jul 18 2007 Daniel P. Berrange <berrange@redhat.com> - 0.200.0-1
 
76
- Updated to 0.200.0
 
77
- Added virt-clone tool
 
78
- Added manual pages
 
79
 
 
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
 
85
  not be Xen specific
 
86
- Fixed features XML when using initrd for fullvirt
 
87
 
 
88
* Tue Mar 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.102.0-1
 
89
- Updated to 0.102.0 release
 
90
 
 
91
* Tue Feb 20 2007 Daniel P. Berrange <berrange@redhat.com> - 0.101.0-1
 
92
- Introduce QEMU support & refactored kerne/initrd fetching
 
93
 
 
94
* Mon Jan 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.100.0-1
 
95
- Initial generic spec file
 
96