[globus-ftp-client/el4] Update to Globus Toolkit 5.2.0 Drop patches globus-ftp-client-doxygen.patch, globus-ftp-client-forma

Mattias Ellert ellert at fedoraproject.org
Sun Jan 8 01:20:20 UTC 2012


commit 830c88dea63c9a01202c97410f2b4292922b0c9c
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date:   Sat Jan 7 16:38:36 2012 +0100

    Update to Globus Toolkit 5.2.0
    Drop patches globus-ftp-client-doxygen.patch, globus-ftp-client-format.patch
    and globus-ftp-client-type-punned-pointer.patch (fixed upstrem)

 .gitignore                                  |    2 +-
 GLOBUS-GRIDFTP                              |    6 +
 globus-ftp-client-deps.patch                |   78 ++++++
 globus-ftp-client-doxygen.patch             |  398 ---------------------------
 globus-ftp-client-format.patch              |   12 -
 globus-ftp-client-type-punned-pointer.patch |  144 ----------
 globus-ftp-client.spec                      |  116 ++++-----
 sources                                     |    2 +-
 8 files changed, 138 insertions(+), 620 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a6bb9eb..943fe53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
 /epstopdf-2.9.5gw
-/globus_ftp_client-6.0.tar.gz
+/*.tar.gz
diff --git a/GLOBUS-GRIDFTP b/GLOBUS-GRIDFTP
index 99cac0a..9d3be67 100644
--- a/GLOBUS-GRIDFTP
+++ b/GLOBUS-GRIDFTP
@@ -6,6 +6,9 @@ http://www.globus.org/toolkit/docs/latest-stable/data/gridftp/
 Admin Guide:
 http://www.globus.org/toolkit/docs/latest-stable/data/gridftp/admin/
 
+User's Guide:
+http://www.globus.org/toolkit/docs/latest-stable/data/gridftp/user/
+
 Developer's Guide:
 http://www.globus.org/toolkit/docs/latest-stable/data/gridftp/developer/
 
@@ -20,3 +23,6 @@ http://www.globus.org/toolkit/docs/latest-stable/data/gridftp/qp/
 
 Migrating Guide:
 http://www.globus.org/toolkit/docs/latest-stable/data/gridftp/mig/
+
+Globus RPM packaging is supported by the Initiative for Globus in Europe:
+http://www.ige-project.eu/
diff --git a/globus-ftp-client-deps.patch b/globus-ftp-client-deps.patch
new file mode 100644
index 0000000..eeb6e3a
--- /dev/null
+++ b/globus-ftp-client-deps.patch
@@ -0,0 +1,78 @@
+diff -ur globus_ftp_client-7.2.orig/configure.in globus_ftp_client-7.2/configure.in
+--- globus_ftp_client-7.2.orig/configure.in	2011-02-03 22:47:03.000000000 +0100
++++ globus_ftp_client-7.2/configure.in	2011-12-28 17:54:38.010671741 +0100
+@@ -12,6 +12,7 @@
+ dnl Initialize the automake rules the last argument
+ AM_INIT_AUTOMAKE($GPT_NAME, $GPT_VERSION)
+ 
++GLOBUS_OPENSSL
+ 
+ dnl set up doxygen to look in our source directory for examples
+ LAC_DOXYGEN_EXAMPLE_DIR("../")
+diff -ur globus_ftp_client-7.2.orig/pkgdata/pkg_data_src.gpt.in globus_ftp_client-7.2/pkgdata/pkg_data_src.gpt.in
+--- globus_ftp_client-7.2.orig/pkgdata/pkg_data_src.gpt.in	2011-12-05 15:21:05.000000000 +0100
++++ globus_ftp_client-7.2/pkgdata/pkg_data_src.gpt.in	2011-12-28 17:54:18.770672178 +0100
+@@ -23,6 +23,31 @@
+                     <Simple_Version Major="4"/>
+                 </Version>
+             </Dependency>
++            <Dependency Name="globus_gsi_callback">
++                <Version>
++                    <Simple_Version Major="4"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_gsi_credential">
++                <Version>
++                    <Simple_Version Major="5"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_gsi_sysconfig">
++                <Version>
++                    <Simple_Version Major="5"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_gssapi_gsi">
++                <Version>
++                    <Simple_Version Major="10"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_xio">
++                <Version>
++                    <Simple_Version Major="3"/>
++                </Version>
++            </Dependency>
+             <Dependency Name="globus_xio_popen_driver">
+                 <Version>
+                     <Simple_Version Major="2"/>
+@@ -47,6 +72,31 @@
+                     <Simple_Version Major="4"/>
+                 </Version>
+             </Dependency>
++            <Dependency Name="globus_gsi_callback">
++                <Version>
++                    <Simple_Version Major="4"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_gsi_credential">
++                <Version>
++                    <Simple_Version Major="5"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_gsi_sysconfig">
++                <Version>
++                    <Simple_Version Major="5"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_gssapi_gsi">
++                <Version>
++                    <Simple_Version Major="10"/>
++                </Version>
++            </Dependency>
++            <Dependency Name="globus_xio">
++                <Version>
++                    <Simple_Version Major="3"/>
++                </Version>
++            </Dependency>
+             <Dependency Name="globus_xio_popen_driver">
+                 <Version>
+                     <Simple_Version Major="2"/>
diff --git a/globus-ftp-client.spec b/globus-ftp-client.spec
index de1c245..c1eeab8 100644
--- a/globus-ftp-client.spec
+++ b/globus-ftp-client.spec
@@ -1,48 +1,46 @@
 %ifarch alpha ia64 ppc64 s390x sparc64 x86_64
-%global flavor gcc64pthr
+%global flavor gcc64
 %else
-%global flavor gcc32pthr
+%global flavor gcc32
 %endif
 
 Name:		globus-ftp-client
 %global _name %(tr - _ <<< %{name})
-Version:	6.0
-Release:	2%{?dist}
+Version:	7.2
+Release:	1%{?dist}
 Summary:	Globus Toolkit - GridFTP Client Library
 
 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.3/installers/src/gt5.0.3-all-source-installer.tar.bz2
-#		tar -jxf gt5.0.3-all-source-installer.tar.bz2
-#		mv gt5.0.3-all-source-installer/source-trees/gridftp/client/source globus_ftp_client-6.0
-#		cp -p gt5.0.3-all-source-installer/source-trees/core/source/GLOBUS_LICENSE globus_ftp_client-6.0
-#		tar -zcf globus_ftp_client-6.0.tar.gz globus_ftp_client-6.0
-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-GRIDFTP
 #		This is a workaround for the broken epstopdf script in RHEL5
 #		See: https://bugzilla.redhat.com/show_bug.cgi?id=450388
 Source9:	epstopdf-2.9.5gw
-#		Remove some doxygen warnings:
-#		http://bugzilla.globus.org/bugzilla/show_bug.cgi?id=6600
-Patch0:		%{name}-doxygen.patch
-#		Dereferencing of type-punned pointers:
-#		http://bugzilla.globus.org/bugzilla/show_bug.cgi?id=6602
-Patch1:		%{name}-type-punned-pointer.patch
-#		Fix format errors:
-#		http://bugzilla.globus.org/bugzilla/show_bug.cgi?id=6752
-Patch2:		%{name}-format.patch
+Patch0:		%{name}-deps.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Requires:	globus-xio-popen-driver%{?_isa}
-BuildRequires:	grid-packaging-tools
-BuildRequires:	globus-xio-popen-driver-devel%{?_isa}
-BuildRequires:	globus-common-devel%{?_isa} >= 4
-BuildRequires:	globus-ftp-control-devel%{?_isa} >= 1
-BuildRequires:	globus-core%{?_isa} >= 4
-BuildRequires:	globus-ftp-control-doc >= 1
+Requires:	globus-gsi-credential%{?_isa} >= 5
+Requires:	globus-xio-popen-driver%{?_isa} >= 2
+Requires:	globus-gsi-callback%{?_isa} >= 4
+Requires:	globus-xio%{?_isa} >= 3
+Requires:	globus-gssapi-gsi%{?_isa} >= 10
+Requires:	globus-ftp-control%{?_isa} >= 4
+Requires:	globus-common%{?_isa} >= 14
+Requires:	globus-gsi-sysconfig%{?_isa} >= 5
+BuildRequires:	grid-packaging-tools >= 3.4
+BuildRequires:	globus-core%{?_isa} >= 8
+BuildRequires:	globus-gsi-credential-devel%{?_isa} >= 5
+BuildRequires:	globus-xio-popen-driver-devel%{?_isa} >= 2
+BuildRequires:	globus-gsi-callback-devel%{?_isa} >= 4
+BuildRequires:	globus-xio-devel%{?_isa} >= 3
+BuildRequires:	globus-gssapi-gsi-devel%{?_isa} >= 10
+BuildRequires:	globus-ftp-control-devel%{?_isa} >= 4
+BuildRequires:	globus-common-devel%{?_isa} >= 14
+BuildRequires:	globus-gsi-sysconfig-devel%{?_isa} >= 5
+BuildRequires:	globus-ftp-control-doc >= 4
 BuildRequires:	doxygen
 BuildRequires:	graphviz
 %if "%{?rhel}" == "5"
@@ -59,10 +57,15 @@ BuildRequires:	tetex-latex
 Summary:	Globus Toolkit - GridFTP Client Library Development Files
 Group:		Development/Libraries
 Requires:	%{name}%{?_isa} = %{version}-%{release}
-Requires:	globus-xio-popen-driver-devel%{?_isa}
-Requires:	globus-common-devel%{?_isa} >= 4
-Requires:	globus-ftp-control-devel%{?_isa} >= 1
-Requires:	globus-core%{?_isa} >= 4
+Requires:	globus-gsi-credential-devel%{?_isa} >= 5
+Requires:	globus-xio-popen-driver-devel%{?_isa} >= 2
+Requires:	globus-gsi-callback-devel%{?_isa} >= 4
+Requires:	globus-xio-devel%{?_isa} >= 3
+Requires:	globus-gssapi-gsi-devel%{?_isa} >= 10
+Requires:	globus-ftp-control-devel%{?_isa} >= 4
+Requires:	globus-core%{?_isa} >= 8
+Requires:	globus-common-devel%{?_isa} >= 14
+Requires:	globus-gsi-sysconfig-devel%{?_isa} >= 5
 
 %package doc
 Summary:	Globus Toolkit - GridFTP Client Library Documentation Files
@@ -102,8 +105,6 @@ GridFTP Client Library Documentation Files
 %prep
 %setup -q -n %{_name}-%{version}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %if "%{rhel}" == "5"
 mkdir bin
@@ -122,18 +123,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} --enable-doxygen
+%configure --disable-static --with-flavor=%{flavor} \
+	   --enable-doxygen --with-docdir=%{_docdir}/%{name}-%{version}
+
+# Reduce overlinking
+sed 's!CC -shared !CC \${wl}--as-needed -shared !g' -i libtool
 
 make %{?_smp_mflags}
 
@@ -149,22 +147,12 @@ GLOBUSPACKAGEDIR=$RPM_BUILD_ROOT%{_datadir}/globus/packages
 
 # Remove libtool archives (.la files)
 find $RPM_BUILD_ROOT%{_libdir} -name 'lib*.la' -exec rm -v '{}' \;
-sed '/lib.*\.la$/d' -i $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist
+sed '/lib.*\.la$/d' -i $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist
 
-# 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
-
-# Move documentation to default RPM location
-mv $RPM_BUILD_ROOT%{_docdir}/%{_name} \
-  $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-sed s!doc/%{_name}!doc/%{name}-%{version}! \
-  -i $GLOBUSPACKAGEDIR/%{_name}/noflavor_doc.filelist
+# Move license file to main package
+grep GLOBUS_LICENSE $GLOBUSPACKAGEDIR/%{_name}/noflavor_doc.filelist \
+  >> $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist
+sed /GLOBUS_LICENSE/d -i $GLOBUSPACKAGEDIR/%{_name}/noflavor_doc.filelist
 
 # Remove unwanted documentation (needed for RHEL4)
 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*_%{_name}-%{version}_*.3
@@ -175,16 +163,13 @@ sed -e '/_%{_name}-%{version}_.*\.3/d' \
 rm -f $RPM_BUILD_ROOT%{_mandir}/man3/bug.3
 sed -e '/bug\.3/d' -i $GLOBUSPACKAGEDIR/%{_name}/noflavor_doc.filelist
 
-# Install license file
-mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-install -m 644 -p GLOBUS_LICENSE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-
 # Install README file
 install -m 644 -p %{SOURCE8} \
   $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/README
 
 # Generate package filelists
 cat $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist \
+    $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_pgm.filelist \
   | sed s!^!%{_prefix}! > package.filelist
 cat $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist \
   | sed s!^!%{_prefix}! > package-devel.filelist
@@ -202,18 +187,21 @@ 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
 
 %files -f package-doc.filelist doc
 %defattr(-,root,root,-)
 %dir %{_docdir}/%{name}-%{version}/html
 
 %changelog
+* Wed Dec 14 2011 Mattias Ellert <mattias.ellert at fysast.uu.se> - 7.2-1
+- Update to Globus Toolkit 5.2.0
+- Drop patches globus-ftp-client-doxygen.patch, globus-ftp-client-format.patch
+  and globus-ftp-client-type-punned-pointer.patch (fixed upstrem)
+
 * Mon Apr 25 2011 Mattias Ellert <mattias.ellert at fysast.uu.se> - 6.0-2
 - Add README file
 
diff --git a/sources b/sources
index 5f2af53..ca30cc7 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 44ec158f5ca5f60310cca74a3aaaea2b  epstopdf-2.9.5gw
-f38b0bfc23817a4dd124aaab8ac55fd7  globus_ftp_client-6.0.tar.gz
+5244b3aec730f89880574457677fc860  globus_ftp_client-7.2.tar.gz


More information about the scm-commits mailing list