[globus-net-manager/el5] Initial check-in after review

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


commit 87ba75a307846c612b6dc473dae609b09d2c6951
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date:   Tue Jan 27 19:05:55 2015 +0100

    Initial check-in after review

 .gitignore              |    1 +
 GLOBUS-XIO              |   25 +++++++
 globus-net-manager.spec |  182 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 4 files changed, 209 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-net-manager.spec b/globus-net-manager.spec
new file mode 100644
index 0000000..ff66ae2
--- /dev/null
+++ b/globus-net-manager.spec
@@ -0,0 +1,182 @@
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
+Name:		globus-net-manager
+%global _name %(tr - _ <<< %{name})
+Version:	0.6
+Release:	2%{?dist}
+Summary:	Globus Toolkit - Network Manager
+
+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.27
+BuildRequires:	globus-xio-devel >= 5
+%if %{?rhel}%{!?rhel:0} == 5
+BuildRequires:	python26-devel
+%else
+BuildRequires:	python-devel
+%endif
+BuildRequires:	doxygen
+Requires:	globus-common%{?_isa} >= 15.27
+Requires:	globus-xio%{?_isa} >= 5
+
+%package devel
+Summary:	Globus Toolkit - Network Manager Development Files
+Group:		Development/Libraries
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+Requires:	globus-common-devel%{?_isa} >= 15.27
+Requires:	globus-xio-devel%{?_isa} >= 5
+
+%package -n globus-xio-net-manager-driver
+Summary:	Globus Toolkit - Globus XIO Network Manager Driver
+Group:		System Environment/Libraries
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%package -n globus-xio-net-manager-driver-devel
+Summary:	Globus Toolkit - Globus XIO Network Manager Driver Development Files
+Group:		Development/Libraries
+Requires:	globus-xio-net-manager-driver%{?_isa} = %{version}-%{release}
+Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
+
+%package doc
+Summary:	Globus Toolkit - Network Manager Documentation Files
+Group:		Documentation
+%if %{?fedora}%{!?fedora:0} >= 10 || %{?rhel}%{!?rhel:0} >= 6
+BuildArch:	noarch
+%endif
+
+%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:
+Network Manager
+
+The Globus Net Manager library is a plug-in point for network management
+tasks, such as:
+ - selectively open ports in a firewall and allow these ports to be closed
+   when transfers are complete
+ - configure a virtual circuit based on a site policy and route traffic
+   over this circuit
+ - route network traffic related to a task over a particular network
+
+%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:
+Network Manager Development Files
+
+%description -n globus-xio-net-manager-driver
+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 globus-xio-net-manager-driver package contains:
+Globus XIO Network Manager Driver
+
+%description -n globus-xio-net-manager-driver-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 globus-xio-net-manager-driver-devel package contains:
+Globus XIO Network Manager Driver Development Files
+
+%description doc
+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}-doc package contains:
+Network Manager Documentation 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} \
+	   --enable-python
+
+# 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
+%{_libdir}/libglobus_net_manager.so.*
+%dir %{_pkgdocdir}
+%doc %{_pkgdocdir}/README
+%{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE}
+%{?_licensedir: %license GLOBUS_LICENSE}
+
+%files devel
+%{_includedir}/globus/globus_net_manager.h
+%{_includedir}/globus/globus_net_manager_attr.h
+%{_libdir}/libglobus_net_manager.so
+%{_libdir}/pkgconfig/%{name}.pc
+
+%files -n globus-xio-net-manager-driver
+# This is a loadable module (plugin)
+%{_libdir}/libglobus_xio_net_manager_driver.so
+
+%files -n globus-xio-net-manager-driver-devel
+%{_includedir}/globus/globus_xio_net_manager_driver.h
+%{_libdir}/pkgconfig/globus-xio-net-manager-driver.pc
+
+%files doc
+%doc %{_mandir}/man3/*
+%dir %{_pkgdocdir}
+%dir %{_pkgdocdir}/html
+%doc %{_pkgdocdir}/html/*
+%{!?_licensedir: %doc %{_pkgdocdir}/GLOBUS_LICENSE}
+%{?_licensedir: %license GLOBUS_LICENSE}
+
+%changelog
+* Fri Jan 23 2015 Mattias Ellert <mattias.ellert at fysast.uu.se> - 0.6-2
+- Implement updated license packaging guidelines
+
+* Thu Jan 15 2015 Mattias Ellert <mattias.ellert at fysast.uu.se> - 0.6-1
+- GT6 update (test enhancements)
+- Extend package description
+
+* Thu Jan 08 2015 Mattias Ellert <mattias.ellert at fysast.uu.se> - 0.2-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..8c32555 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f0716789f5c8ace380bb907e00ac2c36  globus_net_manager-0.6.tar.gz


More information about the scm-commits mailing list