|
|
|
|
@@ -12,13 +12,15 @@
|
|
|
|
|
%define with_python 0%{!?_without_python:1}
|
|
|
|
|
%define with_libvirtd 0%{!?_without_libvirtd:1}
|
|
|
|
|
%define with_uml 0%{!?_without_uml:1}
|
|
|
|
|
%define with_one 0%{!?_without_one:1}
|
|
|
|
|
%define with_network 0%{!?_without_network:1}
|
|
|
|
|
%define with_storage_fs 0%{!?_without_storage_fs:1}
|
|
|
|
|
%define with_storage_lvm 0%{!?_without_storage_lvm:1}
|
|
|
|
|
%define with_storage_iscsi 0%{!?_without_storage_iscsi:1}
|
|
|
|
|
%define with_storage_disk 0%{!?_without_storage_disk:1}
|
|
|
|
|
%define with_numactl 0%{!?_without_numactl:1}
|
|
|
|
|
|
|
|
|
|
# default to off
|
|
|
|
|
%define with_capng 0%{!?_without_capng:0}
|
|
|
|
|
|
|
|
|
|
# Xen is available only on i386 x86_64 ia64
|
|
|
|
|
%ifnarch i386 i586 i686 x86_64 ia64
|
|
|
|
|
@@ -40,32 +42,34 @@
|
|
|
|
|
%define with_xen_proxy 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 12
|
|
|
|
|
%define with_capng 0%{!?_without_capng:1}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# If building on RHEL switch on the specific support
|
|
|
|
|
# for the specific Xen version
|
|
|
|
|
#
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%define with_rhel5 0
|
|
|
|
|
%define with_rhel5 0
|
|
|
|
|
%else
|
|
|
|
|
%define with_rhel5 1
|
|
|
|
|
%define with_rhel5 1
|
|
|
|
|
%define with_polkit 0
|
|
|
|
|
%define with_one 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Library providing a simple API virtualization
|
|
|
|
|
Name: libvirt
|
|
|
|
|
Version: 0.6.3
|
|
|
|
|
Version: 0.6.5
|
|
|
|
|
Release: 2%{?dist}%{?extra_release}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source: libvirt-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# Patches cherry-picked from upstream
|
|
|
|
|
# N/A
|
|
|
|
|
|
|
|
|
|
# Not for upstream. Temporary hack till PulseAudio autostart
|
|
|
|
|
# problems are sorted out when SELinux enforcing
|
|
|
|
|
Patch200: libvirt-0.6.3-svirt-sound.patch
|
|
|
|
|
# Temporary hack till PulseAudio autostart problems are sorted
|
|
|
|
|
# out when SELinux enforcing (bz 486112)
|
|
|
|
|
Patch200: libvirt-0.6.4-svirt-sound.patch
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
URL: http://libvirt.org/
|
|
|
|
|
@@ -122,6 +126,9 @@ Requires: libselinux
|
|
|
|
|
%if %{with_xen}
|
|
|
|
|
BuildRequires: xen-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_one}
|
|
|
|
|
BuildRequires: xmlrpc-c-devel >= 1.14.0
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: xhtml1-dtds
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
@@ -135,9 +142,6 @@ BuildRequires: avahi-devel
|
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
|
BuildRequires: dnsmasq
|
|
|
|
|
BuildRequires: bridge-utils
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
|
BuildRequires: qemu
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_sasl}
|
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
|
%endif
|
|
|
|
|
@@ -173,6 +177,10 @@ BuildRequires: parted-devel
|
|
|
|
|
# For QEMU/LXC numa info
|
|
|
|
|
BuildRequires: numactl-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_capng}
|
|
|
|
|
BuildRequires: libcap-ng-devel >= 0.5.0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Obsoletes: libvir <= 0.2
|
|
|
|
|
Provides: libvir = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
@@ -266,6 +274,10 @@ iconv -f ISO-8859-1 -t UTF-8 < NEWS.old > NEWS
|
|
|
|
|
%define _without_uml --without-uml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{with_one}
|
|
|
|
|
%define _without_one --without-one
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_rhel5}
|
|
|
|
|
%define _with_rhel5_api --with-rhel5-api
|
|
|
|
|
%endif
|
|
|
|
|
@@ -305,6 +317,7 @@ iconv -f ISO-8859-1 -t UTF-8 < NEWS.old > NEWS
|
|
|
|
|
%{?_without_python} \
|
|
|
|
|
%{?_without_libvirtd} \
|
|
|
|
|
%{?_without_uml} \
|
|
|
|
|
%{?_without_one} \
|
|
|
|
|
%{?_without_network} \
|
|
|
|
|
%{?_with_rhel5_api} \
|
|
|
|
|
%{?_without_storage_fs} \
|
|
|
|
|
@@ -520,6 +533,7 @@ fi
|
|
|
|
|
%dir %{_includedir}/libvirt
|
|
|
|
|
%{_includedir}/libvirt/*.h
|
|
|
|
|
%{_libdir}/pkgconfig/libvirt.pc
|
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libvirt
|
|
|
|
|
%doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
|
|
|
|
|
%doc %{_datadir}/gtk-doc/html/libvirt/*.html
|
|
|
|
|
%doc %{_datadir}/gtk-doc/html/libvirt/*.png
|
|
|
|
|
@@ -544,6 +558,59 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 0.6.5-2.fc12
|
|
|
|
|
- Bump release number to rebuild against new libparted.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.5-1.fc12
|
|
|
|
|
- Upstream release of 0.6.5
|
|
|
|
|
- OpenNebula driver
|
|
|
|
|
- many bug fixes
|
|
|
|
|
|
|
|
|
|
* Fri Jul 3 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.4-4.fc12
|
|
|
|
|
- Fix libvirtd crash with bad capabilities data (bug #505635)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 3 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.4-3.fc12
|
|
|
|
|
- Handle shared/readonly image labelling (bug #493692)
|
|
|
|
|
- Don't unnecessarily try to change a file context (bug #507555)
|
|
|
|
|
- Don't try to label a disk with no path (e.g. empty cdrom) (bug #499569)
|
|
|
|
|
|
|
|
|
|
* Fri Jun 5 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.4-2.fc12
|
|
|
|
|
- Remove the qemu BuildRequires
|
|
|
|
|
|
|
|
|
|
* Fri May 29 2009 Daniel Veillard <veillard@redhat.com> - 0.6.4-1.fc12
|
|
|
|
|
- Upstream release of 0.6.4
|
|
|
|
|
- new APIs
|
|
|
|
|
- fixes for latests QEmu/KVM versions
|
|
|
|
|
- various assorted fixes
|
|
|
|
|
|
|
|
|
|
* Mon May 25 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.3-11.fc12
|
|
|
|
|
- Bring up the bridge, even if it doesn't have an IP address (bug #501912)
|
|
|
|
|
|
|
|
|
|
* Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.3-10.fc12
|
|
|
|
|
- Fix XML attribute escaping (bug #499791)
|
|
|
|
|
- Fix serious event handling issues causing guests to be destroyed (bug #499698)
|
|
|
|
|
|
|
|
|
|
* Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.3-9.fc12
|
|
|
|
|
- Fix qemu argv detection with latest qemu (bug #501923)
|
|
|
|
|
|
|
|
|
|
* Sun May 10 2009 Cole Robinson <crobinso@redhat.com> - 0.6.2-8.fc12
|
|
|
|
|
- Don't try to label a disk with no path (e.g. empty cdrom) (bug #499569)
|
|
|
|
|
|
|
|
|
|
* Thu May 7 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.3-7.fc12
|
|
|
|
|
- Enable migration for qemu 0.10 (bug #499704)
|
|
|
|
|
|
|
|
|
|
* Wed May 6 2009 Cole Robinson <crobinso@redhat.com> - 0.6.3-6.fc12
|
|
|
|
|
- Refresh qemu caps when getCapabilities is called (bug #460649)
|
|
|
|
|
|
|
|
|
|
* Wed May 6 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.3-5.fc12
|
|
|
|
|
- Fix handling of <hostdev managed='yes'> (bug #499386)
|
|
|
|
|
|
|
|
|
|
* Tue May 5 2009 Daniel Berrange <berrange@redhat.com> - 0.6.3-4.fc12
|
|
|
|
|
- Fix readonly/shared disk image labelling (rhbz #493692)
|
|
|
|
|
|
|
|
|
|
* Tue Apr 28 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-3.fc12
|
|
|
|
|
- was also missing /usr/share/gtk-doc/html/libvirt in -devel
|
|
|
|
|
|
|
|
|
|
* Tue Apr 28 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-2.fc12
|
|
|
|
|
- fix packaging bug #496945 libvirt should own /var/cache/libvirt
|
|
|
|
|
|
|
|
|
|
|