parent
d475deef60
commit
eca45f4a3f
24
libvirt.spec
24
libvirt.spec
|
@ -10,6 +10,7 @@
|
||||||
%define with_polkit 0%{!?_without_polkit:0}
|
%define with_polkit 0%{!?_without_polkit:0}
|
||||||
%define with_python 0%{!?_without_python:1}
|
%define with_python 0%{!?_without_python:1}
|
||||||
%define with_libvirtd 0%{!?_without_libvirtd:1}
|
%define with_libvirtd 0%{!?_without_libvirtd:1}
|
||||||
|
%define with_uml 0%{!?_without_uml:1}
|
||||||
|
|
||||||
# Xen is available only on i386 x86_64 ia64
|
# Xen is available only on i386 x86_64 ia64
|
||||||
%ifnarch i386 i686 x86_64 ia64
|
%ifnarch i386 i686 x86_64 ia64
|
||||||
|
@ -33,12 +34,11 @@
|
||||||
|
|
||||||
Summary: Library providing a simple API virtualization
|
Summary: Library providing a simple API virtualization
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Version: 0.4.6
|
Version: 0.5.0
|
||||||
Release: 3%{?dist}%{?extra_release}
|
Release: 1%{?dist}%{?extra_release}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Source: libvirt-%{version}.tar.gz
|
Source: libvirt-%{version}.tar.gz
|
||||||
Patch0: python_make.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
URL: http://libvirt.org/
|
URL: http://libvirt.org/
|
||||||
BuildRequires: python python-devel
|
BuildRequires: python python-devel
|
||||||
|
@ -48,6 +48,8 @@ Requires: ncurses
|
||||||
Requires: dnsmasq
|
Requires: dnsmasq
|
||||||
Requires: bridge-utils
|
Requires: bridge-utils
|
||||||
Requires: iptables
|
Requires: iptables
|
||||||
|
# needed for device enumeration
|
||||||
|
Requires: hal
|
||||||
# So remote clients can access libvirt over SSH tunnel
|
# So remote clients can access libvirt over SSH tunnel
|
||||||
# (client invokes 'nc' against the UNIX socket on the server)
|
# (client invokes 'nc' against the UNIX socket on the server)
|
||||||
Requires: nc
|
Requires: nc
|
||||||
|
@ -89,6 +91,7 @@ BuildRequires: readline-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: gnutls-devel
|
BuildRequires: gnutls-devel
|
||||||
|
BuildRequires: hal-devel
|
||||||
%if %{with_avahi}
|
%if %{with_avahi}
|
||||||
BuildRequires: avahi-devel
|
BuildRequires: avahi-devel
|
||||||
%endif
|
%endif
|
||||||
|
@ -160,7 +163,6 @@ of recent versions of Linux (and other OSes).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p0
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if ! %{with_xen}
|
%if ! %{with_xen}
|
||||||
|
@ -199,6 +201,10 @@ of recent versions of Linux (and other OSes).
|
||||||
%define _without_libvirtd --without-libvirtd
|
%define _without_libvirtd --without-libvirtd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if ! %{with_uml}
|
||||||
|
%define _without_uml --without-uml
|
||||||
|
%endif
|
||||||
|
|
||||||
%configure %{?_without_xen} \
|
%configure %{?_without_xen} \
|
||||||
%{?_without_qemu} \
|
%{?_without_qemu} \
|
||||||
%{?_without_openvz} \
|
%{?_without_openvz} \
|
||||||
|
@ -208,6 +214,7 @@ of recent versions of Linux (and other OSes).
|
||||||
%{?_without_polkit} \
|
%{?_without_polkit} \
|
||||||
%{?_without_python} \
|
%{?_without_python} \
|
||||||
%{?_without_libvirtd} \
|
%{?_without_libvirtd} \
|
||||||
|
%{?_without_uml} \
|
||||||
--with-init-script=redhat \
|
--with-init-script=redhat \
|
||||||
--with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
|
--with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
|
||||||
--with-remote-file=%{_localstatedir}/run/libvirtd.pid
|
--with-remote-file=%{_localstatedir}/run/libvirtd.pid
|
||||||
|
@ -396,6 +403,15 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 26 2008 Daniel Veillard <veillard@redhat.com> - 0.5.0-1.fc10
|
||||||
|
- upstream release 0.5.0
|
||||||
|
- domain lifecycle event support
|
||||||
|
- node device enumeration
|
||||||
|
- KVM/QEmu migration support
|
||||||
|
- improved LXC support
|
||||||
|
- SDL display configuration
|
||||||
|
- User Mode Linux driver (Daniel Berrange)
|
||||||
|
|
||||||
* Wed Sep 24 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-3.fc10
|
* Wed Sep 24 2008 Daniel Veillard <veillard@redhat.com> - 0.4.6-3.fc10
|
||||||
- apply the python makefile patch for #463733
|
- apply the python makefile patch for #463733
|
||||||
|
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
Index: python/Makefile.am
|
|
||||||
===================================================================
|
|
||||||
RCS file: /data/cvs/libxen/python/Makefile.am,v
|
|
||||||
retrieving revision 1.13
|
|
||||||
diff -u -p -r1.13 Makefile.am
|
|
||||||
--- python/Makefile.am 5 Feb 2008 19:27:37 -0000 1.13
|
|
||||||
+++ python/Makefile.am 24 Sep 2008 13:21:06 -0000
|
|
||||||
@@ -50,7 +50,7 @@ GENERATED= libvirt-export.c \
|
|
||||||
$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC)
|
|
||||||
$(PYTHON) $(srcdir)/$(GENERATE) $(srcdir)
|
|
||||||
|
|
||||||
-libvirt.py: $(srcdir)/libvir.py libvirtclass.py
|
|
||||||
+libvirt.py: $(srcdir)/libvir.py $(GENERATED)
|
|
||||||
cat $(srcdir)/libvir.py libvirtclass.py > $@-t
|
|
||||||
mv $@-t $@
|
|
||||||
|
|
||||||
*** python/Makefile.in.orig 2008-09-24 15:19:20.000000000 +0200
|
|
||||||
--- python/Makefile.in 2008-09-24 15:20:07.000000000 +0200
|
|
||||||
*************** uninstall-am: uninstall-local uninstall-
|
|
||||||
*** 1027,1033 ****
|
|
||||||
@WITH_PYTHON_TRUE@$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC)
|
|
||||||
@WITH_PYTHON_TRUE@ $(PYTHON) $(srcdir)/$(GENERATE) $(srcdir)
|
|
||||||
|
|
||||||
! @WITH_PYTHON_TRUE@libvirt.py: $(srcdir)/libvir.py libvirtclass.py
|
|
||||||
@WITH_PYTHON_TRUE@ cat $(srcdir)/libvir.py libvirtclass.py > $@-t
|
|
||||||
@WITH_PYTHON_TRUE@ mv $@-t $@
|
|
||||||
|
|
||||||
--- 1027,1033 ----
|
|
||||||
@WITH_PYTHON_TRUE@$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC)
|
|
||||||
@WITH_PYTHON_TRUE@ $(PYTHON) $(srcdir)/$(GENERATE) $(srcdir)
|
|
||||||
|
|
||||||
! @WITH_PYTHON_TRUE@libvirt.py: $(srcdir)/libvir.py $(GENERATED)
|
|
||||||
@WITH_PYTHON_TRUE@ cat $(srcdir)/libvir.py libvirtclass.py > $@-t
|
|
||||||
@WITH_PYTHON_TRUE@ mv $@-t $@
|
|
||||||
|
|
Loading…
Reference in New Issue