pbspro.spec.in 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. #
  2. # Copyright (C) 1994-2018 Altair Engineering, Inc.
  3. # For more information, contact Altair at www.altair.com.
  4. #
  5. # This file is part of the PBS Professional ("PBS Pro") software.
  6. #
  7. # Open Source License Information:
  8. #
  9. # PBS Pro is free software. You can redistribute it and/or modify it under the
  10. # terms of the GNU Affero General Public License as published by the Free
  11. # Software Foundation, either version 3 of the License, or (at your option) any
  12. # later version.
  13. #
  14. # PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
  15. # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  16. # FOR A PARTICULAR PURPOSE.
  17. # See the GNU Affero General Public License for more details.
  18. #
  19. # You should have received a copy of the GNU Affero General Public License
  20. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. #
  22. # Commercial License Information:
  23. #
  24. # For a copy of the commercial license terms and conditions,
  25. # go to: (http://www.pbspro.com/UserArea/agreement.html)
  26. # or contact the Altair Legal Department.
  27. #
  28. # Altair’s dual-license business model allows companies, individuals, and
  29. # organizations to create proprietary derivative works of PBS Pro and
  30. # distribute them - whether embedded or bundled with other software -
  31. # under a commercial license agreement.
  32. #
  33. # Use of Altair’s trademarks, including but not limited to "PBS™",
  34. # "PBS Professional®", and "PBS Pro™" and Altair’s logos is subject to Altair's
  35. # trademark licensing policies.
  36. #
  37. %if !%{defined pbs_name}
  38. %define pbs_name pbspro
  39. %endif
  40. %if !%{defined pbs_version}
  41. %define pbs_version @PBS_VERSION@
  42. %endif
  43. %if !%{defined pbs_release}
  44. %define pbs_release 0
  45. %endif
  46. %if !%{defined pbs_prefix}
  47. %define pbs_prefix /opt/pbs
  48. %endif
  49. %if !%{defined pbs_home}
  50. %define pbs_home /var/spool/pbs
  51. %endif
  52. %if !%{defined pbs_dbuser}
  53. %define pbs_dbuser postgres
  54. %endif
  55. %define pbs_client client
  56. %define pbs_execution execution
  57. %define pbs_server server
  58. %define pbs_dist %{pbs_name}-%{pbs_version}.tar.gz
  59. %if !%{defined _unitdir}
  60. %define _unitdir @_unitdir@
  61. %endif
  62. %if %{_vendor} == debian && %(test -f /etc/os-release && echo 1 || echo 0)
  63. %define _vendor_ver %(cat /etc/os-release | awk -F[=\\".] '/^VERSION_ID=/ {print \$3}')
  64. %define _vendor_id %(cat /etc/os-release | awk -F= '/^ID=/ {print \$2}')
  65. %endif
  66. %if 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7 || (x%{?_vendor_id} == xdebian && 0%{?_vendor_ver} >= 8) || (x%{?_vendor_id} == xubuntu && 0%{?_vendor_ver} >= 16)
  67. %define have_systemd 1
  68. %endif
  69. Name: %{pbs_name}
  70. Version: %{pbs_version}
  71. Release: %{pbs_release}
  72. Source0: %{pbs_dist}
  73. Summary: PBS Professional
  74. License: AGPLv3 with exceptions
  75. URL: http://www.pbspro.org
  76. Vendor: Altair Engineering, Inc.
  77. Prefix: %{?pbs_prefix}%{!?pbs_prefix:%{_prefix}}
  78. %bcond_with alps
  79. %bcond_with cpuset
  80. %bcond_with ptl
  81. BuildRoot: %{buildroot}
  82. BuildRequires: gcc
  83. BuildRequires: make
  84. BuildRequires: rpm-build
  85. BuildRequires: autoconf
  86. BuildRequires: automake
  87. BuildRequires: libtool
  88. BuildRequires: hwloc-devel < 2.0
  89. BuildRequires: libX11-devel
  90. BuildRequires: libXt-devel
  91. BuildRequires: libedit-devel
  92. BuildRequires: libical-devel
  93. BuildRequires: ncurses-devel
  94. BuildRequires: perl
  95. BuildRequires: postgresql-devel
  96. BuildRequires: postgresql-contrib
  97. BuildRequires: python-devel >= 2.6
  98. BuildRequires: python-devel < 3.0
  99. BuildRequires: tcl-devel
  100. BuildRequires: tk-devel
  101. BuildRequires: swig
  102. BuildRequires: zlib-devel
  103. %if %{defined suse_version}
  104. BuildRequires: libexpat-devel
  105. BuildRequires: libopenssl-devel
  106. BuildRequires: libXext-devel
  107. BuildRequires: libXft-devel
  108. BuildRequires: fontconfig
  109. BuildRequires: timezone
  110. BuildRequires: python-xml
  111. %else
  112. BuildRequires: expat-devel
  113. BuildRequires: openssl-devel
  114. BuildRequires: libXext
  115. BuildRequires: libXft
  116. %endif
  117. # Pure python extensions use the 32 bit library path
  118. %{!?py_site_pkg_32: %global py_site_pkg_32 %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
  119. %{!?py_site_pkg_64: %global py_site_pkg_64 %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  120. %description
  121. PBS Professional® is a fast, powerful workload manager and
  122. job scheduler designed to improve productivity, optimize
  123. utilization & efficiency, and simplify administration for
  124. HPC clusters, clouds and supercomputers.
  125. %package %{pbs_server}
  126. Summary: PBS Professional for a server host
  127. Group: System Environment/Base
  128. Conflicts: pbspro-execution
  129. Conflicts: pbspro-client
  130. Conflicts: pbspro-client-ohpc
  131. Conflicts: pbspro-execution-ohpc
  132. Conflicts: pbspro-server-ohpc
  133. Conflicts: pbs
  134. Conflicts: pbs-mom
  135. Conflicts: pbs-cmds
  136. Requires: bash
  137. Requires: expat
  138. Requires: postgresql-server
  139. Requires: postgresql-contrib
  140. Requires: python >= 2.6
  141. Requires: python < 3.0
  142. Requires: tcl
  143. Requires: tk
  144. %if %{defined suse_version}
  145. Requires: smtp_daemon
  146. %else
  147. Requires: smtpdaemon
  148. %endif
  149. Requires: hostname
  150. Requires: libical
  151. Autoreq: 1
  152. %description %{pbs_server}
  153. PBS Professional® is a fast, powerful workload manager and
  154. job scheduler designed to improve productivity, optimize
  155. utilization & efficiency, and simplify administration for
  156. HPC clusters, clouds and supercomputers.
  157. This package is intended for a server host. It includes all
  158. PBS Professional components.
  159. %package %{pbs_execution}
  160. Summary: PBS Professional for an execution host
  161. Group: System Environment/Base
  162. Conflicts: pbspro-server
  163. Conflicts: pbspro-client
  164. Conflicts: pbspro-client-ohpc
  165. Conflicts: pbspro-execution-ohpc
  166. Conflicts: pbspro-server-ohpc
  167. Conflicts: pbs
  168. Conflicts: pbs-mom
  169. Conflicts: pbs-cmds
  170. Requires: bash
  171. Requires: expat
  172. Requires: python >= 2.6
  173. Requires: python < 3.0
  174. %if 0%{?suse_version} >= 1500
  175. Requires: hostname
  176. %endif
  177. Autoreq: 1
  178. %description %{pbs_execution}
  179. PBS Professional® is a fast, powerful workload manager and
  180. job scheduler designed to improve productivity, optimize
  181. utilization & efficiency, and simplify administration for
  182. HPC clusters, clouds and supercomputers.
  183. This package is intended for an execution host. It does not
  184. include the scheduler, server, or communication agent. It
  185. does include the PBS Professional user commands.
  186. %package %{pbs_client}
  187. Summary: PBS Professional for a client host
  188. Group: System Environment/Base
  189. Conflicts: pbspro-server
  190. Conflicts: pbspro-execution
  191. Conflicts: pbspro-client-ohpc
  192. Conflicts: pbspro-execution-ohpc
  193. Conflicts: pbspro-server-ohpc
  194. Conflicts: pbs
  195. Conflicts: pbs-mom
  196. Conflicts: pbs-cmds
  197. Requires: bash
  198. Requires: python >= 2.6
  199. Requires: python < 3.0
  200. Autoreq: 1
  201. %description %{pbs_client}
  202. PBS Professional® is a fast, powerful workload manager and
  203. job scheduler designed to improve productivity, optimize
  204. utilization & efficiency, and simplify administration for
  205. HPC clusters, clouds and supercomputers.
  206. This package is intended for a client host and provides
  207. the PBS Professional user commands.
  208. %if %{with ptl}
  209. %define pbs_ptl ptl
  210. %if !%{defined ptl_prefix}
  211. %define ptl_prefix %{pbs_prefix}/../ptl
  212. %endif
  213. %package %{pbs_ptl}
  214. Summary: PBS Test Lab for testing PBS Professional
  215. Group: System Environment/Base
  216. Requires: python-nose
  217. Requires: python-beautifulsoup
  218. %if 0%{?rhel}
  219. Requires: pexpect
  220. %else
  221. Requires: python-pexpect
  222. %endif
  223. Requires: python-defusedxml
  224. Prefix: %{ptl_prefix}
  225. %description %{pbs_ptl}
  226. PBS Test Lab is a test harness and test suite intended to validate the
  227. functionality of PBS Professional®.
  228. %endif
  229. %if 0%{?opensuse_bs}
  230. # Do not specify debug_package for OBS builds.
  231. %else
  232. %if %{defined suse_version}
  233. %debug_package
  234. %endif
  235. %endif
  236. %prep
  237. %setup
  238. %build
  239. [ -d build ] && rm -rf build
  240. mkdir build
  241. cd build
  242. ../configure \
  243. PBS_VERSION=%{pbs_version} \
  244. --prefix=%{pbs_prefix} \
  245. %if %{with ptl}
  246. --enable-ptl \
  247. %endif
  248. %if %{defined suse_version}
  249. --libexecdir=%{pbs_prefix}/libexec \
  250. %endif
  251. %if %{with alps}
  252. --enable-alps \
  253. %endif
  254. %if %{with cpuset}
  255. --enable-cpuset \
  256. %endif
  257. --with-pbs-server-home=%{pbs_home} \
  258. --with-database-user=%{pbs_dbuser}
  259. %{__make} %{?_smp_mflags}
  260. %install
  261. cd build
  262. %make_install
  263. %post %{pbs_server}
  264. # do not run pbs_postinstall when the CLE is greater than or equal to 6
  265. imps=0
  266. cle_release_version=0
  267. cle_release_path=/etc/opt/cray/release/cle-release
  268. if [ -f ${cle_release_path} ]; then
  269. cle_release_version=`grep RELEASE ${cle_release_path} | cut -f2 -d= | cut -f1 -d.`
  270. fi
  271. [ "${cle_release_version}" -ge 6 ] 2>/dev/null && imps=1
  272. if [ $imps -eq 0 ]; then
  273. ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}/libexec/pbs_postinstall server \
  274. %{version} ${RPM_INSTALL_PREFIX:=%{pbs_prefix}} %{pbs_home} %{pbs_dbuser}
  275. else
  276. install -D %{pbs_prefix}/libexec/pbs_init.d /etc/init.d/pbs
  277. fi
  278. %post %{pbs_execution}
  279. # do not run pbs_postinstall when the CLE is greater than or equal to 6
  280. imps=0
  281. cle_release_version=0
  282. cle_release_path=/etc/opt/cray/release/cle-release
  283. if [ -f ${cle_release_path} ]; then
  284. cle_release_version=`grep RELEASE ${cle_release_path} | cut -f2 -d= | cut -f1 -d.`
  285. fi
  286. [ "${cle_release_version}" -ge 6 ] 2>/dev/null && imps=1
  287. if [ $imps -eq 0 ]; then
  288. ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}/libexec/pbs_postinstall execution \
  289. %{version} ${RPM_INSTALL_PREFIX:=%{pbs_prefix}} %{pbs_home}
  290. else
  291. install -D %{pbs_prefix}/libexec/pbs_init.d /etc/init.d/pbs
  292. fi
  293. %post %{pbs_client}
  294. # do not run pbs_postinstall when the CLE is greater than or equal to 6
  295. imps=0
  296. cle_release_version=0
  297. cle_release_path=/etc/opt/cray/release/cle-release
  298. if [ -f ${cle_release_path} ]; then
  299. cle_release_version=`grep RELEASE ${cle_release_path} | cut -f2 -d= | cut -f1 -d.`
  300. fi
  301. [ "${cle_release_version}" -ge 6 ] 2>/dev/null && imps=1
  302. if [ $imps -eq 0 ]; then
  303. ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}/libexec/pbs_postinstall client \
  304. %{version} ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}
  305. else
  306. install -D %{pbs_prefix}/libexec/pbs_init.d /etc/init.d/pbs
  307. fi
  308. %preun %{pbs_server}
  309. if [ "$1" != "1" ]; then
  310. # This is an uninstall, not an upgrade.
  311. [ -x /etc/init.d/pbs ] && /etc/init.d/pbs stop
  312. [ -x /sbin/chkconfig ] && /sbin/chkconfig --del pbs >/dev/null 2>&1
  313. rm -f /etc/rc.d/rc?.d/[KS]??pbs
  314. if [ `basename ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}` = %{version} ]; then
  315. top_level=`dirname ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}`
  316. if [ -h $top_level/default ]; then
  317. link_target=`readlink $top_level/default`
  318. [ `basename "$link_target"` = %{version} ] && rm -f $top_level/default
  319. fi
  320. fi
  321. rm -f /etc/init.d/pbs
  322. rm -f /opt/modulefiles/pbs/%{version}
  323. %if %{defined have_systemd}
  324. systemctl disable pbs
  325. rm -f /usr/lib/systemd/system-preset/95-pbs.preset
  326. %endif
  327. fi
  328. %preun %{pbs_execution}
  329. if [ "$1" != "1" ]; then
  330. # This is an uninstall, not an upgrade.
  331. [ -x /etc/init.d/pbs ] && /etc/init.d/pbs stop
  332. [ -x /sbin/chkconfig ] && /sbin/chkconfig --del pbs >/dev/null 2>&1
  333. rm -f /etc/rc.d/rc?.d/[KS]??pbs
  334. if [ `basename ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}` = %{version} ]; then
  335. top_level=`dirname ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}`
  336. if [ -h $top_level/default ]; then
  337. link_target=`readlink $top_level/default`
  338. [ `basename "$link_target"` = %{version} ] && rm -f $top_level/default
  339. fi
  340. fi
  341. rm -f /etc/init.d/pbs
  342. rm -f /opt/modulefiles/pbs/%{version}
  343. %if %{defined have_systemd}
  344. systemctl disable pbs
  345. rm -f /usr/lib/systemd/system-preset/95-pbs.preset
  346. %endif
  347. fi
  348. %preun %{pbs_client}
  349. if [ "$1" != "1" ]; then
  350. # This is an uninstall, not an upgrade.
  351. if [ `basename ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}` = %{version} ]; then
  352. top_level=`dirname ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}`
  353. if [ -h $top_level/default ]; then
  354. link_target=`readlink $top_level/default`
  355. [ `basename "$link_target"` = %{version} ] && rm -f $top_level/default
  356. fi
  357. fi
  358. rm -f /opt/modulefiles/pbs/%{version}
  359. fi
  360. %postun %{pbs_server}
  361. if [ "$1" != "1" ]; then
  362. # This is an uninstall, not an upgrade.
  363. echo
  364. echo "NOTE: /etc/pbs.conf and the PBS_HOME directory must be deleted manually"
  365. echo
  366. fi
  367. %postun %{pbs_execution}
  368. if [ "$1" != "1" ]; then
  369. # This is an uninstall, not an upgrade.
  370. echo
  371. echo "NOTE: /etc/pbs.conf and the PBS_HOME directory must be deleted manually"
  372. echo
  373. fi
  374. %postun %{pbs_client}
  375. if [ "$1" != "1" ]; then
  376. # This is an uninstall, not an upgrade.
  377. echo
  378. echo "NOTE: /etc/pbs.conf must be deleted manually"
  379. echo
  380. fi
  381. %posttrans %{pbs_server}
  382. # The %preun section of 14.x unconditially removes /etc/init.d/pbs
  383. # because it does not check whether the package is being removed
  384. # or upgraded. Make sure it exists here.
  385. if [ -r %{pbs_prefix}/libexec/pbs_init.d ]; then
  386. install -D %{pbs_prefix}/libexec/pbs_init.d /etc/init.d/pbs
  387. fi
  388. %posttrans %{pbs_execution}
  389. # The %preun section of 14.x unconditially removes /etc/init.d/pbs
  390. # because it does not check whether the package is being removed
  391. # or upgraded. Make sure it exists here.
  392. if [ -r %{pbs_prefix}/libexec/pbs_init.d ]; then
  393. install -D %{pbs_prefix}/libexec/pbs_init.d /etc/init.d/pbs
  394. fi
  395. %files %{pbs_server}
  396. %defattr(-,root,root, -)
  397. %dir %{pbs_prefix}
  398. %{pbs_prefix}/*
  399. %attr(4755, root, root) %{pbs_prefix}/sbin/pbs_rcp
  400. %attr(4755, root, root) %{pbs_prefix}/sbin/pbs_iff
  401. %{_sysconfdir}/profile.d/pbs.csh
  402. %{_sysconfdir}/profile.d/pbs.sh
  403. %config(noreplace) %{_sysconfdir}/profile.d/*
  404. %if %{defined have_systemd}
  405. %attr(644, root, root) %{_unitdir}/pbs.service
  406. %else
  407. %exclude %{_unitdir}/pbs.service
  408. %endif
  409. %exclude %{pbs_prefix}/unsupported/*.pyc
  410. %exclude %{pbs_prefix}/unsupported/*.pyo
  411. %files %{pbs_execution}
  412. %defattr(-,root,root, -)
  413. %dir %{pbs_prefix}
  414. %{pbs_prefix}/*
  415. %attr(4755, root, root) %{pbs_prefix}/sbin/pbs_rcp
  416. %attr(4755, root, root) %{pbs_prefix}/sbin/pbs_iff
  417. %{_sysconfdir}/profile.d/pbs.csh
  418. %{_sysconfdir}/profile.d/pbs.sh
  419. %config(noreplace) %{_sysconfdir}/profile.d/*
  420. %if %{defined have_systemd}
  421. %attr(644, root, root) %{_unitdir}/pbs.service
  422. %else
  423. %exclude %{_unitdir}/pbs.service
  424. %endif
  425. %exclude %{pbs_prefix}/bin/printjob_svr.bin
  426. %exclude %{pbs_prefix}/etc/pbs_db_schema.sql
  427. %exclude %{pbs_prefix}/etc/pbs_dedicated
  428. %exclude %{pbs_prefix}/etc/pbs_holidays*
  429. %exclude %{pbs_prefix}/etc/pbs_resource_group
  430. %exclude %{pbs_prefix}/etc/pbs_sched_config
  431. %exclude %{pbs_prefix}/lib*/init.d/sgiICEplacement.sh
  432. %exclude %{pbs_prefix}/lib*/python/altair/pbs_hooks/*
  433. %exclude %{pbs_prefix}/libexec/install_db
  434. %exclude %{pbs_prefix}/sbin/pbs_comm
  435. %exclude %{pbs_prefix}/sbin/pbs_dataservice
  436. %exclude %{pbs_prefix}/sbin/pbs_ds_monitor
  437. %exclude %{pbs_prefix}/sbin/pbs_ds_password
  438. %exclude %{pbs_prefix}/sbin/pbs_ds_password.bin
  439. %exclude %{pbs_prefix}/sbin/pbs_sched
  440. %exclude %{pbs_prefix}/sbin/pbs_server
  441. %exclude %{pbs_prefix}/sbin/pbs_server.bin
  442. %exclude %{pbs_prefix}/sbin/pbsfs
  443. %exclude %{pbs_prefix}/unsupported/*.pyc
  444. %exclude %{pbs_prefix}/unsupported/*.pyo
  445. %files %{pbs_client}
  446. %defattr(-,root,root, -)
  447. %dir %{pbs_prefix}
  448. %{pbs_prefix}/*
  449. %attr(4755, root, root) %{pbs_prefix}/sbin/pbs_iff
  450. %{_sysconfdir}/profile.d/pbs.csh
  451. %{_sysconfdir}/profile.d/pbs.sh
  452. %config(noreplace) %{_sysconfdir}/profile.d/*
  453. %exclude %{pbs_prefix}/bin/mpiexec
  454. %exclude %{pbs_prefix}/bin/pbs_attach
  455. %exclude %{pbs_prefix}/bin/pbs_tmrsh
  456. %exclude %{pbs_prefix}/bin/printjob_svr.bin
  457. %exclude %{pbs_prefix}/etc/pbs_db_schema.sql
  458. %exclude %{pbs_prefix}/etc/pbs_dedicated
  459. %exclude %{pbs_prefix}/etc/pbs_holidays*
  460. %exclude %{pbs_prefix}/etc/pbs_resource_group
  461. %exclude %{pbs_prefix}/etc/pbs_sched_config
  462. %exclude %{pbs_prefix}/include
  463. %exclude %{pbs_prefix}/lib*/MPI
  464. %exclude %{pbs_prefix}/lib*/init.d
  465. %exclude %{pbs_prefix}/lib*/python/altair/pbs_hooks
  466. %exclude %{pbs_prefix}/lib*/python/pbs_bootcheck*
  467. %exclude %{pbs_prefix}/libexec/install_db
  468. %exclude %{pbs_prefix}/libexec/pbs_habitat
  469. %exclude %{pbs_prefix}/libexec/pbs_init.d
  470. %exclude %{pbs_prefix}/sbin/pbs_comm
  471. %exclude %{pbs_prefix}/sbin/pbs_demux
  472. %exclude %{pbs_prefix}/sbin/pbs_dataservice
  473. %exclude %{pbs_prefix}/sbin/pbs_ds_monitor
  474. %exclude %{pbs_prefix}/sbin/pbs_ds_password
  475. %exclude %{pbs_prefix}/sbin/pbs_ds_password.bin
  476. %exclude %{pbs_prefix}/sbin/pbs_idled
  477. %exclude %{pbs_prefix}/sbin/pbs_mom
  478. %exclude %{pbs_prefix}/sbin/pbs_rcp
  479. %exclude %{pbs_prefix}/sbin/pbs_sched
  480. %exclude %{pbs_prefix}/sbin/pbs_server
  481. %exclude %{pbs_prefix}/sbin/pbs_server.bin
  482. %exclude %{pbs_prefix}/sbin/pbs_upgrade_job
  483. %exclude %{pbs_prefix}/sbin/pbsfs
  484. %exclude %{pbs_prefix}/unsupported/*.pyc
  485. %exclude %{pbs_prefix}/unsupported/*.pyo
  486. %exclude %{_unitdir}/pbs.service
  487. %if %{with ptl}
  488. %files %{pbs_ptl}
  489. %defattr(-,root,root, -)
  490. %dir %{ptl_prefix}
  491. %{ptl_prefix}/*
  492. %{_sysconfdir}/profile.d/ptl.csh
  493. %{_sysconfdir}/profile.d/ptl.sh
  494. %endif
  495. %changelog
  496. * Thu Dec 13 2018 Michael Karo <mike0042@gmail.com> - 1.26
  497. - Remove pbspro-rpmlintrc from source list
  498. - Updates to conditional build of pbspro-ptl package
  499. * Mon Dec 10 2018 bayucan <bayucan@altair.com> - 1.25
  500. - Add changelog
  501. * Wed Nov 28 2018 bayucan <bayucan@altair.com> - 1.24
  502. - Handle non-conffile-in-etc,explicit-lib-dependency
  503. * Wed Nov 14 2018 bayucan <bayucan@altair.com> - 1.23
  504. - Enable pbspro-rpmlintrc under opensuse
  505. * Thu Oct 25 2018 riyazhakki <riyazhakki@gmail.com> - 1.22
  506. - Add a M4 macro to enable online data compression in TPP
  507. * Wed Sep 12 2018 Bhroam Mann <bmann@altair.com> - 1.21
  508. - Remove reference to ibm-* platforms.
  509. * Mon Aug 27 2018 Hiren Vadalia <hiren.vadalia@altair.com> - 1.20
  510. - Add new OSes in CI and remove all old OSes and hacks from Travis
  511. * Tue Aug 7 2018 Michael Karo <mike0042@gmail.com> - 1.19
  512. - Build PBS Pro on OpenSUSE Tumbleweed
  513. * Thu May 10 2018 sandisamp <sandisamp@gmail.com> - 1.18
  514. - Fix declare not found error in ubuntu and added requires bash in spec file
  515. * Mon Feb 5 2018 Michael Karo <mike0042@gmail.com> - 1.17
  516. - Update OSS version from 17.1.0 to 18.1.0
  517. * Thu Dec 14 2017 Dinesh <dineshjoshi1306@gmail.com> - 1.16
  518. - Fix copyright headers
  519. * Tue Sep 26 2017 lisa-altair <lisa@altair.com> - 1.15
  520. - Remove calling pbs_postinstall on CLE6.0
  521. * Tue Jun 13 2017 Hiren Vadalia <hiren.vadalia@altair.com> - 1.14
  522. - Update PBS version to 17
  523. * Thu Mar 23 2017 Kevin Liu <minghui.liu@trincoll.edu> - 1.13
  524. - Update copyright year in source file headers
  525. * Thu Mar 9 2017 Michael Karo <mike0042@gmail.com> - 1.12
  526. - Update to support installations and upgrades on Cray XC CLE 5.2
  527. * Thu Jan 5 2017 nithinj <nithin.johnson@altair.com> - 1.11
  528. - Update as pbs_mom not coming up after switching on compute node on cpuset machines
  529. * Fri Nov 18 2016 Jan Krcmar <honza801@gmail.com> 1.10
  530. - Add debian package building support using rpmbuild and alien.
  531. * Mon Aug 8 2016 Michael Karo <mike0042@gmail.com> - 1.9
  532. - Update to allow sendmail or postfix to satisfy requirements
  533. * Mon Aug 1 2016 nithinj <nithin.johnson@altair.com> - 1.8
  534. - Update so that systemd pbs unit file refer path from pbs.conf file
  535. * Wed Jun 29 2016 Michael Karo <mike0042@gmail.com> - 1.7
  536. - Specify libexecdir on SUSE systems
  537. * Wed Jun 22 2016 nithinj <nithin.johnson@altair.com> - 1.6
  538. - Replace init script with unit file for systems that support systemd process management
  539. * Thu Jun 16 2016 Michael Karo <mike0042@gmail.com> - 1.5
  540. - Handle starting multinode jobs
  541. * Wed Jun 15 2016 Michael Karo <mike0042@gmail.com> - 1.4
  542. - Build PBS Pro under non-OHPC OBS instance
  543. * Fri Jun 3 2016 Nithin Johnson <nithin.johnson@altair.com> - 1.3
  544. - Add timezone and python-xml as dependencies
  545. * Wed May 25 2016 Michael Karo <mike0042@users.noreply.github.com> - 1.2
  546. - Update version to 14.0.1
  547. * Mon May 23 2016 arungrover <arun.grover@altair.com> - 1.1
  548. - Change to make sure that unsupported hook files are not compiled and packaged.
  549. * Thu May 12 2016 Hiren Vadalia <hiren.vadalia@altair.com> - 1.0
  550. - Initial commit of pbspro