Daniel Veillard e2b90f
Summary: Library providing an API to use the Xen virtualization
Daniel Veillard e2b90f
Name: libvirt
Daniel Veillard 90a17a
Version: 0.1.4
Jeremy Katz fdaa69
Release: 4
Daniel Veillard e2b90f
License: LGPL
Daniel Veillard e2b90f
Group: Development/Libraries
Daniel Veillard e2b90f
Source: libvirt-%{version}.tar.gz
Daniel Veillard e2b90f
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Daniel Veillard e2b90f
URL: http://libvir.org/
Jeremy Katz f68d72
BuildRequires: python python-devel
Daniel Veillard e2b90f
Requires: xen
Daniel Veillard ba3d2d
Requires: libxml2
Daniel Veillard d55c7f
Requires: readline
Daniel Veillard 609ab7
Requires: ncurses
Jeremy Katz bc485e
BuildRequires: xen-devel >= 3.0.2-23
Daniel Veillard ba3d2d
BuildRequires: libxml2-devel
Daniel Veillard d55c7f
BuildRequires: readline-devel
Daniel Veillard 609ab7
BuildRequires: ncurses-devel
Daniel Veillard e2b90f
Obsoletes: libvir
Jeremy Katz 24467d
ExclusiveArch: i386 x86_64
Daniel Veillard f2572a
Patch0: uuid_parse.patch
Daniel Veillard cf2cd8
Patch1: network.patch
Jeremy Katz fdaa69
Patch2: libvirt-pvfb.patch
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%description
Daniel Veillard e2b90f
This C library provides an API to use the Xen virtualization framework,
Daniel Veillard e2b90f
and the virsh command line tool to control virtual domains.
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
Daniel Veillard e2b90f
Requires: libvirt = %{version}
Daniel Veillard e2b90f
Obsoletes: libvir-devel
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%description devel
Daniel Veillard e2b90f
Includes and documentations for the C library providing an API to use
Daniel Veillard e2b90f
the Xen virtualization framework
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%package python
Daniel Veillard e2b90f
Summary: Python bindings for the libvirt library
Daniel Veillard e2b90f
Group: Development/Libraries
Daniel Veillard e2b90f
Requires: libvirt = %{version}
Daniel Veillard e2b90f
Obsoletes: libvir-python
Daniel Veillard e2b90f
Requires: %{_libdir}/python%(echo `python -c "import sys; print sys.version[0:3]"`)
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 e2b90f
supplied by the libvirt library to use the Xen virtualization framework.
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%prep
Daniel Veillard e2b90f
%setup -q
Daniel Veillard f2572a
%patch0
Daniel Veillard cf2cd8
%patch1
Jeremy Katz fdaa69
%patch2 
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%build
Daniel Veillard e2b90f
%configure
Daniel Veillard e2b90f
make
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%install
Daniel Veillard e2b90f
rm -fr %{buildroot}
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%makeinstall
Daniel Veillard 4cb72c
(cd docs/examples ; make clean ; rm -rf .deps)
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 e2b90f
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 e2b90f
%postun
Daniel Veillard e2b90f
/sbin/ldconfig
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%files
Daniel Veillard e2b90f
%defattr(-, root, root)
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%doc AUTHORS ChangeLog NEWS README COPYING.LIB TODO
Daniel Veillard d55c7f
%doc %{_mandir}/man1/virsh.1*
Daniel Veillard e2b90f
%{_bindir}/virsh
Daniel Veillard e2b90f
%{_libdir}/lib*.so.*
Daniel Veillard 759910
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
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 e2b90f
%{_includedir}/libvirt/*.h
Daniel Veillard e2b90f
%{_libdir}/pkgconfig/libvirt.pc
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 e2b90f
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 e2b90f
Daniel Veillard e2b90f
%changelog
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