diff options
Diffstat (limited to 'python-minicontourfinder.spec')
| -rw-r--r-- | python-minicontourfinder.spec | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/python-minicontourfinder.spec b/python-minicontourfinder.spec new file mode 100644 index 0000000..f05c2d4 --- /dev/null +++ b/python-minicontourfinder.spec @@ -0,0 +1,116 @@ +%global _empty_manifest_terminate_build 0 +Name: python-MiniContourFinder +Version: 1.0.19 +Release: 1 +Summary: Lightweight image segmentation software for biological images +License: GNU General Public License v3 (GPLv3) +URL: https://github.com/isgilman/MiniContourFinder +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/68/13/3fe8cb772fddd06d5c37ee41343f093ea4649fe3d6a4bbe8b3cf6b157bcf/MiniContourFinder-1.0.19.tar.gz +BuildArch: noarch + +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-opencv-python +Requires: python3-pandas +Requires: python3-pillow +Requires: python3-Pillow +Requires: python3-pyperclip +Requires: python3-PyQt5 +Requires: python3-pytesseract +Requires: python3-scipy +Requires: python3-tqdm + +%description +# MiniContourFinder +### Lightweight image segmentation software for biological images +Full documentation can be found on [Read the Docs](https://minicontourfinder.readthedocs.io/en/latest/). + +Image segmentation has become a common task throughout biological and biomedical sciences. Despite the growth in image use, much of image analysis is still done manually, which frequently causes a bottleneck in data collection. MiniContourFinder is a lightweight image segmentation tool built in Python with OpenCV. MiniContourFinder was designed to allow users with minimal command line experience or image processing expertise to generate accurate and reproducible segmentations. + +**Availability and implementation** + +MiniContourFinder is free and open-source software available under the GNU General Public License v3.0. MiniContourFinder can be installed via Python package installer pip, the Conda package management system, or the source code above. + + + + +%package -n python3-MiniContourFinder +Summary: Lightweight image segmentation software for biological images +Provides: python-MiniContourFinder +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-MiniContourFinder +# MiniContourFinder +### Lightweight image segmentation software for biological images +Full documentation can be found on [Read the Docs](https://minicontourfinder.readthedocs.io/en/latest/). + +Image segmentation has become a common task throughout biological and biomedical sciences. Despite the growth in image use, much of image analysis is still done manually, which frequently causes a bottleneck in data collection. MiniContourFinder is a lightweight image segmentation tool built in Python with OpenCV. MiniContourFinder was designed to allow users with minimal command line experience or image processing expertise to generate accurate and reproducible segmentations. + +**Availability and implementation** + +MiniContourFinder is free and open-source software available under the GNU General Public License v3.0. MiniContourFinder can be installed via Python package installer pip, the Conda package management system, or the source code above. + + + + +%package help +Summary: Development documents and examples for MiniContourFinder +Provides: python3-MiniContourFinder-doc +%description help +# MiniContourFinder +### Lightweight image segmentation software for biological images +Full documentation can be found on [Read the Docs](https://minicontourfinder.readthedocs.io/en/latest/). + +Image segmentation has become a common task throughout biological and biomedical sciences. Despite the growth in image use, much of image analysis is still done manually, which frequently causes a bottleneck in data collection. MiniContourFinder is a lightweight image segmentation tool built in Python with OpenCV. MiniContourFinder was designed to allow users with minimal command line experience or image processing expertise to generate accurate and reproducible segmentations. + +**Availability and implementation** + +MiniContourFinder is free and open-source software available under the GNU General Public License v3.0. MiniContourFinder can be installed via Python package installer pip, the Conda package management system, or the source code above. + + + + +%prep +%autosetup -n MiniContourFinder-1.0.19 + +%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-MiniContourFinder -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.19-1 +- Package Spec generated |
