From 27b007d689e5b548c450b1fcae5be6b70a3d5ee6 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Thu, 9 Dec 2010 22:35:58 +0100 Subject: [PATCH] - Move man pages from doc subpackage to relavent sub package. --- torque.spec | 104 ++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 51 deletions(-) diff --git a/torque.spec b/torque.spec index 7e79c9f..c985533 100644 --- a/torque.spec +++ b/torque.spec @@ -452,6 +452,9 @@ rm -rf %{buildroot}%{_defaultdocdir}/torque-drmaa/latex/* rm %{buildroot}%{_defaultdocdir}/torque-drmaa/drmaa.pdf %endif +#Remove man page for binary that is not included. +rm %{buildroot}%{_mandir}/man1/basl2c.1 + %clean rm -rf %{buildroot} @@ -545,7 +548,7 @@ fi %{torquehomedir}/server_name %config(noreplace) %{_sysconfdir}/torque/pbs_environment %config(noreplace) %{_sysconfdir}/torque/server_name - +%{_mandir}/man1/pbs.1.* %files client %defattr(-, root, root, -) @@ -565,22 +568,7 @@ fi %if %{use_tcl} %{_bindir}/pbs_tclsh %endif -%{_mandir}/man1/qsub-torque.1.* -%{_mandir}/man1/qalter-torque.1.* -%{_mandir}/man1/qdel-torque.1.* -%{_mandir}/man1/qhold-torque.1.* -%{_mandir}/man1/qrls-torque.1.* -%{_mandir}/man1/qselect-torque.1.* -%{_mandir}/man1/qstat-torque.1.* - - -%files docs -%defattr(-, root, root, -) -%doc doc/admin_guide.ps -%doc src/drmaa/drmaa.pdf -%{_mandir}/man1/basl2c.1.* %{_mandir}/man1/nqs2pbs.1.* -%{_mandir}/man1/pbs.1.* %{_mandir}/man1/pbsdsh.1.* %{_mandir}/man1/qchkpt.1.* %{_mandir}/man1/qmgr.1.* @@ -589,40 +577,13 @@ fi %{_mandir}/man1/qorder.1.* %{_mandir}/man1/qrerun.1.* %{_mandir}/man1/qsig.1.* -%{_mandir}/man1/xpbs.1.* -%{_mandir}/man1/xpbsmon.1.* -%{_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.* -%{_mandir}/man3/pbs_checkpointjob.3.gz -%{_mandir}/man3/pbs_fbserver.3.gz -%{_mandir}/man3/pbs_get_server_list.3.gz +%{_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.* %{_mandir}/man7/pbs_job_attributes.7.* %{_mandir}/man7/pbs_queue_attributes.7.* %{_mandir}/man7/pbs_resources.7.* @@ -674,6 +635,8 @@ fi %{_libdir}/xpbsmon %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/*.png +%{_mandir}/man1/xpbs.1.* +%{_mandir}/man1/xpbsmon.1.* %endif %files libs @@ -690,8 +653,40 @@ fi %{_includedir}/torque/rpp.h %{_includedir}/torque/tm.h %{_includedir}/torque/tm_.h - %{_bindir}/pbs-config +%{_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/pbs_checkpointjob.3.gz +%{_mandir}/man3/pbs_fbserver.3.gz +%{_mandir}/man3/pbs_get_server_list.3.gz +%{_mandir}/man3/rpp.3.* +%{_mandir}/man3/tm.3.* + %files mom %defattr(-, root, root, -) @@ -710,6 +705,7 @@ fi %dir %{_var}/log/torque %dir %{_var}/log/torque/mom_logs %dir %{_sysconfdir}/torque/mom +%{_mandir}/man8/pbs_mom.8.* %config(noreplace) %{_sysconfdir}/torque/mom/config %files pam @@ -727,6 +723,10 @@ fi %{torquehomedir}/sched_logs %dir %{_var}/log/torque/sched_logs %dir %{_sysconfdir}/torque/sched +%{_mandir}/man8/pbs_sched.8.* +%{_mandir}/man8/pbs_sched_basl.8.* +%{_mandir}/man8/pbs_sched_cc.8.* +%{_mandir}/man8/pbs_sched_tcl.8.* %config(noreplace) %{_sysconfdir}/torque/sched/dedicated_time %config(noreplace) %{_sysconfdir}/torque/sched/holidays %config(noreplace) %{_sysconfdir}/torque/sched/resource_group @@ -741,6 +741,7 @@ fi %dir %{_var}/log/torque/server_logs %{torquehomedir}/server_logs %{torquehomedir}/server_priv +%{_mandir}/man8/pbs_server.8.* %files drmaa %defattr(-, root, root, -) @@ -777,6 +778,7 @@ fi %changelog * Wed Dec 8 2010 Steve Traylen - 2.5.3-3 +- Move man pages from doc subpackage to relavent sub package. - Enable drmaa support and add drmaa sub packages. * Wed Dec 8 2010 Steve Traylen - 2.5.3-2