git://git.onelab.eu
/
codemux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added Sean's request
[codemux.git]
/
codemux.spec
diff --git
a/codemux.spec
b/codemux.spec
index
b212ece
..
50508e4
100644
(file)
--- a/
codemux.spec
+++ b/
codemux.spec
@@
-1,14
+1,24
@@
-Summary: CoDemux - HTTP port demultiplexer
-Name: codemux
-Version: 0.4
-Release: 1
+%define name codemux
+%define version 0.1
+%define release 6%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+
+Summary: CoDemux - HTTP port DeMux
+Name: %{name}
+Version: %{version}
+Release: %{release}
License: Private
Group: System Environment/Base
License: Private
Group: System Environment/Base
+Source: %{name}-%{version}.tar.gz
+Vendor: PlanetLab
+Packager: PlanetLab Central <support@planet-lab.org>
+Distribution: PlanetLab 3.0
URL: http://codeen.cs.princeton.edu/
URL: http://codeen.cs.princeton.edu/
-Source0: %{name}-%{version}.tar.gz
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-roo
t
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
Requires: vne
t
%description
%description
+codemux is a privileged port (80) sharing service that passes traffic to and from slices via localhost ports.
+
%prep
%setup -q
%prep
%setup -q
@@
-21,22
+31,21
@@
make
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
-make install
+make
INSTALL_ROOT=$RPM_BUILD_ROOT
install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%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) %{_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
%post
chkconfig codemux reset
if [ -z "$PL_BOOTCD" ]; then
- /sbin/ldconfig
/etc/init.d/codemux restart
fi
/etc/init.d/codemux restart
fi
@@
-51,8
+60,6
@@
if [ "$1" = 0 ]; then
fi
fi
fi
fi
-%doc
-
%changelog
* Sun Apr 22 2007 KYOUNGSOO PARK <kyoungso@park.cs.princeton.edu> -
- Initial build.
%changelog
* Sun Apr 22 2007 KYOUNGSOO PARK <kyoungso@park.cs.princeton.edu> -
- Initial build.