X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=codemux.spec;h=2a55c61fff186adc00a2b49ed4d1bb201a251a6f;hb=a6f425ebad166db18fa6f1547211ccf17652eff0;hp=b212eceb2c11300ffe3faa401125ce360bbc7de7;hpb=0004e089d32f355a47338f6394b8d2780494b047;p=codemux.git diff --git a/codemux.spec b/codemux.spec index b212ece..2a55c61 100644 --- a/codemux.spec +++ b/codemux.spec @@ -1,14 +1,32 @@ -Summary: CoDemux - HTTP port demultiplexer -Name: codemux -Version: 0.4 -Release: 1 +# +# $Id$ +# +%define url $URL$ + +%define name codemux +%define version 0.1 +%define taglevel 8 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} + +Summary: CoDemux - HTTP port DeMux +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}-%{version}-%{release}-root +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 @@ -16,27 +34,26 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root make clean %build -make +make RPM_VERSION=%{version}.%{taglevel} %install rm -rf $RPM_BUILD_ROOT -make install +make INSTALL_ROOT=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(0644,root,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 if [ -z "$PL_BOOTCD" ]; then - /sbin/ldconfig /etc/init.d/codemux restart fi @@ -51,9 +68,10 @@ if [ "$1" = 0 ]; then fi fi -%doc - %changelog +* Fri Mar 28 2008 Faiyaz Ahmed - CoDemux-0.1-7 CoDemux-0.1-8 +- + * Sun Apr 22 2007 KYOUNGSOO PARK - - Initial build.