Daniel Veillard 5c1d88
# -*- rpm-spec -*-
Daniel Veillard 5c1d88
Daniel Veillard f5edf7
%define with_xen           0%{!?_without_xen:1}
Daniel Veillard f5edf7
%define with_xen_proxy     0%{!?_without_xen_proxy:1}
Daniel Veillard f5edf7
%define with_qemu          0%{!?_without_qemu:1}
Daniel Veillard f5edf7
%define with_openvz        0%{!?_without_openvz:1}
Daniel Veillard f5edf7
%define with_lxc           0%{!?_without_lxc:1}
Daniel Veillard 6a7311
%define with_vbox          0%{!?_without_vbox:1}
Daniel Veillard f5edf7
%define with_sasl          0%{!?_without_sasl:1}
Daniel Veillard f5edf7
%define with_avahi         0%{!?_without_avahi:1}
Daniel Veillard 6a7311
%define with_polkit        0%{!?_without_polkit:1}
Daniel Veillard f5edf7
%define with_python        0%{!?_without_python:1}
Daniel Veillard f5edf7
%define with_libvirtd      0%{!?_without_libvirtd:1}
Daniel Veillard f5edf7
%define with_uml           0%{!?_without_uml:1}
Daniel Veillard f5edf7
%define with_network       0%{!?_without_network:1}
Daniel Veillard f5edf7
%define with_storage_fs    0%{!?_without_storage_fs:1}
Daniel Veillard f5edf7
%define with_storage_lvm   0%{!?_without_storage_lvm:1}
Daniel Veillard f5edf7
%define with_storage_iscsi 0%{!?_without_storage_iscsi:1}
Daniel Veillard f5edf7
%define with_storage_disk  0%{!?_without_storage_disk:1}
Daniel Veillard f5edf7
%define with_numactl       0%{!?_without_numactl:1}
Daniel Veillard f5edf7
Daniel Veillard f5edf7
Mark McLoughlin 67a2f2
# Xen is available only on i386 x86_64 ia64
Daniel Veillard 03c5fe
%ifnarch i386 i586 i686 x86_64 ia64
Mark McLoughlin 67a2f2
%define with_xen 0
Mark McLoughlin 67a2f2
%endif
Mark McLoughlin 67a2f2
Mark McLoughlin 67a2f2
%if ! %{with_xen}
Mark McLoughlin 67a2f2
%define with_xen_proxy 0
Daniel Veillard 4f6679
%endif
Daniel Veillard 4f6679
Daniel Veillard 1e122e
%if 0%{?fedora}
Daniel Veillard 2b9efc
%ifarch ppc64
Daniel Veillard 2b9efc
%define with_qemu 0
Daniel Veillard 2b9efc
%endif
Mark McLoughlin 67a2f2
%endif
Mark McLoughlin 67a2f2
Daniel Veillard 2a3935
%if 0%{?fedora} >= 8
Daniel Veillard f294b4
%define with_polkit    0%{!?_without_polkit:1}
Mark McLoughlin 67a2f2
%define with_xen_proxy 0
Daniel Veillard bf744f
%endif
Daniel Veillard bf744f
Daniel Veillard 958f1c
#
Daniel Veillard 958f1c
# If building on RHEL switch on the specific support
Daniel Veillard 958f1c
# for the specific Xen version
Daniel Veillard 958f1c
#
Daniel Veillard 958f1c
%if 0%{?fedora}
Daniel Veillard 958f1c
%define with_rhel5 0
Daniel Veillard 958f1c
%else
Daniel Veillard 958f1c
%define with_rhel5 1
Daniel Veillard 6a7311
%define with_polkit 0
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard 958f1c
Jeremy Katz f6cef9
Summary: Library providing a simple API virtualization
Daniel Veillard e2b90f
Name: libvirt
Daniel Veillard 6a7311
Version: 0.6.3
Cole Robinson 4465a6
Release: 8%{?dist}%{?extra_release}
Tom Callaway af1116
License: LGPLv2+
Daniel Veillard e2b90f
Group: Development/Libraries
Daniel Veillard e2b90f
Source: libvirt-%{version}.tar.gz
Daniel P. Berrange 511f6c
Mark McLoughlin 1e2f9f
# Patches cherry-picked from upstream
Daniel P. Berrange afdaf5
Patch1: libvirt-0.6.3-shared-readonly-label.patch
Mark McLoughlin fa0f21
Patch2: libvirt-0.6.3-hostdev-managed.patch
Cole Robinson 750aec
# Refresh qemu caps when getCapabilities is called (bz 460649)
Cole Robinson 750aec
Patch3: libvirt-0.6.3-refresh-qemu-caps.patch
Mark McLoughlin 3f397d
# Enable migration with qemu 0.10
Mark McLoughlin 3f397d
Patch4: libvirt-0.6.3-enable-qemu-0-10-migration.patch
Cole Robinson 4465a6
# Don't try to label a disk with no path (e.g. empty cdrom) (bz 499569)
Cole Robinson 4465a6
Patch5: libvirt-0.6.2-fix-nosource-label.patch
Mark McLoughlin 1e2f9f
Daniel P. Berrange a09fc2
# Not for upstream. Temporary hack till PulseAudio autostart
Daniel P. Berrange a09fc2
# problems are sorted out when SELinux enforcing
Daniel Veillard 6a7311
Patch200: libvirt-0.6.3-svirt-sound.patch
Daniel P. Berrange a09fc2
Daniel Veillard 072c9c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Daniel Veillard 5c1d88
URL: http://libvirt.org/
Jeremy Katz f68d72
BuildRequires: python python-devel
Daniel Veillard d55c7f
Requires: readline
Daniel Veillard 609ab7
Requires: ncurses
Daniel P. Berrange c00369
Requires: dnsmasq
Daniel Veillard c70baa
Requires: bridge-utils
Daniel Veillard c70baa
Requires: iptables
Daniel Veillard 7244d1
# needed for device enumeration
Daniel Veillard 7244d1
Requires: hal
Daniel Veillard 4f6679
# So remote clients can access libvirt over SSH tunnel
Daniel Veillard 4f6679
# (client invokes 'nc' against the UNIX socket on the server)
Daniel Veillard 4f6679
Requires: nc
Daniel Veillard f294b4
%if %{with_sasl}
Daniel Veillard 4f6679
Requires: cyrus-sasl
Daniel Veillard 4f6679
# Not technically required, but makes 'out-of-box' config
Daniel Veillard bf744f
# work correctly & doesn't have onerous dependencies
Daniel Veillard 4f6679
Requires: cyrus-sasl-md5
Daniel Veillard f294b4
%endif
Daniel Veillard 4f6679
%if %{with_polkit}
Daniel Veillard 4f6679
Requires: PolicyKit >= 0.6
Daniel Veillard 4f6679
%endif
Daniel Veillard f5edf7
%if %{with_storage_fs}
Daniel Veillard bf744f
# For mount/umount in FS driver
Daniel Veillard bf744f
BuildRequires: util-linux
Daniel Veillard 072c9c
# For showmount in FS driver (netfs discovery)
Daniel Veillard 072c9c
BuildRequires: nfs-utils
Daniel Veillard 072c9c
Requires: nfs-utils
Daniel Veillard f5edf7
%endif
Daniel Veillard bf744f
%if %{with_qemu}
Daniel Veillard bf744f
# From QEMU RPMs
Daniel Veillard bf744f
Requires: /usr/bin/qemu-img
Daniel Veillard bf744f
%else
Mark McLoughlin 67a2f2
%if %{with_xen}
Daniel Veillard bf744f
# From Xen RPMs
Daniel Veillard bf744f
Requires: /usr/sbin/qcow-create
Daniel Veillard bf744f
%endif
Daniel Veillard 69f623
%endif
Daniel Veillard f5edf7
%if %{with_storage_lvm}
Daniel Veillard bf744f
# For LVM drivers
Daniel Veillard bf744f
Requires: lvm2
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
%if %{with_storage_iscsi}
Daniel Veillard bf744f
# For ISCSI driver
Daniel Veillard bf744f
Requires: iscsi-initiator-utils
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
%if %{with_storage_disk}
Daniel Veillard bf744f
# For disk driver
Daniel Veillard bf744f
Requires: parted
Daniel Veillard f5edf7
%endif
Cole Robinson 48b90f
# For svirt support
Cole Robinson 48b90f
Requires: libselinux
Mark McLoughlin 67a2f2
%if %{with_xen}
Daniel Veillard 313e00
BuildRequires: xen-devel
Daniel Veillard cc3975
%endif
Daniel Veillard ba3d2d
BuildRequires: libxml2-devel
Daniel Veillard 072c9c
BuildRequires: xhtml1-dtds
Daniel Veillard d55c7f
BuildRequires: readline-devel
Daniel Veillard 609ab7
BuildRequires: ncurses-devel
Daniel Veillard 5c1d88
BuildRequires: gettext
Daniel Veillard c70baa
BuildRequires: gnutls-devel
Daniel Veillard 7244d1
BuildRequires: hal-devel
Daniel Veillard f294b4
%if %{with_avahi}
Daniel Veillard 5ad8bc
BuildRequires: avahi-devel
Daniel Veillard f294b4
%endif
Daniel Veillard bf744f
BuildRequires: libselinux-devel
Daniel Veillard 5ad8bc
BuildRequires: dnsmasq
Daniel Veillard 5ad8bc
BuildRequires: bridge-utils
Daniel Veillard 2b9efc
%if %{with_qemu}
Daniel Veillard bf744f
BuildRequires: qemu
Daniel Veillard 2b9efc
%endif
Daniel Veillard f294b4
%if %{with_sasl}
Daniel Veillard 4f6679
BuildRequires: cyrus-sasl-devel
Daniel Veillard f294b4
%endif
Daniel Veillard 4f6679
%if %{with_polkit}
Daniel Veillard 4f6679
BuildRequires: PolicyKit-devel >= 0.6
Daniel Veillard 4f6679
%endif
Daniel Veillard f5edf7
%if %{with_storage_fs}
Daniel Veillard bf744f
# For mount/umount in FS driver
Daniel Veillard bf744f
BuildRequires: util-linux
Daniel Veillard f5edf7
%endif
Daniel Veillard bf744f
%if %{with_qemu}
Daniel Veillard bf744f
# From QEMU RPMs
Daniel Veillard bf744f
BuildRequires: /usr/bin/qemu-img
Daniel Veillard bf744f
%else
Mark McLoughlin 67a2f2
%if %{with_xen}
Daniel Veillard bf744f
# From Xen RPMs
Daniel Veillard bf744f
BuildRequires: /usr/sbin/qcow-create
Daniel Veillard bf744f
%endif
Daniel Veillard 2b9efc
%endif
Daniel Veillard f5edf7
%if %{with_storage_lvm}
Daniel Veillard bf744f
# For LVM drivers
Daniel Veillard bf744f
BuildRequires: lvm2
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
%if %{with_storage_iscsi}
Daniel Veillard bf744f
# For ISCSI driver
Daniel Veillard bf744f
BuildRequires: iscsi-initiator-utils
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
%if %{with_storage_disk}
Daniel Veillard bf744f
# For disk driver
Daniel Veillard bf744f
BuildRequires: parted-devel
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
%if %{with_numactl}
Daniel Veillard 958f1c
# For QEMU/LXC numa info
Daniel Veillard 958f1c
BuildRequires: numactl-devel
Daniel Veillard f5edf7
%endif
Richard W.M. Jones 8c0142
Obsoletes: libvir <= 0.2
Richard W.M. Jones 8c0142
Provides: libvir = %{version}-%{release}
Daniel P. Berrange 36d558
Daniel Veillard 31802d
# Fedora build root suckage
Daniel Veillard 31802d
BuildRequires: gawk
Daniel Veillard 31802d
Daniel Veillard e2b90f
%description
Daniel Veillard bf744f
Libvirt is a C toolkit to interact with the virtualization capabilities
Jeremy Katz f6cef9
of recent versions of Linux (and other OSes).
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%package devel
Daniel Veillard e2b90f
Summary: Libraries, includes, etc. to compile with the libvirt library
Daniel Veillard e2b90f
Group: Development/Libraries
Richard W.M. Jones 8c0142
Requires: libvirt = %{version}-%{release}
Daniel Veillard 68efef
Requires: pkgconfig
Mark McLoughlin 67a2f2
%if %{with_xen}
Daniel Veillard b2a1a0
Requires: xen-devel
Daniel Veillard cc3975
%endif
Richard W.M. Jones 8c0142
Obsoletes: libvir-devel <= 0.2
Richard W.M. Jones 8c0142
Provides: libvir-devel = %{version}-%{release}
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%description devel
Daniel Veillard e2b90f
Includes and documentations for the C library providing an API to use
Jeremy Katz f6cef9
the virtualization capabilities of recent versions of Linux (and other OSes).
Daniel Veillard e2b90f
Daniel Veillard f294b4
%if %{with_python}
Daniel Veillard e2b90f
%package python
Daniel Veillard e2b90f
Summary: Python bindings for the libvirt library
Daniel Veillard e2b90f
Group: Development/Libraries
Richard W.M. Jones 8c0142
Requires: libvirt = %{version}-%{release}
Richard W.M. Jones 8c0142
Obsoletes: libvir-python <= 0.2
Richard W.M. Jones 8c0142
Provides: libvir-python = %{version}-%{release}
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%description python
Daniel Veillard e2b90f
The libvirt-python package contains a module that permits applications
Daniel Veillard e2b90f
written in the Python programming language to use the interface
Daniel Veillard bf744f
supplied by the libvirt library to use the virtualization capabilities
Jeremy Katz f6cef9
of recent versions of Linux (and other OSes).
Daniel Veillard f294b4
%endif
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%prep
Daniel Veillard e2b90f
%setup -q
Daniel P. Berrange afdaf5
%patch1 -p1
Mark McLoughlin fa0f21
%patch2 -p1
Cole Robinson 750aec
%patch3 -p1
Mark McLoughlin 3f397d
%patch4 -p1
Cole Robinson 4465a6
%patch5 -p1
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%patch200 -p0
Daniel Veillard e2b90f
Richard W.M. Jones 8c0142
mv NEWS NEWS.old
Richard W.M. Jones 8c0142
iconv -f ISO-8859-1 -t UTF-8 < NEWS.old > NEWS
Richard W.M. Jones 8c0142
Daniel Veillard e2b90f
%build
Mark McLoughlin 67a2f2
%if ! %{with_xen}
Mark McLoughlin 67a2f2
%define _without_xen --without-xen
Daniel Veillard 2b9efc
%endif
Mark McLoughlin 67a2f2
Mark McLoughlin 67a2f2
%if ! %{with_qemu}
Mark McLoughlin f7a6d9
%define _without_qemu --without-qemu
Daniel Veillard cc3975
%endif
Daniel Veillard cc3975
Daniel Veillard 072c9c
%if ! %{with_openvz}
Daniel Veillard 072c9c
%define _without_openvz --without-openvz
Daniel Veillard 072c9c
%endif
Daniel Veillard 072c9c
Daniel Veillard 072c9c
%if ! %{with_lxc}
Daniel Veillard 072c9c
%define _without_lxc --without-lxc
Daniel Veillard 072c9c
%endif
Daniel Veillard 072c9c
Daniel Veillard 6a7311
%if ! %{with_vbox}
Daniel Veillard 6a7311
%define _without_vbox --without-vbox
Daniel Veillard 6a7311
%endif
Daniel Veillard 6a7311
Daniel Veillard f294b4
%if ! %{with_sasl}
Daniel Veillard f294b4
%define _without_sasl --without-sasl
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_avahi}
Daniel Veillard f294b4
%define _without_avahi --without-avahi
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_polkit}
Daniel Veillard f294b4
%define _without_polkit --without-polkit
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_python}
Daniel Veillard f294b4
%define _without_python --without-python
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_libvirtd}
Daniel Veillard f294b4
%define _without_libvirtd --without-libvirtd
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 7244d1
%if ! %{with_uml}
Daniel Veillard 7244d1
%define _without_uml --without-uml
Daniel Veillard 7244d1
%endif
Daniel Veillard 7244d1
Daniel Veillard 958f1c
%if %{with_rhel5}
Daniel Veillard 958f1c
%define _with_rhel5_api --with-rhel5-api
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard 958f1c
%if ! %{with_network}
Daniel Veillard 958f1c
%define _without_network --without-network
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard f5edf7
%if ! %{with_storage_fs}
Daniel Veillard f5edf7
%define _without_storage_fs --without-storage-fs
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%if ! %{with_storage_lvm}
Daniel Veillard f5edf7
%define _without_storage_lvm --without-storage-lvm
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%if ! %{with_storage_iscsi}
Daniel Veillard f5edf7
%define _without_storage_iscsi --without-storage-iscsi
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%if ! %{with_storage_disk}
Daniel Veillard f5edf7
%define _without_storage_disk --without-storage-disk
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Daniel Veillard f5edf7
%if ! %{with_numactl}
Daniel Veillard f5edf7
%define _without_numactl --without-numactl
Daniel Veillard f5edf7
%endif
Daniel Veillard f5edf7
Mark McLoughlin 67a2f2
%configure %{?_without_xen} \
Mark McLoughlin 67a2f2
           %{?_without_qemu} \
