1 %define name plnode-utils
5 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
7 Summary: Python utilities for a PlanetLab node
12 Group: System Environment/Libraries
13 Source0: %{name}-%{version}.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17 Packager: PlanetLab Central <support@planet-lab.org>
18 Distribution: PlanetLab %{plrelease}
24 This python package provides utilities like bwlimit, used in various places on a PlanetLab node, nodemanager and mom among others. It aims at cleaning up the packaging scheme, as bwlimit used to ship with util-vserver-pl, but is relevant in the lxc variant as well.
31 # this is where we chose which flavour of bwlimit gets shipped
32 cp plnode/bwlimit_lxc.py plnode/bwlimit.py
36 python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
39 rm -rf $RPM_BUILD_ROOT