[globus-gram-job-manager-sge/el5] Update to Globus Toolkit 5.2.1

Mattias Ellert ellert at fedoraproject.org
Mon Sep 10 11:58:17 UTC 2012


commit 84e4915994b81621b3244632e43cb5d6836260ad
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date:   Mon Sep 10 13:57:47 2012 +0200

    Update to Globus Toolkit 5.2.1
    
    - Drop patch globus-gram-job-manager-sge-desc.patch (fixed upstream)

 .gitignore                       |    1 +
 GLOBUS-GRAM5                     |   28 +++++
 globus-gram-job-manager-sge.spec |  225 ++++++++++++++++++++++++++++++++++++++
 sources                          |    1 +
 4 files changed, 255 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f6a3a77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/*.tar.gz
diff --git a/GLOBUS-GRAM5 b/GLOBUS-GRAM5
new file mode 100644
index 0000000..e6195b4
--- /dev/null
+++ b/GLOBUS-GRAM5
@@ -0,0 +1,28 @@
+This package is part of the GRAM5 component
+of the Globus Toolkit. For more information visit:
+
+http://www.globus.org/toolkit/docs/latest-stable/gram5/
+
+Admin Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gram5/admin/
+
+User's Guide
+http://www.globus.org/toolkit/docs/latest-stable/gram5/user/
+
+Developer's Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gram5/developer/
+
+Release Notes:
+http://www.globus.org/toolkit/docs/latest-stable/gram5/rn/
+
+Public Interface Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gram5/pi/
+
+Quality Profile:
+http://www.globus.org/toolkit/docs/latest-stable/gram5/qp/
+
+Migrating Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gram5/mig/
+
+Globus RPM packaging is supported by the Initiative for Globus in Europe:
+http://www.ige-project.eu/
diff --git a/globus-gram-job-manager-sge.spec b/globus-gram-job-manager-sge.spec
new file mode 100644
index 0000000..c16ea1f
--- /dev/null
+++ b/globus-gram-job-manager-sge.spec
@@ -0,0 +1,225 @@
+%ifarch alpha ia64 ppc64 s390x sparc64 x86_64
+%global flavor gcc64
+%else
+%global flavor gcc32
+%endif
+
+%{!?perl_vendorlib: %global perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)}
+
+Name:		globus-gram-job-manager-sge
+%global _name %(tr - _ <<< %{name})
+Version:	1.5
+Release:	1%{?dist}
+Summary:	Globus Toolkit - Grid Engine Job Manager Support
+
+Group:		Applications/Internet
+License:	ASL 2.0 and LGPLv2
+URL:		http://www.globus.org/
+Source:		http://www.globus.org/ftppub/gt5/5.2/5.2.1/packages/src/%{_name}-%{version}.tar.gz
+#		README file
+Source8:	GLOBUS-GRAM5
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires:	globus-gram-job-manager >= 13
+Requires:	globus-gram-job-manager-scripts >= 4
+Requires:	globus-gass-cache-program >= 5
+Requires:	globus-common-progs >= 14
+Requires:	globus-gatekeeper >= 9
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	%{name}-setup
+Requires:	gridengine
+Provides:	globus-gram-job-manager-setup-sge = 2.6
+Obsoletes:	globus-gram-job-manager-setup-sge < 2.6
+Obsoletes:	globus-gram-job-manager-setup-sge-doc < 2.6
+BuildRequires:	grid-packaging-tools >= 3.4
+BuildRequires:	globus-core%{?_isa} >= 8
+BuildRequires:	globus-scheduler-event-generator-devel%{?_isa} >= 4
+BuildRequires:	globus-common-devel%{?_isa} >= 14
+
+%package setup-poll
+Summary:	Globus Toolkit - Grid Engine Job Manager Support using polling
+Group:		Applications/Internet
+%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6
+BuildArch:	noarch
+%endif
+Provides:	%{name}-setup
+Requires:	%{name} = %{version}-%{release}
+
+Requires(preun):	globus-gram-job-manager-scripts >= 4
+
+%package setup-seg
+Summary:	Globus Toolkit - Grid Engine Job Manager Support using SEG
+Group:		Applications/Internet
+Provides:	%{name}-setup
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+Requires:	globus-scheduler-event-generator%{?_isa} >= 4
+Requires:	globus-common%{?_isa} >= 14
+
+Requires(preun):	globus-gram-job-manager-scripts >= 4
+Requires(preun):	globus-scheduler-event-generator-progs >= 4
+Requires(preun):	initscripts
+Requires(postun):	globus-scheduler-event-generator-progs >= 4
+Requires(postun):	initscripts
+
+%description
+The Globus Toolkit is an open source software toolkit used for building Grid
+systems and applications. It is being developed by the Globus Alliance and
+many others all over the world. A growing number of projects and companies are
+using the Globus Toolkit to unlock the potential of grids for their cause.
+
+The %{name} package contains:
+Grid Engine Job Manager Support
+
+%description setup-poll
+The Globus Toolkit is an open source software toolkit used for building Grid
+systems and applications. It is being developed by the Globus Alliance and
+many others all over the world. A growing number of projects and companies are
+using the Globus Toolkit to unlock the potential of grids for their cause.
+
+The %{name}-setup-poll package contains:
+Grid Engine Job Manager Support using polling to monitor job state
+
+%description setup-seg
+The Globus Toolkit is an open source software toolkit used for building Grid
+systems and applications. It is being developed by the Globus Alliance and
+many others all over the world. A growing number of projects and companies are
+using the Globus Toolkit to unlock the potential of grids for their cause.
+
+The %{name}-setup-seg package contains:
+Grid Engine Job Manager Support using the scheduler event generator to monitor
+job state
+
+%prep
+%setup -q -n %{_name}-%{version}
+
+%build
+# Remove files that should be replaced during bootstrap
+rm -f doxygen/Doxyfile*
+rm -f doxygen/Makefile.am
+rm -f pkgdata/Makefile.am
+rm -f globus_automake*
+rm -rf autom4te.cache
+
+unset GLOBUS_LOCATION
+unset GPT_LOCATION
+%{_datadir}/globus/globus-bootstrap.sh
+
+%if %{?fedora}%{!?fedora:0} >= 9 || %{?rhel}%{!?rhel:0} >= 6
+export QSUB=/usr/bin/qsub-ge
+export QSTAT=/usr/bin/qstat-ge
+export QDEL=/usr/bin/qdel-ge
+%else
+export QSUB=/usr/bin/qsub
+export QSTAT=/usr/bin/qstat
+export QDEL=/usr/bin/qdel
+%endif
+export QCONF=/usr/bin/qconf
+export MPIRUN=no
+export SUN_MPRUN=no
+%configure --disable-static --with-flavor=%{flavor} \
+	   --with-docdir=%{_docdir}/%{name}-%{version} \
+	   --with-globus-state-dir=%{_localstatedir}/lib/globus \
+	   --with-sge-config=/etc/sysconfig/gridengine \
+	   --with-sge-root=undefined \
+	   --with-sge-cell=undefined \
+	   --without-queue-validation \
+	   --without-pe-validation
+
+# Reduce overlinking
+sed 's!CC -shared !CC \${wl}--as-needed -shared !g' -i libtool
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+GLOBUSPACKAGEDIR=$RPM_BUILD_ROOT%{_datadir}/globus/packages
+
+# This library is opened using lt_dlopenext, so the libtool archive
+# (.la file) can not be removed - fix the libdir and clear dependency_libs
+# ... and move it to the main package
+for lib in `find $RPM_BUILD_ROOT%{_libdir} -name 'lib*.la'` ; do
+  sed -e "s!^libdir=.*!libdir=\'%{_libdir}\'!" \
+      -e "s!^dependency_libs=.*!dependency_libs=\'\'!" -i $lib
+done
+grep 'lib.*\.la$' $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist \
+  >> $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist
+sed '/lib.*\.la$/d' -i $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist
+
+# Remove jobmanager-sge from install dir - leave it for admin configuration
+rm $RPM_BUILD_ROOT/etc/grid-services/jobmanager-sge
+
+# Install README file
+install -m 644 -p %{SOURCE8} \
+  $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/README
+
+# Devel package is redundant
+rm $RPM_BUILD_ROOT%{_libdir}/libglobus_seg_sge.so
+rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/globus-gram-job-manager-sge.pc
+rm $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist
+rm $GLOBUSPACKAGEDIR/%{_name}/pkg_data_%{flavor}_dev.gpt
+
+# List config files in each package - drop the file list
+rm $GLOBUSPACKAGEDIR/%{_name}/noflavor_data.filelist
+rm $GLOBUSPACKAGEDIR/%{_name}/pkg_data_noflavor_data.gpt
+
+# Generate package filelists
+cat $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist \
+    $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_pgm.filelist \
+  | sed -e s!^!%{_prefix}! -e 's!/man/.*!&*!' \
+	-e /sge.pm/d > package-seg.filelist
+cat $GLOBUSPACKAGEDIR/%{_name}/noflavor_doc.filelist \
+  | sed 's!^!%doc %{_prefix}!' > package.filelist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%preun setup-poll
+if [ $1 -eq 0 ]; then
+    globus-gatekeeper-admin -d jobmanager-sge-poll > /dev/null 2>&1 || :
+fi
+
+%preun setup-seg
+if [ $1 -eq 0 ]; then
+    globus-gatekeeper-admin -d jobmanager-sge-seg > /dev/null 2>&1 || :
+    /sbin/service globus-scheduler-event-generator stop sge > /dev/null 2>&1 || :
+    globus-scheduler-event-generator-admin -d sge > /dev/null 2>&1 || :
+fi
+
+%post setup-seg -p /sbin/ldconfig
+
+%postun setup-seg
+/sbin/ldconfig
+if [ $1 -eq 1 ]; then
+    /sbin/service globus-scheduler-event-generator condrestart sge > /dev/null 2>&1 || :
+fi
+
+%files -f package.filelist
+%defattr(-,root,root,-)
+%{_datadir}/globus/globus_gram_job_manager/sge.rvf
+%{perl_vendorlib}/Globus
+%config(noreplace) %{_sysconfdir}/globus/globus-sge.conf
+%dir %{_datadir}/globus/packages/%{_name}
+%dir %{_docdir}/%{name}-%{version}
+%doc %{_docdir}/%{name}-%{version}/README
+
+%files setup-poll
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/grid-services/available/jobmanager-sge-poll
+
+%files -f package-seg.filelist setup-seg
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/grid-services/available/jobmanager-sge-seg
+%config(noreplace) %{_sysconfdir}/globus/scheduler-event-generator/available/sge
+
+%changelog
+* Sat Apr 28 2012 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.5-1
+- Update to Globus Toolkit 5.2.1
+- Drop patch globus-gram-job-manager-sge-desc.patch (fixed upstream)
+
+* Tue Jan 24 2012 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.0-2
+- Fix broken links in README file
+
+* Thu Dec 15 2011 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.0-1
+- Autogenerated
diff --git a/sources b/sources
index e69de29..f5acc65 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3f1758bb7cc2b5ff045394d5f1fef35b  globus_gram_job_manager_sge-1.5.tar.gz


More information about the scm-commits mailing list