X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vsys.spec;h=c699ed7e5ae8b1e4a1ab9fdbe7b8a76157dbb107;hb=refs%2Fheads%2Ftrellis;hp=a4921fdeb778f8564c765816bb2b5b2670fdeb10;hpb=cc7ae58b590c525cdcd42d1f74bb375eff71ae6c;p=vsys.git diff --git a/vsys.spec b/vsys.spec index a4921fd..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.4 -%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,6 +27,9 @@ 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 @@ -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 +- +