git://git.onelab.eu
/
vsys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trellis branch of vsys
[vsys.git]
/
vsys.spec
diff --git
a/vsys.spec
b/vsys.spec
index
a4921fd
..
c699ed7
100644
(file)
--- a/
vsys.spec
+++ b/
vsys.spec
@@
-3,17
+3,21
@@
#
# RPM spec file
#
#
# 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 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 <support@planet-lab.org>
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
-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}
Summary: Vsys filesystem
Name: %{name}
@@
-23,6
+27,9
@@
License: GPL
Group: System Environment/Kernel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
#Requires:
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
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
%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 $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
%clean
rm -rf $RPM_BUILD_ROOT
@@
-51,6
+61,8
@@
rm -rf $RPM_BUILD_ROOT
%files
/usr/bin/vsys
/etc/init.d/vsys
%files
/usr/bin/vsys
/etc/init.d/vsys
+/vsys/*
+/etc/vsys.conf
%post
chkconfig --add vsys
%post
chkconfig --add vsys
@@
-59,3
+71,7
@@
chkconfig vsys on
%postun
%changelog
%postun
%changelog
+* Fri Feb 15 2008 Faiyaz Ahmed <faiyaza@cs.princeton.edu> - vsys-0.7-2 vsys-0.7-3
+- * daemonization, writing to a logfile, and saving the pid
+-
+