From 48a6c8c33c6650f7f8b511d76e446c98028f9688 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 04:48:02 +0000 Subject: automatic import of python-scikit-ued --- python-scikit-ued.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 python-scikit-ued.spec (limited to 'python-scikit-ued.spec') diff --git a/python-scikit-ued.spec b/python-scikit-ued.spec new file mode 100644 index 0000000..f0fc8e2 --- /dev/null +++ b/python-scikit-ued.spec @@ -0,0 +1,88 @@ +%global _empty_manifest_terminate_build 0 +Name: python-scikit-ued +Version: 2.1.14 +Release: 1 +Summary: Collection of algorithms and functions for ultrafast electron scattering +License: GPLv3 +URL: http://scikit-ued.readthedocs.io +Source0: https://mirrors.aliyun.com/pypi/web/packages/8d/51/c5b63d4d460f6824dd7b8d19503c4acfea6aa74d4638877be8f771207e5f/scikit-ued-2.1.14.tar.gz +BuildArch: noarch + +Requires: python3-crystals +Requires: python3-npstreams +Requires: python3-numpy +Requires: python3-pywavelets +Requires: python3-scikit-image +Requires: python3-scipy +Requires: python3-pyyaml +Requires: python3-matplotlib +Requires: python3-pyqtgraph +Requires: python3-PyQt5 + +%description +[![Documentation Build Status](https://readthedocs.org/projects/scikit-ued/badge/?version=master)](http://scikit-ued.readthedocs.io) [![PyPI Version](https://img.shields.io/pypi/v/scikit-ued.svg)](https://pypi.org/project/scikit-ued/) [![Conda-forge Version](https://img.shields.io/conda/vn/conda-forge/scikit-ued.svg)](https://anaconda.org/conda-forge/scikit-ued) [![DOI badge](https://img.shields.io/badge/DOI-10.1186%2Fs40679--018--0060--y-blue)](https://doi.org/10.1186/s40679-018-0060-y) +Collection of algorithms and functions for ultrafast electron diffraction. It aims to be a fully-tested package taking advantage of Python's most recent features. +For examples, see our [tutorials](https://scikit-ued.readthedocs.io/). + +%package -n python3-scikit-ued +Summary: Collection of algorithms and functions for ultrafast electron scattering +Provides: python-scikit-ued +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-scikit-ued +[![Documentation Build Status](https://readthedocs.org/projects/scikit-ued/badge/?version=master)](http://scikit-ued.readthedocs.io) [![PyPI Version](https://img.shields.io/pypi/v/scikit-ued.svg)](https://pypi.org/project/scikit-ued/) [![Conda-forge Version](https://img.shields.io/conda/vn/conda-forge/scikit-ued.svg)](https://anaconda.org/conda-forge/scikit-ued) [![DOI badge](https://img.shields.io/badge/DOI-10.1186%2Fs40679--018--0060--y-blue)](https://doi.org/10.1186/s40679-018-0060-y) +Collection of algorithms and functions for ultrafast electron diffraction. It aims to be a fully-tested package taking advantage of Python's most recent features. +For examples, see our [tutorials](https://scikit-ued.readthedocs.io/). + +%package help +Summary: Development documents and examples for scikit-ued +Provides: python3-scikit-ued-doc +%description help +[![Documentation Build Status](https://readthedocs.org/projects/scikit-ued/badge/?version=master)](http://scikit-ued.readthedocs.io) [![PyPI Version](https://img.shields.io/pypi/v/scikit-ued.svg)](https://pypi.org/project/scikit-ued/) [![Conda-forge Version](https://img.shields.io/conda/vn/conda-forge/scikit-ued.svg)](https://anaconda.org/conda-forge/scikit-ued) [![DOI badge](https://img.shields.io/badge/DOI-10.1186%2Fs40679--018--0060--y-blue)](https://doi.org/10.1186/s40679-018-0060-y) +Collection of algorithms and functions for ultrafast electron diffraction. It aims to be a fully-tested package taking advantage of Python's most recent features. +For examples, see our [tutorials](https://scikit-ued.readthedocs.io/). + +%prep +%autosetup -n scikit-ued-2.1.14 + +%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-scikit-ued -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 2.1.14-1 +- Package Spec generated -- cgit v1.2.3