X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vsys.spec;h=c699ed7e5ae8b1e4a1ab9fdbe7b8a76157dbb107;hb=cf7105e3331c7334c66a52a98d5f55f1c2029191;hp=184a2c5bc6c9693b427f1d3acd797bd660f25dc5;hpb=183a028ec4d916240d019e7511a42cd2a5077928;p=vsys.git diff --git a/vsys.spec b/vsys.spec index 184a2c5..c699ed7 100644 --- a/vsys.spec +++ b/vsys.spec @@ -3,17 +3,21 @@ # # RPM spec file # -# $Id: vsys.spec,v 1.40 2007/04/03 02:08:55 mef Exp $ +# $Id$ # +%define url $URL$ + %define name vsys -%define version 0.6 -%define release 2%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define version 0.7 +%define taglevel 3 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} Vendor: PlanetLab Packager: PlanetLab Central -Distribution: PlanetLab 4.0 -URL: http://cvs.planet-lab.org/cvs/vsys +Distribution: PlanetLab %{plrelease} +URL: %(echo %{url} | cut -d ' ' -f 2) Summary: Vsys filesystem Name: %{name} @@ -23,8 +27,11 @@ License: GPL Group: System Environment/Kernel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #Requires: +BuildRequires: inotify-tools-devel +BuildRequires: ocaml +BuildRequires: ocaml-docs -Source0: vsys.tar.gz +Source0: vsys-%{version}.tar.gz %description vsys is a file-system-based interface that lets slices on PlanetLab safely @@ -42,8 +49,11 @@ 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 @@ -51,6 +61,8 @@ rm -rf $RPM_BUILD_ROOT %files /usr/bin/vsys /etc/init.d/vsys +/vsys/* +/etc/vsys.conf %post chkconfig --add vsys @@ -59,3 +71,7 @@ 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 +- +