3 %define release 4%{?pldistro:.%{pldistro}}%{?date:.%{date}}
5 Summary: CoDemux - HTTP port DeMux
10 Group: System Environment/Base
11 URL: http://codeen.cs.princeton.edu/
12 Source0: %{name}-%{version}.tar.gz
13 BuildRoot: %{_tmppath}/%{name}-buildroot
26 rm -rf $RPM_BUILD_ROOT
28 make INSTALL_ROOT=$RPM_BUILD_ROOT install
31 rm -rf $RPM_BUILD_ROOT
34 %defattr(0644,root,root)
35 %attr(0755,root,root) %{_initrddir}/codemux
36 %config /etc/codemux/codemux.conf
37 %attr(0755,root,root) /usr/local/planetlab/sbin/codemux
40 chkconfig codemux reset
42 if [ -z "$PL_BOOTCD" ]; then
43 /etc/init.d/codemux restart
49 chkconfig --del codemux
51 # stop daemon if its currently running
52 if [ "`/etc/init.d/codemux status`" = "running" ]; then
53 /etc/init.d/codemux stop
58 * Sun Apr 22 2007 KYOUNGSOO PARK <kyoungso@park.cs.princeton.edu> -