# # Vsys filesystem # # RPM spec file # # $Id$ # %define url $URL$ %define name vsys %define version 0.7 %define taglevel 3 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) Summary: Vsys filesystem Name: %{name} Version: %{version} Release: %{release} License: GPL Group: System Environment/Kernel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #Requires: BuildRequires: inotify-tools-devel BuildRequires: ocaml BuildRequires: ocaml-docs Source0: vsys-%{version}.tar.gz %description vsys is a file-system-based interface that lets slices on PlanetLab safely invoke services installed by the PlanetLab administration. Slices invoke and interact with these services through fifo pipes. Services can be added and removed dynamically. %prep %setup %build rm -rf $RPM_BUILD_ROOT make %install mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/etc/init.d mkdir -p $RPM_BUILD_ROOT/vsys cp factory/* $RPM_BUILD_ROOT/vsys cp vsys $RPM_BUILD_ROOT/usr/bin cp vsys-initscript $RPM_BUILD_ROOT/etc/init.d/vsys cp vsys.conf $RPM_BUILD_ROOT/etc %clean rm -rf $RPM_BUILD_ROOT %files /usr/bin/vsys /etc/init.d/vsys /vsys/* /etc/vsys.conf %post chkconfig --add vsys chkconfig vsys on %postun %changelog * Fri Feb 15 2008 Faiyaz Ahmed - vsys-0.7-2 vsys-0.7-3 - * daemonization, writing to a logfile, and saving the pid -