# # spec file for package libvirt (Version 0.2.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libvirt BuildRequires: gettext gnutls-devel libxml2-devel ncurses-devel python python-devel readline-devel xen-devel URL: http://libvirt.org/ License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Development/Libraries/C and C++ Autoreqprov: yes Version: 0.2.0 Release: 1 Summary: A C toolkit to interract with the virtualization capabilities of Linux Source0: libvirt-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: xen libxml2 readline ncurses gnutls ExclusiveArch: %ix86 x86_64 %description Libvirt is a C toolkit to interract with the virtualization capabilities Linux. Virtualization of the Linux Operating System means the ability to run multiple instances of Operating Systems concurently on a single hardware system where the basic resources are driven by a Linux instance. The library aims to provide long term stable C API initially for the Xen paravirtualization but should be able to integrate other virtualization mechanisms if needed. Authors: -------- Daniel Veillard Karel Zak %package devel Summary: A C toolkit to interract with the virtualization capabilities of Linux Group: Development/Libraries/C and C++ Requires: libvirt = %{version} %description devel Libvirt is a C toolkit to interract with the virtualization capabilities Linux. Virtualization of the Linux Operating System means the ability to run multiple instances of Operating Systems concurently on a single hardware system where the basic resources are driven by a Linux instance. The library aims to provide long term stable C API initially for the Xen paravirtualization but should be able to integrate other virtualization mechanisms if needed. Authors: -------- Daniel Veillard Karel Zak %package python Summary: A C toolkit to interract with the virtualization capabilities of Linux Group: Development/Libraries/C and C++ Requires: libvirt = %{version} Requires: %{_libdir}/python%(echo `python -c "import sys; print sys.version[0:3]"`) %description python Libvirt is a C toolkit to interract with the virtualization capabilities Linux. Virtualization of the Linux Operating System means the ability to run multiple instances of Operating Systems concurently on a single hardware system where the basic resources are driven by a Linux instance. The library aims to provide long term stable C API initially for the Xen paravirtualization but should be able to integrate other virtualization mechanisms if needed. Authors: -------- Daniel Veillard Karel Zak %prep %setup %build export CFLAGS="$RPM_OPT_FLAGS" %configure make %install %{__rm} -rf $RPM_BUILD_ROOT %makeinstall (cd docs/examples ; make clean ; rm -rf .deps) rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a #mkdir -p $RPM_BUILD_ROOT/etc/permissions.d #cat > $RPM_BUILD_ROOT/etc/permissions.d/libvirt < informations - updated the localization strings * Fri Oct 20 2006 - jfehlig@novell.com - Updated to latest release, version 0.1.8. - Bug for system with page size != 4k - vcpu number initialization (Philippe Berthault) - don't label crashed domains as shut off (Peter Vetere) - fix virsh man page (Noriko Mizumoto) - blktapdd support for alternate drivers like blktap (Daniel Berrange) - memory leak fixes (xend interface and XML parsing) (Daniel Berrange) - compile fix - mlock/munlock size fixes (Daniel Berrange) - improve error reporting - Updated to latest release, version 0.1.7. - fix a memory bug on getting vcpu informations from xend (Daniel Berrange) - fix another problem in the hypercalls change in Xen changeset 86d26e6ec89b when getting domain informations (Daniel Berrange) * Tue Sep 26 2006 - jfehlig@novell.com - Updated to latest release, version 0.1.6. This release includes fix in hypercall driver so local patch has been removed. * Wed Sep 13 2006 - jfehlig@novell.com - Fixed bug in hypercall driver introduced in version 0.1.5. Patch sumbmitted upstream and included locally until next release. * Mon Sep 11 2006 - jfehlig@novell.com - Updated to latest release, version 0.1.5 - Support for new hypercalls change in Xen changeset 86d26e6ec89b - bug fixes: virParseUUID() was wrong, netwoking for paravirt guestsi (Daniel Berrange), virsh on non-existent domains (Daniel Berrange), string cast bug when handling error in python (Pete Vetere), HTTP 500 xend error code handling (Pete Vetere and Daniel Berrange) - improvements: test suite for SEXPR <-> XML format conversions (Daniel Berrange), virsh output regression suite (Daniel Berrange), new environ variable VIRSH_DEFAULT_CONNECT_URI for the default URI when connecting (Daniel Berrange), graphical console support for paravirt guests (Jeremy Katz), parsing of simple Xen config files (with Daniel Berrange), early work on defined (not running) domains (Daniel Berrange), virsh output improvement (Daniel Berrange * Mon Aug 28 2006 - jfehlig@novell.com - Updated to latest release, version 0.1.4 - bug fixes: spec file fix (Mark McLoughlin), error report problem (with Hugh Brock), long integer in Python bindings (with Daniel Berrange), XML generation bug for CDRom (Daniel Berrange), bug whem using number() XPath function (Mark McLoughlin), fix python detection code, remove duplicate initialization errors (Daniel Berrange) - improvements: UUID in XML description (Peter Vetere), proxy code cleanup, virtual CPU and affinity support + virsh support (Michel Ponceau, Philippe Berthault, Daniel Berrange), port and tty informations for console in XML (Daniel Berrange), added XML dump to driver and proxy support (Daniel Berrange), extention of boot options with support for floppy and cdrom (Daniel Berrange), features block in XML to report/ask PAE, ACPI, APIC for HVM domains (Daniel Berrange), fail saide-effect operations when using read-only connection, large improvements to test driver (Daniel Berrange) - documentation: spelling (Daniel Berrange), test driver examples. * Wed Aug 16 2006 - jfehlig@novell.com - Added ExclusiveArch tag so as to only build on x86 and x86_64 * Mon Jul 31 2006 - jfehlig@novell.com - initial submission of libvirt package, version 0.1.3