[globus-gridmap-verify-myproxy-callout/el5] Initial commit after review
Mattias Ellert
ellert at fedoraproject.org
Mon Jul 22 12:47:36 UTC 2013
commit 4747d1e210517c00a8dc7b84327eef6f84030d31
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Mon Jul 22 14:46:29 2013 +0200
Initial commit after review
.gitignore | 1 +
GLOBUS-GSIC | 28 +++++
globus-gridmap-verify-myproxy-callout-desc.patch | 37 +++++++
globus-gridmap-verify-myproxy-callout.spec | 121 ++++++++++++++++++++++
sources | 1 +
5 files changed, 188 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-GSIC b/GLOBUS-GSIC
new file mode 100644
index 0000000..f5f8437
--- /dev/null
+++ b/GLOBUS-GSIC
@@ -0,0 +1,28 @@
+This package is part of the Grid Security Infrastructure in C (GSI C) component
+of the Globus Toolkit. For more information visit:
+
+http://www.globus.org/toolkit/docs/latest-stable/gsic/
+
+Admin Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gsic/admin/
+
+User's Guide
+http://www.globus.org/toolkit/docs/latest-stable/gsic/user/
+
+Developer's Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gsic/developer/
+
+Release Notes:
+http://www.globus.org/toolkit/docs/latest-stable/gsic/rn/
+
+Public Interface Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gsic/pi/
+
+Quality Profile:
+http://www.globus.org/toolkit/docs/latest-stable/gsic/qp/
+
+Migrating Guide:
+http://www.globus.org/toolkit/docs/latest-stable/gsic/mig/
+
+Globus RPM packaging is supported by the Initiative for Globus in Europe:
+http://www.ige-project.eu/
diff --git a/globus-gridmap-verify-myproxy-callout-desc.patch b/globus-gridmap-verify-myproxy-callout-desc.patch
new file mode 100644
index 0000000..8964dcd
--- /dev/null
+++ b/globus-gridmap-verify-myproxy-callout-desc.patch
@@ -0,0 +1,37 @@
+diff -ur globus_gridmap_verify_myproxy_callout-1.0.orig/gridmap_verify_myproxy_callout-gsi_authz.conf.in globus_gridmap_verify_myproxy_callout-1.0/gridmap_verify_myproxy_callout-gsi_authz.conf.in
+--- globus_gridmap_verify_myproxy_callout-1.0.orig/gridmap_verify_myproxy_callout-gsi_authz.conf.in 2012-08-20 20:30:14.000000000 +0200
++++ globus_gridmap_verify_myproxy_callout-1.0/gridmap_verify_myproxy_callout-gsi_authz.conf.in 2013-06-13 15:13:19.646169187 +0200
+@@ -1 +1 @@
+-globus_mapping libglobus_gridmap_verify_myproxy_callout.so globus_gridmap_verify_myproxy_callout
++globus_mapping libglobus_gridmap_verify_myproxy_callout globus_gridmap_verify_myproxy_callout
+diff -ur globus_gridmap_verify_myproxy_callout-1.0.orig/pkgdata/pkg_data_src.gpt.in globus_gridmap_verify_myproxy_callout-1.0/pkgdata/pkg_data_src.gpt.in
+--- globus_gridmap_verify_myproxy_callout-1.0.orig/pkgdata/pkg_data_src.gpt.in 2012-08-20 20:30:15.000000000 +0200
++++ globus_gridmap_verify_myproxy_callout-1.0/pkgdata/pkg_data_src.gpt.in 2013-06-13 14:49:58.398258394 +0200
+@@ -2,7 +2,7 @@
+ <!DOCTYPE gpt_package_metadata SYSTEM "globus_package.dtd">
+ <gpt_package_metadata Format_Version="0.02" Name="globus_gridmap_verify_myproxy_callout" >
+ <Aging_Version Age="1" Major="1" Minor="0" />
+- <Description >Globus gridmap myproxy callout.</Description>
++ <Description >Globus gridmap myproxy callout</Description>
+ <Functional_Group >Security</Functional_Group>
+ <Version_Stability Release="Experimental"
+ Dirt="@DIRT_TIMESTAMP at -@DIRT_BRANCH_ID@" />
+@@ -33,7 +33,7 @@
+ </Version>
+ </Dependency>
+ </Source_Dependencies>
+- <Source_Dependencies Type="pgm_link" >
++ <Source_Dependencies Type="lib_link" >
+ <Dependency Name="globus_gsi_sysconfig" >
+ <Version >
+ <Simple_Version Major="1" />
+@@ -60,8 +60,7 @@
+ <Build_Environment >
+ <cflags >@GPT_PKG_CFLAGS@</cflags>
+ <external_includes >@GPT_EXTERNAL_INCLUDES@</external_includes>
+- <pkg_libs >
+- </pkg_libs>
++ <pkg_libs ></pkg_libs>
+ <external_libs >@GPT_EXTERNAL_LIBS@</external_libs>
+ </Build_Environment>
+ </src_pkg>
diff --git a/globus-gridmap-verify-myproxy-callout.spec b/globus-gridmap-verify-myproxy-callout.spec
new file mode 100644
index 0000000..3d872c2
--- /dev/null
+++ b/globus-gridmap-verify-myproxy-callout.spec
@@ -0,0 +1,121 @@
+%ifarch aarch64 alpha ia64 ppc64 s390x sparc64 x86_64
+%global flavor gcc64
+%else
+%global flavor gcc32
+%endif
+
+Name: globus-gridmap-verify-myproxy-callout
+%global _name %(tr - _ <<< %{name})
+Version: 1.0
+Release: 4%{?dist}
+Summary: Globus Toolkit - Globus gridmap myproxy callout
+
+Group: System Environment/Libraries
+License: ASL 2.0
+URL: http://www.globus.org/
+Source: http://www.globus.org/ftppub/gt5/5.2/5.2.3/packages/src/%{_name}-%{version}.tar.gz
+# README file
+Source8: GLOBUS-GSIC
+Patch0: %{name}-desc.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires: globus-common
+BuildRequires: grid-packaging-tools >= 3.4
+BuildRequires: globus-core >= 8
+BuildRequires: globus-gsi-sysconfig-devel >= 1
+BuildRequires: globus-gss-assist-devel >= 3
+BuildRequires: globus-gridmap-callout-error-devel
+BuildRequires: globus-gssapi-gsi-devel >= 4
+
+%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:
+Globus gridmap myproxy callout
+
+%prep
+%setup -q -n %{_name}-%{version}
+%patch0 -p1
+
+%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
+
+%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}
+
+%install
+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
+
+# Install README file
+install -m 644 -p %{SOURCE8} %{buildroot}%{_docdir}/%{name}-%{version}/README
+
+# Devel package is redundant
+rm %{buildroot}%{_libdir}/*.so
+rm %{buildroot}%{_libdir}/pkgconfig/*.pc
+rm $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_dev.filelist
+rm $GLOBUSPACKAGEDIR/%{_name}/pkg_data_%{flavor}_dev.gpt
+
+# Generate package filelists
+cat $GLOBUSPACKAGEDIR/%{_name}/%{flavor}_rtl.filelist \
+ $GLOBUSPACKAGEDIR/%{_name}/noflavor_data.filelist \
+ | sed -e s!^!%{_prefix}! \
+ -e 's!%{_prefix}%{_sysconfdir}!%config(noreplace) %{_sysconfdir}!' \
+ > package.filelist
+cat $GLOBUSPACKAGEDIR/%{_name}/noflavor_doc.filelist \
+ | sed -e 's!/man/.*!&*!' -e 's!^!%doc %{_prefix}!' >> package.filelist
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files -f package.filelist
+%dir %{_datadir}/globus/packages/%{_name}
+%dir %{_docdir}/%{name}-%{version}
+%doc %{_docdir}/%{name}-%{version}/README
+
+%changelog
+* Fri Jul 19 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.0-4
+- Remove isa from BuildRequires :-(
+
+* Thu Jun 13 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.0-3
+- Use standard globus plugin packaging
+
+* Sat May 25 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.0-2
+- Add aarch64 to the list of 64 bit platforms
+
+* Fri Dec 07 2012 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.0-1
+- Autogenerated
diff --git a/sources b/sources
index e69de29..784f424 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3995f1674f7b1f056a446b3387e9744e globus_gridmap_verify_myproxy_callout-1.0.tar.gz
More information about the scm-commits
mailing list