diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 15:13:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 15:13:54 +0000 |
commit | 67c209670f9c9b06be8fb7468f5585e54c6243c6 (patch) | |
tree | 476e2d58ae46871a70e72a2821b8bfc090645865 | |
parent | dd62e2c03968df32834b4edb9bf63be2d8b4b6a3 (diff) |
automatic import of python-apache-sedona
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-apache-sedona.spec | 104 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 106 insertions, 0 deletions
@@ -0,0 +1 @@ +/apache-sedona-1.4.0.tar.gz diff --git a/python-apache-sedona.spec b/python-apache-sedona.spec new file mode 100644 index 0000000..1e7fb76 --- /dev/null +++ b/python-apache-sedona.spec @@ -0,0 +1,104 @@ +%global _empty_manifest_terminate_build 0 +Name: python-apache-sedona +Version: 1.4.0 +Release: 1 +Summary: Apache Sedona is a cluster computing system for processing large-scale spatial data +License: Apache License v2.0 +URL: https://sedona.apache.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/68/1a/63db41c8cf33bbd45ddc04fd2c10ba34ab48fc72f7647e1fbb288e1c7dbb/apache-sedona-1.4.0.tar.gz + +Requires: python3-attrs +Requires: python3-shapely +Requires: python3-pyspark + +%description +# Apache Sedona + +This library is the Python wrapper for Apache Sedona. + +Apache Sedona is a cluster computing system for processing large-scale spatial data. +Apache Sedona extends Apache Spark / SparkSQL with a set of out-of-the-box Spatial Resilient Distributed Datasets (SRDDs)/ SpatialSQL that efficiently load, process, and analyze large-scale spatial data across machines. + +Please visit the official Apache Sedona website: +https://sedona.apache.org/ + + +%package -n python3-apache-sedona +Summary: Apache Sedona is a cluster computing system for processing large-scale spatial data +Provides: python-apache-sedona +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-apache-sedona +# Apache Sedona + +This library is the Python wrapper for Apache Sedona. + +Apache Sedona is a cluster computing system for processing large-scale spatial data. +Apache Sedona extends Apache Spark / SparkSQL with a set of out-of-the-box Spatial Resilient Distributed Datasets (SRDDs)/ SpatialSQL that efficiently load, process, and analyze large-scale spatial data across machines. + +Please visit the official Apache Sedona website: +https://sedona.apache.org/ + + +%package help +Summary: Development documents and examples for apache-sedona +Provides: python3-apache-sedona-doc +%description help +# Apache Sedona + +This library is the Python wrapper for Apache Sedona. + +Apache Sedona is a cluster computing system for processing large-scale spatial data. +Apache Sedona extends Apache Spark / SparkSQL with a set of out-of-the-box Spatial Resilient Distributed Datasets (SRDDs)/ SpatialSQL that efficiently load, process, and analyze large-scale spatial data across machines. + +Please visit the official Apache Sedona website: +https://sedona.apache.org/ + + +%prep +%autosetup -n apache-sedona-1.4.0 + +%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-apache-sedona -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.0-1 +- Package Spec generated @@ -0,0 +1 @@ +56c4dd03691d6b6dda787f6dad4bc93a apache-sedona-1.4.0.tar.gz |