Blame slurm.spec

Philip Kovacs bff578
# Upstream tarballs use an additional release number
Philip Kovacs 3eafc8
%global ups_rel 1
Philip Kovacs bff578
Philip Kovacs bff578
%if "%{ups_rel}" == "1"
Philip Kovacs bff578
%global name_version %{name}-%{version}
Philip Kovacs bff578
%else
Philip Kovacs bff578
%global name_version %{name}-%{version}-%{ups_rel}
Philip Kovacs bff578
%endif
Philip Kovacs bff578
Philip Kovacs bff578
# Allow linkage with undefined symbols (disable -z,defs)
Philip Kovacs bff578
%undefine _strict_symbol_defs_build
Philip Kovacs bff578
Philip Kovacs 9be8f2
Name:           slurm
Philip Kovacs 3eafc8
Version:        18.08.7
Philip Kovacs 3b4b22
Release:        2%{?dist}
Philip Kovacs 9be8f2
Summary:        Simple Linux Utility for Resource Management
Philip Kovacs 9be8f2
License:        GPLv2 and BSD
Philip Kovacs 9be8f2
URL:            https://slurm.schedmd.com/
Philip Kovacs bff578
Source0:        http://www.schedmd.com/download/latest/%{name_version}.tar.bz2
Philip Kovacs 9be8f2
Source1:        slurm.conf
Philip Kovacs 9be8f2
Source2:        slurmdbd.conf
Philip Kovacs 9be8f2
Source3:        slurm-sview.desktop
Philip Kovacs 9be8f2
Source4:        slurm-128x128.png
Philip Kovacs 175622
Source5:        slurm-setuser.in
Philip Kovacs 175622
Philip Kovacs bff578
# Upstream bug #4449: release-style versioning of libslurmfull
Philip Kovacs bff578
Patch0:         slurm_libslurmfull_version.patch
Philip Kovacs 175622
Philip Kovacs bff578
# Build-related patches
Philip Kovacs 175622
Patch10:        slurm_perlapi_rpaths.patch
Philip Kovacs 175622
Patch11:        slurm_html_doc_path.patch
Philip Kovacs 175622
Patch12:        slurm_doc_fix.patch
Philip Kovacs a3fb7f
Patch13:        slurm_do_not_build_cray.patch
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# Fedora-related patches
Philip Kovacs bff578
Patch20:        slurm_pmix_soname.patch
Philip Kovacs bff578
Patch21:        slurm_service_files.patch
Philip Kovacs 0015ad
Patch22:        slurm_to_python3.patch
Philip Kovacs bff578
Philip Kovacs bff578
BuildRequires:  autoconf
Philip Kovacs bff578
BuildRequires:  automake
Philip Kovacs bff578
BuildRequires:  environment(modules)
Philip Kovacs bff578
BuildRequires:  desktop-file-utils
Philip Kovacs bff578
BuildRequires:  gcc
Philip Kovacs 0015ad
BuildRequires:  perl-devel
Philip Kovacs bff578
BuildRequires:  perl-ExtUtils-MakeMaker
Philip Kovacs cb4fce
BuildRequires:  perl-interpreter
Philip Kovacs bff578
BuildRequires:  perl-podlators
Philip Kovacs bff578
BuildRequires:  pkgconf
Philip Kovacs bff578
BuildRequires:  pkgconfig(check)
Philip Kovacs 0015ad
BuildRequires:  python3
Philip Kovacs bff578
BuildRequires:  systemd
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
BuildRequires:  hdf5-devel
Philip Kovacs bff578
BuildRequires:  pam-devel
Philip Kovacs bff578
BuildRequires:  pkgconfig(gtk+-2.0)
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(hwloc)
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(libcurl)
Philip Kovacs a3fb7f
BuildRequires:  pkgconfig(libfreeipmi)
Philip Kovacs a3fb7f
BuildRequires:  pkgconfig(liblz4)
Philip Kovacs bff578
BuildRequires:  pkgconfig(librrd)
Philip Kovacs bff578
BuildRequires:  pkgconfig(libssh2)
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(lua)
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(mariadb)
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(munge)
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(ncurses)
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(openssl)
Philip Kovacs bff578
BuildRequires:  pkgconfig(pmix) >= 2.0.0
Philip Kovacs 9be8f2
BuildRequires:  pkgconfig(zlib)
Philip Kovacs bff578
BuildRequires:  readline-devel
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# follow arch exclusions for these devel packages
Philip Kovacs 9be8f2
%ifnarch s390 s390x %{arm}
Philip Kovacs a3fb7f
BuildRequires:  rdma-core-devel
Philip Kovacs 9be8f2
BuildRequires:  numactl-devel
Philip Kovacs 9be8f2
%endif
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
Requires:       munge
Philip Kovacs bff578
Requires:       pmix >= 2.0.0
Philip Kovacs a3fb7f
%{?systemd_requires}
Philip Kovacs bff578
Philip Kovacs 9be8f2
%description
Philip Kovacs 9be8f2
Slurm is an open source, fault-tolerant, and highly scalable
Philip Kovacs a3fb7f
cluster management and job scheduling system for Linux clusters.
Philip Kovacs a3fb7f
Components include machine status, partition management,
Philip Kovacs a3fb7f
job management, scheduling and accounting modules.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
# Base Packages
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package devel
Philip Kovacs a3fb7f
Summary: Development package for Slurm
Philip Kovacs 9be8f2
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description devel
Philip Kovacs a3fb7f
Development package for Slurm.  This package includes the header files
Philip Kovacs a3fb7f
and libraries for the Slurm API.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package doc
Philip Kovacs 9be8f2
Summary: Slurm documentation
Philip Kovacs 9be8f2
%description doc
Philip Kovacs 9be8f2
Documentation package for Slurm.  Includes documentation and
Philip Kovacs 9be8f2
html-based configuration tools for Slurm.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package gui
Philip Kovacs 9be8f2
Summary: Slurm gui and visual tools
Philip Kovacs 9be8f2
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description gui
Philip Kovacs 9be8f2
This package contains the Slurm visual tools smap and sview
Philip Kovacs 9be8f2
and their respective man pages.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package libs
Philip Kovacs 9be8f2
Summary: Slurm shared libraries
Philip Kovacs bff578
Provides: pmi
Philip Kovacs bff578
Requires: environment(modules)
Philip Kovacs 9be8f2
%description libs
Philip Kovacs 9be8f2
Slurm shared libraries.
Philip Kovacs 9be8f2
Philip Kovacs bff578
%package rrdtool
Philip Kovacs 9be8f2
Summary: Slurm rrdtool external sensor plugin
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description rrdtool
Philip Kovacs 9be8f2
Slurm external sensor plugin for rrdtool. This package is separated from
Philip Kovacs 9be8f2
the base plugins package due to gui dependencies which are unneeded if not
Philip Kovacs 9be8f2
using this plugin.
Philip Kovacs 9be8f2
Philip Kovacs bff578
%package slurmctld
Philip Kovacs bff578
Summary: Slurm controller daemon
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description slurmctld
Philip Kovacs bff578
Slurm controller daemon. Used to manage the job queue, schedule jobs,
Philip Kovacs bff578
and dispatch RPC messages to the slurmd processon the compute nodes
Philip Kovacs bff578
to launch jobs.
Philip Kovacs bff578
Philip Kovacs bff578
%package slurmd
Philip Kovacs bff578
Summary: Slurm compute node daemon
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description slurmd
Philip Kovacs bff578
Slurm compute node daemon. Used to launch jobs on compute nodes
Philip Kovacs bff578
Philip Kovacs 9be8f2
%package slurmdbd
Philip Kovacs 9be8f2
Summary: Slurm database daemon
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description slurmdbd
Philip Kovacs 9be8f2
Slurm database daemon. Used to accept and process database RPCs and upload
Philip Kovacs 9be8f2
database changes to slurmctld daemons on each cluster.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -----------------
Philip Kovacs 9be8f2
# Contribs Packages
Philip Kovacs 9be8f2
# -----------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package contribs
Philip Kovacs 9be8f2
Summary: Perl tools to print Slurm job state information
Philip Kovacs 9be8f2
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description contribs
Philip Kovacs 9be8f2
Slurm contribution package which includes the programs seff,
Philip Kovacs 9be8f2
sjobexitmod, sjstat and smail.  See their respective man pages
Philip Kovacs 9be8f2
for more information.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package openlava
Philip Kovacs 9be8f2
Summary: Openlava/LSF wrappers for transition from OpenLava/LSF to Slurm
Philip Kovacs 9be8f2
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description openlava
Philip Kovacs 9be8f2
OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package perlapi
Philip Kovacs 9be8f2
Summary: Perl API to Slurm
Philip Kovacs 9be8f2
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Philip Kovacs 9be8f2
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description perlapi
Philip Kovacs 9be8f2
Perl API package for Slurm.  This package includes the perl API to provide a
Philip Kovacs 9be8f2
helpful interface to Slurm through Perl.
Philip Kovacs 9be8f2
Philip Kovacs bff578
%package pam_slurm
Philip Kovacs a3fb7f
Summary: PAM module for restricting access to compute nodes via Slurm
Philip Kovacs 9be8f2
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description pam_slurm
Philip Kovacs a3fb7f
This module restricts access to compute nodes in a cluster where Slurm
Philip Kovacs a3fb7f
is in use.  Access is granted to root, any user with a Slurm-launched job
Philip Kovacs a3fb7f
currently running on the node, or any user who has allocated resources
Philip Kovacs a3fb7f
on the node according to Slurm.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package torque
Philip Kovacs 9be8f2
Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description torque
Philip Kovacs 9be8f2
Torque wrapper scripts used for helping migrate from Torque/PBS to Slurm.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%prep
Philip Kovacs bff578
%setup -q -n %{name_version}
Philip Kovacs 175622
%patch0 -p1
Philip Kovacs 175622
%patch10 -p1
Philip Kovacs 175622
%patch11 -p1
Philip Kovacs 175622
%patch12 -p1
Philip Kovacs a3fb7f
%patch13 -p1
Philip Kovacs 175622
%patch20 -p1
Philip Kovacs bff578
%patch21 -p1
Philip Kovacs 0015ad
%patch22 -p1
Philip Kovacs 9be8f2
cp %SOURCE1 etc/slurm.conf
Philip Kovacs 9be8f2
cp %SOURCE1 etc/slurm.conf.example
Philip Kovacs 9be8f2
cp %SOURCE2 etc/slurmdbd.conf
Philip Kovacs 9be8f2
cp %SOURCE2 etc/slurmdbd.conf.example
Philip Kovacs 9be8f2
mkdir -p share/applications
Philip Kovacs 9be8f2
mkdir -p share/icons/hicolor/128x128/apps
Philip Kovacs 9be8f2
cp %SOURCE3 share/applications/%{name}-sview.desktop
Philip Kovacs 9be8f2
cp %SOURCE4 share/icons/hicolor/128x128/apps/%{name}.png
Philip Kovacs 9be8f2
mkdir -p extras
Philip Kovacs bff578
cp %SOURCE5 extras/%{name}-setuser.in
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%build
Philip Kovacs 3b4b22
aclocal -I auxdir
Philip Kovacs 3b4b22
autoconf
Philip Kovacs 3b4b22
automake --no-force
Philip Kovacs 0015ad
# use -z lazy to allow dlopen with unresolved symbols
Philip Kovacs 9be8f2
%configure \
Philip Kovacs 0015ad
  LDFLAGS="$LDFLAGS -Wl,-z,lazy" \
