From 819f7ee6d95e29f340050080bdc76b520e493f5e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 02:53:31 +0000 Subject: automatic import of python-dckit --- .gitignore | 1 + python-dckit.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 95 insertions(+) create mode 100644 python-dckit.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..859b480 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/dckit-0.14.9.tar.gz 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 `__ +or (for the .rtdc file format) via external tools such as +`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 `__ +or (for the .rtdc file format) via external tools such as +`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 `__ +or (for the .rtdc file format) via external tools such as +`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 - 0.14.9-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..d70eb40 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +f3f58d28c09eed794422014fcde01b86 dckit-0.14.9.tar.gz -- cgit v1.2.3