X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ipod.spec;h=469780a61fcdbe968a9b8c13824526484c6899aa;hb=b0b893bc96ce40d783ec5dce474b253e18e93ffb;hp=4e5af2ab4c60cf2817f620d0cfaca69bb883ee41;hpb=dbfc76ad7dc51045f1ad0403a401873e31a33fa5;p=pingofdeath.git diff --git a/ipod.spec b/ipod.spec index 4e5af2a..469780a 100644 --- a/ipod.spec +++ b/ipod.spec @@ -1,5 +1,5 @@ %define name ipod -%define version 2.1 +%define version 2.2 %define release 1%{?pldistro:.%{pldistro}}%{?date:.%{date}} Vendor: PlanetLab @@ -7,11 +7,11 @@ Packager: PlanetLab Central Distribution: PlanetLab 3.0 URL: http://cvs.planet-lab.org/cvs/ipod -Summary: PlanetLab ICMP Ping of Death +Summary: PlanetLab ICMP/UDP Ping of Death Name: %{name} Version: %{version} Release: %{release} -Copyright: GPL +License: GPL Group: System Environment/Kernel Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}root @@ -19,6 +19,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}root %description Startup service to enable Ping Of Death +%package client +Summary: PlanetLab ICMP/UDP Ping of Death Client Tools +Group: System Environment/Kernel +Requires: python + +%description client +Client utilities to use Ping of Death + %prep %setup @@ -28,12 +36,16 @@ make %install +# ipod mkdir -p $RPM_BUILD_ROOT/usr/local/planetlab/bin mkdir -p $RPM_BUILD_ROOT/etc/init.d cp pl-poddoit $RPM_BUILD_ROOT/usr/local/planetlab/bin/ cp pod $RPM_BUILD_ROOT/etc/init.d/ +# ipod-client +mkdir -p $RPM_BUILD_ROOT/usr/bin/ +cp pod.py $RPM_BUILD_ROOT/usr/bin %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT @@ -44,6 +56,11 @@ cp pod $RPM_BUILD_ROOT/etc/init.d/ /etc/init.d/pod /usr/local/planetlab/bin/pl-poddoit +%files client +%defattr(0755, root, root) +/usr/bin/pod.py* + + %pre %post @@ -66,6 +83,9 @@ fi %changelog +* Wed Jan 11 2006 Aaron Klingaman +- add support for building client tool rpm + * Fri Aug 5 2005 Aaron Klingaman - updated to use new source of POD Hash (/etc/planetlab/session) - minor build changes to simply build process