summaryrefslogtreecommitdiff
path: root/python-dckit.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 02:53:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 02:53:31 +0000
commit819f7ee6d95e29f340050080bdc76b520e493f5e (patch)
tree4cc94e1631ba37c06c5b03c34fec9f0877c706ae /python-dckit.spec
parent7be2df6c000d3b1eb8de3a9715108b2c3319289c (diff)
automatic import of python-dckit
Diffstat (limited to 'python-dckit.spec')
-rw-r--r--python-dckit.spec93
1 files changed, 93 insertions, 0 deletions
diff --git a/python-dckit.spec b/python-dckit.spec
new file mode 100644
index 0000000..2a75e6b
--- /dev/null
+++ b/python-dckit.spec
@@ -0,0 +1,93 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dckit
+Version: 0.14.9
+Release: 1
+Summary: Graphical toolkit for RT-DC data management
+License: GPL v3
+URL: https://github.com/DC-analysis/DCKit
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8c/7e/50c7f6dcccca1122f6e4785bd4c029d1045b5b77959e6cc92a8610b78ed0/dckit-0.14.9.tar.gz
+BuildArch: noarch
+
+Requires: python3-dclab[tdms]
+Requires: python3-h5py
+Requires: python3-imageio[ffmpeg]
+Requires: python3-nptdms
+Requires: python3-numpy
+Requires: python3-pyqt5
+
+%description
+|PyPI Version| |Build Status Unix| |Build Status Win| |Coverage Status|
+**DCKit** is a graphical toolkit for performing several data editing
+tasks that would otherwise be only available via the
+`dclab command-line interface <https://dclab.readthedocs.io/en/stable/sec_cli.html>`__
+or (for the .rtdc file format) via external tools such as
+`HDFView <https://www.hdfgroup.org/downloads/hdfview/>`__.
+
+%package -n python3-dckit
+Summary: Graphical toolkit for RT-DC data management
+Provides: python-dckit
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dckit
+|PyPI Version| |Build Status Unix| |Build Status Win| |Coverage Status|
+**DCKit** is a graphical toolkit for performing several data editing
+tasks that would otherwise be only available via the
+`dclab command-line interface <https://dclab.readthedocs.io/en/stable/sec_cli.html>`__
+or (for the .rtdc file format) via external tools such as
+`HDFView <https://www.hdfgroup.org/downloads/hdfview/>`__.
+
+%package help
+Summary: Development documents and examples for dckit
+Provides: python3-dckit-doc
+%description help
+|PyPI Version| |Build Status Unix| |Build Status Win| |Coverage Status|
+**DCKit** is a graphical toolkit for performing several data editing
+tasks that would otherwise be only available via the
+`dclab command-line interface <https://dclab.readthedocs.io/en/stable/sec_cli.html>`__
+or (for the .rtdc file format) via external tools such as
+`HDFView <https://www.hdfgroup.org/downloads/hdfview/>`__.
+
+%prep
+%autosetup -n dckit-0.14.9
+
+%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-dckit -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.14.9-1
+- Package Spec generated