summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:26:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:26:26 +0000
commit729b59db999401a65a987a85cf49deff78c6a618 (patch)
tree317867ba98913f9618d2b0cd56edffee4893ea11
parentc3dc9f66a5fa013ee9412d0723d8dc4194bc1734 (diff)
automatic import of python-django-rgd-3d
-rw-r--r--.gitignore1
-rw-r--r--python-django-rgd-3d.spec205
-rw-r--r--sources1
3 files changed, 207 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..af19eb0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-rgd-3d-0.3.11.tar.gz
diff --git a/python-django-rgd-3d.spec b/python-django-rgd-3d.spec
new file mode 100644
index 0000000..84ef91d
--- /dev/null
+++ b/python-django-rgd-3d.spec
@@ -0,0 +1,205 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-rgd-3d
+Version: 0.3.11
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: Apache 2.0
+URL: https://github.com/ResonantGeoData/ResonantGeoData
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/60/f5/60a9c0995b0a46512e32f36aa7ef3654ed8bd9de15c8d83e1512fa346735/django-rgd-3d-0.3.11.tar.gz
+BuildArch: noarch
+
+Requires: python3-django-rgd
+Requires: python3-pyntcloud[las]
+Requires: python3-pyvista
+Requires: python3-pyproj
+
+%description
+[![logo](https://raw.githubusercontent.com/ResonantGeoData/ResonantGeoData/main/logos/RGD_Logo.png)](https://github.com/ResonantGeoData/ResonantGeoData/)
+
+# Resonant GeoData 3D
+
+[![Kitware](https://img.shields.io/badge/Made%20by-Kitware-blue)](https://www.kitware.com/)
+[![PyPI](https://img.shields.io/pypi/v/django-rgd-3d.svg?logo=python&logoColor=white)](https://pypi.org/project/django-rgd-3d/)
+
+A subapplication of Resonant GeoData for storing 3D data with an optional
+spatial reference.
+
+
+## Installation
+
+Follow the instructions for the core `django-rgd` app first, then
+
+```
+pip install --find-links https://girder.github.io/large_image_wheels django-rgd-3d
+```
+
+Add this app to your `INSTALLED_APPS` along with the core RGD app:
+
+```py
+INSTALLED_APPS += [
+ 'django.contrib.gis',
+ 'rgd',
+ 'rgd_3d',
+]
+```
+
+
+## Models
+
+This app adds a few additional models on top of the core app for storign 3D data
+
+- `Mesh3D`: the base 3D data model for ingesting data. This will automatically convert many popular formats to the VTP format. A 3D viewer is included for previewing these data on the front-end.
+- `Mesh3DSpatial`: A way to link a geospatial context with `Mesh3D`.
+
+
+## Management Commands
+
+- `rgd_3d_demo`: populate the database with example 3D data.
+
+
+
+
+%package -n python3-django-rgd-3d
+Summary: please add a summary manually as the author left a blank one
+Provides: python-django-rgd-3d
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-rgd-3d
+[![logo](https://raw.githubusercontent.com/ResonantGeoData/ResonantGeoData/main/logos/RGD_Logo.png)](https://github.com/ResonantGeoData/ResonantGeoData/)
+
+# Resonant GeoData 3D
+
+[![Kitware](https://img.shields.io/badge/Made%20by-Kitware-blue)](https://www.kitware.com/)
+[![PyPI](https://img.shields.io/pypi/v/django-rgd-3d.svg?logo=python&logoColor=white)](https://pypi.org/project/django-rgd-3d/)
+
+A subapplication of Resonant GeoData for storing 3D data with an optional
+spatial reference.
+
+
+## Installation
+
+Follow the instructions for the core `django-rgd` app first, then
+
+```
+pip install --find-links https://girder.github.io/large_image_wheels django-rgd-3d
+```
+
+Add this app to your `INSTALLED_APPS` along with the core RGD app:
+
+```py
+INSTALLED_APPS += [
+ 'django.contrib.gis',
+ 'rgd',
+ 'rgd_3d',
+]
+```
+
+
+## Models
+
+This app adds a few additional models on top of the core app for storign 3D data
+
+- `Mesh3D`: the base 3D data model for ingesting data. This will automatically convert many popular formats to the VTP format. A 3D viewer is included for previewing these data on the front-end.
+- `Mesh3DSpatial`: A way to link a geospatial context with `Mesh3D`.
+
+
+## Management Commands
+
+- `rgd_3d_demo`: populate the database with example 3D data.
+
+
+
+
+%package help
+Summary: Development documents and examples for django-rgd-3d
+Provides: python3-django-rgd-3d-doc
+%description help
+[![logo](https://raw.githubusercontent.com/ResonantGeoData/ResonantGeoData/main/logos/RGD_Logo.png)](https://github.com/ResonantGeoData/ResonantGeoData/)
+
+# Resonant GeoData 3D
+
+[![Kitware](https://img.shields.io/badge/Made%20by-Kitware-blue)](https://www.kitware.com/)
+[![PyPI](https://img.shields.io/pypi/v/django-rgd-3d.svg?logo=python&logoColor=white)](https://pypi.org/project/django-rgd-3d/)
+
+A subapplication of Resonant GeoData for storing 3D data with an optional
+spatial reference.
+
+
+## Installation
+
+Follow the instructions for the core `django-rgd` app first, then
+
+```
+pip install --find-links https://girder.github.io/large_image_wheels django-rgd-3d
+```
+
+Add this app to your `INSTALLED_APPS` along with the core RGD app:
+
+```py
+INSTALLED_APPS += [
+ 'django.contrib.gis',
+ 'rgd',
+ 'rgd_3d',
+]
+```
+
+
+## Models
+
+This app adds a few additional models on top of the core app for storign 3D data
+
+- `Mesh3D`: the base 3D data model for ingesting data. This will automatically convert many popular formats to the VTP format. A 3D viewer is included for previewing these data on the front-end.
+- `Mesh3DSpatial`: A way to link a geospatial context with `Mesh3D`.
+
+
+## Management Commands
+
+- `rgd_3d_demo`: populate the database with example 3D data.
+
+
+
+
+%prep
+%autosetup -n django-rgd-3d-0.3.11
+
+%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-django-rgd-3d -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.11-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f42725c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bb1d8dba0563f8eca5991742db53d2cf django-rgd-3d-0.3.11.tar.gz