|
|
|
@@ -3,8 +3,6 @@
|
|
|
|
|
%define with_xen 1
|
|
|
|
|
%define with_xen_proxy 1
|
|
|
|
|
%define with_qemu 1
|
|
|
|
|
%define with_openvz 1
|
|
|
|
|
%define with_lxc 1
|
|
|
|
|
%define with_polkit 0
|
|
|
|
|
|
|
|
|
|
# Xen is available only on i386 x86_64 ia64
|
|
|
|
@@ -29,13 +27,13 @@
|
|
|
|
|
|
|
|
|
|
Summary: Library providing a simple API virtualization
|
|
|
|
|
Name: libvirt
|
|
|
|
|
Version: 0.4.6
|
|
|
|
|
Release: 1%{?dist}%{?extra_release}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
Version: 0.4.4
|
|
|
|
|
Release: 2%{?dist}%{?extra_release}
|
|
|
|
|
License: LGPL
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source: libvirt-%{version}.tar.gz
|
|
|
|
|
Patch0: python_make.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
Patch1: %{name}-%{version}-boot-cdrom.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
URL: http://libvirt.org/
|
|
|
|
|
BuildRequires: python python-devel
|
|
|
|
|
Requires: libxml2
|
|
|
|
@@ -56,9 +54,6 @@ Requires: PolicyKit >= 0.6
|
|
|
|
|
%endif
|
|
|
|
|
# For mount/umount in FS driver
|
|
|
|
|
BuildRequires: util-linux
|
|
|
|
|
# For showmount in FS driver (netfs discovery)
|
|
|
|
|
BuildRequires: nfs-utils
|
|
|
|
|
Requires: nfs-utils
|
|
|
|
|
%if %{with_qemu}
|
|
|
|
|
# From QEMU RPMs
|
|
|
|
|
Requires: /usr/bin/qemu-img
|
|
|
|
@@ -78,7 +73,6 @@ Requires: parted
|
|
|
|
|
BuildRequires: xen-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: xhtml1-dtds
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
@@ -148,7 +142,7 @@ of recent versions of Linux (and other OSes).
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p0
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if ! %{with_xen}
|
|
|
|
@@ -159,22 +153,12 @@ of recent versions of Linux (and other OSes).
|
|
|
|
|
%define _without_qemu --without-qemu
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{with_openvz}
|
|
|
|
|
%define _without_openvz --without-openvz
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if ! %{with_lxc}
|
|
|
|
|
%define _without_lxc --without-lxc
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure %{?_without_xen} \
|
|
|
|
|
%{?_without_qemu} \
|
|
|
|
|
%{?_without_openvz} \
|
|
|
|
|
%{?_without_lxc} \
|
|
|
|
|
--with-init-script=redhat \
|
|
|
|
|
--with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
|
|
|
|
|
--with-remote-file=%{_localstatedir}/run/libvirtd.pid
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -fr %{buildroot}
|
|
|
|
@@ -257,21 +241,14 @@ fi
|
|
|
|
|
%dir %{_localstatedir}/lib/libvirt/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/images/
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/boot/
|
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd.aug
|
|
|
|
|
%{_datadir}/augeas/lenses/libvirtd_qemu.aug
|
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd.aug
|
|
|
|
|
%{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug
|
|
|
|
|
%if %{with_polkit}
|
|
|
|
|
%{_datadir}/PolicyKit/policy/org.libvirt.unix.policy
|
|
|
|
|
%{_datadir}/PolicyKit/policy/libvirtd.policy
|
|
|
|
|
%endif
|
|
|
|
|
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
|
|
|
|
|
%if %{with_xen_proxy}
|
|
|
|
|
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
|
|
|
|
|
%endif
|
|
|
|
|
%attr(0755, root, root) %{_libexecdir}/libvirt_parthelper
|
|
|
|
|
%if %{with_lxc}
|
|
|
|
|
%attr(0755, root, root) %{_libexecdir}/libvirt_lxc
|
|
|
|
|
%endif
|
|
|
|
|
%attr(0755, root, root) %{_sbindir}/libvirtd
|
|
|
|
|
%doc docs/*.rng
|
|
|
|
|
%doc docs/*.xml
|
|
|
|
@@ -304,55 +281,82 @@ fi
|
|
|
|
|
%doc docs/examples/python
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Sep 30 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-1.f8
|
|
|
|
|
- update to latest upstream release
|
|
|
|
|
|
|
|
|
|
* Tue Jul 8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.4-2.fc8
|
|
|
|
|
* Tue Jul 8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.4-2.fc10
|
|
|
|
|
- Fix booting of CDROM images with KVM (rhbz #452355)
|
|
|
|
|
|
|
|
|
|
* Thu Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1.fc8
|
|
|
|
|
* Wed Jun 25 2008 Daniel Veillard <veillard@redhat.com> - 0.4.4-1.fc10
|
|
|
|
|
- upstream release 0.4.4
|
|
|
|
|
- fixes a couple of bugs in previous release
|
|
|
|
|
- fix a few bugs in previous release
|
|
|
|
|
|
|
|
|
|
* Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1.fc8
|
|
|
|
|
* Thu Jun 12 2008 Daniel Veillard <veillard@redhat.com> - 0.4.3-1.fc10
|
|
|
|
|
- upstream release 0.4.3
|
|
|
|
|
- many bug fixes
|
|
|
|
|
- many small improvements
|
|
|
|
|
- serious xenner fixes
|
|
|
|
|
|
|
|
|
|
* Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> 0.4.2-1.fc8
|
|
|
|
|
* Wed Jun 4 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-6.fc10
|
|
|
|
|
- Disable lokkit support again (#449996, #447633)
|
|
|
|
|
- Ensure %{fedora} is evaluated correctly
|
|
|
|
|
|
|
|
|
|
* Thu May 15 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.2-5.fc10
|
|
|
|
|
- Rebuild with policy enabled (rhbz #446616)
|
|
|
|
|
|
|
|
|
|
* Fri May 9 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.2-4.fc10
|
|
|
|
|
- Added directory for initrd/kernel images for SELinux policy
|
|
|
|
|
|
|
|
|
|
* Mon Apr 28 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-3.fc10
|
|
|
|
|
- Simplify the way arch conditionals are handled
|
|
|
|
|
|
|
|
|
|
* Mon Apr 28 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-2.fc10
|
|
|
|
|
- Enable lokkit support (#443796)
|
|
|
|
|
|
|
|
|
|
* Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> - 0.4.2-1.fc9
|
|
|
|
|
- upstream release 0.4.2
|
|
|
|
|
- many bug fixes
|
|
|
|
|
- localization updates
|
|
|
|
|
|
|
|
|
|
* Thu Apr 4 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.1-3.fc8
|
|
|
|
|
* Thu Apr 4 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.1-7.fc9
|
|
|
|
|
- Don't run polkit-auth as root
|
|
|
|
|
- Don't request polkit auth if client is root
|
|
|
|
|
|
|
|
|
|
* Fri Mar 28 2008 Chris Lalancette <clalance@redhat.com> - 0.4.1-6.fc9
|
|
|
|
|
- When dumping XML for a storage pool, make the <source> directory tag
|
|
|
|
|
match the <dir> tag used for specifying the pool in the first place
|
|
|
|
|
|
|
|
|
|
* Thu Mar 27 2008 Chris Lalancette <clalance@redhat.com> - 0.4.1-5.fc9
|
|
|
|
|
- Do iscsiadm sendtarget before trying to do login
|
|
|
|
|
- Do sysfs scanning for iSCSI LUNs instead of trying to parse them from
|
|
|
|
|
iscsiadm session output
|
|
|
|
|
|
|
|
|
|
* Thu Mar 13 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.1-4.fc9
|
|
|
|
|
- Fix QEMU tap device setup
|
|
|
|
|
- Fix Xen boot device XML processing
|
|
|
|
|
- Fixed QEMU cdrom media change
|
|
|
|
|
|
|
|
|
|
* Tue Mar 11 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-2.fc8
|
|
|
|
|
* Mon Mar 10 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.1-3.fc9
|
|
|
|
|
- Fixed daemon startup when run with --daemon flag
|
|
|
|
|
|
|
|
|
|
* Thu Mar 6 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1.fc8
|
|
|
|
|
- Update to 0.4.1
|
|
|
|
|
* Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-2.fc9
|
|
|
|
|
- 2 patches found just after the release
|
|
|
|
|
|
|
|
|
|
* Mon Mar 3 2008 Daniel Veillard <veillard@redhat.com> - 0.4.1-1.fc9
|
|
|
|
|
- Release of 0.4.1
|
|
|
|
|
- Storage APIs
|
|
|
|
|
- xenner support
|
|
|
|
|
- lots of assorted improvements, bugfixes and cleanups
|
|
|
|
|
- documentation and localization improvements
|
|
|
|
|
|
|
|
|
|
* Thu Jan 17 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-4.fc8
|
|
|
|
|
- Fix SSH tunnelling (rhbz #428743)
|
|
|
|
|
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-5
|
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
|
|
|
|
|
* Sun Jan 13 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-3.fc8
|
|
|
|
|
* Fri Jan 18 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-4.fc9
|
|
|
|
|
- Fix SSH tunnelling (rhbz #428743)
|
|
|
|
|
- Fix back-compat for nodeinfo call changes.
|
|
|
|
|
|
|
|
|
|
* Sun Jan 13 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-3.fc9
|
|
|
|
|
- Fix crash when no auth callback
|
|
|
|
|
|
|
|
|
|
* Wed Jan 2 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-2.fc8
|
|
|
|
|
* Wed Jan 2 2008 Daniel P. Berrange <berrange@redhat.com> - 0.4.0-2.fc9
|
|
|
|
|
- Fix reading large config files (rhbz #426425)
|
|
|
|
|
- Fix crash when connecting to a PolicyKit enabled server with not auth callback (rhbz #427107)
|
|
|
|
|
|
|
|
|
|