[CGSI-gSOAP] Update to version 1.3.4.2

Mattias Ellert ellert at fedoraproject.org
Mon Jun 20 12:16:42 UTC 2011


commit 0268dddc05434e470aefeeb7534d577aee023c9e
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date:   Mon Jun 20 14:16:15 2011 +0200

    Update to version 1.3.4.2

 .gitignore      |    2 +-
 CGSI-gSOAP.spec |   38 +++++++++++++++++---------------------
 sources         |    2 +-
 3 files changed, 19 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d09245b..1015a5b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/CGSI-gSOAP-1.3.4.0.tar.gz
+/CGSI-gSOAP-1.3.4.2.tar.gz
diff --git a/CGSI-gSOAP.spec b/CGSI-gSOAP.spec
index dd3fa9b..47eead5 100644
--- a/CGSI-gSOAP.spec
+++ b/CGSI-gSOAP.spec
@@ -1,14 +1,14 @@
 Name:		CGSI-gSOAP
-Version:	1.3.4.0
-Release:	2%{?dist}
+Version:	1.3.4.2
+Release:	1%{?dist}
 Summary:	GSI plugin for gSOAP
 
 Group:		System Environment/Libraries
 License:	ASL 2.0
 URL:		http://glite.web.cern.ch/glite/
 #		The source tarfile is created from a subversion checkout:
-#		svn co http://svnweb.cern.ch/guest/lcgutil/cgsi-gsoap/tags/glite-security-cgsi-gsoap_R_1_3_4_0 CGSI-gSOAP-1.3.4.0
-#		tar --exclude .svn -z -c -f CGSI-gSOAP-1.3.4.0.tar.gz CGSI-gSOAP-1.3.4.0
+#		svn co http://svnweb.cern.ch/guest/lcgutil/cgsi-gsoap/tags/cgsi-gsoap_R_1_3_4_2 CGSI-gSOAP-1.3.4.2
+#		tar --exclude .svn -z -c -f CGSI-gSOAP-1.3.4.2.tar.gz CGSI-gSOAP-1.3.4.2
 Source0:	%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -40,33 +40,26 @@ find . '(' -name '*.h' -o -name '*.c' -o -name '*.cpp' -o -name '*.cc' ')' \
     -exec chmod 644 {} ';'
 chmod 644 LICENSE RELEASE-NOTES
 
-# Adapt Makefile for Fedora
-sed -e /PTHR/d \
-    -e 's!_$(GLOBUS_FLAVOUR)!!g' \
-    -e 's!-L$([A-Z_]*)/lib!!' \
-    -e 's!-L$([A-Z_]*)/$(LIBDIR)!!' \
-    -e 's!\(GLOBUS_INCLUDE *= *\).*!\1-I/usr/include/globus -I/usr/$(LIBDIR)/globus/include -I/usr/kerberos/include!' \
-    -e 's!\(GSOAP_INCLUDE *= *\).*!\1!' \
-    -e 's!\(GSOAP_VERSION *= *\).*!\1!' \
-    -e 's!-I$(VOMS_LOCATION)/include/glite/security/voms!-I/usr/include/voms!' \
-    -e 's!\.so \\$!.so!' \
-    -e s/installshlibvomspthr// -i src/Makefile
-sed -e :a -e '/^$/N;/\n.*$(AR)/d;ta' -e 'P;D' -i src/Makefile
-sed -e :a -e '/^$/N;/\n.*$(RANLIB)/d;ta' -e 'P;D' -i src/Makefile
+# Remove -L/usr/lib and -L/usr/lib64 since they may cause problems
+sed -e 's!-L$([A-Z_]*)/lib!!' \
+    -e 's!-L$([A-Z_]*)/$(LIBDIR)!!' -i src/Makefile
+
+# Remove gsoap version from library names
+sed -e 's!$(GSOAP_VERSION)!!g' -i src/Makefile
 
 %build
 . ./VERSION
 cd src
-make CFLAGS="%optflags -fPIC -I." USE_VOMS=yes WITH_CPP_LIBS=yes \
-     LIBDIR=%{_lib} VERSION=$VERSION
+make CFLAGS="%optflags -fPIC -I." USE_VOMS=yes WITH_EMI=yes WITH_CPP_LIBS=yes \
+     LIBDIR=%{_lib} VERSION=$VERSION all doc
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 . ./VERSION
 cd src
-make CFLAGS="%optflags -fPIC -I." USE_VOMS=yes WITH_CPP_LIBS=yes \
-     LIBDIR=%{_lib} VERSION=$VERSION install
+make CFLAGS="%optflags -fPIC -I." USE_VOMS=yes WITH_EMI=yes WITH_CPP_LIBS=yes \
+     LIBDIR=%{_lib} VERSION=$VERSION install install.man
 
 mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-devel-%{version}
 mv $RPM_BUILD_ROOT%{_datadir}/doc/CGSI \
@@ -100,6 +93,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_mandir}/man*/*
 
 %changelog
+* Mon Jun 20 2011 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.3.4.2-1
+- Update to version 1.3.4.2
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.4.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 7c69e5e..a1aa97b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0c5a98d081f06172da4abf37240c0f3c  CGSI-gSOAP-1.3.4.0.tar.gz
+85095b98219f4ac70b0831d81126dc25  CGSI-gSOAP-1.3.4.2.tar.gz


More information about the scm-commits mailing list