X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ipod.spec;h=f0211083f64c8e7243001afed9ebf2df77a3972f;hb=0830be0b056fbbf1400088357d57c016d8445c73;hp=3161ead6e91b631d1be0321c034f7e70e36f0cea;hpb=b78b4a0b9256d477c3bdb70693a66de3da3865d2;p=pingofdeath.git diff --git a/ipod.spec b/ipod.spec index 3161ead..f021108 100644 --- a/ipod.spec +++ b/ipod.spec @@ -1,10 +1,20 @@ +%define name ipod +%define version 2.0 +%define release 5.planetlab%{?date:.%{date}} + +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab 3.0 +URL: http://cvs.planet-lab.org/cvs/ipod + Summary: PlanetLab ICMP Ping of Death -Name: ipod -Version: 2.0 -Release: 2 +Name: %{name} +Version: %{version} +Release: %{release} Copyright: GPL Group: System Environment/Kernel -Source: ipod-2.0.tar.gz +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}root %description Startup service to enable Ping Of Death @@ -16,13 +26,21 @@ Startup service to enable Ping Of Death %build make + %install -make install +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/ + %clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + %files -%defattr(-, root, root) +%defattr(0755, root, root) /etc/init.d/pod /usr/local/planetlab/bin/pl-poddoit @@ -48,3 +66,8 @@ fi %postun + +%changelog +* Mon Apr 12 2004 Aaron Klingaman +- moved to new build process +- added change log