[globus-xio-popen-driver/el4] Update to Globus Toolkit 5.2.0 Drop patches globus-xio-popen-driver-funcgrp.patch, globus-xio-popen-
Mattias Ellert
ellert at fedoraproject.org
Sun Jan 8 01:19:59 UTC 2012
commit a04a876792c42a0ad457d6f232ab9a1c096e2165
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Sat Jan 7 16:14:53 2012 +0100
Update to Globus Toolkit 5.2.0
Drop patches globus-xio-popen-driver-funcgrp.patch,
globus-xio-popen-driver-mingw.patch and
globus-xio-popen-driver-wrong-dep.patch (fixed upstream)
.gitignore | 2 +-
GLOBUS-XIO | 3 +
globus-xio-popen-driver-deps.patch | 27 ++++++++++
globus-xio-popen-driver-funcgrp.patch | 11 ----
globus-xio-popen-driver-mingw.patch | 67 ------------------------
globus-xio-popen-driver-wrong-dep.patch | 33 ------------
globus-xio-popen-driver.spec | 84 ++++++++++++-------------------
sources | 2 +-
8 files changed, 65 insertions(+), 164 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ec9e65e..f6a3a77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-globus_xio_popen_driver-0.9.tar.gz
+/*.tar.gz
diff --git a/GLOBUS-XIO b/GLOBUS-XIO
index a903269..19ae531 100644
--- a/GLOBUS-XIO
+++ b/GLOBUS-XIO
@@ -20,3 +20,6 @@ http://www.globus.org/toolkit/docs/latest-stable/common/xio/qp/
Migrating Guide:
http://www.globus.org/toolkit/docs/latest-stable/common/xio/mig/
+
+Globus RPM packaging is supported by the Initiative for Globus in Europe:
+http://www.ige-project.eu/
diff --git a/globus-xio-popen-driver-deps.patch b/globus-xio-popen-driver-deps.patch
new file mode 100644
index 0000000..cf1e8a9
--- /dev/null
+++ b/globus-xio-popen-driver-deps.patch
@@ -0,0 +1,27 @@
+diff -ur globus_xio_popen_driver-2.2.orig/pkgdata/pkg_data_src.gpt.in globus_xio_popen_driver-2.2/pkgdata/pkg_data_src.gpt.in
+--- globus_xio_popen_driver-2.2.orig/pkgdata/pkg_data_src.gpt.in 2011-11-04 13:50:52.000000000 +0100
++++ globus_xio_popen_driver-2.2/pkgdata/pkg_data_src.gpt.in 2011-12-14 09:05:20.103774843 +0100
+@@ -7,6 +7,11 @@
+ <Version_Stability Release="Experimental" Dirt="@DIRT_TIMESTAMP at -@DIRT_BRANCH_ID@"/>
+ <src_pkg>
+ <Source_Dependencies Type="compile">
++ <Dependency Name="globus_common">
++ <Version>
++ <Simple_Version Major="14"/>
++ </Version>
++ </Dependency>
+ <Dependency Name="globus_xio">
+ <Version>
+ <Simple_Version Major="3"/>
+@@ -14,6 +19,11 @@
+ </Dependency>
+ </Source_Dependencies>
+ <Source_Dependencies Type="lib_link">
++ <Dependency Name="globus_common">
++ <Version>
++ <Simple_Version Major="14"/>
++ </Version>
++ </Dependency>
+ <Dependency Name="globus_xio">
+ <Version>
+ <Simple_Version Major="3"/>
diff --git a/globus-xio-popen-driver.spec b/globus-xio-popen-driver.spec
index 82a08de..918cdb6 100644
--- a/globus-xio-popen-driver.spec
+++ b/globus-xio-popen-driver.spec
@@ -1,47 +1,37 @@
%ifarch alpha ia64 ppc64 s390x sparc64 x86_64
-%global flavor gcc64pthr
+%global flavor gcc64
%else
-%global flavor gcc32pthr
+%global flavor gcc32
%endif
Name: globus-xio-popen-driver
%global _name %(tr - _ <<< %{name})
-Version: 0.9
-Release: 3%{?dist}
+Version: 2.2
+Release: 1%{?dist}
Summary: Globus Toolkit - Globus XIO Pipe Open Driver
Group: System Environment/Libraries
License: ASL 2.0
URL: http://www.globus.org/
-# Source is extracted from the globus toolkit installer:
-# wget -N http://www-unix.globus.org/ftppub/gt5/5.0/5.0.1/installers/src/gt5.0.1-all-source-installer.tar.bz2
-# tar -jxf gt5.0.1-all-source-installer.tar.bz2
-# mv gt5.0.1-all-source-installer/source-trees/xio/drivers/popen/source globus_xio_popen_driver-0.9
-# cp -p gt5.0.1-all-source-installer/source-trees/core/source/GLOBUS_LICENSE globus_xio_popen_driver-0.9
-# tar -zcf globus_xio_popen_driver-0.9.tar.gz globus_xio_popen_driver-0.9
-Source: %{_name}-%{version}.tar.gz
+Source: http://www.globus.org/ftppub/gt5/5.2/5.2.0/packages/src/%{_name}-%{version}.tar.gz
# README file
Source8: GLOBUS-XIO
-# Wrong dependency information:
-# http://bugzilla.globus.org/bugzilla/show_bug.cgi?id=6588
-Patch0: %{name}-wrong-dep.patch
-# Fixes for mingw compilation:
-# http://bugzilla.globus.org/bugzilla/show_bug.cgi?id=6742
-Patch1: %{name}-mingw.patch
-# Missing Functional Group:
-# http://bugzilla.globus.org/bugzilla/show_bug.cgi?id=7167
-Patch2: %{name}-funcgrp.patch
+Patch0: %{name}-deps.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: globus-common
-BuildRequires: grid-packaging-tools
-BuildRequires: globus-xio-devel%{?_isa}
+Requires: globus-common%{?_isa} >= 14
+Requires: globus-xio%{?_isa} >= 3
+BuildRequires: grid-packaging-tools >= 3.4
+BuildRequires: globus-core%{?_isa} >= 8
+BuildRequires: globus-common-devel%{?_isa} >= 14
+BuildRequires: globus-xio-devel%{?_isa} >= 3
%package devel
Summary: Globus Toolkit - Globus XIO Pipe Open Driver Development Files
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: globus-xio-devel%{?_isa}
+Requires: globus-common-devel%{?_isa} >= 14
+Requires: globus-xio-devel%{?_isa} >= 3
%description
The Globus Toolkit is an open source software toolkit used for building Grid
@@ -65,8 +55,6 @@ Globus XIO Pipe Open Driver Development Files
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
# Remove files that should be replaced during bootstrap
@@ -76,18 +64,15 @@ rm -f pkgdata/Makefile.am
rm -f globus_automake*
rm -rf autom4te.cache
-# Remove flavor tags
-for f in `find . -name Makefile.am` ; do
- sed -e 's!^flavorinclude_HEADERS!include_HEADERS!' \
- -e 's!\(lib[a-zA-Z_]*\)_$(GLOBUS_FLAVOR_NAME)\.la!\1.la!g' \
- -e 's!^\(lib[a-zA-Z_]*\)___GLOBUS_FLAVOR_NAME__la_!\1_la_!' -i $f
-done
-sed -e "s!<With_Flavors!<With_Flavors ColocateLibraries=\"no\"!" \
- -i pkgdata/pkg_data_src.gpt.in
-
+unset GLOBUS_LOCATION
+unset GPT_LOCATION
%{_datadir}/globus/globus-bootstrap.sh
-%configure --with-flavor=%{flavor}
+%configure --disable-static --with-flavor=%{flavor} \
+ --with-docdir=%{_docdir}/%{name}-%{version}
+
+# Reduce overlinking
+sed 's!CC -shared !CC \${wl}--as-needed -shared !g' -i libtool
make %{?_smp_mflags}
@@ -99,23 +84,14 @@ 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
-
-# Remove static libraries (.a files)
-find $RPM_BUILD_ROOT%{_libdir} -name 'lib*.a' -exec rm -v '{}' \;
-sed '/lib.*\.a$/d' -i $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist
-
-# Generate pkg-config file from GPT metadata
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
-%{_datadir}/globus/globus-gpt2pkg-config pkgdata/pkg_data_%{flavor}_dev.gpt > \
- $RPM_BUILD_ROOT%{_libdir}/pkgconfig/%{name}.pc
-
-# Install license file
-mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-install -m 644 -p GLOBUS_LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+grep 'lib.*\.la$' $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist \
+ >> $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist
+sed '/lib.*\.la$/d' -i $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist
# Install README file
install -m 644 -p %{SOURCE8} \
@@ -124,6 +100,8 @@ install -m 644 -p %{SOURCE8} \
# Generate package filelists
cat $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist \
| sed s!^!%{_prefix}! > package.filelist
+cat $GLOBUSPACKAGEDIR/%{_name}/noflavor_doc.filelist \
+ | sed -e 's!/man/.*!&*!' -e 's!^!%doc %{_prefix}!' >> package.filelist
cat $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist \
| sed s!^!%{_prefix}! > package-devel.filelist
@@ -138,14 +116,18 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%dir %{_datadir}/globus/packages/%{_name}
%dir %{_docdir}/%{name}-%{version}
-%doc %{_docdir}/%{name}-%{version}/GLOBUS_LICENSE
%doc %{_docdir}/%{name}-%{version}/README
%files -f package-devel.filelist devel
%defattr(-,root,root,-)
-%{_libdir}/pkgconfig/%{name}.pc
%changelog
+* Wed Dec 14 2011 Mattias Ellert <mattias.ellert at fysast.uu.se> - 2.2-1
+- Update to Globus Toolkit 5.2.0
+- Drop patches globus-xio-popen-driver-funcgrp.patch,
+ globus-xio-popen-driver-mingw.patch and
+ globus-xio-popen-driver-wrong-dep.patch (fixed upstream)
+
* Mon Apr 25 2011 Mattias Ellert <mattias.ellert at fysast.uu.se> - 0.9-3
- Add README file
- Clear dependency libs in .la file
diff --git a/sources b/sources
index 22f8fef..e847388 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ef3ea97563201f68bc21ef62b79b6282 globus_xio_popen_driver-0.9.tar.gz
+e5f14bc32f028021737f1da18d4f931b globus_xio_popen_driver-2.2.tar.gz
More information about the scm-commits
mailing list