Blame SPECS/torque.spec

e4051c
# The following options are supported:
e4051c
#   --with server_name=hostname
e4051c
#   --with homedir=directory
e4051c
#   --with[out] rcp
e4051c
#   --with[out] gui
e4051c
#   --with[out] tcl
e4051c
e4051c
# Hrm, should we default to the name of the buildhost?  That seems only
e4051c
# slightly better than picking a hostname at random.  This is exactly the kind
e4051c
# of compile-time default that doesn't work well with distributable packages.
e4051c
# Let's force the issue with the non-sensical "localhost".
e4051c
# 
e4051c
# Note that "localhost" doesn't actually work.  You must either define the
e4051c
# correct hostname here, pass '--with server_name=foo' to rpmbuild, or be sure
e4051c
# that $PBS_SERVER_HOME/server_name contains the correct hostname.
e4051c
%global server_name localhost
e4051c
e4051c
# Build doxygen docs
e4051c
%global doxydoc 1
e4051c
e4051c
%global use_rcp 0
e4051c
%global use_tcl 1
e4051c
%global build_gui 1
e4051c
e4051c
# these are non-defaults, but fit better into most RPM-based systems
e4051c
%global torquehomedir %{_localstatedir}/lib/torque
e4051c
e4051c
# --with/--without processing
e4051c
# first, error if conflicting options are used
e4051c
%{?_with_rcp: %{?_without_rcp: %{error: both _with_rcp and _without_rcp}}}
e4051c
%{?_with_tcl: %{?_without_tcl: %{error: both _with_tcl and _without_tcl}}}
e4051c
%{?_with_gui: %{?_without_gui: %{error: both _with_gui and _without_gui}}}
e4051c
e4051c
# did we find any --with options?
e4051c
%{?_with_rcp: %global use_rcp 1}
e4051c
%{?_with_tcl: %global use_tcl 1}
e4051c
%{?_with_gui: %global build_gui 1}
e4051c
e4051c
%{?_with_server_name:%global server_name %(set -- %{_with_server_name}; echo $1 | grep -v with | sed 's/=//')}
e4051c
%{?_with_homedir:%global torquehomedir %(set -- %{_with_homedir}; echo $1 | grep -v with | sed 's/=//')}
e4051c
e4051c
# did we find any --without options?
e4051c
%{?_without_rcp: %global use_rcp 0}
e4051c
%{?_without_tcl: %global use_tcl 0}
e4051c
%{?_without_gui: %global build_gui 0}
e4051c
e4051c
# Set up all options as disabled
e4051c
%global rcpflags    --with-rcp=/usr/bin/scp
e4051c
%global tclflags    --without-tcl
e4051c
%global guiflags    --disable-gui
e4051c
e4051c
# Enable options that we want
e4051c
%if %{use_rcp}
e4051c
%global rcpflags    --with-rcp=mom_rcp
e4051c
%endif
e4051c
e4051c
%if %{build_gui}
e4051c
%global guiflags   --enable-gui
e4051c
%endif
e4051c
e4051c
%if %{use_tcl}
e4051c
%if %{build_gui}
e4051c
%global tclflags    --with-tcl --with-tk
e4051c
%else
e4051c
%global tclflags    --with-tcl --without-tk
e4051c
%endif
e4051c
%endif
e4051c
e4051c
# finish up the configs...
e4051c
%global server_nameflags --with-default-server=%{server_name}
e4051c
e4051c
Name:        torque
e4051c
Version:     4.2.10
e4051c
Release:     25%{?dist}
e4051c
Summary:     Tera-scale Open-source Resource and QUEue manager
e4051c
Source0:     http://www.adaptivecomputing.com/download/%{name}/%{name}-%{version}.tar.gz
e4051c
Source2:     xpbs.desktop
e4051c
Source3:     xpbsmon.desktop
e4051c
Source4:     xpbs.png
e4051c
Source5:     xpbsmon.png
e4051c
Source6:     README.Fedora
e4051c
Source8:     config
e4051c
Source20:    pbs_mom.service
e4051c
Source21:    pbs_sched.service
e4051c
Source22:    pbs_server.service
e4051c
Source23:    trqauthd.service
e4051c
Source24:    mom.layout
e4051c
# Feb 3rd 2011, I've sent a mail upstream to request the re-inclusion
e4051c
# of the OpenPBS license file in distribution.
e4051c
# I'll announce to fedora-devel once this is resolved either way.
e4051c
# Fedora approval of TORQUEv1.1
e4051c
# http://lists.fedoraproject.org/pipermail/legal/2011-February/001530.html
e4051c
# This is a wrapper for multilib
e4051c
Source100:   pbs-config
e4051c
e4051c
# https://bugzilla.redhat.com/show_bug.cgi?id=713996
e4051c
Patch1:      torque-munge-size.patch
e4051c
Patch2:      torque-%{version}-port-args.patch
e4051c
# Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1424149
e4051c
Patch3:      torque-%{version}-fix-bad-crypto-check.patch
e4051c
# From https://github.com/adaptivecomputing/torque/pull/148
e4051c
Patch4:      torque-%{version}-remove-unused-header.patch
e4051c
e4051c
License:     OpenPBS and TORQUEv1.1
e4051c
URL:         http://www.adaptivecomputing.com/products/open-source/torque/
e4051c
BuildRequires: gcc-c++
e4051c
BuildRequires: desktop-file-utils
e4051c
BuildRequires: pam-devel
e4051c
BuildRequires: xauth
e4051c
BuildRequires: readline-devel
e4051c
BuildRequires: ncurses-devel
e4051c
BuildRequires: gperf
e4051c
BuildRequires: openssl-devel
e4051c
BuildRequires: hwloc-devel
e4051c
BuildRequires: libxml2-devel
e4051c
BuildRequires: munge-devel
e4051c
%if %{use_tcl}
e4051c
BuildRequires: tcl-devel
e4051c
%endif
e4051c
%if %{build_gui}
e4051c
BuildRequires: tk-devel
e4051c
%endif
e4051c
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%{?systemd_requires}
e4051c
BuildRequires: systemd
e4051c
%endif
e4051c
e4051c
%if 0%{?doxydoc}
e4051c
BuildRequires:  graphviz
e4051c
BuildRequires:  doxygen
e4051c
%if 0%{?rhel} == 5
e4051c
BuildRequires: graphviz-gd
e4051c
%endif
e4051c
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
e4051c
BuildRequires:  texlive-tabu
e4051c
%endif
e4051c
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 7
e4051c
BuildRequires:  tex(latex)
e4051c
BuildRequires:  tex-xtab
e4051c
BuildRequires:  tex-sectsty
e4051c
BuildRequires:  tex-tocloft
e4051c
BuildRequires:  tex-multirow
e4051c
%if 0%{?fedora} || 0%{?rhel} > 7
e4051c
BuildRequires:  tex-adjustbox
e4051c
%endif
e4051c
%else
e4051c
BuildRequires:  tex(latex)
e4051c
%endif
e4051c
%endif
e4051c
e4051c
Requires:        munge
e4051c
Requires:        torque-libs = %{version}-%{release}
e4051c
Requires(post): %{_bindir}/grep %{_bindir}/cat /etc/services
e4051c
e4051c
%description
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package holds just a few shared files and directories.
e4051c
e4051c
%package         client
e4051c
Summary:         Client part of TORQUE
e4051c
Requires:        %{name}-libs = %{version}-%{release}
e4051c
Requires(posttrans):  %{_sbindir}/alternatives
e4051c
Requires(preun):      %{_sbindir}/alternatives
e4051c
e4051c
%description client
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package holds the command-line client programs.
e4051c
e4051c
%package docs
e4051c
Summary:        Documentation files for TORQUE
e4051c
Requires:       %{name} = %{version}-%{release}
e4051c
BuildArch:      noarch
e4051c
e4051c
%description docs
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package holds the documentation files.
e4051c
e4051c
%package gui
e4051c
Summary:      Graphical clients for TORQUE
e4051c
Requires:     torque-client = %{version}-%{release}
e4051c
Requires:     torque-libs = %{version}-%{release}
e4051c
e4051c
%description gui
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package holds the graphical clients.
e4051c
e4051c
%package libs
e4051c
Summary:      Run-time libs for programs which will use the %{name} library
e4051c
Requires:     munge
e4051c
Obsoletes:    libtorque  < 2.4.8-2
e4051c
Provides:     libtorque = %{version}-%{release}
e4051c
Requires:     munge
e4051c
e4051c
%description libs
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package includes the shared libraries necessary for running TORQUE 
e4051c
programs.
e4051c
e4051c
%package devel
e4051c
Summary:     Development tools for programs which will use the %{name} library
e4051c
Requires:    torque-libs = %{version}-%{release}
e4051c
Obsoletes:   libtorque-devel < 2.4.8-2
e4051c
Provides:    libtorque-devel = %{version}-%{release}
e4051c
e4051c
%description devel
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package includes the header files and static libraries
e4051c
necessary for developing programs which will use %{name}.
e4051c
e4051c
%package mom
e4051c
Summary:        Node execution daemon for TORQUE
e4051c
Requires:       torque-libs = %{version}-%{release}
e4051c
Requires:       munge
e4051c
%if ! %{use_rcp}
e4051c
Requires:       openssh-clients
e4051c
%endif
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
Requires(posttrans):  systemd
e4051c
Requires(preun):      systemd
e4051c
%else
e4051c
Requires(posttrans):  chkconfig
e4051c
Requires(preun):      chkconfig
e4051c
Requires(preun): initscripts
e4051c
%endif
e4051c
e4051c
e4051c
e4051c
%description mom
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package holds the execute daemon required on every node.
e4051c
e4051c
%package pam
e4051c
Summary:    PAM module for TORQUE MOM nodes
e4051c
e4051c
%description pam
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
A simple PAM module to authorize users on PBS MOM nodes with a running job.
e4051c
e4051c
%package scheduler
e4051c
Summary:         Simple fifo scheduler for TORQUE
e4051c
Requires:        torque-libs = %{version}-%{release}
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
Requires(posttrans):  systemd
e4051c
Requires(preun):      systemd
e4051c
%else
e4051c
Requires(posttrans):  chkconfig
e4051c
Requires(preun):      chkconfig
e4051c
Requires(preun): initscripts
e4051c
%endif
e4051c
e4051c
%description scheduler
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package holds the fifo C scheduler.
e4051c
e4051c
%package server
e4051c
Summary:           The main part of TORQUE
e4051c
Requires:          torque-libs = %{version}-%{release}
e4051c
Requires:          munge
e4051c
%if ! %{use_rcp}
e4051c
Requires:          openssh-server
e4051c
%endif
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
Requires(posttrans):  systemd
e4051c
Requires(preun):      systemd
e4051c
%else
e4051c
Requires(posttrans):  chkconfig
e4051c
Requires(preun):      chkconfig
e4051c
Requires(preun): initscripts
e4051c
%endif
e4051c
e4051c
%description server
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
This package holds the server.
e4051c
e4051c
%package drmaa
e4051c
Summary:           Run time files for the drmaa interface
e4051c
Requires:          torque-libs = %{version}-%{release}
e4051c
e4051c
%description drmaa
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
Run time files for working the DRMAA interface to torque.
e4051c
DRMAA is "Distributed Resource Management Application API"
e4051c
e4051c
e4051c
%package drmaa-devel
e4051c
Summary:           Development files for the drmaa interface.
e4051c
Requires:          torque-drmaa = %{version}-%{release}
e4051c
Requires:          torque-devel = %{version}-%{release}
e4051c
e4051c
%description drmaa-devel
e4051c
TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource 
e4051c
manager providing control over batch jobs and distributed compute nodes.
e4051c
TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability,
e4051c
fault tolerance, and feature extension patches provided by USC, NCSA, OSC,
e4051c
the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many
e4051c
other leading edge HPC organizations.
e4051c
e4051c
Developement files for working the DRMAA interface to torque.
e4051c
DRMAA is "Distributed Resource Management Application API"
e4051c
e4051c
e4051c
%prep
e4051c
%setup -q -n torque-%{version}
e4051c
%patch1 -p 1
e4051c
%patch2 -p 1
e4051c
%patch3 -p 0
e4051c
%patch4 -p 1
e4051c
sed -i '/LATEX_BATCHMODE/d' src/drmaa/Doxyfile.in
e4051c
install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
e4051c
   %{SOURCE6} %{SOURCE8} .
