X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=codemux.spec;h=50508e4be6c50eb4b43de6c0bad72862b27ae192;hb=efd99f15c7c0ed886a5546997443770ba20962f0;hp=101464d2fa9278edf191c3f7c2382631238e95d5;hpb=af98a476dae915bd6e8445cd47609d8a6a42355b;p=codemux.git diff --git a/codemux.spec b/codemux.spec index 101464d..50508e4 100644 --- a/codemux.spec +++ b/codemux.spec @@ -1,18 +1,24 @@ %define name codemux %define version 0.1 -%define release 4%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define release 6%{?pldistro:.%{pldistro}}%{?date:.%{date}} Summary: CoDemux - HTTP port DeMux -Name: codemux +Name: %{name} Version: %{version} Release: %{release} License: Private Group: System Environment/Base +Source: %{name}-%{version}.tar.gz +Vendor: PlanetLab +Packager: PlanetLab Central +Distribution: PlanetLab 3.0 URL: http://codeen.cs.princeton.edu/ -Source0: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-buildroot +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 +40,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