diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:33:11 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:33:11 +0000 |
| commit | e0418829c6444bbd3758df823b5f5f282b19d3c3 (patch) | |
| tree | efcde6ad58292c11f4c27d8a4a206c4f76e85e36 /python-clarinpl-embeddings.spec | |
| parent | 16b1ae71443e046983992c8fd582dccf21b504f2 (diff) | |
automatic import of python-clarinpl-embeddings
Diffstat (limited to 'python-clarinpl-embeddings.spec')
| -rw-r--r-- | python-clarinpl-embeddings.spec | 103 |
1 files changed, 103 insertions, 0 deletions
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 <Python_Bot@openeuler.org> - 0.0.1rc4796724275121-1 +- Package Spec generated |
