From 3b8e15a2c30fb9550958838f249b2f66244a9f4c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 04:04:30 +0000 Subject: automatic import of python-pycollector --- python-pycollector.spec | 88 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 python-pycollector.spec (limited to 'python-pycollector.spec') diff --git a/python-pycollector.spec b/python-pycollector.spec new file mode 100644 index 0000000..83118b8 --- /dev/null +++ b/python-pycollector.spec @@ -0,0 +1,88 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pycollector +Version: 0.4.6 +Release: 1 +Summary: Visym Collector +License: GNU General Public License v3 (GPLv3) +URL: https://github.com/visym/collector +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/7e/007ddf1e44fcf2313ed6317d7ff499d0dfc328091db863fdd84b85c41bb3/pycollector-0.4.6.tar.gz +BuildArch: noarch + +Requires: python3-vipy +Requires: python3-heyvi +Requires: python3-dask +Requires: python3-distributed +Requires: python3-boto3 +Requires: python3-pandas +Requires: python3-torch +Requires: python3-torchvision +Requires: python3-pytorch-lightning +Requires: python3-ujson + +%description +Visym Collector Python Tools for Live Visual Datasets + + + +%package -n python3-pycollector +Summary: Visym Collector +Provides: python-pycollector +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pycollector +Visym Collector Python Tools for Live Visual Datasets + + + +%package help +Summary: Development documents and examples for pycollector +Provides: python3-pycollector-doc +%description help +Visym Collector Python Tools for Live Visual Datasets + + + +%prep +%autosetup -n pycollector-0.4.6 + +%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-pycollector -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 0.4.6-1 +- Package Spec generated -- cgit v1.2.3