File torque.spec of Package torque
#
# spec file for package torque
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%if 0%{?suse_version} >= 1220
%define with_systemd 1
%else
%define with_systemd 0
%endif
Name: torque
Version: 5.1.3
Release: 0
#
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: boost-devel
BuildRequires: gcc-c++
BuildRequires: fdupes
%if 0%{sles_version}
BuildRequires: libbitmask-devel
%endif
%if 0%{?suse_version} >= 1110
BuildRequires: libhwloc-devel
%else
BuildRequires: libcpuset-devel
%endif
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel
BuildRequires: readline-devel
BuildRequires: sed
BuildRequires: sendmail
%if %{with_systemd}
%{?systemd_requires}
BuildRequires: systemd
%endif
BuildRequires: tk-devel
BuildRequires: xorg-x11-devel
PreReq: permissions
%define torque_home_dir /var/spool/torque
# Workaround until permissions are allowed again
Conflicts: pbspro, openpbs, openpbs-oscar, OpenPBS
Provides: pbs-docs = %{version}
Url: http://www.adaptivecomputing.com/products/open-source/torque/
Source: http://www.adaptivecomputing.com/downloads/torque/%{name}-%{version}-1462984387_205d70d.tar.gz
Source1: %{name}.rpmlintrc
Source2: torque.permissions
Source3: pbs_server.susefirewall
Source4: pbs_mom.susefirewall
Source5: pbs_mom.sysconfig
# PATCH-FEATURE-OPENSUSE torque-4.1.5.1-init.patch : Allow user to set memlock with
# sysconfig since infiniband hardware requires unlimited memlock to work
Patch0: torque-4.1.5.1-init.patch
#
Summary: Tera-scale Open-source Resource and QUEue manager
License: Other License(s), see package
Group: Productivity/Clustering/Computing
%description
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package holds just a few shared files and directories.
%package -n libtorque2
Summary: Run-time library files for TORQUE
Group: Productivity/Clustering/Computing
%description -n libtorque2
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package just holds the shared library.
%package devel
Requires: %{name} = %{version}
Requires: libtorque2 = %{version}
Provides: lib%{name}-devel
#
Summary: Development files for TORQUE
Group: Development/Libraries/Other
%description devel
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package includes the header files and static libraries
necessary for developing programs which will use %{name}.
%package scheduler
Requires: %{name} = %{version}
Provides: pbs-scheduler = %{version}
%if %{with_systemd}
%{?systemd_requires}
%else
PreReq: %insserv_prereq %fillup_prereq
%endif
#
Summary: Scheduler part of Torque
Group: Productivity/Clustering/Computing
%description scheduler
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package holds the fifo C scheduler.
%package server
Requires: %{name} = %{version}
Requires: pbs-trqauthd = %{version}
Provides: pbs-server = %{version}
%if %{with_systemd}
%{?systemd_requires}
%else
PreReq: %insserv_prereq %fillup_prereq
%endif
#
Summary: Server part of Torque
Group: Productivity/Clustering/Computing
%description server
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package holds the server.
%package mom
Requires: %{name} = %{version}
Provides: pbs-mom = %{version}
PreReq: permissions
%if %{with_systemd}
%{?systemd_requires}
%else
PreReq: %insserv_prereq %fillup_prereq
%endif
#
Summary: Execution part of Torque
Group: Productivity/Clustering/Computing
%description mom
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package holds the execute daemon required on every node.
%package trqauthd
Requires: %{name} = %{version}
Provides: pbs-trqauthd = %{version}
%if %{with_systemd}
%{?systemd_requires}
%else
PreReq: %insserv_prereq %fillup_prereq
%endif
#
Summary: Torque Authorization Daemon
Group: Productivity/Clustering/Computing
%description trqauthd
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package holds the Torque Authorization Daemon, which is used by the PBS
server to authorize client connections.
%package client
Requires: %{name} = %{version}
Requires: pbs-trqauthd = %{version}
Provides: pbs-client = %{version}
PreReq: permissions
#
Summary: Client part of Torque
Group: Productivity/Clustering/Computing
%description client
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package holds the command-line client programs.
%package gui
Requires: %{name}-client = %{version}
Provides: xpbs = %{version}
Provides: xpbsmon = %{version}
#
Summary: Graphical client part of Torque
Group: Productivity/Clustering/Computing
%description gui
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
This package holds the graphical clients.
%package pam
Requires: %{name} = %{version}
#
Summary: PAM module for PBS MOM nodes
Group: Productivity/Clustering/Computing
%description pam
TORQUE is an open source resource manager providing control over batch jobs and
distributed compute nodes. It is a community effort based on the original *PBS
project and, with more than 1,200 patches, has incorporated significant
advances in the areas of scalability, fault tolerance, and feature extensions
contributed by NCSA, OSC, USC , the U.S. Dept of Energy, Sandia, PNNL, U of
Buffalo, TeraGrid, and many other leading edge HPC organizations.
A simple PAM module to authorize users on PBS MOM nodes with a running job.
%prep
%setup -q -n %{name}-%{version}-1462984387_205d70d
%patch0 -p1
%build
# -std=c99 is used as otherwise PBS_CONFIG_ARGS gets longer than allowed
# -std=gnu99 is used as otherwise strdup is not found
export CFLAGS="%{optflags} -fno-strict-aliasing -fstack-protector"
# fix for recent tcl where an old and deprecated feature has been
# removed. Will not work with Tcl >= 9.0
export CFLAGS="$CFLAGS -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE "
%configure \
--includedir=%{_includedir} \
--disable-static \
--with-rcp=%{_bindir}/scp \
--with-server-home=%{torque_home_dir} \
--enable-syslog \
--enable-tcl-qstat \
--enable-clients \
%if 0%{?sles_version} || ( 0%{?suse_version} >= 1315 && 0%{?is_opensuse} == 0 )
--enable-numa-support \
%else
%if 0%{?suse_version} > 1110
--enable-cpuset \
%else
--enable-libcpuset \
%endif
%endif
--enable-nvidia-gpus \
--with-tcl=%{_libdir} --with-tk=%{_libdir} --enable-gui \
--with-pam=/%{_lib}/security \
--with-qstatrc-file=%{_sysconfdir}/%{name}/qstatrc
make
make -C contrib/blcr/
# silence RPMlint error: Doc with executable bit
chmod 0644 torque.setup contrib/blcr/checkpoint_script contrib/blcr/restart_script
chmod 0644 *.py
# RPMlint error: DOS linebreaks
perl -pi -e 's/\r\n/\n/' contrib/showjobs
perl -pi -e 's/\r\n/\n/' README.trqauthd
%install
# Install
%makeinstall
# Remove build files from documentation
rm -f contrib/blcr/{Makefile,Makefile.am,Makefile.in,checkpoint_script.in,restart_script.in}
# cleanup libtool la files
rm -f %{buildroot}/%{_lib}/security/pam_pbssimpleauth.la %{buildroot}%{_libdir}/libtorque.la
#
install -D -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/permissions.d/%{name}
#
# install sytemd or initscripts
%if %{with_systemd}
mkdir -p %{buildroot}%{_unitdir}
for initscript in pbs_mom pbs_sched pbs_server trqauthd; do
install -p -m644 contrib/systemd/$initscript.service %{buildroot}%{_unitdir}
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc$initscript
done
%else
initpre="suse."
install -d -m 0755 %{buildroot}%{_initrddir}
for initscript in pbs_mom pbs_sched pbs_server trqauthd; do
sed -e 's|^PBS_HOME=.*|PBS_HOME=%{torque_home_dir}|' \
-e 's|^PBS_DAEMON=.*|PBS_DAEMON=%{_sbindir}/'$initscript'|' \
< contrib/init.d/$initpre$initscript > %{buildroot}%{_initrddir}/$initscript
chmod 0755 %{buildroot}%{_initrddir}/$initscript
ln -s -f %{_initrddir}/$initscript %{buildroot}%{_sbindir}/rc$initscript
done
%endif
rm -rv contrib/systemd
rm -rv contrib/init.d
# remove config file
rm -f %{buildroot}/%{torque_home_dir}/server_name
# install sysconfig file
mkdir -p %{buildroot}/var/adm/fillup-templates
install -p -m644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.pbs_mom
# SuSEfirewall definitions
install -D -m 0644 %{S:3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/pbs_server
install -D -m 0644 %{S:4} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/pbs_mom
# Install mandatory directory not created by make install
[ ! -d %{buildroot}%{torque_home_dir}/server_priv/credentials ] && \
mkdir -p %{buildroot}%{torque_home_dir}/server_priv/credentials
# various tools in contrib directory
for f in qpeek pbstop showjobs mom_gencfg; do
install -D -m 0755 contrib/$f %{buildroot}%{_bindir}/$f
rm contrib/$f
done
install -D -m 0755 contrib/diag/tdiag.sh %{buildroot}%{_bindir}/tdiag.sh
rm contrib/diag/tdiag.sh
# remove uneedded contrib files
rm contrib/hwloc_install.sh
# remove rpath from pbs-config script
sed -i 's/-Wl,-rpath//' %{buildroot}%{_bindir}/pbs-config
# Remove duplicates
%fdupes -s %{buildroot}%{_libdir}
%fdupes -s %{buildroot}%{_mandir}
%post
[ -f %{torque_home_dir}/server_name ] || hostname > ./%{torque_home_dir}/server_name
%if 0%{?set_permissions:1} > 0
%set_permissions %{torque_home_dir}/spool/
%else
%run_permissions
%endif
%if 0%{?suse_version} >= 1120
%verifyscript
%verify_permissions -e %{torque_home_dir}/spool/
%endif
%post -n libtorque2 -p /sbin/ldconfig
%postun -n libtorque2 -p /sbin/ldconfig
%if %{with_systemd}
%pre scheduler
%service_add_pre pbs_sched.service
%endif
%preun scheduler
%if %{with_systemd}
%service_del_preun pbs_sched.service
%else
%stop_on_removal pbs_sched
%endif
%post scheduler
%if %{with_systemd}
%service_add_post pbs_sched.service
%else
%fillup_and_insserv -f pbs_sched
%endif
%postun scheduler
%if %{with_systemd}
%service_del_postun pbs_sched.service
%else
%insserv_cleanup
%restart_on_update pbs_sched
%endif
#
%if %{with_systemd}
%pre server
%service_add_pre pbs_server.service
%endif
%preun server
%if %{with_systemd}
%service_del_preun pbs_server.service
%else
%stop_on_removal pbs_server
%endif
%post server
%if %{with_systemd}
%service_add_post pbs_server.service
%else
%fillup_and_insserv -f pbs_server
%endif
%postun server
%if %{with_systemd}
%service_del_postun pbs_server.service
%else
%insserv_cleanup
%restart_on_update pbs_server
%endif
#
%if %{with_systemd}
%pre mom
%service_add_pre pbs_mom.service
%endif
%preun mom
%if %{with_systemd}
%service_del_preun pbs_mom.service
%else
%stop_on_removal pbs_mom
%endif
%post mom
%if %{with_systemd}
%service_del_postun pbs_mom.service
%else
%fillup_and_insserv -f pbs_mom
%endif
%if 0%{?set_permissions:1} > 0
%set_permissions %{torque_home_dir}/undelivered/
%set_permissions %{torque_home_dir}/checkpoint/
%else
%run_permissions
%endif
%postun mom
%if %{with_systemd}
%service_del_postun pbs_mom.service
%else
%insserv_cleanup
%restart_on_update pbs_mom
%endif
%if 0%{?suse_version} >= 1120
%verifyscript mom
%verify_permissions -e %{torque_home_dir}/undelivered/ -e %{torque_home_dir}/checkpoint/
%endif
#
%if %{with_systemd}
%pre trqauthd
%service_add_pre trqauthd.service
%endif
%preun trqauthd
%if %{with_systemd}
%service_del_preun trqauthd.service
%else
%stop_on_removal trqauthd
%endif
%post trqauthd
%if %{with_systemd}
%service_del_postun trqauthd.service
%else
%fillup_and_insserv -f trqauthd
%endif
%postun trqauthd
%if %{with_systemd}
%service_del_postun trqauthd.service
%else
%insserv_cleanup
%restart_on_update trqauthd
%endif
%files
%defattr(-,root,root,-)
%config %{_sysconfdir}/permissions.d/%{name}
# man pages
%{_mandir}/man1/basl2c.1*
%{_mandir}/man3/pbs_gpumode.3*
%{_mandir}/man3/pbs_gpureset.3*
%{_mandir}/man7/pbs_job_attributes.7*
%{_mandir}/man7/pbs_queue_attributes.7*
%{_mandir}/man7/pbs_resources.7*
%{_mandir}/man7/pbs_resources_aix4.7*
%{_mandir}/man7/pbs_resources_aix5.7*
%{_mandir}/man7/pbs_resources_darwin.7*
%{_mandir}/man7/pbs_resources_digitalunix.7*
%{_mandir}/man7/pbs_resources_freebsd.7*
%{_mandir}/man7/pbs_resources_fujitsu.7*
%{_mandir}/man7/pbs_resources_hpux10.7*
%{_mandir}/man7/pbs_resources_hpux11.7*
%{_mandir}/man7/pbs_resources_irix5.7*
%{_mandir}/man7/pbs_resources_irix6.7*
%{_mandir}/man7/pbs_resources_irix6array.7*
%{_mandir}/man7/pbs_resources_linux.7*
%{_mandir}/man7/pbs_resources_netbsd.7*
%{_mandir}/man7/pbs_resources_solaris5.7*
%{_mandir}/man7/pbs_resources_solaris7.7*
%{_mandir}/man7/pbs_resources_sp2.7*
%{_mandir}/man7/pbs_resources_sunos4.7*
%{_mandir}/man7/pbs_resources_unicos8.7*
%{_mandir}/man7/pbs_resources_unicosmk2.7*
%{_mandir}/man7/pbs_server_attributes.7*
# datadirs
%dir %{torque_home_dir}
%dir %{torque_home_dir}/aux
%dir %{torque_home_dir}/spool
%config(noreplace) %{torque_home_dir}/pbs_environment
#
# documentation
%doc README.torque README.trqauthd torque.setup Release_Notes CHANGELOG PBS_License.txt
%doc README.NUMA README.new_in_51
%doc doc/admin_guide.ps
%doc contrib/
%doc run_report.py parse_cov_results.py cov_file_results.py
%files -n libtorque2
%defattr(-,root,root,-)
# libs
%{_libdir}/libtorque.so.*
%files client
%defattr(-,root,root,-)
%{_bindir}/pbs_track
%{_bindir}/pbstop
%{_bindir}/qalter
%{_bindir}/qchkpt
%{_bindir}/qdel
%{_bindir}/qdisable
%{_bindir}/qenable
%{_bindir}/qgpumode
%{_bindir}/qgpureset
%{_bindir}/qhold
%{_bindir}/qmgr
%{_bindir}/qmove
%{_bindir}/qmsg
%{_bindir}/qorder
%{_bindir}/qnodes
%{_bindir}/qpeek
%{_bindir}/qrerun
%{_bindir}/qrls
%{_bindir}/qrun
%{_bindir}/qselect
%{_bindir}/qsig
%{_bindir}/qstart
%{_bindir}/qstat
%{_bindir}/qstop
%{_bindir}/qsub
%{_bindir}/qterm
%{_bindir}/chk_tree
%{_bindir}/hostn
%{_bindir}/nqs2pbs
%{_bindir}/pbsdsh
%{_bindir}/pbsnodes
%{_bindir}/printjob
%{_bindir}/printserverdb
%{_bindir}/printtracking
%{_bindir}/tracejob
%{_sbindir}/pbs_demux
%{_bindir}/pbs_tclsh
%{_bindir}/showjobs
%{_mandir}/man1/nqs2pbs.1*
%{_mandir}/man1/pbs.1*
%{_mandir}/man1/pbsdsh.1*
%{_mandir}/man1/qalter.1*
%{_mandir}/man1/qchkpt.1*
%{_mandir}/man1/qdel.1*
%{_mandir}/man1/qhold.1*
%{_mandir}/man1/qgpumode.1*
%{_mandir}/man1/qgpureset.1*
%{_mandir}/man1/qmgr.1*
%{_mandir}/man1/qmove.1*
%{_mandir}/man1/qmsg.1*
%{_mandir}/man1/qorder.1*
%{_mandir}/man1/qrerun.1*
%{_mandir}/man1/qrls.1*
%{_mandir}/man1/qselect.1*
%{_mandir}/man1/qsig.1*
%{_mandir}/man1/qstat.1*
%{_mandir}/man1/qsub.1*
%{_mandir}/man8/pbsnodes.8*
%{_mandir}/man8/qdisable.8*
%{_mandir}/man8/qenable.8*
%{_mandir}/man8/qrun.8*
%{_mandir}/man8/qstart.8*
%{_mandir}/man8/qstop.8*
%{_mandir}/man8/qterm.8*
%files mom
%defattr(-,root,root,-)
%if %{with_systemd}
%config %{_unitdir}/pbs_mom.service
%else
%config %{_initrddir}/pbs_mom
%endif
%{_sbindir}/rcpbs_mom
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/pbs_mom
%config /var/adm/fillup-templates/sysconfig.pbs_mom
%{_bindir}/mom_gencfg
%{_sbindir}/qnoded
%{_sbindir}/pbs_mom
%{_mandir}/man8/pbs_mom.8*
%dir %{torque_home_dir}/mom_logs
%dir %{torque_home_dir}/mom_priv
%dir %{torque_home_dir}/mom_priv/jobs
%verify(not mode) %attr(1777,root,root) %dir %{torque_home_dir}/checkpoint
%verify(not mode) %attr(1777,root,root) %dir %{torque_home_dir}/undelivered
%files trqauthd
%defattr(-,root,root,-)
%if %{with_systemd}
%config %{_unitdir}/trqauthd.service
%else
%config %{_initrddir}/trqauthd
%endif
%{_sbindir}/rctrqauthd
%{_sbindir}/trqauthd
%files server
%defattr(-,root,root,-)
%if %{with_systemd}
%config %{_unitdir}/pbs_server.service
%else
%config %{_initrddir}/pbs_server
%endif
%{_sbindir}/rcpbs_server
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/pbs_server
%{_bindir}/tdiag.sh
%{_sbindir}/qserverd
%{_sbindir}/pbs_server
%{_sbindir}/momctl
%{_mandir}/man8/pbs_server.8*
%dir %{torque_home_dir}/server_logs
%dir %{torque_home_dir}/server_priv
%dir %{torque_home_dir}/server_priv/accounting
%dir %{torque_home_dir}/server_priv/arrays
%dir %{torque_home_dir}/server_priv/acl_groups
%dir %{torque_home_dir}/server_priv/acl_hosts
%dir %{torque_home_dir}/server_priv/acl_users
%dir %{torque_home_dir}/server_priv/acl_svr
%dir %{torque_home_dir}/server_priv/credentials
%dir %{torque_home_dir}/server_priv/jobs
%dir %{torque_home_dir}/server_priv/hostlist
%dir %{torque_home_dir}/server_priv/queues
%dir %{torque_home_dir}/server_priv/disallowed_types
%config(noreplace) %{torque_home_dir}/server_priv/nodes
%files gui
%defattr(-,root,root,-)
%{_bindir}/pbs_wish
%{_bindir}/xpbs
%{_bindir}/xpbsmon
%{_libdir}/xpbs
%config %{_libdir}/xpbsmon/xpbsmonrc
%dir %{_libdir}/xpbsmon
%{_libdir}/xpbsmon/buildindex
%{_libdir}/xpbsmon/bitmaps
%{_libdir}/xpbsmon/help
%{_libdir}/xpbsmon/tclIndex
%{_libdir}/xpbsmon/*.tcl
%{_libdir}/xpbsmon/*.tk
%{_mandir}/man1/xpbs.1*
%{_mandir}/man1/xpbsmon.1*
%files scheduler
%defattr(-,root,root,-)
%if %{with_systemd}
%config %{_unitdir}/pbs_sched.service
%else
%config %{_initrddir}/pbs_sched
%endif
%{_sbindir}/rcpbs_sched
%{_sbindir}/qschedd
%{_sbindir}/pbs_sched
%dir %{torque_home_dir}/sched_logs
%dir %{torque_home_dir}/sched_priv
%dir %{torque_home_dir}/sched_priv/accounting
%config(noreplace) %{torque_home_dir}/sched_priv/dedicated_time
%config(noreplace) %{torque_home_dir}/sched_priv/sched_config
%config(noreplace) %{torque_home_dir}/sched_priv/holidays
%config(noreplace) %{torque_home_dir}/sched_priv/resource_group
%{_mandir}/man8/pbs_sched.8*
%{_mandir}/man8/pbs_sched_basl.8*
%{_mandir}/man8/pbs_sched_cc.8*
%{_mandir}/man8/pbs_sched_tcl.8*
%files pam
%defattr(-,root,root,-)
%doc src/pam/README.pam
/%{_lib}/security/pam_pbssimpleauth.so
%files devel
%defattr(-,root,root,-)
%{_bindir}/pbs-config
%{_includedir}/*.h
%{_libdir}/libtorque.so
%{_mandir}/man3/pbs_alterjob.3*
%{_mandir}/man3/pbs_checkpointjob.3*
%{_mandir}/man3/pbs_connect.3*
%{_mandir}/man3/pbs_default.3*
%{_mandir}/man3/pbs_deljob.3*
%{_mandir}/man3/pbs_disconnect.3*
%{_mandir}/man3/pbs_fbserver.3*
%{_mandir}/man3/pbs_get_server_list.3*
%{_mandir}/man3/pbs_geterrmsg.3*
%{_mandir}/man3/pbs_holdjob.3*
%{_mandir}/man3/pbs_locate.3*
%{_mandir}/man3/pbs_manager.3*
%{_mandir}/man3/pbs_movejob.3*
%{_mandir}/man3/pbs_msgjob.3*
%{_mandir}/man3/pbs_orderjob.3*
%{_mandir}/man3/pbs_rerunjob.3*
%{_mandir}/man3/pbs_rescquery.3*
%{_mandir}/man3/pbs_rescreserve.3*
%{_mandir}/man3/pbs_rlsjob.3*
%{_mandir}/man3/pbs_runjob.3*
%{_mandir}/man3/pbs_selectjob.3*
%{_mandir}/man3/pbs_selstat.3*
%{_mandir}/man3/pbs_sigjob.3*
%{_mandir}/man3/pbs_stagein.3*
%{_mandir}/man3/pbs_statjob.3*
%{_mandir}/man3/pbs_statnode.3*
%{_mandir}/man3/pbs_statque.3*
%{_mandir}/man3/pbs_statserver.3*
%{_mandir}/man3/pbs_submit.3*
%{_mandir}/man3/pbs_terminate.3*
%{_mandir}/man3/tm.3*
%changelog