diff options
Diffstat (limited to 'python-octobot-tentacles-manager.spec')
| -rw-r--r-- | python-octobot-tentacles-manager.spec | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/python-octobot-tentacles-manager.spec b/python-octobot-tentacles-manager.spec new file mode 100644 index 0000000..ef887ae --- /dev/null +++ b/python-octobot-tentacles-manager.spec @@ -0,0 +1,177 @@ +%global _empty_manifest_terminate_build 0 +Name: python-OctoBot-Tentacles-Manager +Version: 2.8.5 +Release: 1 +Summary: OctoBot project module installer +License: LGPL-3.0 +URL: https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/48/17/b1ab264baa993a599db6e0bd141db5084173f4496afb937d9766cd4d7d16/OctoBot-Tentacles-Manager-2.8.5.tar.gz +BuildArch: noarch + + +%description +# OctoBot-Tentacles-Manager [2.8.5](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/tree/master/CHANGELOG.md) +[](https://pypi.python.org/pypi/OctoBot-Tentacles-Manager/) +[](https://pepy.tech/project/OctoBot-Tentacles-Manager) +[](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/actions) + +A module manager for your [OctoBot](https://github.com/Drakkar-Software/OctoBot) ! + +- Install OctoBot-Tentacles-Manager from pip : + +``` {.sourceCode .bash} +$ python3 -m pip install OctoBot-Tentacles-Manager +``` + +## Usage +- Install [OctoBot](https://github.com/Drakkar-Software/OctoBot) + +- Use the integrated CLI interface: + +``` {.sourceCode .bash} +$ python3 octobot_tentacles_manager/cli.py --help +``` + +OR + +- Use CLI interface directly with OctoBot: + +Python: +``` {.sourceCode .bash} +$ python3 tentacles install all +``` +Binary: +``` {.sourceCode .bash} +$ ./OctoBot tentacles install all +``` + +- Use your [OctoBot web interface at **'Tentacles'**.](https://developer.octobot.info/guides/customize-your-octobot) + +%package -n python3-OctoBot-Tentacles-Manager +Summary: OctoBot project module installer +Provides: python-OctoBot-Tentacles-Manager +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-OctoBot-Tentacles-Manager +# OctoBot-Tentacles-Manager [2.8.5](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/tree/master/CHANGELOG.md) +[](https://pypi.python.org/pypi/OctoBot-Tentacles-Manager/) +[](https://pepy.tech/project/OctoBot-Tentacles-Manager) +[](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/actions) + +A module manager for your [OctoBot](https://github.com/Drakkar-Software/OctoBot) ! + +- Install OctoBot-Tentacles-Manager from pip : + +``` {.sourceCode .bash} +$ python3 -m pip install OctoBot-Tentacles-Manager +``` + +## Usage +- Install [OctoBot](https://github.com/Drakkar-Software/OctoBot) + +- Use the integrated CLI interface: + +``` {.sourceCode .bash} +$ python3 octobot_tentacles_manager/cli.py --help +``` + +OR + +- Use CLI interface directly with OctoBot: + +Python: +``` {.sourceCode .bash} +$ python3 tentacles install all +``` +Binary: +``` {.sourceCode .bash} +$ ./OctoBot tentacles install all +``` + +- Use your [OctoBot web interface at **'Tentacles'**.](https://developer.octobot.info/guides/customize-your-octobot) + +%package help +Summary: Development documents and examples for OctoBot-Tentacles-Manager +Provides: python3-OctoBot-Tentacles-Manager-doc +%description help +# OctoBot-Tentacles-Manager [2.8.5](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/tree/master/CHANGELOG.md) +[](https://pypi.python.org/pypi/OctoBot-Tentacles-Manager/) +[](https://pepy.tech/project/OctoBot-Tentacles-Manager) +[](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/actions) + +A module manager for your [OctoBot](https://github.com/Drakkar-Software/OctoBot) ! + +- Install OctoBot-Tentacles-Manager from pip : + +``` {.sourceCode .bash} +$ python3 -m pip install OctoBot-Tentacles-Manager +``` + +## Usage +- Install [OctoBot](https://github.com/Drakkar-Software/OctoBot) + +- Use the integrated CLI interface: + +``` {.sourceCode .bash} +$ python3 octobot_tentacles_manager/cli.py --help +``` + +OR + +- Use CLI interface directly with OctoBot: + +Python: +``` {.sourceCode .bash} +$ python3 tentacles install all +``` +Binary: +``` {.sourceCode .bash} +$ ./OctoBot tentacles install all +``` + +- Use your [OctoBot web interface at **'Tentacles'**.](https://developer.octobot.info/guides/customize-your-octobot) + +%prep +%autosetup -n OctoBot-Tentacles-Manager-2.8.5 + +%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-OctoBot-Tentacles-Manager -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.8.5-1 +- Package Spec generated |
