5 %define url $URL: svn+ssh://svn.planet-lab.org/svn/pcucontrol/trunk/pcucontrol.spec $
7 %define name pcucontrol
11 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" )
17 Source0: %{name}-%{version}.tar.bz2
19 Group: Applications/System
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
23 Packager: PlanetLab Central <support@planet-lab.org>
24 Distribution: PlanetLab %{plrelease}
25 URL: %(echo %{url} | cut -d ' ' -f 2)
28 Requires: OpenIPMI-tools
29 Obsoletes: monitor-pcucontrol
31 Summary: pcu controls for monitor and plcapi
32 Group: Applications/System
35 both monitor and the plcapi use a set of common commands to reboot machines
36 using their external or internal pcus. this package is a library of several
43 # NOTE: the build uses g++ cmdamt/
44 # NOTE: TMPDIR is needed here b/c the tmpfs of the build vserver is too small.
45 cd pcucontrol/models/intelamt
46 export TMPDIR=$PWD/tmp
51 rm -rf $RPM_BUILD_ROOT
52 mkdir -p $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol/
53 rsync -a --exclude .svn ./pcucontrol/ $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol/
56 rm -rf $RPM_BUILD_ROOT
64 * Thu Jan 21 2010 Talip Baris Metin <Talip-Baris.Metin@sophia.inria.fr> - pcucontrol-1.0-1
65 - * pcucontrol obsoletes monitor-pcucontrol
66 - * use bash built-in instead of which to locate ssh
67 - * racadm fix for DRAC.
69 * Tue Dec 22 2009 Baris Metin <Talip-Baris.Metin@sophia.inria.fr>