X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=codemux.spec;h=a303a9063411499ee953bc6a5f5d42c98d3ac8c7;hb=0b77be769f516c7652e17894e174a562f2ef202d;hp=dcdfd9ee717431af074788a7f6e8420e3a4c869f;hpb=1dd767257c57946d0ccc0dd089e4447fc5ca0f04;p=codemux.git diff --git a/codemux.spec b/codemux.spec index dcdfd9e..a303a90 100644 --- a/codemux.spec +++ b/codemux.spec @@ -1,6 +1,13 @@ +# +# $Id$ +# +%define url $URL$ + %define name codemux %define version 0.1 -%define release 4%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define taglevel 10 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} Summary: CoDemux - HTTP port DeMux Name: %{name} @@ -11,10 +18,11 @@ Group: System Environment/Base Source: %{name}-%{version}.tar.gz Vendor: PlanetLab Packager: PlanetLab Central -Distribution: PlanetLab 3.0 -URL: http://codeen.cs.princeton.edu/ +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 +#Requires: vnet %description codemux is a privileged port (80) sharing service that passes traffic to and from slices via localhost ports. @@ -26,12 +34,12 @@ codemux is a privileged port (80) sharing service that passes traffic to and fro make clean %build -make +make RPM_VERSION=%{version}.%{taglevel} %install rm -rf $RPM_BUILD_ROOT - make INSTALL_ROOT=$RPM_BUILD_ROOT install +install -D -m 644 codemux.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/codemux %clean rm -rf $RPM_BUILD_ROOT @@ -40,7 +48,8 @@ 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 +%{_sysconfdir}/logrotate.d/codemux %post chkconfig codemux reset @@ -61,6 +70,14 @@ if [ "$1" = 0 ]; then fi %changelog +* Thu Apr 24 2008 Faiyaz Ahmed - CoDemux-0.1-10 +- +- Examples in conf file are enough. Removed PLC specific entries. +- + +* Fri Mar 28 2008 Faiyaz Ahmed - CoDemux-0.1-7 CoDemux-0.1-8 +- + * Sun Apr 22 2007 KYOUNGSOO PARK - - Initial build.