From 6329324e48518e7f5a141c49999249e6c224039d Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Jul 11 2006 01:39:10 +0000 Subject: - split into main packages + -libs and -devel subpackages for #198260 - add patch from jfautley to allow specifying other bridge for xenguest-install (#198097) --- diff --git a/xen.spec b/xen.spec index 6c49e04..d7af30f 100644 --- a/xen.spec +++ b/xen.spec @@ -5,7 +5,7 @@ Summary: Xen is a virtual machine monitor Name: xen Version: 3.0.2 -Release: 10 +Release: 11 Group: Development/Libraries License: GPL URL: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html @@ -39,6 +39,7 @@ Requires: bridge-utils Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]") Requires: udev >= 059 Requires: libvirt-python +Requires: xen-libs = %{version}-%{release} Prereq: chkconfig ExclusiveArch: i386 x86_64 @@ -55,6 +56,25 @@ in development, and this RPM has received extremely little testing. Don't be surprised if this RPM eats your data, drinks your coffee or makes fun of you in front of your friends. +%package libs +Summary: Libraries for Xen tools +Group: Development/Libraries +Requires(pre): /sbin/ldconfig +Requires(post): /sbin/ldconfig + +%description libs +This package contains the libraries needed to run applications to manage +Xen virtual machines. + +%package devel +Summary: Development libraries for Xen tools +Group: Development/Libraries +Requires: xen-libs = %{version}-%{release} + +%description devel +This package contains what's needed to develop applications to manage Xen +virtual machines. + %prep %setup -q -n xen-unstable.hg -a 1 %patch1 -p1 -b .init @@ -143,14 +163,9 @@ rm -rf $RPM_BUILD_ROOT %doc docs/misc/ %{_sbindir}/* %{_bindir}/* -%{_includedir}/*.h -%{_includedir}/xen/*.h -%{_includedir}/xen/io/*.h -%{_includedir}/xen/linux/*.h %{python_sitearch}/%{name} %{python_sitearch}/grub %{_libdir}/%{name} -%{_libdir}/lib* %{_mandir}/man?/*.?.gz %dir /usr/lib/xen %dir /usr/lib/xen/boot @@ -168,7 +183,25 @@ rm -rf $RPM_BUILD_ROOT %dir %{_localstatedir}/run/xenstored %dir %{_localstatedir}/run/xend +%files libs +%defattr(-,root,root) +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/*.h +%{_includedir}/xen/*.h +%{_includedir}/xen/io/*.h +%{_includedir}/xen/linux/*.h +%{_libdir}/*.so +%{_libdir}/*.a + %changelog +* Mon Jul 10 2006 Jeremy Katz - 3.0.2-11 +- split into main packages + -libs and -devel subpackages for #198260 +- add patch from jfautley to allow specifying other bridge for + xenguest-install (#198097) + * Mon Jul 3 2006 Jeremy Katz - 3.0.2-10 - make xenguest-install work with relative paths to disk images (markmc, #197518)