git://git.onelab.eu
/
pingofdeath.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed build root
[pingofdeath.git]
/
ipod.spec
diff --git
a/ipod.spec
b/ipod.spec
index
3161ead
..
f63afa1
100644
(file)
--- a/
ipod.spec
+++ b/
ipod.spec
@@
-1,10
+1,15
@@
+%define name ipod
+%define version 2.0
+%define release 3.planetlab%{?date:.%{date}}
+
Summary: PlanetLab ICMP Ping of Death
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
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
%description
Startup service to enable Ping Of Death
@@
-16,10
+21,18
@@
Startup service to enable Ping Of Death
%build
make
%build
make
+
%install
%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
%clean
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+
%files
%defattr(-, root, root)
%files
%defattr(-, root, root)
@@
-48,3
+61,8
@@
fi
%postun
%postun
+
+%changelog
+* Mon Apr 12 2004 Aaron Klingaman <alk@cs.princeton.edu>
+- moved to new build process
+- added change log