render / rpms / libvirt

Forked from rpms/libvirt 4 months ago
Clone
Daniel Veillard e2b90f
Summary: Library providing an API to use the Xen virtualization
Daniel Veillard e2b90f
Name: libvirt
Daniel Veillard f3f289
Version: 0.0.4
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 e2b90f
Obsoletes: libvir
Daniel Veillard e2b90f
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 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 e2b90f
%{_bindir}/virsh
Daniel Veillard e2b90f
%{_libdir}/lib*.so.*
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 e2b90f
Daniel Veillard e2b90f
%doc docs/*.html docs/html docs/*.gif
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 e2b90f
%doc python/TODO
Daniel Veillard e2b90f
%doc python/libvirtclass.txt
Daniel Veillard e2b90f
Daniel Veillard e2b90f
%changelog
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