3 %define release 5.planetlab%{?date:.%{date}}
6 Packager: PlanetLab Central <support@planet-lab.org>
7 Distribution: PlanetLab 3.0
8 URL: http://cvs.planet-lab.org/cvs/ipod
10 Summary: PlanetLab ICMP Ping of Death
15 Group: System Environment/Kernel
16 Source: %{name}-%{version}.tar.gz
17 BuildRoot: %{_tmppath}/%{name}-%{version}root
20 Startup service to enable Ping Of Death
31 mkdir -p $RPM_BUILD_ROOT/usr/local/planetlab/bin
32 mkdir -p $RPM_BUILD_ROOT/etc/init.d
34 cp pl-poddoit $RPM_BUILD_ROOT/usr/local/planetlab/bin/
35 cp pod $RPM_BUILD_ROOT/etc/init.d/
39 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
43 %defattr(0755, root, root)
45 /usr/local/planetlab/bin/pl-poddoit
50 RUNLEVEL=`/sbin/runlevel`
56 if [[ "$RUNLEVEL" != "unknown" ]]; then
71 * Mon Apr 12 2004 Aaron Klingaman <alk@cs.princeton.edu>
72 - moved to new build process