[globus-xio-pipe-driver/el5: 10/10] Update to Globus Toolkit 6.0
Mattias Ellert
ellert at fedoraproject.org
Tue Sep 16 08:16:13 UTC 2014
commit 1ca363d8682393831393b4b696df3ce31780fbf3
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Tue Sep 16 10:15:17 2014 +0200
Update to Globus Toolkit 6.0
- Drop GPT build system and GPT packaging metadata
globus-xio-pipe-driver.spec | 73 +++++++++++++-----------------------------
sources | 2 +-
2 files changed, 24 insertions(+), 51 deletions(-)
---
diff --git a/globus-xio-pipe-driver.spec b/globus-xio-pipe-driver.spec
index 7a3730f..846be06 100644
--- a/globus-xio-pipe-driver.spec
+++ b/globus-xio-pipe-driver.spec
@@ -1,37 +1,27 @@
-%ifarch aarch64 alpha ia64 %{power64} s390x sparc64 x86_64
-%global flavor gcc64
-%else
-%global flavor gcc32
-%endif
-
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: globus-xio-pipe-driver
%global _name %(tr - _ <<< %{name})
-Version: 2.2
-Release: 10%{?dist}
+Version: 3.7
+Release: 1%{?dist}
Summary: Globus Toolkit - Globus Pipe Driver
Group: System Environment/Libraries
License: ASL 2.0
URL: http://www.globus.org/
-Source: http://www.globus.org/ftppub/gt5/5.2/5.2.1/packages/src/%{_name}-%{version}.tar.gz
+Source: http://www.globus.org/ftppub/gt6/packages/%{_name}-%{version}.tar.gz
# README file
Source8: GLOBUS-XIO
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: globus-common%{?_isa} >= 14
-Requires: globus-xio%{?_isa} >= 3
-BuildRequires: grid-packaging-tools >= 3.4
-BuildRequires: globus-core >= 8
-BuildRequires: globus-common-devel >= 14
+BuildRequires: globus-common-devel >= 15
BuildRequires: globus-xio-devel >= 3
%package devel
Summary: Globus Toolkit - Globus Pipe Driver Development Files
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
-Requires: globus-common-devel%{?_isa} >= 14
+Requires: globus-common-devel%{?_isa} >= 15
Requires: globus-xio-devel%{?_isa} >= 3
%description
@@ -56,19 +46,13 @@ Globus Pipe Driver Development Files
%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
+# Reduce overlinking
+export LDFLAGS="-Wl,--as-needed -Wl,-z,defs %{?__global_ldflags}"
-%configure --disable-static --with-flavor=%{flavor} \
- --with-docdir=%{_pkgdocdir}
+%configure --disable-static \
+ --includedir='${prefix}/include/globus' \
+ --libexecdir='${datadir}/globus' \
+ --docdir=%{_pkgdocdir}
# Reduce overlinking
sed 's!CC -shared !CC \${wl}--as-needed -shared !g' -i libtool
@@ -79,30 +63,12 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
-GLOBUSPACKAGEDIR=%{buildroot}%{_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 %{buildroot}%{_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 libtool archives (.la files)
+rm %{buildroot}%{_libdir}/*.la
# Install README file
install -m 644 -p %{SOURCE8} %{buildroot}%{_pkgdocdir}/README
-# 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
-
%clean
rm -rf %{buildroot}
@@ -110,14 +76,21 @@ rm -rf %{buildroot}
%postun -p /sbin/ldconfig
-%files -f package.filelist
-%dir %{_datadir}/globus/packages/%{_name}
+%files
+%{_libdir}/libglobus_xio_pipe_driver.so
%dir %{_pkgdocdir}
+%doc %{_pkgdocdir}/GLOBUS_LICENSE
%doc %{_pkgdocdir}/README
-%files -f package-devel.filelist devel
+%files devel
+%{_includedir}/globus/*
+%{_libdir}/pkgconfig/%{name}.pc
%changelog
+* Fri Sep 12 2014 Mattias Ellert <mattias.ellert at fysast.uu.se> - 3.7-1
+- Update to Globus Toolkit 6.0
+- Drop GPT build system and GPT packaging metadata
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index 0adff56..f5b1a30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-73f728c200d4404ef76b1b2126cf80cc globus_xio_pipe_driver-2.2.tar.gz
+6c3053a8f3353fe530fd65e968d00e4b globus_xio_pipe_driver-3.7.tar.gz
More information about the scm-commits
mailing list