Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: pr-1219-fixes
Fetching contributors…

Cannot retrieve contributors at this time

441 lines (383 sloc) 12.127 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 www
Summary: The XenAPI www interface
Group: System/Hypervisor
%description www
This package contains the XenAPI www interface
%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 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 docs
Summary: Xen-API documentation and examples
Group: Development/Documentation
%description docs
This package contains Xen-API documentation and examples in several programming languages.
%prep
%setup -q
cp $RPM_SOURCE_DIR/jquery* $RPM_BUILD_DIR/xapi-0.2/ocaml/idl
%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
DESTDIR=$RPM_BUILD_ROOT %{__make} sdk-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 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
/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/sdkinit
/etc/rc.d/init.d/genptoken
/etc/sysconfig/perfmon
/etc/sysconfig/xapi
/etc/udev/rules.d/xen-backend.rules
/etc/udev/rules.d/xen-frontend.rules
/etc/udev/xen-backend.rules
/etc/udev/xen-frontend.rules
/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
/etc/xensource/db.conf
/etc/xensource/db.conf.rio
/etc/xensource/master.d/01-example
/etc/xensource/master.d/03-mpathalert-daemon
/etc/xensource/pool.conf
/etc/xensource/scripts/block-frontend
/etc/xensource/scripts/tap
/etc/xensource/scripts/vif
/etc/xensource/scripts/block
@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/xsh
/etc/xensource/bugtool/xapi.xml
/etc/xensource/bugtool/xapi/stuff.xml
@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-dom0-memory-target-from-packs
@OPTDIR@/libexec/set-hostname
@OPTDIR@/libexec/setup-vif-rules
@OPTDIR@/libexec/shell.py
@OPTDIR@/libexec/shell.pyo
@OPTDIR@/libexec/shell.pyc
@OPTDIR@/libexec/shutdown
@OPTDIR@/libexec/sparse_dd
@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@/libexec/pci-info
@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
%exclude /usr/lib/python2.4/site-packages/xen/*
%exclude /usr/lib/python2.4/site-packages/xen/lowlevel/*
/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
/etc/squeezed.conf
%files xenopsd
%defattr(-,root,root,-)
@OPTDIR@/libexec/xenopsd
/etc/rc.d/init.d/xenopsd
/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
%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/rrddump
@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 www
%defattr(-,root,root,-)
#@OPTDIR@/debug/www/XenServerConsole.jar
@OPTDIR@/debug/www/api.js
@OPTDIR@/debug/www/apicall.css
@OPTDIR@/debug/www/apicall.js
@OPTDIR@/debug/www/construct_tree.js
@OPTDIR@/debug/www/devweb.css
@OPTDIR@/debug/www/devweb.js
@OPTDIR@/debug/www/editables.js
@OPTDIR@/debug/www/graphs.js
@OPTDIR@/debug/www/haplan.css
@OPTDIR@/debug/www/haplan.js
@OPTDIR@/debug/www/images/xen_logo.gif
@OPTDIR@/debug/www/index.html
@OPTDIR@/debug/www/jquery/jqDnR.css
@OPTDIR@/debug/www/jquery/jqDnR.js
@OPTDIR@/debug/www/jquery/jqModal.css
@OPTDIR@/debug/www/jquery/jqModal.js
@OPTDIR@/debug/www/jquery/jquery-1.3.2.js
@OPTDIR@/debug/www/jquery/jquery-dom.js
@OPTDIR@/debug/www/jquery/jquery.autocomplete.css
@OPTDIR@/debug/www/jquery/jquery.autocomplete.js
@OPTDIR@/debug/www/jquery/jquery.bgiframe.js
@OPTDIR@/debug/www/jquery/jquery.color.js
@OPTDIR@/debug/www/jquery/jquery.cookie.js
@OPTDIR@/debug/www/jquery/jquery.jeditable.js
@OPTDIR@/debug/www/jquery/jquery.rpc.js
@OPTDIR@/debug/www/jquery/jquery.treeview.js
@OPTDIR@/debug/www/main.js
@OPTDIR@/debug/www/messages.js
@OPTDIR@/debug/www/networks.css
@OPTDIR@/debug/www/networks.js
@OPTDIR@/debug/www/objectviewoverrides.js
@OPTDIR@/debug/www/offline.js
@OPTDIR@/debug/www/process_rrd.js
@OPTDIR@/debug/www/tree.css
@OPTDIR@/debug/www/vmsearch.js
@OPTDIR@/debug/www/xenapi.js
%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/*
/etc/xapi.d/plugins/monitor_fake_plugin
%files client-devel
%defattr(-,root,root,-)
/usr/lib/ocaml/xapi-client/*
%files datamodel-devel
%defattr(-,root,root,-)
/usr/lib/ocaml/xapi-datamodel/*
%files docs
%defattr(-,root,root,-)
/usr/share/doc/xapi/*
#/usr/share/doc/xapi/client-examples/*/*
#/usr/share/doc/xapi/docs/html/API/Classes/*/index.html
#/usr/share/doc/xapi/docs/html/API/Classes/*/Explicit/*
#/usr/share/doc/xapi/docs/html/API/Classes/*/Implicit/*
#/usr/share/doc/xapi/docs/html/API/Classes/*/Fields/*
#/usr/share/doc/xapi/docs/html/*
#/usr/share/doc/xapi/docs/html/images/*
#/usr/share/doc/xapi/docs/pdf/xenenterpriseapi.pdf
%changelog
Jump to Line
Something went wrong with that request. Please try again.