Commit 0e1455f4 authored by Andrew McNab's avatar Andrew McNab
Browse files

Grid Engine .spec

parent ef151f77
Name: mjf-gridengine
Version: %(echo ${MJF_VERSION:-0.0})
Release: 1
BuildArch: noarch
Summary: Machine/Job Features for Grid Engine
License: BSD
Group: System Environment/Daemons
Source: mjf-scripts.tgz
Vendor: GridPP
Packager: Andrew McNab <Andrew.McNab@cern.ch>
%description
MJF implementations following HSF-TN-2016-02
%prep
%setup -n mjf-scripts
%build
%install
make gridengine-install
%post
chkconfig mjf on
service mjf start
%preun
if [ "$1" = "0" ] ; then
# if uninstallation rather than upgrade then stop
chkconfig mjf off
service mjf stop
fi
%files
/etc/rc.d/init.d/*
/etc/profile.d/*
/usr/sbin/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment