@@ -20,7 +20,7 @@ Name: gridengine
2020Version: 8.1.9
2121Release: 1
2222Summary: Son of Grid engine
23- License: ( SISSL and BSD and LGPLv3+ and MIT ) and GPLv3+ and GFDL and others
23+ License: SISSL and BSD-3-Clause and L GPL-3.0 -or-later and MIT and GPL-3.0 -or-later and GFDL-1.1
2424Url: https://github.com/grisu48/gridengine
2525Source: gridengine-8.1.9.tar.gz
2626BuildRequires: gcc
@@ -46,6 +46,8 @@ BuildRequires: libXt-devel
4646BuildRequires: motif-devel
4747BuildRequires: xorg-x11-devel
4848BuildRequires: ncurses-devel
49+ # Required for tumbleweed only and we do not support Tumbleweed here
50+ #BuildRequires: libtirpc-devel
4951Requires: insserv-compat
5052BuildRoot: %{_tmppath }/%{name }-%{version }-build
5153
@@ -57,32 +59,29 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
5759
5860%build
5961cd sge-8.1.9/source
60- ./scripts/bootstrap.sh -no-secure -no-remote
61- ./aimk -no-herd -no-secure -no-remote
62+ ./scripts/bootstrap.sh -no-secure
63+ ./aimk -no-herd -no-secure -no-java
6264
6365%install
64- export SGE_ROOT=" $PWD /opt/sge"
65- export SGE_ROOT=" %{buildroot}/opt/sge"
66+ export SGE_ROOT=" %{buildroot}/usr/local/bin/sge"
6667cd sge-8.1.9/source
6768mkdir -p " $SGE_ROOT "
6869echo ' y' | scripts/distinst -local -allall -noexit ` dist/util/arch`
6970
70-
7171%post
7272%postun
7373
7474%files
75- %attr(-,root,root) /opt/sge
76- %attr(640,root,root) /opt/sge/examples/drmaa/* .c
77- %attr(640,root,root) /opt/sge/include/*
78- %attr(640,root,root) /opt/sge/pvm/src/*
79- %attr(640,root,root) /opt/sge/util/resources/loadsensors/* .c
80- %attr(750,root,root) /opt/sge/install*
81- %attr(750,root,root) /opt/sge/install*
82- %attr(750,root,root) /opt/sge/bin/*
83- %attr(750,root,root) /opt/sge/utilbin/*
84- /opt/sge/*
85- #%license COPYING
75+ %attr(-,root,root) /usr/local/bin/sge
76+ %attr(640,root,root) /usr/local/bin/sge/examples/drmaa/* .c
77+ %attr(640,root,root) /usr/local/bin/sge/include/*
78+ %attr(640,root,root) /usr/local/bin/sge/pvm/src/*
79+ %attr(640,root,root) /usr/local/bin/sge/util/resources/loadsensors/* .c
80+ %attr(750,root,root) /usr/local/bin/sge/install*
81+ %attr(750,root,root) /usr/local/bin/sge/install*
82+ %attr(750,root,root) /usr/local/bin/sge/bin/*
83+ %attr(750,root,root) /usr/local/bin/sge/utilbin/*
84+ /usr/local/bin/sge/*
8685#%doc README
8786
8887%changelog
0 commit comments