summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:41:39 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:41:39 +0000
commitda69808249c10542c0b924a23e93b2ccae79b097 (patch)
treee772b4251f2b881f2696e5e866b64b9a70b73f9b
parent42bb2569bbd51abcf048bc5a56b253ad2fb29b93 (diff)
automatic import of python-globus-nexus-client
-rw-r--r--.gitignore1
-rw-r--r--python-globus-nexus-client.spec85
-rw-r--r--sources1
3 files changed, 87 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..52ed19e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/globus-nexus-client-0.4.1.tar.gz
diff --git a/python-globus-nexus-client.spec b/python-globus-nexus-client.spec
new file mode 100644
index 0000000..acd5ca0
--- /dev/null
+++ b/python-globus-nexus-client.spec
@@ -0,0 +1,85 @@
+%global _empty_manifest_terminate_build 0
+Name: python-globus-nexus-client
+Version: 0.4.1
+Release: 1
+Summary: Unofficial Globus Nexus Client (based on SDK clients)
+License: Apache Software License
+URL: https://github.com/sirosen/globus-nexus-client
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c2/c1/80ec6b125583683c6bfdf9b6174f6ae18deb56022d824c9abb65b6b3721e/globus-nexus-client-0.4.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-globus-sdk
+
+%description
+This is a personal project for talking to the Globus Nexus API with all of the
+benefits of the Globus SDK.
+It is not a Globus maintained product.
+If you don't know what that is, stop reading here and go away.
+Otherwise, this will hopefully alleviate the pains of trying to use Nexus.
+
+%package -n python3-globus-nexus-client
+Summary: Unofficial Globus Nexus Client (based on SDK clients)
+Provides: python-globus-nexus-client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-globus-nexus-client
+This is a personal project for talking to the Globus Nexus API with all of the
+benefits of the Globus SDK.
+It is not a Globus maintained product.
+If you don't know what that is, stop reading here and go away.
+Otherwise, this will hopefully alleviate the pains of trying to use Nexus.
+
+%package help
+Summary: Development documents and examples for globus-nexus-client
+Provides: python3-globus-nexus-client-doc
+%description help
+This is a personal project for talking to the Globus Nexus API with all of the
+benefits of the Globus SDK.
+It is not a Globus maintained product.
+If you don't know what that is, stop reading here and go away.
+Otherwise, this will hopefully alleviate the pains of trying to use Nexus.
+
+%prep
+%autosetup -n globus-nexus-client-0.4.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-globus-nexus-client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4e4784e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+01351e7cd2a0a4049523eda0b84ec0c3 globus-nexus-client-0.4.1.tar.gz