e4051c
# rm x bit on some documentation.
e4051c
chmod 644 torque.setup
e4051c
e4051c
%build
e4051c
# -fpermissive added to downgrade numerous 'invalid conversion' errors to warnings
e4051c
CFLAGS="%{optflags} -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -fpermissive"
e4051c
%configure --includedir=%{_includedir}/torque \
e4051c
  --with-server-home=%{torquehomedir} --with-pam=/%{_lib}/security \
e4051c
  --with-sendmail=%{_sbindir}/sendmail --disable-static \
e4051c
  --with-tcp-retry-limit=2 --without-debug \
e4051c
  --enable-drmaa --enable-munge-auth --with-munge \
e4051c
  --enable-cpuset --enable-numa-support \
e4051c
  %{server_nameflags} %{guiflags} %{tclflags} %{rcpflags}
e4051c
e4051c
make %{?_smp_mflags}
e4051c
e4051c
for daemon in pbs_mom pbs_sched pbs_server trqauthd
e4051c
do
e4051c
sed -i -e 's|^PBS_HOME=.*|PBS_HOME=%{torquehomedir}|' \
e4051c
       -e 's|^PBS_DAEMON=.*|PBS_DAEMON=%{_sbindir}/'$daemon'|' \
e4051c
       -e 's|chkconfig: 345|chkconfig: -|' \
e4051c
       contrib/init.d/$daemon
e4051c
done
e4051c
e4051c
%install
e4051c
make DESTDIR=%{buildroot} INSTALL="install -p" install
e4051c
e4051c
# remove files we don't need
e4051c
rm -f %{buildroot}%{_libdir}/*.la
e4051c
rm -f %{buildroot}%{_libdir}/*/buildindex
e4051c
rm -f %{buildroot}/%{_lib}/security/pam_pbssimpleauth.{a,la}
e4051c
mkdir -p %{buildroot}%{_bindir}
e4051c
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
# install systemd scripts
e4051c
mkdir -p %{buildroot}%{_unitdir}
e4051c
install -p -m 644 %{SOURCE20} %{buildroot}%{_unitdir}/
e4051c
install -p -m 644 %{SOURCE21} %{buildroot}%{_unitdir}/
e4051c
install -p -m 644 %{SOURCE22} %{buildroot}%{_unitdir}/
e4051c
install -p -m 644 %{SOURCE23} %{buildroot}%{_unitdir}/
e4051c
%else
e4051c
# install initscripts
e4051c
mkdir -p %{buildroot}%{_initrddir}
e4051c
install -p -m 755 contrib/init.d/pbs_mom   %{buildroot}%{_initrddir}/pbs_mom
e4051c
install -p -m 755 contrib/init.d/pbs_sched %{buildroot}%{_initrddir}/pbs_sched
e4051c
install -p -m 755 contrib/init.d/pbs_server   %{buildroot}%{_initrddir}/pbs_server
e4051c
install -p -m 755 contrib/init.d/trqauthd   %{buildroot}%{_initrddir}/trqauthd
e4051c
%endif
e4051c
e4051c
%if %{build_gui}
e4051c
# This is really trivial, but cleans up an rpmlint warning
e4051c
sed -i -e 's|%{_lib}/../||' %{buildroot}%{_bindir}/xpbs
e4051c
e4051c
desktop-file-install --dir %{buildroot}%{_datadir}/applications --vendor=adaptivecomputing.com xpbs.desktop
e4051c
desktop-file-install --dir %{buildroot}%{_datadir}/applications --vendor=adaptivecomputing.com xpbsmon.desktop
e4051c
install -d %{buildroot}%{_datadir}/pixmaps
e4051c
install -p -m0644 xpbs.png xpbsmon.png %{buildroot}%{_datadir}/pixmaps
e4051c
%endif
e4051c
e4051c
# alternatives stuff
e4051c
for bin in qalter qdel qhold qrls qselect qstat qsub
e4051c
do
e4051c
    mv %{buildroot}%{_bindir}/$bin %{buildroot}%{_bindir}/${bin}-torque
