[gfal2-util] - initial import of gfal util : 0.2.1-1

Devresse adev at fedoraproject.org
Fri Dec 13 13:25:37 UTC 2013


commit 665aa5c844cafbd67380c468a1b84aa195b75fdf
Author: Adrien Devresse <adevress at adevvm-sl6-1.cern.ch>
Date:   Fri Dec 13 14:25:36 2013 +0100

    - initial import of gfal util : 0.2.1-1

 .gitignore      |    1 +
 gfal2-util.spec |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6308ca2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gfal2-util-0.2.1.tar.gz
diff --git a/gfal2-util.spec b/gfal2-util.spec
new file mode 100644
index 0000000..1d2c8c3
--- /dev/null
+++ b/gfal2-util.spec
@@ -0,0 +1,58 @@
+
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_version:  %global python_version  %(%{__python} -c "from sys import version_info; print('%d.%d'% (version_info[0],version_info[1]))")}
+
+
+Name:				gfal2-util
+Version:			0.2.1
+Release:			1%{?dist}
+Summary:			GFAL2 utility tools
+Group:				Applications/Internet
+License:			GPLv3
+URL:				https://svnweb.cern.ch/trac/lcgutil/wiki/gfal2
+# svn export http://svn.cern.ch/guest/lcgutil/gfal2-utils/trunk gfal2-utils
+Source0:			http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:			%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+#main lib dependencies
+BuildRequires:		cmake
+BuildRequires:		python2-devel
+BuildArch:			noarch
+
+Requires:			gfal2-python >= 1.2.1
+%if "0%{?python_version}" <= "2.7"
+Requires:			python-argparse
+%endif # python < 2.7
+
+%description
+gfal2-util is a set of basic utility tools for file 
+interactions and file copy based on the GFAL 2.0 toolkit.
+gfal2-util supports the protocols of GFAL 2.0 : WebDav(s),
+ gridFTP, http(s), SRM, xrootd, etc...
+
+%clean
+rm -rf %{buildroot}
+make clean
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+%install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+
+%files
+%defattr (-,root,root)
+%{python_sitelib}/gfal2_util
+%{_bindir}/gfal-*
+%{_mandir}/man1/*
+%doc RELEASE-NOTES VERSION LICENSE
+
+
+%changelog
+* Mon Nov 04 2013 Adrien Devresse <adevress at cern.ch> - 0.2.1-1
+ - Initial EPEL compatible version
diff --git a/sources b/sources
index e69de29..5f18b8c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ba0b8e1caaf77229ce19d3da02c3af34  gfal2-util-0.2.1.tar.gz


More information about the scm-commits mailing list