|
|
|
@@ -1,3 +1,4 @@
|
|
|
|
|
%define _default_patch_fuzz 2 \n\n
|
|
|
|
|
# -*- rpm-spec -*-
|
|
|
|
|
|
|
|
|
|
# A client only build will create a libvirt.so only containing
|
|
|
|
@@ -60,6 +61,7 @@
|
|
|
|
|
%define with_netcf 0%{!?_without_netcf:0}
|
|
|
|
|
%define with_udev 0%{!?_without_udev:0}
|
|
|
|
|
%define with_hal 0%{!?_without_hal:0}
|
|
|
|
|
%define with_yajl 0%{!?_without_yajl:0}
|
|
|
|
|
|
|
|
|
|
# Non-server/HV driver defaults which are always enabled
|
|
|
|
|
%define with_python 0%{!?_without_python:1}
|
|
|
|
@@ -141,6 +143,11 @@
|
|
|
|
|
%define with_hal 0%{!?_without_hal:%{server_drivers}}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Enable yajl library for JSON mode with QEMU
|
|
|
|
|
%if 0%{?fedora} >= 13 || 0%{?rhel} >= 6
|
|
|
|
|
%define with_yajl 0%{!?_without_yajl:%{server_drivers}}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Force QEMU to run as non-root
|
|
|
|
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
|
|
|
|
%define qemu_user qemu
|
|
|
|
@@ -162,8 +169,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: Library providing a simple API virtualization
|
|
|
|
|
Name: libvirt
|
|
|
|
|
Version: 0.7.4
|
|
|
|
|
Release: 1%{?dist}%{?extra_release}
|
|
|
|
|
Version: 0.7.5
|
|
|
|
|
Release: 3%{?dist}%{?extra_release}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source: http://libvirt.org/sources/libvirt-%{version}.tar.gz
|
|
|
|
@@ -257,6 +264,9 @@ BuildRequires: hal-devel
|
|
|
|
|
BuildRequires: libudev-devel >= 145
|
|
|
|
|
BuildRequires: libpciaccess-devel >= 0.10.9
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_yajl}
|
|
|
|
|
BuildRequires: yajl-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %{with_avahi}
|
|
|
|
|
BuildRequires: avahi-devel
|
|
|
|
|
%endif
|
|
|
|
@@ -495,6 +505,10 @@ of recent versions of Linux (and other OSes).
|
|
|
|
|
%define _without_udev --without-udev
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{with_yajl}
|
|
|
|
|
%define _without_yajl --without-yajl
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure %{?_without_xen} \
|
|
|
|
|
%{?_without_qemu} \
|
|
|
|
|
%{?_without_openvz} \
|
|
|
|
@@ -522,6 +536,7 @@ of recent versions of Linux (and other OSes).
|
|
|
|
|
%{?_without_selinux} \
|
|
|
|
|
%{?_without_hal} \
|
|
|
|
|
%{?_without_udev} \
|
|
|
|
|
%{?_without_yajl} \
|
|
|
|
|
--with-qemu-user=%{qemu_user} \
|
|
|
|
|
--with-qemu-group=%{qemu_group} \
|
|
|
|
|
--with-init-script=redhat \
|
|
|
|
@@ -696,9 +711,6 @@ fi
|
|
|
|
|
%if %{with_network}
|
|
|
|
|
%dir %{_localstatedir}/run/libvirt/network/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/filter/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/nat/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
@@ -763,6 +775,8 @@ fi
|
|
|
|
|
%{_datadir}/libvirt/schemas/secret.rng
|
|
|
|
|
%{_datadir}/libvirt/schemas/storageencryption.rng
|
|
|
|
|
|
|
|
|
|
%{_datadir}/libvirt/cpu_map.xml
|
|
|
|
|
|
|
|
|
|
%if %{with_sasl}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
|
|
|
|
|
%endif
|
|
|
|
@@ -802,6 +816,20 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.7.5-3
|
|
|
|
|
- bump for libssh2 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 12 2010 Daniel P. Berrange <berrange@redhat.com> - 0.7.5-2
|
|
|
|
|
- Rebuild for libparted soname change
|
|
|
|
|
|
|
|
|
|
* Wed Dec 23 2009 Daniel Veillard <veillard@redhat.com> - 0.7.5-1
|
|
|
|
|
- Add new API virDomainMemoryStats
|
|
|
|
|
- Public API and domain extension for CPU flags
|
|
|
|
|
- vbox: Add support for version 3.1
|
|
|
|
|
- Support QEMU's virtual FAT block device driver
|
|
|
|
|
- a lot of fixes
|
|
|
|
|
|
|
|
|
|
* Fri Nov 20 2009 Daniel Veillard <veillard@redhat.com> - 0.7.4-1
|
|
|
|
|
- upstream release of 0.7.4
|
|
|
|
|
- udev node device backend
|
|
|
|
|