1 %define name pcucontrol
5 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
6 %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" )
11 Source0: %{name}-%{version}.tar.bz2
13 Group: Applications/System
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17 Packager: PlanetLab Central <support@planet-lab.org>
18 Distribution: PlanetLab %{plrelease}
22 Requires: OpenIPMI-tools
23 Obsoletes: monitor-pcucontrol
25 Summary: pcu controls for monitor and plcapi
26 Group: Applications/System
29 both monitor and the plcapi use a set of common commands to reboot machines
30 using their external or internal pcus. this package is a library of several
37 # NOTE: the build uses g++ cmdamt/
38 # NOTE: TMPDIR is needed here b/c the tmpfs of the build vserver is too small.
39 cd pcucontrol/models/intelamt
40 export TMPDIR=$PWD/tmp
46 rm -rf $RPM_BUILD_ROOT
47 mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol/
48 rsync -a --exclude .svn ./pcucontrol/ $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol/
51 rm -rf $RPM_BUILD_ROOT
59 * Wed Aug 31 2011 Stephen Soltesz <soltesz@cs.princeton.edu> - pcucontrol-1.0-12
60 - Fixed DRAC regular expression for ssh, and added IP address for external
63 * Wed Jun 08 2011 s s <soltesz@cs.princeton.edu> - pcucontrol-1.0-11
64 - Updated HPiLO, DRAC with expect scripts.
65 - Updated other models to use subprocess module in favor of os.popen*
67 * Mon Jan 24 2011 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pcucontrol-1.0-10
68 - no semantic change - just fixed specfile for git URL
70 * Fri Dec 03 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-9
73 * Thu Jul 08 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-8
76 * Mon Jul 05 2010 Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-7
79 * Fri Jun 18 2010 s s <soltesz@cs.princeton.edu> - pcucontrol-1.0-6
80 - adding a testrun parameter to the api
82 * Fri May 21 2010 Talip Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-5
85 * Wed May 12 2010 Talip Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-4
86 - * add ipmi trasport type.
88 * Mon May 03 2010 Talip Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-3
89 - remove unused import (that causes deprecated warnings in plcsh)
91 * Fri Apr 02 2010 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - pcucontrol-1.0-2
92 - tweak for DRAC - protect against spaces in password
94 * Thu Jan 21 2010 Talip Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-1
95 - * pcucontrol obsoletes monitor-pcucontrol
96 - * use bash built-in instead of which to locate ssh
97 - * racadm fix for DRAC.
99 * Tue Dec 22 2009 Baris Metin <Talip-Baris.Metin@sophia.inria.fr>