From e0418829c6444bbd3758df823b5f5f282b19d3c3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 17 May 2023 03:33:11 +0000 Subject: automatic import of python-clarinpl-embeddings --- python-clarinpl-embeddings.spec | 103 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 python-clarinpl-embeddings.spec (limited to 'python-clarinpl-embeddings.spec') diff --git a/python-clarinpl-embeddings.spec b/python-clarinpl-embeddings.spec new file mode 100644 index 0000000..e1385d9 --- /dev/null +++ b/python-clarinpl-embeddings.spec @@ -0,0 +1,103 @@ +%global _empty_manifest_terminate_build 0 +Name: python-clarinpl-embeddings +Version: 0.0.1rc4796724275121 +Release: 1 +Summary: please add a summary manually as the author left a blank one +License: MIT +URL: https://github.com/CLARIN-PL/embeddings +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/41/5d/f26b539c815554ba052f303a148eee4b5b0c52d0e902a267244925838814/clarinpl_embeddings-0.0.1rc4796724275121.tar.gz +BuildArch: noarch + +Requires: python3-annoy +Requires: python3-appdirs +Requires: python3-click +Requires: python3-datasets +Requires: python3-evaluate +Requires: python3-intel-openmp +Requires: python3-lz4 +Requires: python3-numpy +Requires: python3-onnx +Requires: python3-optuna +Requires: python3-Pillow +Requires: python3-pydantic +Requires: python3-lightning +Requires: python3-requests +Requires: python3-sacremoses +Requires: python3-scikit-learn +Requires: python3-seqeval +Requires: python3-srsly +Requires: python3-scipy +Requires: python3-tensorboard +Requires: python3-tokenizers +Requires: python3-torch +Requires: python3-torchmetrics +Requires: python3-transformers[onnx] +Requires: python3-typer +Requires: python3-types-PyYAML +Requires: python3-types-setuptools +Requires: python3-typing-extensions +Requires: python3-wandb +Requires: python3-setuptools +Requires: python3-fastapi + +%description + + +%package -n python3-clarinpl-embeddings +Summary: please add a summary manually as the author left a blank one +Provides: python-clarinpl-embeddings +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-clarinpl-embeddings + + +%package help +Summary: Development documents and examples for clarinpl-embeddings +Provides: python3-clarinpl-embeddings-doc +%description help + + +%prep +%autosetup -n clarinpl-embeddings-0.0.1rc4796724275121 + +%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-clarinpl-embeddings -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot - 0.0.1rc4796724275121-1 +- Package Spec generated -- cgit v1.2.3