%global _empty_manifest_terminate_build 0 Name: python-mead-layers Version: 2.4.2 Release: 1 Summary: Reusable Deep-Learning layers for NLP License: Apache 2.0 URL: https://www.github.com/mead-ml/mead-layers Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/9e/e207705a4405bec653ceecd2e6bd64edc9fbe60dbc67e9483a0f9f792ce2/mead-layers-2.4.2.tar.gz BuildArch: noarch Requires: python3-numpy Requires: python3-matplotlib Requires: python3-pytest Requires: python3-mock Requires: python3-contextdecorator Requires: python3-pytest-forked Requires: python3-tensorflow-addons Requires: python3-pyyaml %description # Eight Mile [![PyPi Version](https://img.shields.io/pypi/v/mead-layers)](https://pypi.org/project/mead-layers/) [![Actions Status](https://github.com/mead-ml/mead-layers/workflows/Unit%20Test/badge.svg)](https://github.com/mead-ml/mead-layers/actions) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) Layers built on PyTorch/TensorFlow for reuse in MEAD framework (or a la carte) %package -n python3-mead-layers Summary: Reusable Deep-Learning layers for NLP Provides: python-mead-layers BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-mead-layers # Eight Mile [![PyPi Version](https://img.shields.io/pypi/v/mead-layers)](https://pypi.org/project/mead-layers/) [![Actions Status](https://github.com/mead-ml/mead-layers/workflows/Unit%20Test/badge.svg)](https://github.com/mead-ml/mead-layers/actions) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) Layers built on PyTorch/TensorFlow for reuse in MEAD framework (or a la carte) %package help Summary: Development documents and examples for mead-layers Provides: python3-mead-layers-doc %description help # Eight Mile [![PyPi Version](https://img.shields.io/pypi/v/mead-layers)](https://pypi.org/project/mead-layers/) [![Actions Status](https://github.com/mead-ml/mead-layers/workflows/Unit%20Test/badge.svg)](https://github.com/mead-ml/mead-layers/actions) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) Layers built on PyTorch/TensorFlow for reuse in MEAD framework (or a la carte) %prep %autosetup -n mead-layers-2.4.2 %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-mead-layers -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 2.4.2-1 - Package Spec generated