Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kisielk
maui-3.2.6p21
maui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File maui.spec of Package maui-3.2.6p21
Name: maui Version: 3.2.6p21 Release: 1 Source0: http://www.clusterresources.com/downloads/maui/maui-%{version}.tar.gz Source1: maui-init.d.sh Source2: maui.cfg Source3: maui.sysconfig # Increase the number of queues we can cope with. Patch1: maui_max_mclass_patch # Increase the number of queued jobs we can cope with. Patch2: maui_max_mjobs_patch # Patch to set fairshare to target/used Patch3: scale-fscalc.patch Patch4: maui_max_mres_patch # Patch to set fairshare to 1 - used/target Patch5: maui-fairshare-one-minus-used-over-target.patch Summary: The Maui supercluster scheduler Group: System/Daemons License: Maui Packager: Kamil Kisiel <kamil@kamilkisiel.net> BuildRoot: /var/tmp/maui-%{version}-root BuildRequires: torque-devel %package client Requires: maui = %{version}-%{release} Summary: Client for the MAUI schedular from SuperCluster.org Group: System/Tools %package server Requires: maui = %{version}-%{release} Summary: Server for the MAUI schedular from SuperCluster.org Group: System/Tools %package devel Summary: Libary and header files for maui. Group: System/Tools %description MAUI is the scheduler from SuperCluster.org %description client MAUI is the scheduler from SuperCluster.org %description server MAUI is the scheduler from SuperCluster.org %description devel MAUI is the scheduler from SuperCluster.org %prep %setup -q %patch1 -p1 %patch2 -p1 # Fairshare patch. #%patch3 -p1 %patch4 -p1 %patch5 -p1 %build %configure --with-spooldir=%{_var}/spool/maui make %install make install \ INST_DIR=${RPM_BUILD_ROOT}%{_prefix} \ MSCHED_HOME=${RPM_BUILD_ROOT}%{_var}/spool/maui mkdir -p ${RPM_BUILD_ROOT}/etc/init.d/ mkdir -p ${RPM_BUILD_ROOT}/etc/sysconfig cp %{SOURCE1} ${RPM_BUILD_ROOT}/etc/init.d/maui chmod 0755 ${RPM_BUILD_ROOT}/etc/init.d/maui cp %{SOURCE2} ${RPM_BUILD_ROOT}/var/spool/maui/maui.cfg chmod 0644 ${RPM_BUILD_ROOT}/var/spool/maui/maui.cfg cp %{SOURCE3} ${RPM_BUILD_ROOT}/etc/sysconfig/maui %clean %files %defattr(-,root,root) %config(noreplace) /var/spool/maui/maui.cfg %config(noreplace) /var/spool/maui/maui-private.cfg %files client %attr(0755,root,root) /usr/bin/* %files server %defattr(-,root,root) %attr(0755,root,root) /etc/init.d/maui %attr(0755,root,root) /usr/sbin/maui %dir /var/spool/maui/stats %dir /var/spool/maui/traces %dir /var/spool/maui/tools %dir /var/spool/maui/spool %config(noreplace) /etc/sysconfig/maui %files devel %attr(0644,root,root) /usr/include/moab.h %attr(0644,root,root) /usr/lib/libmcom.a %attr(0644,root,root) /usr/lib/libmoab.a %post server if [ "$1" = "1" ] ; then /sbin/chkconfig --add maui /sbin/chkconfig maui on else /sbin/service maui status > /dev/null 2>&1 if [ "$?" = "0" ] ; then /sbin/service maui stop sleep 3 /sbin/service maui start fi fi %preun server if [ "$1" = "0" ] ; then # We are removing the last version of the package. /sbin/service maui stop >& /dev/null /sbin/chkconfig maui off /sbin/chkconfig --del maui fi %changelog * Tue May 26 2009 Kamil Kisiel <kamil@kamilkisiel.net> - Modified for openSUSE build * Wed Aug 30 2006 Steve Traylen <s.traylen@rl.ac.uk> - Add restart things to %post, %pre * Wed Nov 16 2005 Steve Traylen <s.traylen@rl.ac.uk - First change log - Make init.d script more LSB complient.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor