10 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
13 Packager: PlanetLab Central <support@planet-lab.org>
14 Distribution: PlanetLab %{plrelease}
15 URL: %(echo %{url} | cut -d ' ' -f 2)
17 Summary: PlanetLab ICMP/UDP Ping of Death
22 Group: System Environment/Kernel
23 Source: %{name}-%{version}.tar.gz
24 BuildRoot: %{_tmppath}/%{name}-%{version}root
27 Startup service to enable Ping Of Death
30 Summary: PlanetLab ICMP/UDP Ping of Death Client Tools
31 Group: System Environment/Kernel
35 Client utilities to use Ping of Death
47 mkdir -p $RPM_BUILD_ROOT/usr/local/planetlab/bin
48 mkdir -p $RPM_BUILD_ROOT/etc/init.d
50 cp pl-poddoit $RPM_BUILD_ROOT/usr/local/planetlab/bin/
51 cp pod $RPM_BUILD_ROOT/etc/init.d/
54 mkdir -p $RPM_BUILD_ROOT/usr/bin/
55 cp pod.py $RPM_BUILD_ROOT/usr/bin
58 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
62 %defattr(0755, root, root)
64 /usr/local/planetlab/bin/pl-poddoit
67 %defattr(0755, root, root)
78 if [[ "$PL_BOOTCD" != "1" ]] ; then
93 * Wed Jan 11 2006 Aaron Klingaman <alk@absarokasoft.com>
94 - add support for building client tool rpm
96 * Fri Aug 5 2005 Aaron Klingaman <alk@absarokasoft.com>
97 - updated to use new source of POD Hash (/etc/planetlab/session)
98 - minor build changes to simply build process
99 - remove unnecessary call to runlevel in post section
101 * Mon Apr 12 2004 Aaron Klingaman <alk@cs.princeton.edu>
102 - moved to new build process