1 Summary: PlanetLab Node Manager
4 Release: 2%{?pldistro:.%{pldistro}}%{?date:.%{date}}
6 Group: System Environment/Daemons
7 URL: http://cvs.planet-lab.org/cvs/NodeManager
8 Source0: %{name}-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12 Obsoletes: sidewinder, sidewinder-common
15 Requires: vserver-reference
16 Requires: util-vserver
19 Requires: util-vserver-python
27 # Uses function decorators
28 Requires: python >= 2.4
31 The PlanetLab Node Manager manages all aspects of PlanetLab node and
32 slice management once the node has been initialized and configured by
33 the Boot Manager. It periodically contacts its management authority
34 for configuration updates. It provides an XML-RPC API for performing
35 local operations on slices.
41 %{__make} %{?_smp_mflags}
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} %{?_smp_mflags} install DESTDIR="$RPM_BUILD_ROOT"
47 install -D -m 755 conf_files.init $RPM_BUILD_ROOT/%{_initrddir}/conf_files
48 install -D -m 755 nm.init $RPM_BUILD_ROOT/%{_initrddir}/nm
49 install -D -m 644 nm.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm
52 chkconfig --add conf_files
53 chkconfig conf_files on
58 # 0 = erase, 1 = upgrade
59 if [ $1 -eq 0 ] ; then
62 chkconfig conf_files off
63 chkconfig --del conf_files
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(-,root,root,-)
72 %dir %{_datadir}/NodeManager
73 %{_datadir}/NodeManager/*
74 %{_bindir}/forward_api_calls
76 %{_initrddir}/conf_files
77 %{_sysconfdir}/logrotate.d/nm
80 * Mon Nov 13 2006 Mark Huang <mlhuang@paris.CS.Princeton.EDU> -