X-Git-Url: http://git.onelab.eu/?p=codemux.git;a=blobdiff_plain;f=codemux.spec;h=bd065a65d911252c3203d4bdd0a53ccae3f0f8fb;hp=62ee864e20db28d3efbf4de5bdff55a51d3e4989;hb=acf12bace9ba00c0e081c4baaed0f0901382d8d6;hpb=2737b2e3384a99a732a1f67bc5bc5d5bfd14ac7a diff --git a/codemux.spec b/codemux.spec index 62ee864..bd065a6 100644 --- a/codemux.spec +++ b/codemux.spec @@ -1,18 +1,32 @@ -%define name proper +# +# $Id$ +# +%define url $URL$ + +%define name codemux %define version 0.1 -%define release 4%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define taglevel 7 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} Summary: CoDemux - HTTP port DeMux -Name: codemux +Name: %{name} Version: %{version} Release: %{release} License: Private Group: System Environment/Base -URL: http://codeen.cs.princeton.edu/ -Source0: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-buildroot +Source: %{name}-%{version}.tar.gz +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab %{plrelease} +URL: %(echo %{url} | cut -d ' ' -f 2) +#URL: http://codeen.cs.princeton.edu/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#Requires: vnet %description +codemux is a privileged port (80) sharing service that passes traffic to and from slices via localhost ports. + %prep %setup -q @@ -34,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(0644,root,root) %attr(0755,root,root) %{_initrddir}/codemux %config /etc/codemux/codemux.conf -%attr(0755,root,root) /usr/local/planetlab/sbin/codemux +%attr(0755,root,root) /usr/sbin/codemux %post chkconfig codemux reset