X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vsys.spec;h=c699ed7e5ae8b1e4a1ab9fdbe7b8a76157dbb107;hb=210b03e8a5cfffb3c25ea04a03548a430fd13372;hp=549ea9022a6c9d79f80e9e597c6325f63ea72dd2;hpb=29b39307e80294be18aecf02918ad499919cf82a;p=vsys.git diff --git a/vsys.spec b/vsys.spec index 549ea90..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} @@ -25,7 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot #Requires: BuildRequires: inotify-tools-devel BuildRequires: ocaml -BuildRequires: ocaml-ocamldocs +BuildRequires: ocaml-docs Source0: vsys-%{version}.tar.gz @@ -45,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 @@ -54,6 +61,8 @@ rm -rf $RPM_BUILD_ROOT %files /usr/bin/vsys /etc/init.d/vsys +/vsys/* +/etc/vsys.conf %post chkconfig --add vsys @@ -62,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 +- +