Philip Kovacs 9be8f2
  --prefix=%{_prefix} \
Philip Kovacs 9be8f2
  --sysconfdir=%{_sysconfdir}/%{name} \
Philip Kovacs 9be8f2
  --with-pam_dir=%{_libdir}/security \
Philip Kovacs 9be8f2
  --enable-shared \
Philip Kovacs bff578
  --enable-x11 \
Philip Kovacs 9be8f2
  --disable-static \
Philip Kovacs 9be8f2
  --disable-debug \
Philip Kovacs 9be8f2
  --disable-developer \
Philip Kovacs 9be8f2
  --disable-salloc-background \
Philip Kovacs 9be8f2
  --disable-multiple-slurmd \
Philip Kovacs 9be8f2
  --disable-partial_attach \
Philip Kovacs bff578
  --with-shared-libslurm \
Philip Kovacs bff578
  --without-rpath
Philip Kovacs 9be8f2
# patch libtool to remove rpaths
Philip Kovacs 9be8f2
sed -i 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
Philip Kovacs bff578
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Philip Kovacs bff578
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
Philip Kovacs 9be8f2
Philip Kovacs bff578
# configure extras/slurm-setuser script
Philip Kovacs 9be8f2
sed -r '
Philip Kovacs 9be8f2
s|^dir_conf=.*|dir_conf="%{_sysconfdir}/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_log=.*|dir_log="%{_var}/log/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_run=.*|dir_run="%{_rundir}/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_spool=.*|dir_spool="%{_var}/spool/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_tmpfiles_d=.*|dir_tmpfiles_d="%{_tmpfilesdir}"|g;' \
Philip Kovacs bff578
    extras/%{name}-setuser.in > extras/%{name}-setuser
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# build base packages
Philip Kovacs db5c17
%make_build V=1
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# build contribs packages
Philip Kovacs 9be8f2
# INSTALLDIRS=vendor so perlapi goes to vendor_perl directory
Philip Kovacs 3b4b22
%make_build PERL_MM_PARAMS="INSTALLDIRS=vendor" contrib V=1
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%check
Philip Kovacs bff578
# The test binaries need LD_LIBRARY_PATH to find the compiled slurm library
Philip Kovacs bff578
# in the build tree.
Philip Kovacs 3b4b22
%make_build LD_LIBRARY_PATH="%{buildroot}%{_libdir};%{_libdir}" check
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%install
Philip Kovacs 9be8f2
%make_install
Philip Kovacs 3b4b22
%make_build DESTDIR=%{buildroot} install-contrib
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/layouts.d
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
install -m 0644 -p etc/cgroup.conf.example \
Philip Kovacs 9be8f2
    %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/cgroup.conf.example \