e4051c
    mv %{buildroot}%{_mandir}/man1/${bin}.1 \
e4051c
       %{buildroot}%{_mandir}/man1/${bin}-torque.1
e4051c
done
e4051c
e4051c
# Remove nodes file database since we don't want it in
e4051c
# the package.
e4051c
rm %{buildroot}/%{torquehomedir}/server_priv/nodes
e4051c
e4051c
# Relocate configuration files.
e4051c
mkdir -p %{buildroot}%{_sysconfdir}/torque
e4051c
pushd %{buildroot}%{torquehomedir}
e4051c
mv pbs_environment %{buildroot}%{_sysconfdir}/torque
e4051c
mv server_name %{buildroot}%{_sysconfdir}/torque
e4051c
ln -s %{_sysconfdir}/torque/pbs_environment .
e4051c
ln -s %{_sysconfdir}/torque/server_name .
e4051c
popd
e4051c
e4051c
# Relocate mom_logs to /var/log
e4051c
mkdir -p %{buildroot}%{_var}/log/torque
e4051c
pushd %{buildroot}%{torquehomedir}
e4051c
mv mom_logs %{buildroot}%{_var}/log/torque
e4051c
ln -s %{_var}/log/torque/mom_logs .
e4051c
popd
e4051c
e4051c
# Install mom_priv/config file to /etc/torque/mom
e4051c
mkdir -p %{buildroot}%{_sysconfdir}/torque/mom
e4051c
install -p -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/torque/mom/config
e4051c
install -p -m 644 %{SOURCE24} %{buildroot}%{_sysconfdir}/torque/mom/mom.layout
e4051c
pushd %{buildroot}%{torquehomedir}/mom_priv
e4051c
ln -s %{_sysconfdir}/torque/mom/config .
e4051c
ln -s %{_sysconfdir}/torque/mom/mom.layout .
e4051c
popd
e4051c
e4051c
# Install sched_config files to /etc/torque/sched
e4051c
mkdir -p %{buildroot}%{_sysconfdir}/torque/sched
e4051c
pushd %{buildroot}%{torquehomedir}/sched_priv
e4051c
for CONFIG in dedicated_time holidays resource_group sched_config ; do
e4051c
  mv $CONFIG %{buildroot}%{_sysconfdir}/torque/sched/.
e4051c
  ln -s %{_sysconfdir}/torque/sched/$CONFIG .
e4051c
done
e4051c
popd
e4051c
e4051c
# Relocate sched_logs to /var/log
e4051c
pushd %{buildroot}%{torquehomedir}
e4051c
mv sched_logs %{buildroot}%{_var}/log/torque
e4051c
ln -s %{_var}/log/torque/sched_logs .
e4051c
popd
e4051c
e4051c
# Relocate server_logs to /var/log
e4051c
pushd %{buildroot}%{torquehomedir}
e4051c
mv server_logs %{buildroot}%{_var}/log/torque
e4051c
ln -s %{_var}/log/torque/server_logs .
e4051c
popd
e4051c
e4051c
e4051c
# Move drmaa man pages to correct place 
e4051c
# and delete the three copies of the same documentation.
e4051c
e4051c
%if 0%{?doxydoc}
e4051c
rm -f %{buildroot}%{_defaultdocdir}/torque-drmaa/man/man3/*_src_drmaa_src_.3
e4051c
mv %{buildroot}%{_defaultdocdir}/torque-drmaa/man/man3/* %{buildroot}%{_mandir}/man3/.
e4051c
rm -rf %{buildroot}%{_defaultdocdir}/torque-drmaa/html/*
e4051c
rm -rf %{buildroot}%{_defaultdocdir}/torque-drmaa/latex/*
e4051c
# Include drmaa.pdf later from the src tree.
e4051c
rm %{buildroot}%{_defaultdocdir}/torque-drmaa/drmaa.pdf
e4051c
%endif
e4051c
e4051c
#Remove man page for binary that is not included.
e4051c
rm %{buildroot}%{_mandir}/man1/basl2c.1
e4051c
e4051c
# fix permissions for some directories in /var/lib/torque
e4051c
chmod 755 `find %{buildroot}/var/lib/torque -type d`
e4051c
e4051c
# Use wrapper script for pbs-config and rename original script to include architecture name
e4051c
mv %{buildroot}%{_bindir}/pbs-config %{buildroot}%{_bindir}/pbs-config-%{_arch}
e4051c
install -m0755 -p %{SOURCE100} %{buildroot}%{_bindir}/pbs-config
e4051c
e4051c
%post
e4051c
# fix mistake in previous release
e4051c
sed -i '/pbs_mon/D' /etc/services
e4051c
for srvs in pbs:15001 pbs_mom:15002 pbs_resmom:15003 pbs_sched:15004 ; do
e4051c
  port=${srvs/*:/}
e4051c
  srvs=${srvs/:*/}
e4051c
  for proto in tcp udp ; do
e4051c
    if ! grep -q $srvs'\W\W*'$port'/'$proto /etc/services;then
e4051c
      cat<<__EOF__>>/etc/services
e4051c
$srvs        $port/$proto
e4051c
__EOF__
e4051c
    fi
e4051c
  done
e4051c
done
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_post trqauthd.service
e4051c
%else
e4051c
/sbin/chkconfig --add trqauthd
e4051c
%endif
e4051c
e4051c
%preun
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_preun trqauthd.service
e4051c
%else
e4051c
if [ $1 -eq 0 ]; then
e4051c
   /sbin/service trqauthd stop >/dev/null 2>&1
e4051c
   /sbin/chkconfig --del trqauthd
e4051c
fi
e4051c
%endif
e4051c
e4051c
%posttrans client
e4051c
/usr/sbin/alternatives --install %{_bindir}/qsub qsub %{_bindir}/qsub-torque 10 \
e4051c
        --slave %{_mandir}/man1/qsub.1.gz qsub-man \
e4051c
                %{_mandir}/man1/qsub-torque.1.gz \
e4051c
        --slave %{_bindir}/qalter qalter %{_bindir}/qalter-torque \
e4051c
        --slave %{_mandir}/man1/qalter.1.gz qalter-man \
e4051c
                %{_mandir}/man1/qalter-torque.1.gz \
e4051c
        --slave %{_bindir}/qdel qdel %{_bindir}/qdel-torque \
e4051c
        --slave %{_mandir}/man1/qdel.1.gz qdel-man \