Daniel Veillard 072c9c
           %{?_without_openvz} \
Daniel Veillard 072c9c
           %{?_without_lxc} \
Daniel Veillard 6a7311
           %{?_without_vbox} \
Daniel Veillard f294b4
           %{?_without_sasl} \
Daniel Veillard f294b4
           %{?_without_avahi} \
Daniel Veillard f294b4
           %{?_without_polkit} \
Daniel Veillard f294b4
           %{?_without_python} \
Daniel Veillard f294b4
           %{?_without_libvirtd} \
Daniel Veillard 7244d1
           %{?_without_uml} \
Daniel Veillard 958f1c
           %{?_without_network} \
Daniel Veillard 958f1c
           %{?_with_rhel5_api} \
Daniel Veillard f5edf7
           %{?_without_storage_fs} \
Daniel Veillard f5edf7
           %{?_without_storage_lvm} \
Daniel Veillard f5edf7
           %{?_without_storage_iscsi} \
Daniel Veillard f5edf7
           %{?_without_storage_disk} \
Daniel Veillard f5edf7
           %{?_without_numactl} \
Mark McLoughlin 67a2f2
           --with-init-script=redhat \
Mark McLoughlin 67a2f2
           --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
Mark McLoughlin 67a2f2
           --with-remote-file=%{_localstatedir}/run/libvirtd.pid
