Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ca-115031
Fetching contributors…

Cannot retrieve contributors at this time

410 lines (348 sloc) 11.018 kb
# -*- rpm-spec -*-
Summary: xapi - xen toolstack for XCP
Name: xapi
Version: 0.2
Release: @RPM_RELEASE@
Group: System/Hypervisor
License: LGPL+linking exception
URL: http://www.xen.org
Source0: xapi-%{version}.tar.bz2
Source1: jquery-1.1.3.1.pack.js
Source2: jquery.treeview.zip
Patch0: xapi-version.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: pam-devel tetex-latex xapi-libs-devel ocaml omake ocaml-findlib ocaml-xmlm ocaml-type-conv ocaml-xmlm-devel xen-devel zlib-devel
%description
XCP toolstack.
%package core
Summary: The xapi toolstack
Group: System/Hypervisor
%description core
This package contains the xapi toolstack.
%package xe
Summary: The xapi toolstack CLI
Group: System/Hypervisor
%description xe
The command-line interface for controlling XCP hosts.
%package tests
Summary: Toolstack test programs
Group: System/Hypervisor
%description tests
This package contains a series of simple regression tests.
%package squeezed
Summary: The memory ballooning daemon
Group: System/Hypervisor
%description squeezed
This package contains the Xen virtual firmware (hvmloader)
%package xenopsd
Summary: The xenops daemon
Group: System/Hypervisor
%description xenopsd
This package contains the xenops daemon.
%package v6d
Summary: The editions and features daemon
Group: System/Hypervisor
%description v6d
This package contains daemon that defines and controls XCP editions and
associated features
%package networkd
Summary: The networking daemon
Group: System/Hypervisor
%description networkd
This package contains a daemon that is able to configure network
interfaces and bridges
%package rrdd
Summary: The RRD daemon
Group: System/Hypervisor
%description rrdd
This package contains a daemon that continually collects performance metrics
from the host and its VMs, stores the data in host's memory, and occasionally
synchronises the data to host's local storage.
%package xenops
Summary: Low-level debugging tools
Group: System/Hypervisor
%description xenops
This package contains the xenops-based low-level debugging tools.
%package client-devel
Summary: xapi Development Headers and Libraries
Group: Development/Libraries
%description client-devel
This package contains the xapi development libraries and header files
for building addon tools.
%package datamodel-devel
Summary: xapi Datamodel headers and libraries
Group: Development/Libraries
%description datamodel-devel
This package contains the internal xapi datamodel as a library suitable
for writing additional code generators.
%package rrd-devel
Summary: rrd-client headers and libraries
Group: Development/Libraries
%description rrd-devel
This package contains rrd functions as a library suitable for writing tools
related to rrd. Needed for rrd2csv and rrdd-plugins.
%package xenstore-watch-devel
Summary: xenstore-watch headers and libraries
Group: Development/Libraries
%description xenstore-watch-devel
This package contains a library of functions for watching xenstore.
%prep
%setup -q
%patch0 -p0 -b xapi-version.patch
%build
COMPILE_JAVA=no %{__make}
COMPILE_JAVA=no %{__make} test
%install
rm -rf %{buildroot}
DESTDIR=$RPM_BUILD_ROOT %{__make} install
%clean
rm -rf $RPM_BUILD_ROOT
%post core
[ ! -x /sbin/chkconfig ] || chkconfig --add xapi
[ ! -x /sbin/chkconfig ] || chkconfig --add xenservices
[ ! -x /sbin/chkconfig ] || chkconfig --add xapi-domains
[ ! -x /sbin/chkconfig ] || chkconfig --add perfmon
[ ! -x /sbin/chkconfig ] || chkconfig --add genptoken
%post networkd
[ ! -x /sbin/chkconfig ] || chkconfig --add xcp-networkd
%post rrdd
[ ! -x /sbin/chkconfig ] || chkconfig --add xcp-rrdd
%post squeezed
[ ! -x /sbin/chkconfig ] || chkconfig squeezed on
%post xenopsd
[ ! -x /sbin/chkconfig ] || chkconfig xenopsd on
%post v6d
[ ! -x /sbin/chkconfig ] || chkconfig --add v6d
%files core
%defattr(-,root,root,-)
@OPTDIR@/bin/xapi
%config(noreplace) /etc/xapi.conf
/etc/logrotate.d/audit
/etc/logrotate.d/v6d
/etc/logrotate.d/xapi
/etc/pam.d/xapi
/etc/rc.d/init.d/management-interface
/etc/rc.d/init.d/perfmon
/etc/rc.d/init.d/xapi
/etc/rc.d/init.d/xapi-domains
/etc/rc.d/init.d/xapissl
/etc/rc.d/init.d/xenservices
/etc/rc.d/init.d/genptoken
%config(noreplace) /etc/sysconfig/perfmon
%config(noreplace) /etc/sysconfig/xapi
/etc/xapi.d/base-path
/etc/xapi.d/plugins/DRAC.py
/etc/xapi.d/plugins/DRAC.pyo
/etc/xapi.d/plugins/DRAC.pyc
/etc/xapi.d/plugins/echo
/etc/xapi.d/plugins/extauth-hook
/etc/xapi.d/plugins/extauth-hook-AD.py
/etc/xapi.d/plugins/extauth-hook-AD.pyo
/etc/xapi.d/plugins/extauth-hook-AD.pyc
/etc/xapi.d/plugins/iLO.py
/etc/xapi.d/plugins/iLO.pyo
/etc/xapi.d/plugins/iLO.pyc
/etc/xapi.d/plugins/iLOPowerON.xml
/etc/xapi.d/plugins/perfmon
/etc/xapi.d/plugins/power-on-host
/etc/xapi.d/plugins/wake-on-lan
/etc/xapi.d/plugins/wlan.py
/etc/xapi.d/plugins/wlan.pyo
/etc/xapi.d/plugins/wlan.pyc
/etc/xapi.d/plugins/iovirt
%config(noreplace) /etc/xensource/db.conf
%config(noreplace) /etc/xensource/db.conf.rio
/etc/xensource/master.d/01-example
/etc/xensource/master.d/03-mpathalert-daemon
%config(noreplace) /etc/xensource/pool.conf
@OPTDIR@/bin/fix_firewall.sh
@OPTDIR@/bin/list_domains
@OPTDIR@/bin/mpathalert
@OPTDIR@/bin/perfmon
@OPTDIR@/bin/static-vdis
@OPTDIR@/bin/xapi-autostart-vms
@OPTDIR@/bin/xapi-db-process
@OPTDIR@/bin/xapi-wait-init-complete
@OPTDIR@/bin/xe-backup-metadata
@OPTDIR@/bin/xe-edit-bootloader
@OPTDIR@/bin/xe-get-network-backend
@OPTDIR@/bin/xe-mount-iso-sr
@OPTDIR@/bin/xe-restore-metadata
@OPTDIR@/bin/xe-reset-networking
@OPTDIR@/bin/xe-scsi-dev-map
@OPTDIR@/bin/xe-set-iscsi-iqn
@OPTDIR@/bin/xe-toolstack-restart
@OPTDIR@/bin/xe-xentrace
@OPTDIR@/bin/xe-switch-network-backend
@OPTDIR@/bin/xe-enable-all-plugin-metrics
/etc/bash_completion.d/xe-switch-network-backend
@OPTDIR@/bin/xsh
/etc/xensource/bugtool/xapi.xml
/etc/xensource/bugtool/xapi/stuff.xml
@OPTDIR@/libexec/list_plugins
@OPTDIR@/libexec/sm_diagnostics
@OPTDIR@/libexec/thread_diagnostics
@OPTDIR@/libexec/InterfaceReconfigure.py
@OPTDIR@/libexec/InterfaceReconfigure.pyo
@OPTDIR@/libexec/InterfaceReconfigure.pyc
@OPTDIR@/libexec/InterfaceReconfigureBridge.py
@OPTDIR@/libexec/InterfaceReconfigureBridge.pyo
@OPTDIR@/libexec/InterfaceReconfigureBridge.pyc
@OPTDIR@/libexec/InterfaceReconfigureVswitch.py
@OPTDIR@/libexec/InterfaceReconfigureVswitch.pyo
@OPTDIR@/libexec/InterfaceReconfigureVswitch.pyc
@OPTDIR@/libexec/backup-metadata-cron
@OPTDIR@/libexec/backup-sr-metadata.py
@OPTDIR@/libexec/backup-sr-metadata.pyo
@OPTDIR@/libexec/backup-sr-metadata.pyc
@OPTDIR@/libexec/block_device_io
@OPTDIR@/libexec/cdrommon
@OPTDIR@/libexec/dumpcore
@OPTDIR@/libexec/fence
@OPTDIR@/libexec/fence.bin
@OPTDIR@/libexec/generate_ssl_cert
@OPTDIR@/libexec/host-backup
@OPTDIR@/libexec/host-bugreport-upload
@OPTDIR@/libexec/host-restore
@OPTDIR@/libexec/interface-reconfigure
@OPTDIR@/libexec/interface-visualise
@OPTDIR@/libexec/license-check.py
@OPTDIR@/libexec/license-check.pyo
@OPTDIR@/libexec/license-check.pyc
@OPTDIR@/libexec/link-vms-by-sr.py
@OPTDIR@/libexec/link-vms-by-sr.pyo
@OPTDIR@/libexec/link-vms-by-sr.pyc
@OPTDIR@/libexec/logs-download
@OPTDIR@/libexec/lw-force-domain-leave
@OPTDIR@/libexec/mail-alarm
@OPTDIR@/libexec/print-custom-templates
@OPTDIR@/libexec/probe-device-for-file
@OPTDIR@/libexec/genptoken
@OPTDIR@/libexec/qemu-dm-wrapper
@OPTDIR@/libexec/restore-sr-metadata.py
@OPTDIR@/libexec/restore-sr-metadata.pyo
@OPTDIR@/libexec/restore-sr-metadata.pyc
@OPTDIR@/libexec/set-hostname
@OPTDIR@/libexec/shell.py
@OPTDIR@/libexec/shell.pyo
@OPTDIR@/libexec/shell.pyc
@OPTDIR@/libexec/shutdown
@OPTDIR@/libexec/sparse_dd
%config(noreplace) /etc/sparse_dd.conf
@OPTDIR@/libexec/update-mh-info
@OPTDIR@/libexec/upload-wrapper
@OPTDIR@/libexec/vncterm-wrapper
@OPTDIR@/libexec/xapi-health-check
@OPTDIR@/libexec/xapi-rolling-upgrade
@OPTDIR@/libexec/xenguest
@OPTDIR@/libexec/xha-lc
@OPTDIR@/libexec/xiu
@OPTDIR@/lib/libxenctrl_xiu.so
@OPTDIR@/packages/post-install-scripts/debian-etch
@OPTDIR@/packages/post-install-scripts/debug
/usr/lib/python2.4/site-packages/XenAPI.py
/usr/lib/python2.4/site-packages/XenAPI.pyo
/usr/lib/python2.4/site-packages/XenAPI.pyc
/usr/lib/python2.4/site-packages/XenAPIPlugin.py
/usr/lib/python2.4/site-packages/XenAPIPlugin.pyo
/usr/lib/python2.4/site-packages/XenAPIPlugin.pyc
/usr/lib/python2.4/site-packages/inventory.py
/usr/lib/python2.4/site-packages/inventory.pyo
/usr/lib/python2.4/site-packages/inventory.pyc
/var/xapi/udhcpd.skel
@OPTDIR@/debug/rbac_static.csv
/etc/xapi.d/host-post-declare-dead/10resetvdis
%files xe
%defattr(-,root,root,-)
@OPTDIR@/bin/xe
@OPTDIR@/debug/sm
/usr/bin/xe
/etc/bash_completion.d/xe
%files squeezed
%defattr(-,root,root,-)
@OPTDIR@/libexec/squeezed
/etc/rc.d/init.d/squeezed
%config(noreplace) /etc/squeezed.conf
%files xenopsd
%defattr(-,root,root,-)
@OPTDIR@/libexec/xenopsd
/etc/rc.d/init.d/xenopsd
%config(noreplace) /etc/xenopsd.conf
@OPTDIR@/bin/xn
/usr/bin/xn
/etc/xensource/bugtool/xenopsd.xml
/etc/xensource/bugtool/xenopsd/stuff.xml
@OPTDIR@/libexec/xn_diagnostics
@OPTDIR@/libexec/domain_sethandle
%files v6d
%defattr(-,root,root,-)
@OPTDIR@/libexec/v6d
/etc/rc.d/init.d/v6d
%files networkd
%defattr(-,root,root,-)
@OPTDIR@/libexec/xcp-networkd
/etc/rc.d/init.d/xcp-networkd
@OPTDIR@/libexec/networkd_db
%files rrdd
%defattr(-,root,root,-)
@OPTDIR@/libexec/xcp-rrdd
/etc/rc.d/init.d/xcp-rrdd
%config(noreplace) /etc/xcp-rrdd.conf
/usr/lib/python2.4/site-packages/rrdd.py
/usr/lib/python2.4/site-packages/rrdd.pyc
/usr/lib/python2.4/site-packages/rrdd.pyo
@OPTDIR@/libexec/rrdd-example.py
@OPTDIR@/libexec/rrdd-example.pyc
@OPTDIR@/libexec/rrdd-example.pyo
%files xenops
%defattr(-,root,root,-)
@OPTDIR@/debug/xenops
@OPTDIR@/debug/add_vbd
@OPTDIR@/debug/add_vif
@OPTDIR@/debug/build_domain
@OPTDIR@/debug/build_hvm
@OPTDIR@/debug/create_domain
@OPTDIR@/debug/debug_ha_query_liveset
@OPTDIR@/debug/destroy_domain
@OPTDIR@/debug/event_listen
@OPTDIR@/debug/graph
@OPTDIR@/debug/memory_breakdown
@OPTDIR@/debug/memory_summary
@OPTDIR@/debug/pause_domain
@OPTDIR@/debug/restore_domain
@OPTDIR@/debug/shutdown_domain
@OPTDIR@/debug/sm_stress
@OPTDIR@/debug/suspend_domain
@OPTDIR@/debug/unpause_domain
@OPTDIR@/debug/vncproxy
@OPTDIR@/debug/with-vdi
@OPTDIR@/debug/xs
%files tests
%defattr(-,root,root,-)
/etc/xapi.d/plugins/lvhdrt-helper
/etc/xapi.d/plugins/lvhdrt-trash-vdi
/etc/xapi.d/plugins/multipathrt-helper
@OPTDIR@/debug/cli-rt-domu-shar.sh
@OPTDIR@/debug/cli_test
@OPTDIR@/debug/install-debian-pv-inside.sh
@OPTDIR@/debug/install-debian-pv.sh
@OPTDIR@/debug/lvhdrt
@OPTDIR@/debug/multipathrt
@OPTDIR@/debug/myfirstpatch.asc
@OPTDIR@/debug/perftest
@OPTDIR@/debug/quicktest
@OPTDIR@/debug/quicktestbin
/cli-rt/*
%files client-devel
%defattr(-,root,root,-)
/usr/lib/ocaml/xapi-client/*
%files datamodel-devel
%defattr(-,root,root,-)
/usr/lib/ocaml/xapi-datamodel/*
%files rrd-devel
%defattr(-,root,root,-)
/usr/lib/ocaml/rrd-client/*
%files xenstore-watch-devel
%defattr(-,root,root,-)
/usr/lib/ocaml/xenstore-watch/*
%changelog
Jump to Line
Something went wrong with that request. Please try again.