Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kisielk
torque
torque.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File torque.spec of Package torque
# # spec file for package torque (Version 2.3.6) # # Copyright (c) 2007-2009 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/ # # norootforbuild Name: torque Version: 2.3.6 Release: 0 # License: Other License(s), see package Group: Productivity/Clustering/Computing # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pam-devel readline-devel tk-devel xorg-x11-devel sed %define torque_home_dir /var/spool/torque # Workaround until permissions are allowed again Conflicts: pbspro, openpbs, openpbs-oscar, OpenPBS Provides: pbs-docs = %{version} Obsoletes: scatorque # Url: http://www.clusterresources.com/pages/products/torque-resource-manager.php Source: http://www.clusterresources.com/downloads/torque/%{name}-%{version}.tar.bz2 Source1: %{name}-%{version}-rpmlintrc Source2: torque.permissions Patch1: cpuset-rpmlint.patch # Summary: Tera-scale Open-source Resource and QUEue manager %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 Group: Productivity/Clustering/Computing Summary: Run-time library files for TORQUE %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 Group: Productivity/Clustering/Computing Requires: %{name} = %{version} Provides: lib%{name}-devel # Summary: Development files for TORQUE %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 Group: Productivity/Clustering/Computing Requires: %{name} = %{version} Provides: pbs-scheduler = %{version} # Summary: Scheduler part of Torque %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 Group: Productivity/Clustering/Computing Requires: %{name} = %{version} Provides: pbs-server = %{version} # Summary: Server part of Torque %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 Group: Productivity/Clustering/Computing Requires: %{name} = %{version} Provides: pbs-mom = %{version} # Summary: Execution part of Torque %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 client Group: Productivity/Clustering/Computing Requires: %{name} = %{version} Provides: pbs-client = %{version} # Summary: Client part of Torque %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 Group: Productivity/Clustering/Computing Requires: %{name}-client = %{version} Provides: xpbs = %{version} Provides: xpbsmon = %{version} # Summary: Graphical client part of Torque %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 Group: Productivity/Clustering/Computing Requires: %{name} = %{version} # Summary: PAM module for PBS MOM nodes %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 %patch1 %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 -std=gnu99" %if 0%{suse_version} > 1010 export CFLAGS="$CFLAGS -fstack-protector" %endif %configure \ --includedir=%{_includedir}/%{name}/ \ --disable-static \ --with-rcp=%{_bindir}/scp \ --with-server-home=%{torque_home_dir} \ --enable-docs \ --enable-syslog \ --enable-tcl-qstat \ --enable-clients \ --with-tcl=%{_libdir} --with-tk=%{_libdir} --enable-gui \ --with-pam=/%{_lib}/security \ --with-qstatrc-file=%{_sysconfdir}/%{name}/qstatrc %{__make} # silence RPMlint error: Doc with executable bit %{__chmod} 0644 torque.setup %install %makeinstall # 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 initscripts initpre="suse." %{__install} -d -m 0755 %{buildroot}%{_initrddir} for initscript in pbs_mom pbs_sched pbs_server; 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 %{__rm} -rv contrib/init.d/ # remove config file %{__rm} -f %{buildroot}/%{torque_home_dir}/server_name %clean %{__rm} -rf %{buildroot} %post [ -f %{torque_home_dir}/server_name ] || hostname > %{torque_home_dir}/server_name %run_permissions %post -n libtorque2 /sbin/ldconfig %postun -n libtorque2 /sbin/ldconfig # %preun scheduler %stop_on_removal pbs_sched %post scheduler %fillup_and_insserv -f pbs_sched %run_permissions %postun scheduler %insserv_cleanup %restart_on_update pbs_sched # %preun server %stop_on_removal pbs_server %post server %fillup_and_insserv -f pbs_server %run_permissions %postun server %insserv_cleanup %restart_on_update pbs_server # %preun mom %stop_on_removal pbs_mom %post mom %fillup_and_insserv -f pbs_mom %run_permissions %postun mom %insserv_cleanup %restart_on_update pbs_mom %files %defattr(-,root,root,-) %config %{_sysconfdir}/permissions.d/%{name} # man pages %{_mandir}/man1/basl2c.1* %{_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 INSTALL README.torque torque.setup Release_Notes CHANGELOG PBS_License.txt %doc doc/admin_guide.ps %doc contrib/ %files -n libtorque2 %defattr(-,root,root,-) # libs %{_libdir}/libtorque.so.* %files client %defattr(-,root,root,-) %{_bindir}/pbs_track %{_bindir}/qalter %{_bindir}/qdel %{_bindir}/qdisable %{_bindir}/qenable %{_bindir}/qhold %{_bindir}/qmgr %{_bindir}/qmove %{_bindir}/qmsg %{_bindir}/qorder %{_bindir}/qnodes %{_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 %{_sbindir}/pbs_iff %{_bindir}/pbs_tclsh %{_mandir}/man1/nqs2pbs.1* %{_mandir}/man1/pbs.1* %{_mandir}/man1/pbsdsh.1* %{_mandir}/man1/qalter.1* %{_mandir}/man1/qdel.1* %{_mandir}/man1/qhold.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,-) %config %{_initrddir}/pbs_mom %{_sbindir}/qnoded %{_sbindir}/rcpbs_mom %{_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 %dir %{torque_home_dir}/checkpoint %dir %{torque_home_dir}/undelivered %files server %defattr(-,root,root,-) %config %{_initrddir}/pbs_server %{_sbindir}/qserverd %{_sbindir}/rcpbs_server %{_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/jobs %dir %{torque_home_dir}/server_priv/hostlist %dir %{torque_home_dir}/server_priv/queues %dir %{torque_home_dir}/server_priv/disallowed_types %files gui %defattr(-,root,root,-) %{_bindir}/pbs_wish %{_bindir}/xpbs %{_bindir}/xpbsmon %{_libdir}/xpbs %config %{_libdir}/xpbsmon/xpbsmonrc %{_libdir}/xpbsmon/buildindex %{_libdir}/xpbsmon/bitmaps %{_libdir}/xpbsmon/help %{_libdir}/xpbsmon/tclIndex %{_libdir}/xpbsmon/*.tcl %{_libdir}/xpbsmon/*.tk %{_libdir}/xpbsmon %{_mandir}/man1/xpbs.1* %{_mandir}/man1/xpbsmon.1* %files scheduler %defattr(-,root,root,-) %config %{_initrddir}/pbs_sched %{_sbindir}/qschedd %{_sbindir}/rcpbs_sched %{_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 %dir %{_includedir}/%{name}/ %{_includedir}/%{name}/pbs_error.h %{_includedir}/%{name}/pbs_ifl.h %{_includedir}/%{name}/rm.h %{_includedir}/%{name}/rpp.h %{_includedir}/%{name}/tm.h %{_includedir}/%{name}/tm_.h %{_libdir}/libtorque.so %{_mandir}/man3/pbs_alterjob.3* %{_mandir}/man3/pbs_connect.3* %{_mandir}/man3/pbs_default.3* %{_mandir}/man3/pbs_deljob.3* %{_mandir}/man3/pbs_disconnect.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/rpp.3* %{_mandir}/man3/tm.3* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor