From 652fb5c2626cbe83ed855e2f84bdd96f4a00e708 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 11 Apr 2023 20:00:18 +0000 Subject: automatic import of python-scenepic --- .gitignore | 1 + python-scenepic.spec | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 177 insertions(+) create mode 100644 python-scenepic.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..dc52c83 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/scenepic-1.1.0.tar.gz diff --git a/python-scenepic.spec b/python-scenepic.spec new file mode 100644 index 0000000..cc7fe58 --- /dev/null +++ b/python-scenepic.spec @@ -0,0 +1,175 @@ +%global _empty_manifest_terminate_build 0 +Name: python-scenepic +Version: 1.1.0 +Release: 1 +Summary: 3D Visualization Made Easy +License: MIT License +URL: https://microsoft.github.io/scenepic/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/05/1bf52a975c438b4886925cb76c22c927f0b93538c37b1bcce409a196bf14/scenepic-1.1.0.tar.gz + +Requires: python3-numpy +Requires: python3-pillow +Requires: python3-scipy +Requires: python3-azure-storage-blob +Requires: python3-azure-common +Requires: python3-nbstripout +Requires: python3-pytest-md +Requires: python3-pytest-emoji +Requires: python3-pytest-cov +Requires: python3-pytest +Requires: python3-requests +Requires: python3-sphinx +Requires: python3-sphinx-autodoc-typehints +Requires: python3-sphinx-rtd-theme +Requires: python3-twine +Requires: python3-wheel +Requires: python3-opencv-python + +%description + +All platforms have good support for 2D images, with well-recognized formats +such as PNG and JPEG that can be viewed out of the box (no installation) +and shared trivially. + +However, while many formats exist for 3D data, none are well-supported +without installation of tools such as MeshLab, Blender, etc. + +ScenePic was created for 3D computer vision researchers such as those +working on [HoloLens](https://www.microsoft.com/en-gb/hololens) +and [Mesh](https://www.microsoft.com/en-us/mesh) at Microsoft. +It was designed to be a lightweight, reuseable 3D visualization +library, with the following desiderata in mind: + +- Make experimentation with 3D data near effortless +- Incredibly easy to create and share 3D results + * zero-install sharing of detailed 3D results using HTML + * based on modern web standards so usable with any modern browser + (tested in Edge, FireFox and Chrome) + * embeddable in other HTML documents +- Performant + * based on WebGL +- High quality visuals +- Works both offline or interactively in client-server setup +- Simple, clean API + * friendly Python front-end + * basic mesh json file format + * other language front ends easy to add + + +%package -n python3-scenepic +Summary: 3D Visualization Made Easy +Provides: python-scenepic +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-scenepic + +All platforms have good support for 2D images, with well-recognized formats +such as PNG and JPEG that can be viewed out of the box (no installation) +and shared trivially. + +However, while many formats exist for 3D data, none are well-supported +without installation of tools such as MeshLab, Blender, etc. + +ScenePic was created for 3D computer vision researchers such as those +working on [HoloLens](https://www.microsoft.com/en-gb/hololens) +and [Mesh](https://www.microsoft.com/en-us/mesh) at Microsoft. +It was designed to be a lightweight, reuseable 3D visualization +library, with the following desiderata in mind: + +- Make experimentation with 3D data near effortless +- Incredibly easy to create and share 3D results + * zero-install sharing of detailed 3D results using HTML + * based on modern web standards so usable with any modern browser + (tested in Edge, FireFox and Chrome) + * embeddable in other HTML documents +- Performant + * based on WebGL +- High quality visuals +- Works both offline or interactively in client-server setup +- Simple, clean API + * friendly Python front-end + * basic mesh json file format + * other language front ends easy to add + + +%package help +Summary: Development documents and examples for scenepic +Provides: python3-scenepic-doc +%description help + +All platforms have good support for 2D images, with well-recognized formats +such as PNG and JPEG that can be viewed out of the box (no installation) +and shared trivially. + +However, while many formats exist for 3D data, none are well-supported +without installation of tools such as MeshLab, Blender, etc. + +ScenePic was created for 3D computer vision researchers such as those +working on [HoloLens](https://www.microsoft.com/en-gb/hololens) +and [Mesh](https://www.microsoft.com/en-us/mesh) at Microsoft. +It was designed to be a lightweight, reuseable 3D visualization +library, with the following desiderata in mind: + +- Make experimentation with 3D data near effortless +- Incredibly easy to create and share 3D results + * zero-install sharing of detailed 3D results using HTML + * based on modern web standards so usable with any modern browser + (tested in Edge, FireFox and Chrome) + * embeddable in other HTML documents +- Performant + * based on WebGL +- High quality visuals +- Works both offline or interactively in client-server setup +- Simple, clean API + * friendly Python front-end + * basic mesh json file format + * other language front ends easy to add + + +%prep +%autosetup -n scenepic-1.1.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-scenepic -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot - 1.1.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..e4adbc6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +4f2cd7ce3f11ab4d2ba8cdfbd0532848 scenepic-1.1.0.tar.gz -- cgit v1.2.3