Philip Kovacs 9be8f2
    %{buildroot}%{_sysconfdir}/%{name}/cgroup.conf
Philip Kovacs 9be8f2
install -m 0644 -p etc/layouts.d.power.conf.example \
Philip Kovacs 9be8f2
    %{buildroot}%{_sysconfdir}/%{name}/layouts.d/power.conf.example
Philip Kovacs 9be8f2
install -m 0644 -p etc/layouts.d.power_cpufreq.conf.example \
Philip Kovacs 9be8f2
    %{buildroot}%{_sysconfdir}/%{name}/layouts.d/power_cpufreq.conf.example
Philip Kovacs 9be8f2
install -m 0644 -p etc/layouts.d.unit.conf.example \
Philip Kovacs 9be8f2
    %{buildroot}%{_sysconfdir}/%{name}/layouts.d/unit.conf.example
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurm.conf %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurm.conf.example %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmdbd.conf %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmdbd.conf.example %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmctld.service %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmd.service %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmdbd.service %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# tmpfiles.d file for creating /run/slurm dir after reboot
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_tmpfilesdir}
Philip Kovacs bff578
cat  >%{buildroot}%{_tmpfilesdir}/%{name}.conf <
Philip Kovacs 9be8f2
D %{_rundir}/%{name} 0755 root root -
Philip Kovacs 9be8f2
EOF
Philip Kovacs 9be8f2
Philip Kovacs bff578
# logrotate.d file for /var/log/slurm logging
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_var}/log/%{name}
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
Philip Kovacs 9be8f2
cat >%{buildroot}%{_sysconfdir}/logrotate.d/%{name} <
Philip Kovacs 9be8f2
%{_var}/log/%{name}/* {
Philip Kovacs 9be8f2
    missingok
Philip Kovacs 9be8f2
    notifempty
Philip Kovacs 9be8f2
    copytruncate
Philip Kovacs 9be8f2
    rotate 5
Philip Kovacs 9be8f2
}
Philip Kovacs 9be8f2
EOF
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# /var/run/slurm, /var/spool/slurm dirs, (ghost) pid files
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_rundir}/%{name}
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/ctld
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/d
Philip Kovacs 9be8f2
touch %{buildroot}%{_rundir}/%{name}/slurmctld.pid
Philip Kovacs 9be8f2
touch %{buildroot}%{_rundir}/%{name}/slurmd.pid
Philip Kovacs 9be8f2
touch %{buildroot}%{_rundir}/%{name}/slurmdbd.pid
Philip Kovacs 9be8f2
Philip Kovacs bff578
# install pmi/slurm environment module file
Philip Kovacs bff578
install -d -m 0755 %{buildroot}%{_modulesdir}/pmi
Philip Kovacs bff578
cat >%{buildroot}%{_modulesdir}/pmi/%{name}-%{_arch} <
Philip Kovacs bff578
#%%Module 1.0
Philip Kovacs bff578
#
Philip Kovacs bff578
#  pmi/slurm module for use with 'environment-modules' package:
Philip Kovacs bff578
#
Philip Kovacs bff578
conflict         pmi
Philip Kovacs bff578
prepend-path     LD_LIBRARY_PATH    %{_libdir}/%{name}/lib
Philip Kovacs bff578
prepend-path     PKG_CONFIG_PATH    %{_libdir}/%{name}/lib/pkgconfig
Philip Kovacs bff578
EOF
Philip Kovacs bff578
Philip Kovacs bff578
# install pkgconfig file slurm.pc
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_libdir}/pkgconfig
Philip Kovacs bff578
cat >%{buildroot}%{_libdir}/pkgconfig/%{name}.pc <
Philip Kovacs bff578
includedir=%{_includedir}/%{name}
Philip Kovacs 9be8f2
libdir=%{_libdir}
Philip Kovacs 9be8f2
Philip Kovacs bff578
Name: %{name}
Philip Kovacs bff578
Version: %{version}
Philip Kovacs bff578
Description: Slurm development library
Philip Kovacs 9be8f2
Cflags: -I\${includedir}
Philip Kovacs 9be8f2
Libs: -L\${libdir} -lslurm
Philip Kovacs bff578
EOF
Philip Kovacs bff578
Philip Kovacs bff578
# install pkgconfig file pmi.pc for environment module usage
Philip Kovacs bff578
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
Philip Kovacs bff578
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi.pc <
Philip Kovacs bff578
includedir=%{_includedir}/%{name}
Philip Kovacs bff578
libdir=%{_libdir}/%{name}/lib
Philip Kovacs bff578
Philip Kovacs bff578
Name: pmi
Philip Kovacs 9be8f2
Version: %{version}
Philip Kovacs bff578
Description: Slurm PMI development library
Philip Kovacs bff578
Cflags: -I\${includedir}
Philip Kovacs bff578
Libs: -L\${libdir} -lpmi
Philip Kovacs 9be8f2
EOF
Philip Kovacs 9be8f2
Philip Kovacs bff578
# install pkgconfig file pmi2.pc for environment module usage
Philip Kovacs bff578
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
Philip Kovacs bff578
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi2.pc <
Philip Kovacs bff578
includedir=%{_includedir}/%{name}
Philip Kovacs bff578
libdir=%{_libdir}/%{name}/lib
Philip Kovacs bff578
Philip Kovacs bff578
Name: pmi2
Philip Kovacs bff578
Version: %{version}
Philip Kovacs bff578
Description: Slurm PMI2 development library
Philip Kovacs bff578
Cflags: -I\${includedir}
Philip Kovacs bff578
Libs: -L\${libdir} -lpmi2
Philip Kovacs bff578
EOF
Philip Kovacs bff578
Philip Kovacs bff578
# install desktop file for sview GTK+ program
Philip Kovacs 9be8f2
desktop-file-install \
Philip Kovacs 9be8f2
    --dir=%{buildroot}%{_datadir}/applications \
Philip Kovacs 9be8f2
    share/applications/%{name}-sview.desktop
Philip Kovacs 9be8f2
Philip Kovacs bff578
# install desktop icon for sview GTK+ program
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
Philip Kovacs 9be8f2
install -m 0644 share/icons/hicolor/128x128/apps/%{name}.png \
Philip Kovacs 9be8f2
    %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
Philip Kovacs 9be8f2
Philip Kovacs 175622
# install the extras/slurm-setuser script
Philip Kovacs bff578
install -m 0755 extras/%{name}-setuser \
Philip Kovacs bff578
    %{buildroot}%{_bindir}/%{name}-setuser
Philip Kovacs bff578
Philip Kovacs bff578
# move libpmi/libpmi2 to pmi/slurm environment module location
Philip Kovacs bff578
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib
Philip Kovacs bff578
mv %{buildroot}%{_libdir}/libpmi.so* %{buildroot}%{_libdir}/%{name}/lib
Philip Kovacs bff578
mv %{buildroot}%{_libdir}/libpmi2.so* %{buildroot}%{_libdir}/%{name}/lib
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
install -m 0755 contribs/sjstat %{buildroot}%{_bindir}/sjstat
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# fix perms on these files so debug info is extracted without error
Philip Kovacs 9be8f2
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurm/Slurm.so
Philip Kovacs 9be8f2
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# build man pages for contribs perl scripts
Philip Kovacs 9be8f2
for prog in sjobexitmod sjstat mpiexec pbsnodes qalter qdel qhold qrerun qrls \
Philip Kovacs 9be8f2
    qstat qsub bjobs bkill bsub lsid
Philip Kovacs 9be8f2
do
Philip Kovacs 9be8f2
    rm -f %{buildroot}%{_mandir}/man1/${prog}.1
Philip Kovacs 9be8f2
    pod2man %{buildroot}%{_bindir}/${prog} > %{buildroot}%{_mandir}/man1/${prog}.1
Philip Kovacs 9be8f2
done
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# contribs docs
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_docdir}/%{name}/contribs/lua
Philip Kovacs 9be8f2
install -m 0644 contribs/README %{buildroot}%{_docdir}/%{name}/contribs
Philip Kovacs 9be8f2
install -m 0644 contribs/lua/proctrack.lua %{buildroot}%{_docdir}/%{name}/contribs/lua
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# remove libtool archives
Philip Kovacs 9be8f2
find %{buildroot} -name \*.a -o -name \*.la | xargs rm -f
Philip Kovacs bff578
# remove libslurmfull symlink (non-development, internal library)
Philip Kovacs bff578
rm -rf %{buildroot}%{_libdir}/libslurmfull.so
Philip Kovacs bff578
# remove auth_none plugin
Philip Kovacs bff578
rm -f %{buildroot}%{_libdir}/%{name}/auth_none.so
Philip Kovacs 9be8f2
# remove example plugins
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_defaults.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_logging.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_partition.so
Philip Kovacs 9be8f2
# remove bluegene files
Philip Kovacs 175622
rm -f %{buildroot}%{_libdir}/%{name}/select_bluegene.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_mandir}/man5/bluegene*
Philip Kovacs 9be8f2
# remove cray files
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/acct_gather_energy_cray.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/core_spec_cray.so
Philip Kovacs 175622
rm -f %{buildroot}%{_libdir}/%{name}/job_container_cncu.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_cray.so
Philip Kovacs 175622
rm -f %{buildroot}%{_libdir}/%{name}/select_alps.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/select_cray.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/switch_cray.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/task_cray.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_mandir}/man5/cray*
Philip Kovacs 9be8f2
# remove perl cruft
Philip Kovacs 9be8f2
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/.packlist
Philip Kovacs 9be8f2
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/Slurm*.bs
Philip Kovacs 9be8f2
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
Philip Kovacs 9be8f2
Philip Kovacs 0015ad
%ldconfig_scriptlets devel
Philip Kovacs 0015ad
%ldconfig_scriptlets libs
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -----
Philip Kovacs 9be8f2
# Slurm
Philip Kovacs 9be8f2
# -----
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files
Philip Kovacs 9be8f2
%doc CONTRIBUTING.md DISCLAIMER META NEWS README.rst RELEASE_NOTES
Philip Kovacs 9be8f2
%license COPYING LICENSE.OpenSSL
Philip Kovacs bff578
%dir %{_libdir}/%{name}
Philip Kovacs bff578
%dir %{_rundir}/%{name}
Philip Kovacs 9be8f2
%dir %{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
%dir %{_sysconfdir}/%{name}/layouts.d
Philip Kovacs bff578
%dir %{_var}/log/%{name}
Philip Kovacs bff578
%dir %{_var}/spool/%{name}
Philip Kovacs bff578
%dir %{_var}/spool/%{name}/ctld
Philip Kovacs bff578
%dir %{_var}/spool/%{name}/d
Philip Kovacs 0865bd
%config(noreplace) %{_sysconfdir}/%{name}/cgroup.conf
Philip Kovacs 9be8f2
%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
Philip Kovacs 9be8f2
%{_bindir}/{sacct,sacctmgr,salloc,sattach,sbatch,sbcast}
Philip Kovacs 9be8f2
%{_bindir}/{scancel,scontrol,sdiag,sh5util,sinfo,sprio}
Philip Kovacs 9be8f2
%{_bindir}/{squeue,sreport,srun,sshare,sstat,strigger}
Philip Kovacs bff578
%{_bindir}/%{name}-setuser
Philip Kovacs bff578
%{_libdir}/%{name}/accounting_storage_{filetxt,none,slurmdbd}.so
Philip Kovacs 0865bd
%{_libdir}/%{name}/acct_gather_energy_{ibmaem,ipmi,none,rapl,xcc}.so
Philip Kovacs bff578
%{_libdir}/%{name}/acct_gather_filesystem_{lustre,none}.so
Philip Kovacs bff578
%{_libdir}/%{name}/acct_gather_interconnect_{none,ofed}.so
Philip Kovacs 0865bd
%{_libdir}/%{name}/acct_gather_profile_{hdf5,influxdb,none}.so
Philip Kovacs bff578
%{_libdir}/%{name}/auth_munge.so
Philip Kovacs bff578
%{_libdir}/%{name}/burst_buffer_generic.so
Philip Kovacs bff578
%{_libdir}/%{name}/checkpoint_{none,ompi}.so
Philip Kovacs bff578
%{_libdir}/%{name}/core_spec_none.so
Philip Kovacs bff578
%{_libdir}/%{name}/crypto_munge.so
Philip Kovacs bff578
%{_libdir}/%{name}/crypto_openssl.so
Philip Kovacs bff578
%{_libdir}/%{name}/ext_sensors_none.so
Philip Kovacs bff578
%{_libdir}/%{name}/gres_{gpu,mic,nic}.so
Philip Kovacs bff578
%{_libdir}/%{name}/job_container_none.so
Philip Kovacs bff578
%{_libdir}/%{name}/job_submit_all_partitions.so
Philip Kovacs bff578
%{_libdir}/%{name}/job_submit_lua.so
Philip Kovacs bff578
%{_libdir}/%{name}/job_submit_require_timelimit.so
Philip Kovacs bff578
%{_libdir}/%{name}/job_submit_throttle.so
Philip Kovacs bff578
%{_libdir}/%{name}/jobacct_gather_{cgroup,linux,none}.so
Philip Kovacs bff578
%{_libdir}/%{name}/jobcomp_{elasticsearch,filetxt,mysql,none,script}.so
Philip Kovacs bff578
%{_libdir}/%{name}/launch_slurm.so
Philip Kovacs bff578
%{_libdir}/%{name}/layouts_power_{cpufreq,default}.so
Philip Kovacs bff578
%{_libdir}/%{name}/layouts_unit_default.so
Philip Kovacs bff578
%{_libdir}/%{name}/mcs_{account,group,none,user}.so
Philip Kovacs bff578
%{_libdir}/%{name}/mpi_{none,openmpi,pmi2,pmix*}.so
Philip Kovacs bff578
%{_libdir}/%{name}/node_features_knl_generic.so
Philip Kovacs bff578
%{_libdir}/%{name}/power_none.so
Philip Kovacs bff578
%{_libdir}/%{name}/preempt_{job_prio,none,partition_prio,qos}.so
Philip Kovacs bff578
%{_libdir}/%{name}/priority_{basic,multifactor}.so
Philip Kovacs bff578
%{_libdir}/%{name}/proctrack_{cgroup,linuxproc,lua,pgid}.so
Philip Kovacs bff578
%{_libdir}/%{name}/route_{default,topology}.so
Philip Kovacs bff578
%{_libdir}/%{name}/sched_{backfill,builtin,hold}.so
Philip Kovacs bff578
%{_libdir}/%{name}/select_{cons_res,linear,serial}.so
Philip Kovacs bff578
%{_libdir}/%{name}/slurmctld_nonstop.so
Philip Kovacs bff578
%{_libdir}/%{name}/switch_{generic,none}.so
Philip Kovacs bff578
%{_libdir}/%{name}/task_{affinity,cgroup,none}.so
Philip Kovacs bff578
%{_libdir}/%{name}/topology_{3d_torus,hypercube,node_rank,none,tree}.so
Philip Kovacs 9be8f2
%{_mandir}/man1/{sacct,sacctmgr,salloc,sattach,sbatch,sbcast}.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/{scancel,scontrol,sdiag,sh5util,sinfo,sprio}.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/{squeue,sreport,srun,sshare,sstat,strigger}.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/slurm.1*
Philip Kovacs 9be8f2
%{_mandir}/man5/acct_gather.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/burst_buffer.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/cgroup.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/ext_sensors.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/gres.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/knl.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/nonstop.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/slurm.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man5/topology.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man8/spank.8*
Philip Kovacs bff578
%{_sysconfdir}/logrotate.d/%{name}
Philip Kovacs bff578
%{_sysconfdir}/%{name}/cgroup*.conf.example
Philip Kovacs bff578
%{_sysconfdir}/%{name}/layouts.d/*.example
Philip Kovacs bff578
%{_sysconfdir}/%{name}/slurm.conf.example
Philip Kovacs bff578
%{_tmpfilesdir}/slurm.conf
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -----------
Philip Kovacs 9be8f2
# Slurm-devel
Philip Kovacs 9be8f2
# -----------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files devel
Philip Kovacs bff578
%dir %{_includedir}/%{name}
Philip Kovacs bff578
%dir %{_libdir}/%{name}/lib/pkgconfig
Philip Kovacs 9be8f2
%dir %{_libdir}/%{name}/src
Philip Kovacs 9be8f2
%dir %{_libdir}/%{name}/src/sattach
Philip Kovacs 9be8f2
%dir %{_libdir}/%{name}/src/srun
Philip Kovacs bff578
%{_includedir}/%{name}/pmi*.h
Philip Kovacs bff578
%{_includedir}/%{name}/slurm.h
Philip Kovacs bff578
%{_includedir}/%{name}/slurm_errno.h
Philip Kovacs bff578
%{_includedir}/%{name}/slurmdb.h
Philip Kovacs bff578
%{_includedir}/%{name}/smd_ns.h
Philip Kovacs bff578
%{_includedir}/%{name}/spank.h
Philip Kovacs bff578
%{_libdir}/lib{slurm,slurmdb}.so
Philip Kovacs bff578
%{_libdir}/pkgconfig/%{name}.pc
Philip Kovacs bff578
%{_libdir}/%{name}/lib/libpmi*.so
Philip Kovacs bff578
%{_libdir}/%{name}/lib/pkgconfig/*.pc
Philip Kovacs bff578
%{_libdir}/%{name}/src/sattach/sattach.wrapper.c
Philip Kovacs 9be8f2
%{_libdir}/%{name}/src/srun/srun.wrapper.c
Philip Kovacs 9be8f2
%{_mandir}/man3/*.3.*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
# Slurm-doc
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files doc
Philip Kovacs 9be8f2
%dir %{_docdir}/%{name}
Philip Kovacs 9be8f2
%dir %{_docdir}/%{name}/html
Philip Kovacs 9be8f2
%{_docdir}/%{name}/html/*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
# Slurm-gui
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files gui
Philip Kovacs 9be8f2
%{_bindir}/smap
Philip Kovacs 9be8f2
%{_bindir}/sview
Philip Kovacs 9be8f2
%{_datadir}/applications/*.desktop
Philip Kovacs 9be8f2
%{_datadir}/icons/hicolor/*/apps/%{name}.png
Philip Kovacs 9be8f2
%{_mandir}/man1/smap.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/sview.1*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ----------
Philip Kovacs 9be8f2
# Slurm-libs
Philip Kovacs 9be8f2
# ----------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files libs
Philip Kovacs bff578
%dir %{_libdir}/%{name}
Philip Kovacs bff578
%dir %{_libdir}/%{name}/lib
Philip Kovacs bff578
%dir %{_modulesdir}/pmi
Philip Kovacs 9be8f2
%{_libdir}/libslurm.so.*
Philip Kovacs 9be8f2
%{_libdir}/libslurmdb.so.*
Philip Kovacs bff578
%{_libdir}/libslurmfull-*.so
Philip Kovacs bff578
%{_libdir}/%{name}/lib/libpmi*.so.*
Philip Kovacs bff578
%{_modulesdir}/pmi/*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -------------
Philip Kovacs bff578
# Slurm-rrdtool
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
Philip Kovacs bff578
%files rrdtool
Philip Kovacs bff578
%{_libdir}/%{name}/ext_sensors_rrd.so
Philip Kovacs 9be8f2
Philip Kovacs bff578
# ---------
Philip Kovacs bff578
# Slurmctld
Philip Kovacs bff578
# ---------
Philip Kovacs 9be8f2
Philip Kovacs bff578
%files slurmctld
Philip Kovacs bff578
%{_mandir}/man8/slurmctld.8*
Philip Kovacs bff578
%{_sbindir}/slurmctld
Philip Kovacs bff578
%{_unitdir}/slurmctld.service
Philip Kovacs bff578
%ghost %{_rundir}/%{name}/slurmctld.pid
Philip Kovacs 9be8f2
Philip Kovacs bff578
# ------
Philip Kovacs bff578
# Slurmd
Philip Kovacs bff578
# ------
Philip Kovacs 9be8f2
Philip Kovacs bff578
%files slurmd
Philip Kovacs bff578
%{_mandir}/man8/slurmd.8*
Philip Kovacs bff578
%{_mandir}/man8/slurmstepd.8*
Philip Kovacs bff578
%{_sbindir}/slurmd
Philip Kovacs bff578
%{_sbindir}/slurmstepd
Philip Kovacs bff578
%{_unitdir}/slurmd.service
Philip Kovacs bff578
%ghost %{_rundir}/%{name}/slurmd.pid
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# --------
Philip Kovacs 9be8f2
# Slurmdbd
Philip Kovacs 9be8f2
# --------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files slurmdbd
Philip Kovacs 9be8f2
%config(noreplace) %{_sysconfdir}/%{name}/slurmdbd.conf
Philip Kovacs bff578
%{_libdir}/%{name}/accounting_storage_mysql.so
Philip Kovacs 9be8f2
%{_mandir}/man5/slurmdbd.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man8/slurmdbd.8*
Philip Kovacs bff578
%{_sbindir}/slurmdbd
Philip Kovacs bff578
%{_sysconfdir}/%{name}/slurmdbd.conf.example
Philip Kovacs bff578
%{_unitdir}/slurmdbd.service
Philip Kovacs bff578
%ghost %{_rundir}/%{name}/slurmdbd.pid
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
# Slurm-contribs
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files contribs
Philip Kovacs bff578
%dir %{_docdir}/%{name}
Philip Kovacs bff578
%dir %{_docdir}/%{name}/contribs
Philip Kovacs bff578
%dir %{_docdir}/%{name}/contribs/lua
Philip Kovacs bff578
%{_docdir}/%{name}/contribs/README
Philip Kovacs bff578
%{_docdir}/%{name}/contribs/lua/proctrack.lua
Philip Kovacs 9be8f2
%{_bindir}/seff
Philip Kovacs 9be8f2
%{_bindir}/sgather
Philip Kovacs 9be8f2
%{_bindir}/sjobexitmod
Philip Kovacs 9be8f2
%{_bindir}/sjstat
Philip Kovacs 9be8f2
%{_bindir}/smail
Philip Kovacs 9be8f2
%{_mandir}/man1/sgather.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/sjobexitmod.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/sjstat.1*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
# Slurm-openlava
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files openlava
Philip Kovacs 9be8f2
%{_bindir}/bjobs
Philip Kovacs 9be8f2
%{_bindir}/bkill
Philip Kovacs 9be8f2
%{_bindir}/bsub
Philip Kovacs 9be8f2
%{_bindir}/lsid
Philip Kovacs 9be8f2
%{_mandir}/man1/bjobs.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/bkill.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/bsub.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/lsid.1*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
# Slurm-perlapi
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files perlapi
Philip Kovacs 9be8f2
%dir %{perl_vendorarch}/Slurm
Philip Kovacs bff578
%dir %{perl_vendorarch}/auto/Slurm
Philip Kovacs bff578
%dir %{perl_vendorarch}/auto/Slurmdb
Philip Kovacs bff578
%{_mandir}/man3/Slurm*.3pm*
Philip Kovacs bff578
%{perl_vendorarch}/Slurm.pm
Philip Kovacs 9be8f2
%{perl_vendorarch}/Slurm/*.pm
Philip Kovacs 9be8f2
%{perl_vendorarch}/Slurmdb.pm
Philip Kovacs 9be8f2
%{perl_vendorarch}/auto/Slurm/Slurm.so
Philip Kovacs 9be8f2
%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
Philip Kovacs 9be8f2
%{perl_vendorarch}/auto/Slurmdb/autosplit.ix
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ---------------
Philip Kovacs 9be8f2
# Slurm-pam_slurm
Philip Kovacs 9be8f2
# ---------------
Philip Kovacs 9be8f2
Philip Kovacs bff578
%files pam_slurm
Philip Kovacs 9be8f2
%{_libdir}/security/pam_slurm.so
Philip Kovacs 9be8f2
%{_libdir}/security/pam_slurm_adopt.so
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ------------
Philip Kovacs 9be8f2
# Slurm-torque
Philip Kovacs 9be8f2
# ------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files torque
Philip Kovacs 9be8f2
%{_bindir}/generate_pbs_nodefile
Philip Kovacs 9be8f2
%{_bindir}/mpiexec
Philip Kovacs 9be8f2
%{_bindir}/pbsnodes
Philip Kovacs 9be8f2
%{_bindir}/qalter
Philip Kovacs 9be8f2
%{_bindir}/qdel
Philip Kovacs 9be8f2
%{_bindir}/qhold
Philip Kovacs 9be8f2
%{_bindir}/qrerun
Philip Kovacs 9be8f2
%{_bindir}/qrls
Philip Kovacs 9be8f2
%{_bindir}/qstat
Philip Kovacs 9be8f2
%{_bindir}/qsub
Philip Kovacs bff578
%{_libdir}/%{name}/job_submit_pbs.so
Philip Kovacs bff578
%{_libdir}/%{name}/spank_pbs.so
Philip Kovacs 9be8f2
%{_mandir}/man1/pbsnodes.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qalter.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qdel.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qhold.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qrerun.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qrls.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qstat.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qsub.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/mpiexec.1*
Philip Kovacs 9be8f2
Philip Kovacs bff578
%post slurmctld
Philip Kovacs 9be8f2
%systemd_post slurmctld.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%preun slurmctld
Philip Kovacs 9be8f2
%systemd_preun slurmctld.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%postun slurmctld
Philip Kovacs 0d2eb3
%systemd_postun_with_restart slurmctld.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%post slurmd
Philip Kovacs bff578
%systemd_post slurmd.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%preun slurmd
Philip Kovacs bff578
%systemd_preun slurmd.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%postun slurmd
Philip Kovacs bff578
%systemd_postun_with_restart slurmd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%post slurmdbd
Philip Kovacs 9be8f2
%systemd_post slurmdbd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%preun slurmdbd
Philip Kovacs 9be8f2
%systemd_preun slurmdbd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%postun slurmdbd
Philip Kovacs 9be8f2
%systemd_postun_with_restart slurmdbd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%changelog
Philip Kovacs 3b4b22
* Wed Jun 19 2019 Philip Kovacs <pkdevel@yahoo.com> - 18.08.7-2
Philip Kovacs 3b4b22
- Correct the configure for pmix
Philip Kovacs 3b4b22
- Correct the slurm_pmix_soname patch
Philip Kovacs 3b4b22
- Use make_build macro instead of make
Philip Kovacs 3b4b22
- Use autotools commands instead of rpm macros
Philip Kovacs 3b4b22
Philip Kovacs 7af8ed
* Fri Apr 12 2019 Philip Kovacs <pkdevel@yahoo.com> - 18.08.7-1
Philip Kovacs 3eafc8
- Release of 18.08.7
Philip Kovacs 3eafc8
edd41a
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 18.08.6-2
edd41a
- Rebuild for hdf5 1.10.5
edd41a
Philip Kovacs 714810
* Thu Mar 7 2019 Philip Kovacs <pkdevel@yahoo.com> - 18.08.6-1
Philip Kovacs 714810
- Release of 18.08.6
Philip Kovacs 714810
Igor Gnatenko db26e9
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 18.08.5-2
Igor Gnatenko db26e9
- Rebuild for readline 8.0
Igor Gnatenko db26e9
Philip Kovacs 0865bd
* Thu Jan 31 2019 Philip Kovacs <pkdevel@yahoo.com> - 18.08.5-1
Philip Kovacs 0865bd
- Release of 18.08.5
Philip Kovacs 0865bd
Philip Kovacs 6c79e3
* Thu Jan 31 2019 Philip Kovacs <pkdevel@yahoo.com> - 17.11.13-2
Philip Kovacs 6c79e3
- Fix build issue on 32-bit architectures
Philip Kovacs 6c79e3
Philip Kovacs 2c37f7
* Wed Jan 30 2019 Philip Kovacs <pkdevel@yahoo.com> - 17.11.13-1
Philip Kovacs 2c37f7
- Release of 17.11.13
Philip Kovacs 2c37f7
- Closes security issue CVE-2019-6438
Philip Kovacs 2c37f7
Philip Kovacs 1ab02b
* Wed Oct 24 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.12-1
Philip Kovacs 1ab02b
- Release of 17.11.12
Philip Kovacs 1ab02b
Philip Kovacs 1ab02b
* Sat Oct 20 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.11-1
Philip Kovacs a791b4
- Release of 17.11.11
Yu Watanabe be586a
Philip Kovacs a7b1bb
* Thu Oct 11 2018 Yu Watanabe <watanabe.yu@gmail.com> - 17.11.10-1
Philip Kovacs a7b1bb
- Release of 17.11.10
Philip Kovacs a7b1bb
Philip Kovacs e899c8
* Fri Sep 28 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.9-2
Philip Kovacs e899c8
- Release of 17.11.9-2 (new upstream tarball)
Philip Kovacs e899c8
Philip Kovacs a45a69
* Fri Aug 10 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.9-1
Philip Kovacs a45a69
- Release of 17.11.9
Philip Kovacs a45a69
Philip Kovacs f68646
* Fri Jul 20 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.8-1
Philip Kovacs f68646
- Release of 17.11.8
Philip Kovacs f68646
Fedora Release Engineering 36345f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.11.7-3
Fedora Release Engineering 36345f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 36345f
cf0005
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 17.11.7-2
cf0005
- Perl 5.28 rebuild
cf0005
Philip Kovacs 7abb68
* Fri Jun 1 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.7-1
Philip Kovacs 7abb68
- Release of 17.11.7
Philip Kovacs 7abb68
- Closes security issue CVE-2018-10995
Philip Kovacs 7abb68
Philip Kovacs a3fb7f
* Sat May 12 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.6-1
Philip Kovacs a3fb7f
- Release of 17.11.6
Philip Kovacs a3fb7f
- Added patch to avoid building contribs/cray (Yu Watanabe)
Philip Kovacs a3fb7f
- Added lz4 support via new BuildRequires (Yu Watanabe)
Philip Kovacs a3fb7f
- Replaced obsolete packages libibmad-devel and libibumad-devel
Philip Kovacs a3fb7f
  with rdma-core-devel (Yu Watanabe)
Philip Kovacs a3fb7f
- Updated package descriptions (Yu Watanabe)
Philip Kovacs 0d2eb3
Philip Kovacs 454309
* Fri Mar 16 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.5-1
Philip Kovacs 454309
- Release of 17.11.5
Philip Kovacs 454309
- Closes security issue CVE-2018-7033
Philip Kovacs 454309
Philip Kovacs 0015ad
* Sat Mar 3 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.4-1
Philip Kovacs 0015ad
- Release of 17.11.4
Philip Kovacs 0015ad
- Add perl-devel, python3 to build requirements
Philip Kovacs 0015ad
- Add patch to convert python references to python3
Philip Kovacs 0015ad
- Use LDFLAGS to disable -z now instaed of _hardened_ldflags
Philip Kovacs 0015ad
Philip Kovacs cb4fce
* Thu Feb 15 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.3-3
Philip Kovacs cb4fce
- Add perl-interpreter to BuildRequires
Philip Kovacs cb4fce
Philip Kovacs 8a8d2d
* Thu Feb 15 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.3-2
Philip Kovacs 8a8d2d
- Rebuild for libevent soname bump
Philip Kovacs 8a8d2d
Philip Kovacs bff578
* Sat Feb 10 2018 Philip Kovacs <pkdevel@yahoo.com> - 17.11.3-1
Philip Kovacs bff578
- Release of 17.11 series
Philip Kovacs bff578
- Re-aligned rpm packaging to be closer to upstream
Philip Kovacs bff578
- Enabled new slurm native X11 support using ssh2
Philip Kovacs bff578
- Enabled new shared libslurm for smaller code size
Philip Kovacs bff578
- Enabled `check` unit testing via check-devel
Philip Kovacs bff578
- Added environment module support for pmi/slurm
Philip Kovacs bff578
- Add dependency to pmix
Philip Kovacs bff578
- Removed gtk-update-icon-cache scriptlets
Philip Kovacs bff578
- Use new ldconfig_scriptlets macro
Philip Kovacs bff578
Fedora Release Engineering 37e6b0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.02.9-4
Fedora Release Engineering 37e6b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 37e6b0
Philip Kovacs 175622
* Thu Nov 16 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.9-3
Philip Kovacs bff578
- Added patch to enable full relro builds and operation
Philip Kovacs bff578
- Added patch to link knl_generic plugin to libnuma if available
Philip Kovacs bff578
- Remove the following cray or bluegene-only plugins
Philip Kovacs bff578
- job_container/cncu, select/alps, select/bluegene
Philip Kovacs bff578
- Rename slurm_setuser to slurm-setuser
Philip Kovacs bff578
- Minor corrections to slurm.conf
Philip Kovacs 175622
Philip Kovacs 003259
* Wed Nov 1 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.9-2
Philip Kovacs bff578
- Correct desktop categories for rpmgrill.desktop-lint
Philip Kovacs 003259
Philip Kovacs 0a53fa
* Wed Nov 1 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.9-1
Philip Kovacs bff578
- Version bump to close CVE-2017-15566
Philip Kovacs bff578
- Adjusted patches per closure of upstream bug #3942
Philip Kovacs bff578
- Added desktop categories per rpmgrill.desktop-lint
Philip Kovacs 0a53fa
Philip Kovacs db5c17
* Wed Oct 25 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.8-1
Philip Kovacs bff578
- Version bump, patches adjusted
Philip Kovacs db5c17
Philip Kovacs f7f253
* Thu Oct 5 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-4
Philip Kovacs f7f253
- Patch changes per resolution of upstream bug #4101:
Philip Kovacs bff578
- salloc/sbatch/srun: must be root to use --uid/--gid options
Philip Kovacs bff578
- salloc: supplemental groups dropped after setuid
Philip Kovacs f7f253
Philip Kovacs 7245d5
* Thu Oct 5 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-3
Philip Kovacs bff578
- Added BuildRequires gcc and minor packaging conformance items
Philip Kovacs 7245d5
Philip Kovacs bafc13
* Sat Sep 16 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-2
Philip Kovacs bff578
- Removed unneeded Requires(pre)
Philip Kovacs bafc13
Philip Kovacs 9be8f2
* Thu Sep 14 2017 Philip Kovacs <pkdevel@yahoo.com> - 17.02.7-1
Philip Kovacs bff578
- Packaging for Fedora