diff options
Diffstat (limited to 'python-large-image.spec')
-rw-r--r-- | python-large-image.spec | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/python-large-image.spec b/python-large-image.spec new file mode 100644 index 0000000..41bfa79 --- /dev/null +++ b/python-large-image.spec @@ -0,0 +1,142 @@ +%global _empty_manifest_terminate_build 0 +Name: python-large-image +Version: 1.20.3 +Release: 1 +Summary: Python modules to work with large, multiresolution images. +License: Apache Software License 2.0 +URL: https://github.com/girder/large_image +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/25/36/85e079818e55fcefcadcdb5d9809cb3522b44ba01a0dcb3656f1fd15b106/large-image-1.20.3.tar.gz +BuildArch: noarch + +Requires: python3-cachetools +Requires: python3-palettable +Requires: python3-Pillow +Requires: python3-psutil +Requires: python3-numpy +Requires: python3-importlib-metadata +Requires: python3-large-image-source-vips +Requires: python3-large-image-source-bioformats +Requires: python3-large-image-source-ometiff +Requires: python3-large-image-source-gdal +Requires: python3-large-image-source-tiff +Requires: python3-large-image-source-openjpeg +Requires: python3-large-image-source-multi +Requires: python3-large-image-converter +Requires: python3-pyvips +Requires: python3-large-image-source-mapnik +Requires: python3-large-image-source-openslide +Requires: python3-large-image-source-deepzoom +Requires: python3-large-image-source-test +Requires: python3-large-image-source-dummy +Requires: python3-large-image-source-tifffile +Requires: python3-large-image-source-pil +Requires: python3-matplotlib +Requires: python3-simplejpeg +Requires: python3-pylibmc +Requires: python3-large-image-source-nd2 +Requires: python3-large-image-source-dicom +Requires: python3-large-image-source-bioformats +Requires: python3-matplotlib +Requires: python3-large-image-converter +Requires: python3-large-image-source-deepzoom +Requires: python3-large-image-source-dicom +Requires: python3-large-image-source-dummy +Requires: python3-large-image-source-gdal +Requires: python3-large-image-source-mapnik +Requires: python3-pylibmc +Requires: python3-large-image-source-multi +Requires: python3-large-image-source-nd2 +Requires: python3-large-image-source-ometiff +Requires: python3-large-image-source-openjpeg +Requires: python3-large-image-source-openslide +Requires: python3-simplejpeg +Requires: python3-large-image-source-pil +Requires: python3-large-image-source-dummy +Requires: python3-large-image-source-tifffile +Requires: python3-large-image-source-vips +Requires: python3-large-image-source-multi +Requires: python3-large-image-source-tiff +Requires: python3-large-image-source-mapnik +Requires: python3-large-image-source-pil +Requires: python3-large-image-source-bioformats +Requires: python3-large-image-source-deepzoom +Requires: python3-large-image-source-gdal +Requires: python3-large-image-source-openslide +Requires: python3-large-image-source-ometiff +Requires: python3-large-image-source-openjpeg +Requires: python3-large-image-source-test +Requires: python3-large-image-source-nd2 +Requires: python3-large-image-source-dicom +Requires: python3-large-image-source-test +Requires: python3-large-image-source-tiff +Requires: python3-large-image-source-tifffile +Requires: python3-pyvips +Requires: python3-large-image-source-vips + +%description +|build-status| |codecov-io| |license-badge| |doi-badge| |pypi-badge| +*Python modules to work with large, multiresolution images.* +Large Image is developed and maintained by the Data & Analytics group at `Kitware, Inc. <https://kitware.com>`_ for processing large geospatial and medical images. This provides the backbone for several of our image analysis platforms including `Resonant GeoData <https://github.com/ResonantGeoData/ResonantGeoData>`_, `HistomicsUI <https://github.com/DigitalSlideArchive/HistomicsUI>`_, and `the Digital Slide Archive <https://digitalslidearchive.github.io/digital_slide_archive/>`_. + +%package -n python3-large-image +Summary: Python modules to work with large, multiresolution images. +Provides: python-large-image +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-large-image +|build-status| |codecov-io| |license-badge| |doi-badge| |pypi-badge| +*Python modules to work with large, multiresolution images.* +Large Image is developed and maintained by the Data & Analytics group at `Kitware, Inc. <https://kitware.com>`_ for processing large geospatial and medical images. This provides the backbone for several of our image analysis platforms including `Resonant GeoData <https://github.com/ResonantGeoData/ResonantGeoData>`_, `HistomicsUI <https://github.com/DigitalSlideArchive/HistomicsUI>`_, and `the Digital Slide Archive <https://digitalslidearchive.github.io/digital_slide_archive/>`_. + +%package help +Summary: Development documents and examples for large-image +Provides: python3-large-image-doc +%description help +|build-status| |codecov-io| |license-badge| |doi-badge| |pypi-badge| +*Python modules to work with large, multiresolution images.* +Large Image is developed and maintained by the Data & Analytics group at `Kitware, Inc. <https://kitware.com>`_ for processing large geospatial and medical images. This provides the backbone for several of our image analysis platforms including `Resonant GeoData <https://github.com/ResonantGeoData/ResonantGeoData>`_, `HistomicsUI <https://github.com/DigitalSlideArchive/HistomicsUI>`_, and `the Digital Slide Archive <https://digitalslidearchive.github.io/digital_slide_archive/>`_. + +%prep +%autosetup -n large-image-1.20.3 + +%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-large-image -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.20.3-1 +- Package Spec generated |