[globus-xio-rate-driver/el5] Initial check-in after review

Mattias Ellert ellert at fedoraproject.org
Tue Jan 27 18:56:27 UTC 2015


commit 6e61117ec18cd7411e76047e677389662ebd12fa
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date:   Tue Jan 27 19:55:42 2015 +0100

    Initial check-in after review

 .gitignore                  |    1 +
 GLOBUS-XIO                  |   25 +++++++++++
 globus-xio-rate-driver.spec |   99 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 4 files changed, 126 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-XIO b/GLOBUS-XIO
new file mode 100644
index 0000000..cba9def
--- /dev/null
+++ b/GLOBUS-XIO
@@ -0,0 +1,25 @@
+This package is part of the Extended IO (XIO) component
+of the Globus Toolkit. For more information visit:
+
+http://www.globus.org/toolkit/docs/latest-stable/xio/
+
+Admin Guide:
+http://www.globus.org/toolkit/docs/latest-stable/xio/admin/
+
+Developer's Guide:
+http://www.globus.org/toolkit/docs/latest-stable/xio/developer/
+
+Release Notes:
+http://www.globus.org/toolkit/docs/latest-stable/xio/rn/
+
+Public Interface Guide:
+http://www.globus.org/toolkit/docs/latest-stable/xio/pi/
+
+Quality Profile:
+http://www.globus.org/toolkit/docs/latest-stable/xio/qp/
+
+Migrating Guide:
+http://www.globus.org/toolkit/docs/latest-stable/xio/mig/
+
+Globus RPM packaging is supported by the Initiative for Globus in Europe:
+http://www.ige-project.eu/
diff --git a/globus-xio-rate-driver.spec b/globus-xio-rate-driver.spec
new file mode 100644
index 0000000..4f0d6b3
--- /dev/null
+++ b/globus-xio-rate-driver.spec
@@ -0,0 +1,99 @@
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
+Name:		globus-xio-rate-driver
+%global _name %(tr - _ <<< %{name})
+Version:	1.7
+Release:	2%{?dist}
+Summary:	Globus Toolkit - Globus XIO Rate Limiting Driver
+
+Group:		System Environment/Libraries
+License:	ASL 2.0
+URL:		http://www.globus.org/
+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)
+
+BuildRequires:	globus-common-devel >= 15
+BuildRequires:	globus-xio-devel >= 3
+
+%package devel
+Summary:	Globus Toolkit - Globus XIO Rate Limiting Driver Development Files
+Group:		Development/Libraries
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+Requires:	globus-common-devel%{?_isa} >= 15
+Requires:	globus-xio-devel%{?_isa} >= 3
+
+%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 XIO Rate Limiting Driver
+
+%description devel
+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}-devel package contains:
+Globus XIO Rate Limiting Driver Development Files
+
+%prep
+%setup -q -n %{_name}-%{version}
+
+%build
+# Reduce overlinking
+export LDFLAGS="-Wl,--as-needed -Wl,-z,defs %{?__global_ldflags}"
+
+%configure --disable-static \
+	   --includedir='${prefix}/include/globus' \
+	   --libexecdir='${datadir}/globus' \
+	   --docdir=%{_pkgdocdir}
+
+# Reduce overlinking
+sed 's!CC \(.*-shared\) !CC \\\${wl}--as-needed \1 !' -i libtool
+
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+# Remove libtool archives (.la files)
+rm %{buildroot}%{_libdir}/*.la
+
+# Install README file
+install -m 644 -p %{SOURCE8} %{buildroot}%{_pkgdocdir}/README
+
+# Remove license file from pkgdocdir if licensedir is used
+%{?_licensedir: rm %{buildroot}%{_pkgdocdir}/GLOBUS_LICENSE}
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+# This is a loadable module (plugin)
+%{_libdir}/libglobus_xio_rate_driver.so
+%dir %{_pkgdocdir}
+%doc %{_pkgdocdir}/README
+%{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE}
+%{?_licensedir: %license GLOBUS_LICENSE}
+
+%files devel
+%{_includedir}/globus/*
+%{_libdir}/pkgconfig/%{name}.pc
+
+%changelog
+* Fri Jan 23 2015 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.7-2
+- Implement updated license packaging guidelines
+
+* Fri Sep 12 2014 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.7-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..4d112e7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+be55b70e3bdff37c8ef6714d2dd5e46e  globus_xio_rate_driver-1.7.tar.gz


More information about the scm-commits mailing list