1 # we define this in a separate specfile because we cannot produce all the 3 packages
2 # nodemanager-lib nodemanager-vs nodemanager-lxc in a single build
4 %define slicefamily %{pldistro}-%{distroname}-%{_arch}
6 %define name nodemanager-lxc
8 %define taglevel 10.2.openvswitch
10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 Summary: PlanetLab Node Manager Plugin for lxc nodes
17 Group: System Environment/Daemons
18 Source0: %{name}-%{version}.tar.gz
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
22 Packager: PlanetLab Central <support@planet-lab.org>
23 Distribution: PlanetLab %{plrelease}
28 Requires: libvirt-python
29 # cgroups.py needs this
30 Requires: python-inotify
31 # the common package for nodemanager
32 Requires: nodemanager-lib
33 # the lxc-specific tools for using slice images
34 Requires: lxc-sliceimage
38 nodemanager-lxc provides the lxc code for the PlanetLab Node Manager.
44 # make manages the C and Python stuff
45 %{__make} %{?_smp_mflags} lxc
48 # make manages the C and Python stuff
49 rm -rf $RPM_BUILD_ROOT
50 %{__make} %{?_smp_mflags} install-lxc DESTDIR="$RPM_BUILD_ROOT"
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(-,root,root,-)
57 %{_datadir}/NodeManager/
60 * Wed Sep 05 2012 Andy Bavier <acb@cs.princeton.edu> - nodemanager-2.1-10
61 - Change to use new vsh (wrapper for lxcsu)
63 * Fri Aug 31 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-2.1-9
65 - 2.1-8 is less broken than 2.1-7 for omf-friendly slices, in that the slivers would get created, but the OMF-feature probably won't work as .ssh won't get exposed to the sliver
67 * Thu Aug 30 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-2.1-8
68 - tag 2.1-7 was broken for OMF-friendly slices
69 - expose_ssh_dir was erroneously defined on the Worker class
71 * Thu Jul 19 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-2.1-7
72 - bwlimitlxc now ships with plnode-utils
74 * Mon Jul 09 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-2.1-6
75 - set LD_PRELOAD for linux-containers nodes
77 * Thu Jun 28 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-2.1-5
78 - first complete version for vs and lxc - functional but not thoroughly tested though
80 * Tue Jun 26 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-2.1-4
81 - split packaging in 3 (lib, lxc, vs)
82 - this tag will only work with lxc though