Blame SPECS/torque.spec

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