Daniel Veillard 072c9c
make %{?_smp_mflags}
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%install
Richard W.M. Jones 8c0142
rm -rf %{buildroot}
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%makeinstall
Daniel Veillard c70baa
(cd docs/examples ; make clean ; rm -rf .deps Makefile Makefile.in)
Daniel Veillard fb9044
(cd docs/examples/python ; rm -rf .deps Makefile Makefile.in)
Daniel Veillard fb9044
(cd examples/hellolibvirt ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
Daniel Veillard fb9044
(cd examples/domain-events/events-c ;  make clean ;rm -rf .deps .libs Makefile Makefile.in)
Daniel Veillard fb9044
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
Daniel Veillard e2b90f
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
Daniel Veillard df8a62
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/libvirt/
Daniel P. Berrange 206300
# Default dir for disk images defined in SELinux policy
Daniel P. Berrange 206300
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/images/
Daniel Veillard 6a7311
# Default dir for kernel+initrd images defined in SELinux policy
Daniel P. Berrange 049a8c
install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/lib/libvirt/boot/
Daniel Veillard 1a4185
# used for virDomainMemoryPeek
Daniel Veillard 1a4185
install -d -m 0700 $RPM_BUILD_ROOT%{_localstatedir}/cache/libvirt/
Daniel Veillard 7a6f07
Daniel Veillard f294b4
%if %{with_qemu}
Daniel Veillard 7a6f07
# We don't want to install /etc/libvirt/qemu/networks in the main %files list
Daniel Veillard 7a6f07
# because if the admin wants to delete the default network completely, we don't
Daniel Veillard 7a6f07
# want to end up re-incarnating it on every RPM upgrade.
Daniel Veillard 7a6f07
install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/
Daniel Veillard 7a6f07
cp $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml \
Daniel Veillard 7a6f07
   $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
Daniel Veillard 7a6f07
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel Veillard 7a6f07
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel Veillard 7a6f07
# Strip auto-generated UUID - we need it generated per-install
Daniel Veillard 7a6f07
sed -i -e "/<uuid>/d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml
Daniel Veillard fe0909
%else
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/libvirtd_qemu.aug
Daniel Veillard fe0909
rm -f $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
Daniel Veillard f294b4
%endif
Daniel Veillard 5c1d88
%find_lang %{name}
Daniel Veillard e2b90f
Daniel Veillard f294b4
%if ! %{with_python}
Daniel Veillard f294b4
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if ! %{with_qemu}
Daniel Veillard f294b4
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Richard W.M. Jones 8c0142
%if %{with_libvirtd}
Richard W.M. Jones 8c0142
chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/libvirtd
Richard W.M. Jones 8c0142
%endif
Richard W.M. Jones 8c0142
Daniel Veillard e2b90f
%clean
Daniel Veillard e2b90f
rm -fr %{buildroot}
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%post
Daniel Veillard e2b90f
/sbin/ldconfig
Daniel Veillard e2b90f
Daniel Veillard f294b4
%if %{with_libvirtd}
Daniel Veillard fe0909
%if %{with_qemu}
Daniel Veillard 7a6f07
# We want to install the default network for initial RPM installs
Daniel Veillard 7a6f07
# or on the first upgrade from a non-network aware libvirt only.
Daniel Veillard 7a6f07
# We check this by looking to see if the daemon is already installed
Daniel Veillard 7a6f07
/sbin/chkconfig --list libvirtd 1>/dev/null 2>&1
Daniel Veillard 958f1c
if [ $? != 0 -a ! -f %{_sysconfdir}/libvirt/qemu/networks/default.xml ]
Daniel Veillard 7a6f07
then
Daniel Veillard 7a6f07
    UUID=`/usr/bin/uuidgen`
Daniel Veillard 7a6f07
    sed -e "s,</name>,</name>\n  <uuid>$UUID</uuid>," \
Daniel Veillard 7a6f07
         < %{_datadir}/libvirt/networks/default.xml \
Daniel Veillard 7a6f07
         > %{_sysconfdir}/libvirt/qemu/networks/default.xml
Daniel Veillard 7a6f07
    ln -s ../default.xml %{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
Daniel Veillard 7a6f07
fi
Daniel Veillard fe0909
%endif
Daniel Veillard 7a6f07
Daniel Veillard 7a6f07
/sbin/chkconfig --add libvirtd
Daniel Veillard f294b4
%endif
Daniel Veillard 7a6f07
Daniel Veillard 7a6f07
%preun
Daniel Veillard f294b4
%if %{with_libvirtd}
Daniel Veillard 7a6f07
if [ $1 = 0 ]; then
Daniel Veillard 7a6f07
    /sbin/service libvirtd stop 1>/dev/null 2>&1
Daniel Veillard 7a6f07
    /sbin/chkconfig --del libvirtd
Daniel Veillard 7a6f07
fi
Daniel Veillard f294b4
%endif
Daniel Veillard 7a6f07
Richard W.M. Jones 8c0142
%postun -p /sbin/ldconfig
Daniel Veillard e2b90f
Daniel Veillard 5c1d88
%files -f %{name}.lang
Daniel Veillard e2b90f
%defattr(-, root, root)
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%doc AUTHORS ChangeLog NEWS README COPYING.LIB TODO
Daniel Veillard 6a7311
%{_mandir}/man1/virsh.1*
Daniel Veillard 6a7311
%{_mandir}/man1/virt-xml-validate.1*
Daniel Veillard e2b90f
%{_bindir}/virsh
Daniel Veillard 6a7311
%{_bindir}/virt-xml-validate
Daniel Veillard e2b90f
%{_libdir}/lib*.so.*
Daniel Veillard 7a6f07
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_qemu}
Daniel Veillard 7a6f07
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
Daniel Veillard 7a6f07
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
Daniel Veillard 2cac8e
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_libvirtd}
Daniel Veillard 7a6f07
%{_sysconfdir}/rc.d/init.d/libvirtd
Daniel Veillard c70baa
%config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
Daniel P. Berrange fdd7e8
%config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
Daniel Veillard 958f1c
%config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_qemu}
Daniel P. Berrange fdd7e8
%config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_sasl}
Daniel Veillard 4f6679
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_qemu}
Daniel Veillard 7a6f07
%dir %{_datadir}/libvirt/
Daniel Veillard 7a6f07
%dir %{_datadir}/libvirt/networks/
Daniel Veillard 7a6f07
%{_datadir}/libvirt/networks/default.xml
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 958f1c
%dir %{_datadir}/libvirt/
Daniel Veillard 958f1c
%dir %{_datadir}/libvirt/schemas/
Daniel Veillard 958f1c
Daniel Veillard 958f1c
%{_datadir}/libvirt/schemas/domain.rng
Daniel Veillard 958f1c
%{_datadir}/libvirt/schemas/network.rng
Daniel Veillard 958f1c
%{_datadir}/libvirt/schemas/storagepool.rng
Daniel Veillard 958f1c
%{_datadir}/libvirt/schemas/storagevol.rng
Daniel Veillard 958f1c
%{_datadir}/libvirt/schemas/nodedev.rng
Daniel Veillard 958f1c
%{_datadir}/libvirt/schemas/capability.rng
Daniel Veillard 958f1c
Daniel Veillard 7a6f07
%dir %{_localstatedir}/run/libvirt/
Daniel Veillard 958f1c
Daniel Veillard 7a6f07
%dir %{_localstatedir}/lib/libvirt/
Daniel P. Berrange 206300
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/images/
Daniel P. Berrange 049a8c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/boot/
Daniel Veillard 1a4185
%dir %attr(0700, root, root) %{_localstatedir}/cache/libvirt/
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_qemu}
Daniel Veillard 958f1c
%dir %{_localstatedir}/run/libvirt/qemu/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/qemu/
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
%if %{with_lxc}
Daniel Veillard 958f1c
%dir %{_localstatedir}/run/libvirt/lxc/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/lxc/
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
%if %{with_uml}
Daniel Veillard 958f1c
%dir %{_localstatedir}/run/libvirt/uml/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/uml/
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
%if %{with_network}
Daniel Veillard 958f1c
%dir %{_localstatedir}/run/libvirt/network/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/network/
Daniel P. Berrange c80b7f
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/filter/
Daniel Veillard 958f1c
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/iptables/nat/
Daniel Veillard 958f1c
%endif
Daniel Veillard 958f1c
Daniel Veillard 958f1c
%if %{with_qemu}
Daniel Veillard 072c9c
%{_datadir}/augeas/lenses/libvirtd_qemu.aug
Daniel Veillard 072c9c
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_libvirtd}
Daniel Veillard f294b4
%{_datadir}/augeas/lenses/libvirtd.aug
Daniel Veillard f294b4
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 4f6679
%if %{with_polkit}
Daniel Veillard 072c9c
%{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
Daniel Veillard 4f6679
%endif
Daniel Veillard f294b4
Daniel P. Berrange c80b7f
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/
Daniel Veillard f294b4
%if %{with_qemu}
Daniel Veillard 52b4d9
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Mark McLoughlin 67a2f2
%if %{with_xen_proxy}
Daniel Veillard 759910
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
Daniel Veillard 4f6679
%endif
Daniel Veillard f294b4
Daniel Veillard 072c9c
%if %{with_lxc}
Daniel Veillard 072c9c
%attr(0755, root, root) %{_libexecdir}/libvirt_lxc
Daniel Veillard 072c9c
%endif
Daniel Veillard f294b4
Daniel Veillard f294b4
%if %{with_libvirtd}
Daniel Veillard f294b4
%attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
Daniel Veillard c70baa
%attr(0755, root, root) %{_sbindir}/libvirtd
Daniel Veillard f294b4
%endif
Daniel Veillard f294b4
Daniel Veillard 55fabd
%doc docs/*.xml
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%files devel
Daniel Veillard e2b90f
%defattr(-, root, root)
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%{_libdir}/lib*.so
Daniel Veillard deefad
%dir %{_includedir}/libvirt
Daniel Veillard e2b90f
%{_includedir}/libvirt/*.h
Daniel Veillard e2b90f
%{_libdir}/pkgconfig/libvirt.pc
Daniel Veillard 26bba5
%dir %{_datadir}/gtk-doc/html/libvirt
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.devhelp
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.html
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.png
Daniel Veillard 4cb72c
%doc %{_datadir}/gtk-doc/html/libvirt/*.css
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%doc docs/*.html docs/html docs/*.gif
Daniel Veillard 4cb72c
%doc docs/examples
Daniel Veillard e2b90f
%doc docs/libvirt-api.xml
Daniel Veillard fb9044
%doc examples
Daniel Veillard e2b90f
Daniel Veillard f294b4
%if %{with_python}
Daniel Veillard e2b90f
%files python
Daniel Veillard e2b90f
%defattr(-, root, root)
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%doc AUTHORS NEWS README COPYING.LIB
Daniel Veillard e2b90f
%{_libdir}/python*/site-packages/libvirt.py*
Daniel Veillard e2b90f
%{_libdir}/python*/site-packages/libvirtmod*
Daniel Veillard 4cb72c
%doc python/tests/*.py
Daniel Veillard e2b90f
%doc python/TODO
Daniel Veillard e2b90f
%doc python/libvirtclass.txt
Daniel Veillard bd474a
%doc docs/examples/python
Daniel Veillard f294b4
%endif
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%changelog
Cole Robinson 4465a6
* Sun May 10 2009 Cole Robinson <crobinso@redhat.com> - 0.6.2-8.fc12
Cole Robinson 4465a6
- Don't try to label a disk with no path (e.g. empty cdrom) (bug #499569)
Cole Robinson 4465a6
Mark McLoughlin 3f397d
* Thu May  7 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.3-7.fc12
Mark McLoughlin 3f397d
- Enable migration for qemu 0.10 (bug #499704)
Mark McLoughlin 3f397d
Cole Robinson 750aec
* Wed May  6 2009 Cole Robinson <crobinso@redhat.com> - 0.6.3-6.fc12
Cole Robinson 750aec
- Refresh qemu caps when getCapabilities is called (bug #460649)
Cole Robinson 750aec
Mark McLoughlin fa0f21
* Wed May  6 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.3-5.fc12
Mark McLoughlin fa0f21
- Fix handling of <hostdev managed='yes'> (bug #499386)
Mark McLoughlin fa0f21
Daniel P. Berrange afdaf5
* Tue May  5 2009 Daniel Berrange <berrange@redhat.com> - 0.6.3-4.fc12
Daniel P. Berrange afdaf5
- Fix readonly/shared disk image labelling (rhbz #493692)
Daniel P. Berrange afdaf5
Daniel Veillard 26bba5
* Tue Apr 28 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-3.fc12
Daniel Veillard 26bba5
- was also missing /usr/share/gtk-doc/html/libvirt in -devel
Daniel Veillard 26bba5
Daniel Veillard 1a4185
* Tue Apr 28 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-2.fc12
Daniel Veillard 1a4185
- fix packaging bug #496945 libvirt should own /var/cache/libvirt
Daniel Veillard 1a4185
Daniel Veillard 6a7311
* Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1.fc12
Daniel Veillard 6a7311
- release of 0.6.3
Daniel Veillard 6a7311
- VirtualBox driver
Daniel Veillard 6a7311
- new virt-xml-validate command
Daniel Veillard 6a7311
- assorted bug fixes
Daniel Veillard 6a7311
Mark McLoughlin 1e2f9f
* Thu Apr 16 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.2-2.fc12
Mark McLoughlin 1e2f9f
- Fix qemu drive format specification (#496092)
Mark McLoughlin 1e2f9f
Daniel Veillard f5edf7
* Fri Apr  3 2009 Daniel Veillard <veillard@redhat.com> - 0.6.2-1.fc11
Daniel Veillard f5edf7
- release of 0.6.2
Daniel Veillard f5edf7
- memory ballooning in QEMU
Daniel Veillard f5edf7
- SCSI HBA storage pool support
Daniel Veillard f5edf7
- support SASL auth for VNC server
Daniel Veillard f5edf7
- PCI passthrough in Xen driver
Daniel Veillard f5edf7
- assorted bug fixes
Daniel Veillard f5edf7
Daniel P. Berrange b59e64
* Fri Apr  3 2009 Daniel P. Berrange  <berrange@redhat.com> - 0.6.1-6.fc11
Daniel P. Berrange b59e64
- Fix typo in previous patch
Daniel P. Berrange b59e64
Daniel P. Berrange a008fc
* Tue Mar 17 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.1-5.fc11
Daniel P. Berrange a008fc
- Don't relabel shared/readonly disks
Daniel P. Berrange a09fc2
- Disable sound cards when running sVirt
Daniel P. Berrange a008fc
Daniel P. Berrange 511f6c
* Tue Mar 17 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.1-4.fc11
Daniel P. Berrange 511f6c
- Fix memory allocation for xend lookup
Daniel P. Berrange 511f6c
- Avoid crash if storage volume deletion fails
Daniel P. Berrange 511f6c
- Fix multiple FD leaks
Daniel P. Berrange 511f6c
- Fix bug in dispatch FD events when a callback is marked deleted
Daniel P. Berrange 511f6c
- Fix parsing of storage volume owner/group/mode
Daniel P. Berrange 511f6c
- Fix memory allocation for virDomainGetVcpus RPC handler
Daniel P. Berrange 511f6c
- Avoid deadlock in setting vCPU count
Daniel P. Berrange 511f6c
- Use correct driver name in Xen block detach
Daniel P. Berrange 511f6c
Cole Robinson 48b90f
* Mon Mar  9 2009 Cole Robinson <crobinso@redhat.com> - 0.6.1-3.fc11
Cole Robinson 48b90f
- Add Requires: libselinux
Cole Robinson 48b90f
Daniel P. Berrange 905627
* Fri Mar  6 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.1-2.fc11
Daniel P. Berrange 905627
- Fix crash after storage vol deletion fails
Daniel P. Berrange 905627
- Add patch to enable VNC SASL authentication
Daniel P. Berrange 905627
Daniel Veillard fb9044
* Wed Mar  4 2009 Daniel Veillard <veillard@redhat.com> - 0.6.1-1.fc11
Daniel Veillard fb9044
- upstream release 0.6.1
Daniel Veillard fb9044
- support for node device detach reattach and reset
Daniel Veillard fb9044
- sVirt mandatory access control support
Daniel Veillard fb9044
- many bug fixes and small improvements
Daniel Veillard fb9044
Daniel Veillard 03c5fe
* Mon Mar  2 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-6.fc11
Daniel Veillard 03c5fe
- make sure Xen is handled in i586 new default 32bits x86 packages
Daniel Veillard 03c5fe
Daniel Veillard 03c5fe
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5.fc11
Jesse Keating ce373a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating ce373a
Daniel P. Berrange 996d0e
* Wed Feb 18 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.0-4.fc11
Daniel P. Berrange 996d0e
- Fix QEMU startup timeout/race (rhbz #484649)
Daniel P. Berrange 996d0e
- Setup DBus threading. Don't allow dbus to call _exit / change SIGPIPE (rhbz #484553)
Daniel P. Berrange 996d0e
- Fix timeout when autostarting session daemon
Daniel P. Berrange 996d0e
Richard W.M. Jones 8c0142
* Wed Feb 11 2009 Richard W.M. Jones <rjones@redhat.com> - 0.6.0-3.fc11
Richard W.M. Jones 8c0142
- Multiple fixes to remove rpmlint warnings/errors (rhbz #226055)
Richard W.M. Jones 8c0142
Daniel P. Berrange c80b7f
* Fri Feb  6 2009 Daniel P. Berrange <berrange@redhat.com> - 0.6.0-2.fc11
Daniel P. Berrange c80b7f
- Fix libvirtd --timeout usage
Daniel P. Berrange c80b7f
- Fix RPC call problems and QEMU startup handling (rhbz #484414)
Daniel P. Berrange c80b7f
- Fix unowned directories (rhbz #483442)
Daniel P. Berrange c80b7f
Daniel Veillard 958f1c
* Sat Jan 31 2009 Daniel Veillard <veillard@redhat.com> - 0.6.0-1.fc11
Daniel Veillard 958f1c
- upstream release 0.6.0
Daniel Veillard 958f1c
- thread safety of API
Daniel Veillard 958f1c
- allow QEmu/KVM domains to survive daemon restart
Daniel Veillard 958f1c
- extended logging capabilities
Daniel Veillard 958f1c
- support copy on write storage volumes for QEmu/KVM
Daniel Veillard 958f1c
- support of storage cache control options for QEmu/KVM
Daniel Veillard 958f1c
- a lot of bug fixes
Daniel Veillard 958f1c
Daniel Veillard 4a8ca1
* Wed Dec 17 2008 Daniel Veillard <veillard@redhat.com> - 0.5.1-2.fc11
Daniel Veillard 4a8ca1
- fix missing read-only access checks, fixes CVE-2008-5086
Daniel Veillard 4a8ca1
Daniel Veillard 6a6307
* Fri Dec  5 2008 Daniel Veillard <veillard@redhat.com> - 0.5.1-1.fc11
Daniel Veillard 6a6307
- upstream release 0.5.1
Daniel Veillard 6a6307
- mostly bugfixes e.g #473071
Daniel Veillard 6a6307
- some driver improvments
Daniel Veillard 6a6307
Ignacio Vazquez-Abrams 6e8332
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5.0-2
Ignacio Vazquez-Abrams 6e8332
- Rebuild for Python 2.6
Ignacio Vazquez-Abrams 6e8332
Daniel Veillard 7244d1
* Wed Nov 26 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1.fc11
Daniel Veillard 7244d1
- upstream release 0.5.0
Daniel Veillard 7244d1
- domain lifecycle event support
Daniel Veillard 7244d1
- node device enumeration
Daniel Veillard 7244d1
- KVM/QEmu migration support
Daniel Veillard 7244d1
- improved LXC support
Daniel Veillard 7244d1
- SDL display configuration
Daniel Veillard 7244d1
- User Mode Linux driver (Daniel Berrange)
Daniel Veillard 7244d1
Daniel Veillard 28f7f1
* Wed Sep 24 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-3.fc10
Daniel Veillard 28f7f1
- apply the python makefile patch for #463733
Daniel Veillard 28f7f1
Daniel Veillard ca07bc
* Wed Sep 24 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-2.fc10
Daniel Veillard ca07bc
- upstream release 0.4.6
Daniel Veillard ca07bc
- fixes some problems with 0.4.5
Daniel Veillard ca07bc
Daniel Veillard c0c1a7
* Tue Sep  9 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-2.fc10
Daniel Veillard c0c1a7
- fix a crash if a QEmu/KVM domain is defined without an emulator path
Daniel Veillard c0c1a7
Daniel Veillard 072c9c
* Mon Sep  8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.5-1.fc10
Daniel Veillard 072c9c
- upstream release 0.4.5
Daniel Veillard c0c1a7
- a lot of bug fixes
Daniel Veillard c0c1a7
- major updates to QEmu/KVM and Linux containers drivers
Daniel Veillard c0c1a7
- support for OpenVZ if installed
Daniel Veillard c0c1a7
Tom Callaway af1116
* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.4-3.fc10
Tom Callaway af1116
- fix license tag
Tom Callaway af1116
Daniel P. Berrange dd9f21
* Tue Jul  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.4-2.fc10
Daniel P. Berrange dd9f21
- Fix booting of CDROM images with KVM (rhbz #452355)
Daniel P. Berrange dd9f21
Daniel Veillard f0e356
* Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1.fc10
Daniel Veillard f0e356
- upstream release 0.4.4
Daniel Veillard f0e356
- fix a few bugs in previous release
Daniel Veillard f0e356
Daniel Veillard af6966
* Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1.fc10
Daniel Veillard af6966
- upstream release 0.4.3
Daniel Veillard af6966
- many bug fixes
Daniel Veillard af6966
- many small improvements
Daniel Veillard af6966
- serious xenner fixes
Daniel Veillard af6966
Mark McLoughlin eb3416
* Wed Jun  4 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-6.fc10
Mark McLoughlin eb3416
- Disable lokkit support again (#449996, #447633)
Richard W.M. Jones 8c0142
- Ensure %-fedora is evaluated correctly
Mark McLoughlin eb3416
Daniel P. Berrange 7ce08f
* Thu May 15 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.2-5.fc10
Daniel P. Berrange 7ce08f
- Rebuild with policy enabled (rhbz #446616)
Daniel P. Berrange 7ce08f
Daniel P. Berrange 049a8c
* Fri May  9 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.2-4.fc10
Daniel P. Berrange 049a8c
- Added directory for initrd/kernel images for SELinux policy
Daniel P. Berrange 049a8c
Mark McLoughlin 67a2f2
* Mon Apr 28 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-3.fc10
Mark McLoughlin 67a2f2
- Simplify the way arch conditionals are handled
Mark McLoughlin 67a2f2
Mark McLoughlin a73cf1
* Mon Apr 28 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-2.fc10
Mark McLoughlin a73cf1
- Enable lokkit support (#443796)
Mark McLoughlin a73cf1
Mark McLoughlin a73cf1
* Tue Apr  8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1.fc9
Daniel Veillard 481419
- upstream release 0.4.2
Daniel Veillard 481419
- many bug fixes
Daniel Veillard 481419
- localization updates
Daniel Veillard 481419
Daniel P. Berrange 1e6516
* Thu Apr  4 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.1-7.fc9
Daniel P. Berrange 1e6516
- Don't run polkit-auth as root
Daniel P. Berrange 1e6516
- Don't request polkit auth if client is root
Daniel P. Berrange 1e6516
Chris Lalancette bca27d
* Fri Mar 28 2008 Chris Lalancette <clalance@redhat.com> - 0.4.1-6.fc9
Chris Lalancette bca27d
- When dumping XML for a storage pool, make the <source> directory tag
Chris Lalancette bca27d
  match the <dir> tag used for specifying the pool in the first place
Chris Lalancette bca27d
Chris Lalancette 08b914
* Thu Mar 27 2008 Chris Lalancette <clalance@redhat.com> - 0.4.1-5.fc9
Chris Lalancette 08b914
- Do iscsiadm sendtarget before trying to do login
Chris Lalancette 08b914
- Do sysfs scanning for iSCSI LUNs instead of trying to parse them from
Chris Lalancette 08b914
  iscsiadm session output
Chris Lalancette 08b914
Daniel P. Berrange 206300
* Thu Mar 13 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.1-4.fc9
Daniel P. Berrange 206300
- Fix QEMU tap device setup
Daniel P. Berrange 206300
- Fix Xen boot device XML processing
Daniel P. Berrange 206300
- Fixed QEMU cdrom media change
Daniel P. Berrange 206300
Daniel P. Berrange 81e46c
* Mon Mar 10 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.1-3.fc9
Daniel P. Berrange 81e46c
- Fixed daemon startup when run with --daemon flag
Daniel P. Berrange 81e46c
Daniel Veillard 263e2f
* Mon Mar  3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-2.fc9
Daniel Veillard 263e2f
- 2 patches found just after the release
Daniel Veillard 263e2f
Daniel Veillard bf744f
* Mon Mar  3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1.fc9
Daniel Veillard bf744f
- Release of 0.4.1
Daniel Veillard bf744f
- Storage APIs
Daniel Veillard bf744f
- xenner support
Daniel Veillard bf744f
- lots of assorted improvements, bugfixes and cleanups
Daniel Veillard bf744f
- documentation and localization improvements
Daniel Veillard bf744f
Jesse Keating 45b0b2
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-5
Jesse Keating 45b0b2
- Autorebuild for GCC 4.3
Jesse Keating 45b0b2
Daniel P. Berrange f29ea2
* Fri Jan 18 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-4.fc9
Daniel P. Berrange f29ea2
- Fix SSH tunnelling (rhbz #428743)
Daniel P. Berrange f29ea2
- Fix back-compat for nodeinfo call changes.
Daniel P. Berrange f29ea2
Daniel P. Berrange 7d193b
* Sun Jan 13 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-3.fc9
Daniel P. Berrange 7d193b
- Fix crash when no auth callback
Daniel P. Berrange 7d193b
Daniel P. Berrange 3182a4
* Wed Jan  2 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-2.fc9
Daniel P. Berrange 3182a4
- Fix reading large config files (rhbz #426425)
Daniel P. Berrange 3182a4
- Fix crash when connecting to a PolicyKit enabled server with not auth callback (rhbz #427107)
Daniel P. Berrange 3182a4
Daniel Veillard 4f6679
* Tue Dec 18 2007 Daniel Veillard <veillard@redhat.com> - 0.4.0-1.fc8
Daniel Veillard 4f6679
- Release of 0.4.0
Daniel Veillard 4f6679
- SASL based authentication
Daniel Veillard 4f6679
- PolicyKit authentication
Daniel Veillard 4f6679
- improved NUMA and statistics support
Daniel Veillard 4f6679
- lots of assorted improvements, bugfixes and cleanups
Daniel Veillard 4f6679
- documentation and localization improvements
Daniel Veillard 4f6679
Daniel P. Berrange fdd7e8
* Mon Oct 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.3-2.fc8
Daniel P. Berrange fdd7e8
- Added QEMU driver config file support
Daniel P. Berrange fdd7e8
- Added example config files
Daniel P. Berrange fdd7e8
Daniel Veillard 5ad8bc
* Sun Sep 30 2007 Daniel Veillard <veillard@redhat.com> - 0.3.3-1
Daniel Veillard 5ad8bc
- Release of 0.3.3
Daniel Veillard 5ad8bc
- Avahi support
Daniel Veillard 5ad8bc
- NUMA support
Daniel Veillard 5ad8bc
- lots of assorted improvements, bugfixes and cleanups
Daniel Veillard 5ad8bc
- documentation and localization improvements
Daniel Veillard 5ad8bc
Daniel Veillard cc3975
* Fri Aug 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-2.fc8
Daniel Veillard cc3975
- also build on arches where Xen is not available
Daniel Veillard cc3975
Daniel Veillard 55fabd
* Tue Aug 21 2007 Daniel Veillard <veillard@redhat.com> - 0.3.2-1.fc8
Daniel Veillard 55fabd
- Release of 0.3.2
Daniel Veillard 55fabd
- API for domains migration
Daniel Veillard 55fabd
- APIs for collecting statistics on disks and interfaces
Daniel Veillard 55fabd
- lots of assorted bugfixes and cleanups
Daniel Veillard 55fabd
- documentation and localization improvements
Daniel Veillard 55fabd
Daniel Veillard b2a1a0
* Thu Aug 16 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-4.fc8
Daniel Veillard b2a1a0
- Fixes missing Requires for libvirt-devel
Daniel Veillard b2a1a0
Daniel Veillard cbe377
* Thu Jul 26 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-3.fc8
Daniel Veillard cbe377
- adds fix for bug #249594
Daniel Veillard cbe377
Jesse Keating 06a21e
* Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 0.3.1-2
Jesse Keating 06a21e
- Rebuild for RH #249435
Jesse Keating 06a21e
Daniel Veillard d1a886
* Tue Jul 24 2007 Daniel Veillard <veillard@redhat.com> - 0.3.1-1.fc8
Daniel Veillard d1a886
- Release of 0.3.1
Daniel Veillard d1a886
- localtime clock support
Daniel Veillard d1a886
- PS/2 and USB input devices
Daniel Veillard d1a886
- lots of assorted bugfixes and cleanups
Daniel Veillard d1a886
- documentation and localization improvements
Daniel Veillard d1a886
Daniel Veillard c70baa
* Mon Jul  9 2007 Daniel Veillard <veillard@redhat.com> - 0.3.0-1.fc8
Daniel Veillard c70baa
- Release of 0.3.0
Daniel Veillard c70baa
- Secure remote access support
Daniel Veillard c70baa
- unification of daemons
Daniel Veillard c70baa
- lots of assorted bugfixes and cleanups
Daniel Veillard c70baa
- documentation and localization improvements
Daniel Veillard c70baa
Daniel Veillard c70baa
* Fri Jun  8 2007 Daniel Veillard <veillard@redhat.com> - 0.2.3-1.fc8
Daniel Veillard 52b4d9
- Release of 0.2.3
Daniel Veillard 52b4d9
- lot of assorted bugfixes and cleanups
Daniel Veillard 52b4d9
- support for Xen-3.1
Daniel Veillard 52b4d9
- new scheduler API
Daniel Veillard 52b4d9
Daniel Veillard c70baa
* Tue Apr 17 2007 Daniel Veillard <veillard@redhat.com> - 0.2.2-1
Daniel Veillard 2cac8e
- Release of 0.2.2
Daniel Veillard 2cac8e
- lot of assorted bugfixes and cleanups
Daniel Veillard 2cac8e
- preparing for Xen-3.0.5
Daniel Veillard deefad
Jeremy Katz f6cef9
* Thu Mar 22 2007 Jeremy Katz <katzj@redhat.com> - 0.2.1-2.fc7
Jeremy Katz f6cef9
- don't require xen; we don't need the daemon and can control non-xen now
Jeremy Katz f6cef9
- fix scriptlet error (need to own more directories)
Jeremy Katz f6cef9
- update description text
Jeremy Katz f6cef9
Daniel Veillard c70baa
* Fri Mar 16 2007 Daniel Veillard <veillard@redhat.com> - 0.2.1-1
Daniel Veillard 7a6f07
- Release of 0.2.1
Daniel Veillard 7a6f07
- lot of bug and portability fixes
Daniel Veillard 7a6f07
- Add support for network autostart and init scripts
Daniel Veillard 7a6f07
- New API to detect the virtualization capabilities of a host
Daniel Veillard 7a6f07
- Documentation updates
Daniel Veillard 7a6f07
Daniel P. Berrange 36d558
* Fri Feb 23 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc7
Daniel P. Berrange 36d558
- Fix loading of guest & network configs
Daniel P. Berrange 36d558
Daniel P. Berrange 98bcee
* Fri Feb 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc7
Daniel P. Berrange 98bcee
- Disable kqemu support since its not in Fedora qemu binary
Daniel P. Berrange 98bcee
- Fix for -vnc arg syntax change in 0.9.0  QEMU
Daniel P. Berrange 98bcee
Daniel P. Berrange 4e70e5
* Thu Feb 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc7
Daniel P. Berrange 4e70e5
- Fixed path to qemu daemon for autostart
Daniel P. Berrange 4e70e5
- Fixed generation of <features> block in XML
Daniel P. Berrange 4e70e5
- Pre-create config directory at startup
Daniel P. Berrange 4e70e5
Daniel Veillard df8a62
* Wed Feb 14 2007 Daniel Veillard <veillard@redhat.com> 0.2.0-1.fc7
Daniel Veillard df8a62
- support for KVM and QEmu
Daniel Veillard df8a62
- support for network configuration
Daniel Veillard df8a62
- assorted fixes
Daniel Veillard df8a62
Daniel Veillard 8e3628
* Mon Jan 22 2007 Daniel Veillard <veillard@redhat.com> 0.1.11-1.fc7
Daniel Veillard 8e3628
- finish inactive Xen domains support
Daniel Veillard 8e3628
- memory leak fix
Daniel Veillard 8e3628
- RelaxNG schemas for XML configs
Daniel Veillard 8e3628
Daniel Veillard cd0f44
* Wed Dec 20 2006 Daniel Veillard <veillard@redhat.com> 0.1.10-1.fc7
Daniel Veillard cd0f44
- support for inactive Xen domains
Daniel Veillard cd0f44
- improved support for Xen display and vnc
Daniel Veillard cd0f44
- a few bug fixes
Daniel Veillard cd0f44
- localization updates
Daniel Veillard cd0f44
Jeremy Katz dcd808
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 0.1.9-2
Jeremy Katz dcd808
- rebuild against python 2.5
Jeremy Katz dcd808
Daniel Veillard 8713d4
* Wed Nov 29 2006 Daniel Veillard <veillard@redhat.com> 0.1.9-1
Daniel Veillard 8713d4
- better error reporting
Daniel Veillard 8713d4
- python bindings fixes and extensions
Daniel Veillard 8713d4
- add support for shareable drives
Daniel Veillard 8713d4
- add support for non-bridge style networking
Daniel Veillard 8713d4
- hot plug device support
Daniel Veillard 8713d4
- added support for inactive domains
Daniel Veillard 8713d4
- API to dump core of domains
Daniel Veillard 8713d4
- various bug fixes, cleanups and improvements
Daniel Veillard 8713d4
- updated the localization
Daniel Veillard 8713d4
Daniel Veillard 68efef
* Tue Nov  7 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-3
Daniel Veillard 68efef
- it's pkgconfig not pgkconfig !
Daniel Veillard 68efef
Daniel Veillard 1c5afb
* Mon Nov  6 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-2
Richard W.M. Jones 8c0142
- fixing spec file, added %-dist, -devel requires pkgconfig and xen-devel
Daniel Veillard 1c5afb
- Resolves: rhbz#202320
Daniel Veillard 1c5afb
Daniel Veillard e61694
* Mon Oct 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.8-1
Daniel Veillard 608f91
- fix missing page size detection code for ia64
Daniel Veillard 608f91
- fix mlock size when getting domain info list from hypervisor
Daniel Veillard e61694
- vcpu number initialization
Daniel Veillard e61694
- don't label crashed domains as shut off
Daniel Veillard e61694
- fix virsh man page
Daniel Veillard e61694
- blktapdd support for alternate drivers like blktap
Daniel Veillard e61694
- memory leak fixes (xend interface and XML parsing)
Daniel Veillard e61694
- compile fix
Daniel Veillard e61694
- mlock/munlock size fixes
Daniel Veillard 608f91
Daniel Veillard 608f91
* Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.7-1
Daniel Veillard b28edd
- Fix bug when running against xen-3.0.3 hypercalls
Daniel Veillard b28edd
- Fix memory bug when getting vcpus info from xend
Daniel Veillard b28edd
Daniel Veillard 5c1d88
* Fri Sep 22 2006 Daniel Veillard <veillard@redhat.com> 0.1.6-1
Daniel Veillard 5c1d88
- Support for localization
Daniel Veillard 5c1d88
- Support for new Xen-3.0.3 cdrom and disk configuration
Daniel Veillard 5c1d88
- Support for setting VNC port
Daniel Veillard 5c1d88
- Fix bug when running against xen-3.0.2 hypercalls
Daniel Veillard 5c1d88
- Fix reconnection problem when talking directly to http xend
Daniel Veillard 5c1d88
Jeremy Katz 54c7c9
* Tue Sep  5 2006 Jeremy Katz <katzj@redhat.com> - 0.1.5-3
Jeremy Katz 54c7c9
- patch from danpb to support new-format cd devices for HVM guests
Jeremy Katz 54c7c9
Daniel Veillard ecaf0e
* Tue Sep  5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-2
Daniel Veillard ecaf0e
- reactivating ia64 support
Daniel Veillard ecaf0e
Daniel Veillard 313e00
* Tue Sep  5 2006 Daniel Veillard <veillard@redhat.com> 0.1.5-1
Daniel Veillard 313e00
- new release
Daniel Veillard 313e00
- bug fixes
Daniel Veillard 313e00
- support for new hypervisor calls
Daniel Veillard 313e00
- early code for config files and defined domains
Daniel Veillard 313e00
Daniel P. Berrange b3a53e
* Mon Sep  4 2006 Daniel Berrange <berrange@redhat.com> - 0.1.4-5
Daniel P. Berrange b3a53e
- add patch to address dom0_ops API breakage in Xen 3.0.3 tree
Daniel P. Berrange b3a53e
Jeremy Katz fdaa69
* Mon Aug 28 2006 Jeremy Katz <katzj@redhat.com> - 0.1.4-4
Jeremy Katz fdaa69
- add patch to support paravirt framebuffer in Xen 
Jeremy Katz fdaa69
Daniel Veillard cf2cd8
* Mon Aug 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-3
Daniel Veillard cf2cd8
- another patch to fix network handling in non-HVM guests
Daniel Veillard cf2cd8
Daniel Veillard f2572a
* Thu Aug 17 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-2
Daniel Veillard f2572a
- patch to fix virParseUUID()
Daniel Veillard f2572a
Daniel Veillard 90a17a
* Wed Aug 16 2006 Daniel Veillard <veillard@redhat.com> 0.1.4-1
Daniel Veillard 90a17a
- vCPUs and affinity support
Daniel Veillard 90a17a
- more complete XML, console and boot options
Daniel Veillard 90a17a
- specific features support
Daniel Veillard 90a17a
- enforced read-only connections
Daniel Veillard 90a17a
- various improvements, bug fixes
Daniel Veillard 90a17a
Jeremy Katz 9f2e4f
* Wed Aug  2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-6
Jeremy Katz 9f2e4f
- add patch from pvetere to allow getting uuid from libvirt
Jeremy Katz 9f2e4f
Jeremy Katz 0d3a7d
* Wed Aug  2 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-5
Jeremy Katz 0d3a7d
- build on ia64 now
Jeremy Katz 0d3a7d
Jeremy Katz f68d72
* Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 0.1.3-4
Jeremy Katz f68d72
- don't BR xen, we just need xen-devel
Jeremy Katz f68d72
Daniel Veillard 044e9b
* Thu Jul 27 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-3
Daniel Veillard 044e9b
- need rebuild since libxenstore is now versionned
Daniel Veillard 044e9b
Mark McLoughlin 96a9b8
* Mon Jul 24 2006 Mark McLoughlin <markmc@redhat.com> - 0.1.3-2
Mark McLoughlin 96a9b8
- Add BuildRequires: xen-devel
Mark McLoughlin 96a9b8
Jesse Keating 66a051
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.1.3-1.1
Jesse Keating 66a051
- rebuild
Jesse Keating 66a051
Daniel Veillard 0caeb2
* Tue Jul 11 2006 Daniel Veillard <veillard@redhat.com> 0.1.3-1
Daniel Veillard 0caeb2
- support for HVM Xen guests
Daniel Veillard 0caeb2
- various bugfixes
Daniel Veillard 0caeb2
Daniel Veillard cb5468
* Mon Jul  3 2006 Daniel Veillard <veillard@redhat.com> 0.1.2-1
Daniel Veillard cb5468
- added a proxy mechanism for read only access using httpu
Daniel Veillard cb5468
- fixed header includes paths
Daniel Veillard cb5468
Daniel Veillard bd474a
* Wed Jun 21 2006 Daniel Veillard <veillard@redhat.com> 0.1.1-1
Daniel Veillard bd474a
- extend and cleanup the driver infrastructure and code
Daniel Veillard bd474a
- python examples
Daniel Veillard bd474a
- extend uuid support
Daniel Veillard bd474a
- bug fixes, buffer handling cleanups
Daniel Veillard bd474a
- support for new Xen hypervisor API
Daniel Veillard bd474a
- test driver for unit testing
Daniel Veillard bd474a
- virsh --conect argument
Daniel Veillard bd474a
Daniel Veillard d55c7f
* Mon Apr 10 2006 Daniel Veillard <veillard@redhat.com> 0.1.0-1
Daniel Veillard d55c7f
- various fixes
Daniel Veillard d55c7f
- new APIs: for Node information and Reboot
Daniel Veillard d55c7f
- virsh improvements and extensions
Daniel Veillard d55c7f
- documentation updates and man page
Daniel Veillard d55c7f
- enhancement and fixes of the XML description format
Daniel Veillard d55c7f
Daniel Veillard f04b8f
* Tue Feb 28 2006 Daniel Veillard <veillard@redhat.com> 0.0.6-1
Daniel Veillard f04b8f
- added error handling APIs
Daniel Veillard f04b8f
- small bug fixes
Daniel Veillard f04b8f
- improve python bindings
Daniel Veillard f04b8f
- augment documentation and regression tests
Daniel Veillard f04b8f
Daniel Veillard ba3d2d
* Thu Feb 23 2006 Daniel Veillard <veillard@redhat.com> 0.0.5-1
Daniel Veillard ba3d2d
- new domain creation API
Daniel Veillard ba3d2d
- new UUID based APIs
Daniel Veillard ba3d2d
- more tests, documentation, devhelp
Daniel Veillard ba3d2d
- bug fixes
Daniel Veillard ba3d2d
Daniel Veillard f3f289
* Fri Feb 10 2006 Daniel Veillard <veillard@redhat.com> 0.0.4-1
Daniel Veillard f3f289
- fixes some problems in 0.0.3 due to the change of names
Daniel Veillard f3f289
Daniel Veillard e2b90f
* Wed Feb  8 2006 Daniel Veillard <veillard@redhat.com> 0.0.3-1
Daniel Veillard e2b90f
- changed library name to libvirt from libvir, complete and test the python 
Daniel Veillard e2b90f
  bindings
Daniel Veillard e2b90f
Daniel Veillard e2b90f
* Sun Jan 29 2006 Daniel Veillard <veillard@redhat.com> 0.0.2-1
Daniel Veillard e2b90f
- upstream release of 0.0.2, use xend, save and restore added, python bindings
Daniel Veillard e2b90f
  fixed
Daniel Veillard e2b90f
Daniel Veillard e2b90f
* Wed Nov  2 2005 Daniel Veillard <veillard@redhat.com> 0.0.1-1
Daniel Veillard e2b90f
- created