e4051c
                %{_mandir}/man1/qdel-torque.1.gz \
e4051c
        --slave %{_bindir}/qhold qhold %{_bindir}/qhold-torque \
e4051c
        --slave %{_mandir}/man1/qhold.1.gz qhold-man \
e4051c
                %{_mandir}/man1/qhold-torque.1.gz \
e4051c
        --slave %{_bindir}/qrls qrls %{_bindir}/qrls-torque \
e4051c
        --slave %{_mandir}/man1/qrls.1.gz qrls-man \
e4051c
                %{_mandir}/man1/qrls-torque.1.gz \
e4051c
        --slave %{_bindir}/qselect qselect %{_bindir}/qselect-torque \
e4051c
        --slave %{_mandir}/man1/qselect.1.gz qselect-man \
e4051c
                %{_mandir}/man1/qselect-torque.1.gz \
e4051c
        --slave %{_bindir}/qstat qstat %{_bindir}/qstat-torque \
e4051c
        --slave %{_mandir}/man1/qstat.1.gz qstat-man \
e4051c
                %{_mandir}/man1/qstat-torque.1.gz
e4051c
e4051c
%preun client
e4051c
if [ $1 -eq 0 ]; then
e4051c
  /usr/sbin/alternatives --remove qsub %{_bindir}/qsub-torque
e4051c
fi
e4051c
e4051c
%ldconfig_scriptlets   libs
e4051c
%ldconfig_scriptlets   drmaa
e4051c
e4051c
%pre mom
e4051c
if test -f %{torquehomedir}/mom_priv/mom.layout ; then
e4051c
  if ! test -h %{torquehomedir}/mom_priv/mom.layout ; then
e4051c
    mkdir -p %{_sysconfdir}/torque/mom
e4051c
    cp -p %{torquehomedir}/mom_priv/mom.layout %{_sysconfdir}/torque/mom/
e4051c
  fi
e4051c
fi
e4051c
e4051c
%post mom
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_post pbs_mom.service
e4051c
%else
e4051c
/sbin/chkconfig --add pbs_mom
e4051c
%endif
e4051c
e4051c
%preun mom
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_preun pbs_mom.service
e4051c
%else
e4051c
if [ $1 -eq 0 ]; then
e4051c
   /sbin/service pbs_mom stop >/dev/null 2>&1
e4051c
   /sbin/chkconfig --del pbs_mom
e4051c
fi
e4051c
%endif
e4051c
e4051c
%post scheduler
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_post pbs_sched.service
e4051c
%else
e4051c
/sbin/chkconfig --add pbs_sched
e4051c
%endif
e4051c
e4051c
%preun scheduler
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_preun pbs_sched.service
e4051c
%else
e4051c
if [ $1 -eq 0 ]; then
e4051c
   /sbin/service pbs_sched stop >/dev/null 2>&1
e4051c
   /sbin/chkconfig --del pbs_sched
e4051c
fi
e4051c
%endif
e4051c
e4051c
%post server
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_post pbs_server.service
e4051c
%else
e4051c
/sbin/chkconfig --add pbs_server
e4051c
%endif
e4051c
e4051c
%preun server
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%systemd_preun pbs_server.service
e4051c
%else
e4051c
if [ $1 -eq 0 ]; then
e4051c
   /sbin/service pbs_server stop >/dev/null 2>&1
e4051c
   /sbin/chkconfig --del pbs_server
