render / rpms / libvirt

Forked from rpms/libvirt 9 months ago
Clone
Daniel Veillard e2b90f
Summary: Library providing an API to use the Xen virtualization
Daniel Veillard e2b90f
Name: libvirt
Daniel Veillard 0caeb2
Version: 0.1.3
Daniel Veillard e2b90f
Release: 1
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/
Daniel Veillard e2b90f
BuildRequires: xen python python-devel
Daniel Veillard e2b90f
Requires: xen
Daniel Veillard ba3d2d
Requires: libxml2
Daniel Veillard d55c7f
Requires: readline
Daniel Veillard ba3d2d
BuildRequires: libxml2-devel
Daniel Veillard d55c7f
BuildRequires: readline-devel
Daniel Veillard e2b90f
Obsoletes: libvir
Daniel Veillard 2ea97c
ExclusiveArch: i386 x86_64
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 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
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