Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (73 sloc) 2.27 kb
# -*- rpm-spec -*-
Summary: xapi-libs - xen toolstack for XCP libraries
Name: xapi-libs
Version: 0.1
Release: @RPM_RELEASE@
Group: System/Hypervisor
License: LGPL+linking exception
Source0: xapi-libs-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: ocaml, ocaml-findlib, ocaml-camlp4, ocaml-type-conv, ocaml-getopt, ocaml-xmlm, ocaml-xmlm-devel, autoconf, automake, xen-devel, blktap-devel, e2fsprogs-devel
The xapi toolstack development libraries and tools.
%package utils
Summary: Some utilities associated with the xapi toolstack
Group: System/Hypervisor
%description utils
Some miscellaneous utilities
%package devel
Summary: The xapi toolstack development libraries
Group: System/Hypervisor
%description devel
This package contains core development libraries required for building xapi.
%package fe
Summary: The fork-and-exec daemon
Group: System/Hypervisor
%description fe
This package contains the fork-and-exec daemon, required by xapi at runtime.
%setup -q
%{__make} test
rm -rf %{buildroot}
DESTDIR=$RPM_BUILD_ROOT %{__make} install
%post fe
[ ! -x /sbin/chkconfig ] || chkconfig --add fe
%files fe
%files utils
%files devel
%exclude %{_libdir}/ocaml/close-and-exec/closeandexec_main.cmx
%exclude %{_libdir}/ocaml/pciutil/pciutil_main.cmx
%exclude %{_libdir}/ocaml/sexpr/sexprpp.cmx
%exclude %{_libdir}/ocaml/stdext/base64_main.cmx
%exclude %{_libdir}/ocaml/stdext/fe_cli.cmx
%exclude %{_libdir}/ocaml/stdext/fe_test.cmx
%exclude %{_libdir}/ocaml/xml-light2/xmlpp.cmx
%exclude %{_libdir}/ocaml/*/*.sp?t
Jump to Line
Something went wrong with that request. Please try again.