e4051c
fi
e4051c
%endif
e4051c
e4051c
%files
e4051c
%doc               README.torque torque.setup Release_Notes
e4051c
%doc               CHANGELOG PBS_License.txt README.Fedora contrib/PBS_License_2.3.txt
e4051c
%dir %{torquehomedir} 
e4051c
%dir %{torquehomedir}/aux
e4051c
%attr (1777,root,root) %{torquehomedir}/spool
e4051c
%attr (1777,root,root) %{torquehomedir}/undelivered
e4051c
%attr (1777,root,root) %{torquehomedir}/checkpoint
e4051c
%dir %{torquehomedir}/spool
e4051c
%dir %{torquehomedir}/undelivered
e4051c
%{torquehomedir}/checkpoint
e4051c
%{torquehomedir}/pbs_environment
e4051c
%{torquehomedir}/server_name
e4051c
%config(noreplace) %{_sysconfdir}/torque/pbs_environment
e4051c
%config(noreplace) %{_sysconfdir}/torque/server_name
e4051c
%{_mandir}/man1/pbs.1.*
e4051c
%attr(0755, root, root) %{_sbindir}/trqauthd
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%{_unitdir}/trqauthd.service
e4051c
%else
e4051c
%{_initrddir}/trqauthd
e4051c
%endif
e4051c
e4051c
%files client
e4051c
%{_bindir}/q*
e4051c
%{_bindir}/chk_tree
e4051c
%{_bindir}/hostn
e4051c
%{_bindir}/nqs2pbs
e4051c
%{_bindir}/pbsdsh
e4051c
%{_bindir}/pbsnodes
e4051c
%{_bindir}/printjob
e4051c
%{_bindir}/printserverdb
e4051c
%{_bindir}/printtracking
e4051c
%{_bindir}/tracejob
e4051c
%{_sbindir}/pbs_demux
e4051c
%if %{use_tcl}
e4051c
%{_bindir}/pbs_tclsh
e4051c
%endif
e4051c
%{_mandir}/man1/nqs2pbs.1.*
e4051c
%{_mandir}/man1/pbsdsh.1.*
e4051c
%{_mandir}/man1/qchkpt.1.*
e4051c
%{_mandir}/man1/qmgr.1.*
e4051c
%{_mandir}/man1/qmove.1.*
e4051c
%{_mandir}/man1/qmsg.1.*
e4051c
%{_mandir}/man1/qorder.1.*
e4051c
%{_mandir}/man1/qrerun.1.*
e4051c
%{_mandir}/man1/qsig.1.*
e4051c
%{_mandir}/man1/qgpumode.1.gz
e4051c
%{_mandir}/man1/qgpureset.1.gz
e4051c
%{_mandir}/man8/pbsnodes.8.*
e4051c
%{_mandir}/man8/qdisable.8.*
e4051c
%{_mandir}/man8/qenable.8.*
e4051c
%{_mandir}/man8/qrun.8.*
e4051c
%{_mandir}/man8/qstart.8.*
e4051c
%{_mandir}/man8/qstop.8.*
e4051c
%{_mandir}/man8/qterm.8.*
e4051c
%{_mandir}/man7/pbs_job_attributes.7.*
e4051c
%{_mandir}/man7/pbs_queue_attributes.7.*
e4051c
%{_mandir}/man7/pbs_resources.7.*
e4051c
%{_mandir}/man7/pbs_resources_aix4.7.*
e4051c
%{_mandir}/man7/pbs_resources_aix5.7.*
e4051c
%{_mandir}/man7/pbs_resources_darwin.7.*
e4051c
%{_mandir}/man7/pbs_resources_digitalunix.7.*
e4051c
%{_mandir}/man7/pbs_resources_freebsd.7.*
e4051c
%{_mandir}/man7/pbs_resources_fujitsu.7.*
e4051c
%{_mandir}/man7/pbs_resources_hpux10.7.*
e4051c
%{_mandir}/man7/pbs_resources_hpux11.7.*
e4051c
%{_mandir}/man7/pbs_resources_irix5.7.*
e4051c
%{_mandir}/man7/pbs_resources_irix6.7.*
e4051c
%{_mandir}/man7/pbs_resources_irix6array.7.*
e4051c
%{_mandir}/man7/pbs_resources_linux.7.*
e4051c
%{_mandir}/man7/pbs_resources_netbsd.7.*
e4051c
%{_mandir}/man7/pbs_resources_solaris5.7.*
e4051c
%{_mandir}/man7/pbs_resources_solaris7.7.*
e4051c
%{_mandir}/man7/pbs_resources_sp2.7.*
e4051c
%{_mandir}/man7/pbs_resources_sunos4.7.*
e4051c
%{_mandir}/man7/pbs_resources_unicos8.7.*
e4051c
%{_mandir}/man7/pbs_resources_unicosmk2.7.*
e4051c
%{_mandir}/man7/pbs_server_attributes.7.*
e4051c
e4051c
# And the following are alternative managed ones.
e4051c
%{_mandir}/man1/qsub-torque.1.*
e4051c
%{_mandir}/man1/qalter-torque.1.*
e4051c
%{_mandir}/man1/qdel-torque.1.*
e4051c
%{_mandir}/man1/qhold-torque.1.*
e4051c
%{_mandir}/man1/qrls-torque.1.*
e4051c
%{_mandir}/man1/qselect-torque.1.*
e4051c
%{_mandir}/man1/qstat-torque.1.*
e4051c
e4051c
e4051c
%files docs
e4051c
%doc doc/admin_guide.ps
e4051c
%if 0%{?doxydoc}
e4051c
%doc src/drmaa/drmaa.pdf
e4051c
%endif
e4051c
e4051c
%if %{build_gui}
e4051c
%files gui
e4051c
%{_bindir}/pbs_wish
e4051c
%{_bindir}/xpbs
e4051c
%{_bindir}/xpbsmon
e4051c
%{_libdir}/xpbs
e4051c
%{_libdir}/xpbsmon
e4051c
%{_datadir}/applications/*.desktop
e4051c
%{_datadir}/pixmaps/*.png
e4051c
%{_mandir}/man1/xpbs.1.*
e4051c
%{_mandir}/man1/xpbsmon.1.*
e4051c
%endif
e4051c
e4051c
%files libs
e4051c
%{_libdir}/libtorque.so.*
e4051c
e4051c
%files devel
e4051c
%{_libdir}/libtorque.so
e4051c
%{_includedir}/torque
e4051c
%exclude %{_includedir}/torque/drmaa.h
e4051c
%{_bindir}/pbs-config
e4051c
%{_bindir}/pbs-config-%{_arch}
e4051c
%{_mandir}/man3/pbs_alterjob.3.*
e4051c
%{_mandir}/man3/pbs_connect.3.*
e4051c
%{_mandir}/man3/pbs_default.3.*
e4051c
%{_mandir}/man3/pbs_deljob.3.*
e4051c
%{_mandir}/man3/pbs_disconnect.3.*
e4051c
%{_mandir}/man3/pbs_geterrmsg.3.*
e4051c
%{_mandir}/man3/pbs_holdjob.3.*
e4051c
%{_mandir}/man3/pbs_locate.3.*
e4051c
%{_mandir}/man3/pbs_manager.3.*
e4051c
%{_mandir}/man3/pbs_movejob.3.*
e4051c
%{_mandir}/man3/pbs_msgjob.3.*
e4051c
%{_mandir}/man3/pbs_orderjob.3.*
e4051c
%{_mandir}/man3/pbs_rerunjob.3.*
e4051c
%{_mandir}/man3/pbs_rescquery.3.*
e4051c
%{_mandir}/man3/pbs_rescreserve.3.*
e4051c
%{_mandir}/man3/pbs_rlsjob.3.*
e4051c
%{_mandir}/man3/pbs_runjob.3.*
e4051c
%{_mandir}/man3/pbs_selectjob.3.*
e4051c
%{_mandir}/man3/pbs_selstat.3.*
e4051c
%{_mandir}/man3/pbs_sigjob.3.*
e4051c
%{_mandir}/man3/pbs_stagein.3.*
e4051c
%{_mandir}/man3/pbs_statjob.3.*
e4051c
%{_mandir}/man3/pbs_statnode.3.*
e4051c
%{_mandir}/man3/pbs_statque.3.*
e4051c
%{_mandir}/man3/pbs_statserver.3.*
e4051c
%{_mandir}/man3/pbs_submit.3.*
e4051c
%{_mandir}/man3/pbs_terminate.3.*
e4051c
%{_mandir}/man3/pbs_checkpointjob.3.gz
e4051c
%{_mandir}/man3/pbs_fbserver.3.gz
e4051c
%{_mandir}/man3/pbs_get_server_list.3.gz
e4051c
%{_mandir}/man3/pbs_gpumode.3.gz
e4051c
%{_mandir}/man3/pbs_gpureset.3.gz
e4051c
%{_mandir}/man3/tm.3.*
e4051c
e4051c
%files mom
e4051c
%{_sbindir}/momctl
e4051c
%{_sbindir}/pbs_mom
e4051c
%{_sbindir}/qnoded
e4051c
%{_sbindir}/pbs_demux
e4051c
%{_bindir}/pbs_track
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%{_unitdir}/pbs_mom.service
e4051c
%else
e4051c
%{_initrddir}/pbs_mom
e4051c
%endif
e4051c
%if %{use_rcp}
e4051c
%attr(4755, root, root) %{_sbindir}/pbs_rcp
e4051c
%endif
e4051c
%{torquehomedir}/mom_priv
e4051c
%{torquehomedir}/mom_logs
e4051c
%dir %{_var}/log/torque
e4051c
%dir %{_var}/log/torque/mom_logs
e4051c
%dir %{_sysconfdir}/torque/mom
e4051c
%{_mandir}/man8/pbs_mom.8.*
e4051c
%config(noreplace) %{_sysconfdir}/torque/mom/config
e4051c
%config(noreplace) %{_sysconfdir}/torque/mom/mom.layout
e4051c
e4051c
%files pam
e4051c
%doc src/pam/README.pam
e4051c
/%{_lib}/security/pam_pbssimpleauth.so
e4051c
e4051c
%files scheduler
e4051c
%attr(0755, root, root) %{_sbindir}/pbs_sched
e4051c
%{_sbindir}/qschedd
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%{_unitdir}/pbs_sched.service
e4051c
%else
e4051c
%{_initrddir}/pbs_sched
e4051c
%endif
e4051c
%dir %{torquehomedir}/sched_priv
e4051c
%config(noreplace) %{torquehomedir}/sched_priv/*
e4051c
%{torquehomedir}/sched_logs
e4051c
%dir %{_var}/log/torque/sched_logs
e4051c
%dir %{_sysconfdir}/torque/sched
e4051c
%{_mandir}/man8/pbs_sched.8.*
e4051c
%{_mandir}/man8/pbs_sched_basl.8.*
e4051c
%{_mandir}/man8/pbs_sched_cc.8.*
e4051c
%{_mandir}/man8/pbs_sched_tcl.8.*
e4051c
%config(noreplace) %{_sysconfdir}/torque/sched/dedicated_time 
e4051c
%config(noreplace) %{_sysconfdir}/torque/sched/holidays 
e4051c
%config(noreplace) %{_sysconfdir}/torque/sched/resource_group 
e4051c
%config(noreplace) %{_sysconfdir}/torque/sched/sched_config 
e4051c
e4051c
%files server
e4051c
%attr(0755, root, root) %{_sbindir}/pbs_server
e4051c
%{_sbindir}/qserverd
e4051c
%if 0%{?rhel} >= 7 || 0%{?fedora}
e4051c
%{_unitdir}/pbs_server.service
e4051c
%else
e4051c
%{_initrddir}/pbs_server
e4051c
%endif
e4051c
%dir %{_var}/log/torque/server_logs
e4051c
%{torquehomedir}/server_logs
e4051c
%{torquehomedir}/server_priv
e4051c
%{_mandir}/man8/pbs_server.8.*
e4051c
e4051c
%files drmaa
e4051c
%{_libdir}/libdrmaa.so.*
e4051c
e4051c
%files drmaa-devel
e4051c
%{_libdir}/libdrmaa.so
e4051c
%{_includedir}/torque/drmaa.h
e4051c
%if 0%{?doxydoc}
e4051c
%{_mandir}/man3/compat.h.3.*
e4051c
%{_mandir}/man3/drmaa.3.*
e4051c
%{_mandir}/man3/drmaa.h.3.*
e4051c
%{_mandir}/man3/drmaa_attr_names_s.3.*
e4051c
%{_mandir}/man3/drmaa_attr_values_s.3.*
e4051c
%{_mandir}/man3/drmaa_attrib.3.*
e4051c
%{_mandir}/man3/drmaa_attrib_info_s.3.*
e4051c
%{_mandir}/man3/drmaa_submission_context_s.3.*
e4051c
%{_mandir}/man3/drmaa_job_ids_s.3.*
e4051c
%{_mandir}/man3/drmaa_def_attr_s.3.*
e4051c
%{_mandir}/man3/pbs_attrib.3.*
e4051c
%{_mandir}/man3/drmaa_viter.3.*
e4051c
%{_mandir}/man3/drmaa_job_iter_s.3.*
e4051c
%{_mandir}/man3/drmaa_job_s.3.*
e4051c
%{_mandir}/man3/drmaa_job_template_s.3.*
e4051c
%{_mandir}/man3/drmaa_jobt.3.*
e4051c
%{_mandir}/man3/drmaa_session.3.*
e4051c
%{_mandir}/man3/drmaa_session_s.3.*
e4051c
%{_mandir}/man3/error.h.3.*
e4051c
%{_mandir}/man3/jobs.3.*
e4051c
%{_mandir}/man3/jobs.h.3.*
e4051c
%{_mandir}/man3/lookup3.h.3.*
e4051c
%endif
e4051c
e4051c
%changelog
e4051c
* Wed Jul 08 2020 Honggang Li <honli@redhat.com> - 4.2.10-25
e4051c
- Rebase to latest Fedora release
e4051c
- Fix file conflicts in torque-devel multilib packages
e4051c
- Resolve: bz1853167
e4051c
e4051c
* Fri Jun 07 2019 Jarod Wilson <jarod@redhat.com> - 4.2.10-19
e4051c
- Put pbs-config in base pkg where it belongs instead of -devel
e4051c
e4051c
* Fri May 31 2019 Jarod Wilson <jarod@redhat.com> - 4.2.10-18
e4051c
- Rebuild for CI testing
e4051c
e4051c
* Wed Feb 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.10-17
e4051c
- Remove old Requires
e4051c
e4051c
* Thu Jan 11 2018 Merlin Mathesius <mmathesi@redhat.com> - 4.2.10-16
e4051c
- Cleanup spec file conditionals
e4051c
- Fix FTBFS (BZ#1424149)
e4051c
e4051c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.10-15
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e4051c
e4051c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.10-14
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e4051c
e4051c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.10-13
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e4051c
e4051c
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 4.2.10-12
e4051c
- Rebuild for readline 7.x
e4051c
e4051c
* Thu Oct 20 2016 Orion Poplawski <orion@cora.nwra.com> - 4.2.10-11
e4051c
- Make libs sub-package not require main package (bug #1333489)
e4051c
e4051c
* Fri Apr 8 2016 David Brown <david.brown@pnnl.gov> - 4.2.10-10
e4051c
- Resolve systemd requires for bug #1319195
e4051c
- add sample mom.layout file as an example
e4051c
e4051c
* Fri Feb 19 2016 David Brown <david.brown@pnnl.gov> - 4.2.10-9
e4051c
- Resolve dependencies for rawhide (#1308192)
e4051c
- Fix port and args environment variables for el5/6 (#1254301)
e4051c
e4051c
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.10-9
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e4051c
e4051c
* Sun Dec 06 2015 David Brown <david.brown@pnnl.gov> - 4.2.10-8
e4051c
- Resolve momctl into the right package
e4051c
e4051c
* Fri Sep 18 2015 Richard Hughes <rhughes@redhat.com> - 4.2.10-7
e4051c
- Remove AppStream metadata file as it's no longer used.
e4051c
e4051c
* Mon Aug 17 2015 David Brown <david.brown@pnnl.gov> - 4.2.10-6
e4051c
- enable numa support bug #1231148
e4051c
e4051c
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.10-5
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e4051c
e4051c
* Sat Jun 6 2015 David Brown <david.brown@pnnl.gov> - 4.2.10-4
e4051c
- Bugfix - #1227003 test system in cluster environment
e4051c
- Bugfix - #1216049 add --enable-cpuset and hwloc
e4051c
- Bugfix - #1176080 this maybe a duplicate of #1216037
e4051c
e4051c
* Tue May 19 2015 David Brown <david.brown@pnnl.gov> - 4.2.10-3
e4051c
- Bugfix - #1215207 create/install service files for these
e4051c
- Bugfix - #1117263 qmgr aborts in some instances
e4051c
- Bugfix - #1144396 Hey! Version Bump!
e4051c
- Bugfix - #1215992 more service scripts
e4051c
- Bugfix - #1216037 fixed permissions on directories
e4051c
- Bugfix - #1149045 hopefully these are all fixed now
e4051c
- Bugfix - #965513 calling this one fixed...
e4051c
e4051c
* Fri Apr 24 2015 David Brown <david.brown@pnnl.gov> - 4.2.10-2
e4051c
- Bugfix - #1154413 make manipulating services better.
e4051c
e4051c
* Mon Apr 6 2015 David Brown <david.brown@pnnl.gov> - 4.2.10-1
e4051c
- Updated upstream version
e4051c
e4051c
* Thu Apr 2 2015 David Brown <david.brown@pnnl.gov> - 4.2.8-3
e4051c
- Version bump to merge from previous version
e4051c
e4051c
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 4.2.8-2
e4051c
- Add an AppData file for the software center
e4051c
e4051c
* Tue Oct 14 2014 David Brown <david.brown@pnnl.gov> - 4.2.8-2
e4051c
- merged fedora latest into epel
e4051c
- This breaks old configs and should be treated carefully
e4051c
e4051c
* Wed Oct 01 2014 Haïkel Guémar <hguemar@fedoraproject.org> - 3.0.4-6
e4051c
- Fix CVE-2013-4319 (RHBZ #1005918, #1005919)
e4051c
e4051c
* Fri Sep 05 2014 Haïkel Guémar <hguemar@fedoraproject.org> - 3.0.4-5
e4051c
- Fix CVE-2013-4495 (RHBZ #1029752)
e4051c
e4051c
* Mon Sep 01 2014 Haïkel Guémar <hguemar@fedoraproject.org> - 4.2.8-1
e4051c
- upstream 4.2.8
e4051c
e4051c
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.6.1-6
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e4051c
e4051c
* Thu Jul 17 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 4.2.6.1-5
e4051c
- Reflect upstream URL and Source0 having changed.
e4051c
e4051c
* Thu Jul 17 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 4.2.6.1-4
e4051c
- Append -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE to CFLAGS to work-around
e4051c
  Tcl/Tk-8.6 incompatibilities (FTFFS RHBZ#1107455).
e4051c
- Pass --without-debug to %%configure to let configure pass through
e4051c
  %%optflags (RHBZ#1074571).
e4051c
- Fix twice listed files in *-devel.
e4051c
e4051c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.6.1-3
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e4051c
e4051c
* Wed May 21 2014 Jaroslav Å karvada <jskarvad@redhat.com> - 4.2.6.1-2
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
e4051c
e4051c
* Sun Jan 12 2014 Haïkel Guémar <hguemar@fedoraproject.org> - 4.2.6.1-1
e4051c
- upstream 4.2.6.1
e4051c
e4051c
* Wed Nov 13 2013 Haïkel Guémar <hguemar@fedoraproject.org> - 4.2.6-1
e4051c
- upstream 4.2.6
e4051c
e4051c
* Fri Aug 16 2013 Orion Poplawski <orion@cora.nwra.com> - 3.0.4-4
e4051c
- Add missing BRs for latex docs
e4051c
e4051c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-4
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e4051c
e4051c
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-3
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e4051c
e4051c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e4051c
e4051c
* Sun Feb 5 2012 Steve Traylen <steve.traylen@cern.ch> - 3.0.4-1
e4051c
- New upstream.
e4051c
e4051c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.3-3
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e4051c
e4051c
* Sat Dec 3 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-9
e4051c
- Add torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch
e4051c
e4051c
* Mon Nov 21 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-8
e4051c
- Add torque-rhbz#758740-r5258-dis-close.patch and
e4051c
  torque-rhbz#758740-r5270-dis-array.patch
e4051c
e4051c
* Mon Nov 21 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-7
e4051c
- Add torque-fix-munge-rhbz#752079-PTII.patch
e4051c
e4051c
* Thu Nov 17 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.3-2
e4051c
- Empty release for release mistake.
e4051c
e4051c
* Thu Nov 17 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.3-1
e4051c
- New upstream.
e4051c
e4051c
* Thu Nov 17 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-6
e4051c
- Empty release for release mistake.
e4051c
e4051c
* Thu Nov 17 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-5
e4051c
- Add patch torque-fix-munge-rhbz#752079.patch
e4051c
e4051c
* Sun Oct  9 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.2-4
e4051c
- Add patch torque-initd-hangs-rhbz-744138.patch
e4051c
e4051c
* Sun Oct  9 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-4
e4051c
- Add patch torque-initd-hangs-rhbz-744138.patch
e4051c
e4051c
* Mon Sep 19 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.2-3
e4051c
- Add --with-tcp-retry-limit=2 to build, rhbz#738576.
e4051c
e4051c
* Mon Sep 19 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-3
e4051c
- Add --with-tcp-retry-limit=2 to build, rhbz#738576.
e4051c
e4051c
* Wed Aug 31 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-2
e4051c
- Move checkpoint directory from torque-mom to torque package.
e4051c
  rhbz#734878.
e4051c
e4051c
* Tue Aug 30 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.2-2
e4051c
- Move checkpoint directory from torque-mom to torque package.
e4051c
  rhbz#734878.
e4051c
e4051c
* Tue Jul 26 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.7-1
e4051c
- Update to 2.5.7, drop torque-buffer-overrun-2.5.5.patch,
e4051c
  Add man pages for: qgpumod, qgpureset, pbs_gpumode and 
e4051c
  pbs_gpureset.
e4051c
- Add or rather force munge support, Add torque-munge-size.patch.
e4051c
e4051c
* Mon Jun 27 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.2-1
e4051c
- Update to 3.0.2.
e4051c
- Remove torque-buffer-overrun since upstream now.
e4051c
e4051c
* Sun Jun 26 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.1-4
e4051c
- Removes nodes database file from package rhbz#716659
e4051c
e4051c
* Sun Jun 26 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.5-3
e4051c
- Removes nodes database file from package rhbz#716659
e4051c
e4051c
* Fri Jun 17 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.1-3
e4051c
- Add torque-munge-size.patch, rhbz#713996, Alex Chernyakhovsky
e4051c
e4051c
* Wed Jun 8 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.5-2
e4051c
- Add torque-buffer-overrun.patch rhbz#711463
e4051c
e4051c
* Wed Jun 8 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.1-2
e4051c
- Add torque-buffer-overrun.patch patch, rhbz#711463
e4051c
e4051c
* Thu Apr 21 2011 Steve Traylen <steve.traylen@cern.ch> - 3.0.1-1
e4051c
- Update to 3.0.1.
e4051c
  License file name change.
e4051c
- Renable doxygen documentation for drmaa.
e4051c
e4051c
* Tue Mar 8 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.5-1
e4051c
- New upstream 2.5.5
e4051c
  Drop torque-create-request.patch since fixed upstream.
e4051c
- Torque License change, 
e4051c
    PBS_License.txt now contrib/PBS_License2.3.txt 
e4051c
    New additional license file PBS_License_2.5.txt
e4051c
  License field changed from OpenPBS to "OpenPBS and TORQUEv1.1"
e4051c
e4051c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0_snap.201102011355-2
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e4051c
e4051c
* Sun Jan 9 2011 Steve Traylen <steve.traylen@cern.ch> - 2.5.4-1
e4051c
- New upstream 2.5.4
e4051c
  Drop patches: torque-cond-touch.patch rhbz#528060 and
e4051c
  torque-start-start.patch rhbz#643194 since both upstream.
e4051c
e4051c
* Fri Dec 10 2010 Steve Traylen <steve.traylen@cern.ch> - 3.0.0-snap.201102011355-1
e4051c
- Update to 3.0.0-snap.201102011355-1.
e4051c
- Drop torque-create-request.patch since upstream.
e4051c
- License change to "OpenPBS and TORQUEv1.1" from OpenPBS.
e4051c
e4051c
* Fri Dec 10 2010 Steve Traylen <steve.traylen@cern.ch> - 3.0.0-2
e4051c
- Enable or rather force munge support.
e4051c
e4051c
* Thu Dec 9 2010 Steve Traylen <steve.traylen@cern.ch> - 3.0.0-1
e4051c
- New upstream 3.0.0. Drop patches torque-cond-touch.patch and
e4051c
  torque-start-start.patch since both upstream now.
e4051c
e4051c
* Wed Dec 8 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.3-3
e4051c
- Remove own copy of pbs-config. #657027
e4051c
- Move man pages from doc subpackage to relavent sub package.
e4051c
- Enable drmaa support and add drmaa sub packages.
e4051c
e4051c
* Wed Dec 8 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.3-2
e4051c
- Only build noarch doc package on RHEL6 or Fedora10. #659723
e4051c
e4051c
* Thu Nov 18 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.3-1
e4051c
- Upstream to 2.5.3.
e4051c
e4051c
* Thu Oct 14 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.2-4
e4051c
- rhbz#643194, stop a stoped service, start a start service 
e4051c
  return codes now fixed.
e4051c
e4051c
* Thu Oct 14 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.2-3
e4051c
- rhbz#631256 Only create db if asked to.
e4051c
e4051c
* Thu Oct 14 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.2-2
e4051c
- rhbz#58060, add torque-cond-touch.spec to only touch files
e4051c
  when service actually starts.
e4051c
e4051c
* Tue Sep 7 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.2-1
e4051c
- New upstream 2.5.2
e4051c
- Three new man pages added to file listing.
e4051c
e4051c
* Tue Aug 10 2010 Steve Traylen <steve.traylen@cern.ch> - 2.5.1-1
e4051c
- New upstream 2.5.1
e4051c
e4051c
* Wed Jul 14 2010 Steve Traylen <steve.traylen@cern.ch> - 2.4.8-3
e4051c
- Rebuild for cvs mistake.
e4051c
e4051c
* Thu Jul 1 2010 Steve Traylen <steve.traylen@cern.ch> - 2.4.8-2
e4051c
- Set torquehome to /var/lib/torque rather than /var/torque
e4051c
- Drop provides and obsoletes since never present in Fedora/EPEL.
e4051c
- Don't use a variable for the description.
e4051c
- Split install of init.d scripts to build and install sections
e4051c
  as appropriate.
e4051c
- Mark docs subpackage as noarch.
e4051c
- Rename libtorque package to more normal torque-libs package.
e4051c
- Rename libtorque-devel package to more normal torque-devel package.
e4051c
- Remove the unused epoch and snapshot variables.
e4051c
- Have mom requires openssh-clients and server openssh-server
e4051c
- Have mom, sched and server log to /var/log/torque and symlinks
e4051c
- Move configurtion files to /etc/torque and symlink in expected.
e4051c
- Be more explicit about man page in the files section.
e4051c
- Rename README-localhost to README.Fedora to make it more obvious
e4051c
  it's related to this package.
e4051c
e4051c
* Wed Jun  2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.4.8-1
e4051c
- update to 2.4.8
e4051c
- drop static libs
e4051c
- cleanup spec file
e4051c
e4051c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.10-8
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e4051c
e4051c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.10-7
e4051c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e4051c
e4051c
* Wed Apr 16 2008 Garrick Staples <garrick@usc.edu> 2.1.10-6
e4051c
- add alternatives system
e4051c
e4051c
* Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 2.1.10-5
e4051c
- fix missing NI_MAXSERV on fedora9
e4051c
e4051c
* Thu Jan  3 2008 Garrick Staples <garrick@usc.edu> 2.1.10-4
e4051c
- correct pbs-config build typo
e4051c
e4051c
* Thu Jan  3 2008 Garrick Staples <garrick@usc.edu> 2.1.10-3
e4051c
- rebuild because tcl was bumped
e4051c
e4051c
* Thu Dec 13 2007 Garrick Staples <garrick@usc.edu> 2.1.10-2
e4051c
- fix multilib conflicts
e4051c
e4051c
* Wed Dec 12 2007 Garrick Staples <garrick@usc.edu> 2.1.10-1
e4051c
- bump to 2.1.10
e4051c
e4051c
* Wed Oct  3 2007 Garrick Staples <garrick@usc.edu> 2.1.9-1
e4051c
- bump to 2.1.9
e4051c
e4051c
* Fri Aug 31 2007 Garrick Staples <garrick@usc.edu> 2.1.8-3
e4051c
- correct License tag
e4051c
e4051c
* Wed Aug 15 2007 Garrick Staples <garrick@usc.edu> 2.1.8-2
e4051c
- correct errors in desktop entry files
e4051c
e4051c
* Tue Mar 13 2007 Garrick Staples <garrick@usc.edu> 2.1.8-1
e4051c
- bump to 2.1.8
e4051c
- ensure daemons have the correct path to sendmail
e4051c
- don't need rpath configure patch anymore
e4051c
e4051c
* Wed Feb 14 2007 Garrick Staples <garrick@usc.edu> 2.1.6-5
e4051c
- rebuilding because tcl8.5 was downgraded to tcl8.4
e4051c
e4051c
* Tue Feb  6 2007 Garrick Staples <garrick@usc.edu> 2.1.6-4
e4051c
- rebuilding with new tcl
e4051c
e4051c
* Sat Feb  3 2007 Garrick Staples <garrick@usc.edu> 2.1.6-3
e4051c
- trying to resolve tcl8.5 buildindex issue
e4051c
e4051c
* Fri Feb  2 2007 Garrick Staples <garrick@usc.edu> 2.1.6-2
e4051c
- rebuild for tcl8.5
e4051c
e4051c
* Tue Oct 24 2006 Garrick Staples <garrick@usc.edu> 2.1.6-1
e4051c
- fixes more regressions from Friday
e4051c
e4051c
* Sat Oct 21 2006 Garrick Staples <garrick@usc.edu> 2.1.5-1
e4051c
- fixes "qsub -o /dev/null" regression
e4051c
e4051c
* Fri Oct 20 2006 Garrick Staples <garrick@usc.edu> 2.1.4-1
e4051c
- bump to fix "Spool Job Race condition" on bugtraq
e4051c
e4051c
* Mon Oct 16 2006 Garrick Staples <garrick@usc.edu> 2.1.3-3
e4051c
- correct unowned directories
e4051c
e4051c
* Thu Oct 12 2006 Garrick Staples <garrick@usc.edu> 2.1.3-2
e4051c
- missing BR ncurses-devel and readline-devel
e4051c
e4051c
* Thu Oct 12 2006 Garrick Staples <garrick@usc.edu> 2.1.3-1
e4051c
- bump to 2.1.3
e4051c
e4051c
* Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 2.1.2-3
e4051c
- FC6 mass rebuild
e4051c
e4051c
* Wed Aug  2 2006 Garrick Staples <garrick@usc.edu> 2.1.2-2
e4051c
- fix incorrect _pam_getpwnam_r usage in pam module
e4051c
e4051c
* Tue Aug  1 2006 Garrick Staples <garrick@usc.edu> 2.1.2-1
e4051c
- bump to 2.1.2
e4051c
- fix bz #200830
e4051c
- enable new pam module
e4051c
e4051c
* Thu Jun 22 2006 Garrick Staples <garrick@usc.edu> 2.1.1-3
e4051c
- rebuild
e4051c
e4051c
* Thu Jun 22 2006 Garrick Staples <garrick@usc.edu> 2.1.1-2
e4051c
- rebuild with added README-localhost
e4051c
e4051c
* Thu Jun 22 2006 Garrick Staples <garrick@usc.edu> 2.1.1-1
e4051c
- bump to 2.1.1
e4051c
e4051c
* Mon May 15 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-3
e4051c
- get rid of the annoying "localhost only" package
e4051c
e4051c
* Fri May 12 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-2
e4051c
- fix pbs_server segfault when mom_job_sync is enabled
e4051c
e4051c
* Thu May 11 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-1
e4051c
- bump to final release
e4051c
e4051c
* Tue Apr 25 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.11.200604251602cvs
e4051c
- bump to fix "mem" job resources for non-serial jobs
e4051c
- rm.h is now installed
e4051c
e4051c
* Fri Apr 21 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.10.200604211036cvs
e4051c
- bump
e4051c
e4051c
* Fri Apr 21 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.9.200604171430cvs
e4051c
- fix qsub write return check
e4051c
e4051c
* Thu Apr 20 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.8.200604171430cvs
e4051c
- fix pbs_sched error opening lockfile and immediately exiting
e4051c
e4051c
* Mon Apr 17 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.7.200604171430cvs
e4051c
- importing to fedora extras
e4051c
e4051c
* Mon Apr 17 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.6.200604171430cvs
e4051c
- add %%{dist} tag
e4051c
- cleanup the cleanups in spec
e4051c
- bump to matching upstream
e4051c
- move headers to /usr/include/torque/
e4051c
e4051c
* Wed Apr 12 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.5.200604071240cvs
e4051c
- remove rpath
e4051c
e4051c
* Tue Apr 11 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.4.200604071240cvs
e4051c
- fix release string to match fedora guidelines
e4051c
e4051c
* Fri Apr  7 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.3.200604071240
e4051c
- spec and initscript cleanups
e4051c
e4051c
* Wed Apr  5 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.2.200604051756
e4051c
- add .desktop files
e4051c
e4051c
* Wed Apr  5 2006 Garrick Staples <garrick@usc.edu> 2.1.0p0-0.1.200604051756
e4051c
- Initial package for Fedora Extras
e4051c
e4051c