diff options
Diffstat (limited to 'python-multi-agent-ale-py.spec')
| -rw-r--r-- | python-multi-agent-ale-py.spec | 142 |
1 files changed, 142 insertions, 0 deletions
diff --git a/python-multi-agent-ale-py.spec b/python-multi-agent-ale-py.spec new file mode 100644 index 0000000..eaf49cf --- /dev/null +++ b/python-multi-agent-ale-py.spec @@ -0,0 +1,142 @@ +%global _empty_manifest_terminate_build 0 +Name: python-multi-agent-ale-py +Version: 0.1.11 +Release: 1 +Summary: Multi-Agent Arcade Learning Environment Python Interface +License: GPL +URL: https://github.com/PettingZoo-Team/Multi-Agent-ALE +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8a/a1/92127ae8088e45a90a04c5a334db8ddac71815a968884b663bc53416cff6/multi-agent-ale-py-0.1.11.tar.gz +BuildArch: noarch + +Requires: python3-numpy + +%description + + +# The Multi-Agent Arcade Learning Environment + + +## Overview + +This is a fork of the [Arcade Learning Environment (ALE)](https://github.com/mgbellemare/Arcade-Learning-Environment). It is mostly backwards compatible with ALE and it also supports certain games with 2 and 4 players. + +To install it in Python, please use `pip install multi-agent-ale-py` + +## Citation + +``` +@article{terry2020arcade, + Title = {Multiplayer Support for the Arcade Learning Environment}, + Author = {Terry, Justin K and Black, Benjamin}, + journal={arXiv preprint arXiv:2009.09341}, + year={2020} +} +``` + + + + +%package -n python3-multi-agent-ale-py +Summary: Multi-Agent Arcade Learning Environment Python Interface +Provides: python-multi-agent-ale-py +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-multi-agent-ale-py + + +# The Multi-Agent Arcade Learning Environment + + +## Overview + +This is a fork of the [Arcade Learning Environment (ALE)](https://github.com/mgbellemare/Arcade-Learning-Environment). It is mostly backwards compatible with ALE and it also supports certain games with 2 and 4 players. + +To install it in Python, please use `pip install multi-agent-ale-py` + +## Citation + +``` +@article{terry2020arcade, + Title = {Multiplayer Support for the Arcade Learning Environment}, + Author = {Terry, Justin K and Black, Benjamin}, + journal={arXiv preprint arXiv:2009.09341}, + year={2020} +} +``` + + + + +%package help +Summary: Development documents and examples for multi-agent-ale-py +Provides: python3-multi-agent-ale-py-doc +%description help + + +# The Multi-Agent Arcade Learning Environment + + +## Overview + +This is a fork of the [Arcade Learning Environment (ALE)](https://github.com/mgbellemare/Arcade-Learning-Environment). It is mostly backwards compatible with ALE and it also supports certain games with 2 and 4 players. + +To install it in Python, please use `pip install multi-agent-ale-py` + +## Citation + +``` +@article{terry2020arcade, + Title = {Multiplayer Support for the Arcade Learning Environment}, + Author = {Terry, Justin K and Black, Benjamin}, + journal={arXiv preprint arXiv:2009.09341}, + year={2020} +} +``` + + + + +%prep +%autosetup -n multi-agent-ale-py-0.1.11 + +%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-multi-agent-ale-py -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.11-1 +- Package Spec generated |
