diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-advanced-telegram-bot.spec | 198 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 200 insertions, 0 deletions
@@ -0,0 +1 @@ +/advanced-telegram-bot-0.2.1.tar.gz diff --git a/python-advanced-telegram-bot.spec b/python-advanced-telegram-bot.spec new file mode 100644 index 0000000..6dd13cf --- /dev/null +++ b/python-advanced-telegram-bot.spec @@ -0,0 +1,198 @@ +%global _empty_manifest_terminate_build 0 +Name: python-advanced-telegram-bot +Version: 0.2.1 +Release: 1 +Summary: Python library containing utils for telegram bots +License: MIT License +URL: https://github.com/sdallaboratory/advanced-telegram-bot +Source0: https://mirrors.aliyun.com/pypi/web/packages/73/b7/2d0c3c6ca26a8ca794c55cc190fb616caa7bc8869fdd6dc855b3f4b2dc6a/advanced-telegram-bot-0.2.1.tar.gz +BuildArch: noarch + +Requires: python3-pymongo +Requires: python3-telegram-bot +Requires: python3-decorator + +%description +# Advanced Telegram Bot + +Python library containing utils for telegram bots + +[](https://pypi.org/project/advanced-telegram-bot) + + + +### Authors +made by [SDAL](https://sdal.pw/ "sdal"): +[minish144](https://github.com/Minish144 "minish144") +& +[usual-one](https://github.com/usual-one "usual-one") + +### Available utils +- Incoming/outcoming messages service +- Locale-dependent data storage +- Logger +- Role system +- State system +- User meta data storage + +### Dependencies +All the dependencies can be found in `requirements.txt` file. + +### Installation +``` +pip install advanced-telegram-bot +``` + +### Usage +Just import the class and you're good to go +```python +from advancedbot import TelegramBot +``` + +### Documentation & help +Help can be found in our [wiki pages](https://github.com/sdallaboratory/advanced-telegram-bot/wiki). + + + + + +%package -n python3-advanced-telegram-bot +Summary: Python library containing utils for telegram bots +Provides: python-advanced-telegram-bot +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-advanced-telegram-bot +# Advanced Telegram Bot + +Python library containing utils for telegram bots + +[](https://pypi.org/project/advanced-telegram-bot) + + + +### Authors +made by [SDAL](https://sdal.pw/ "sdal"): +[minish144](https://github.com/Minish144 "minish144") +& +[usual-one](https://github.com/usual-one "usual-one") + +### Available utils +- Incoming/outcoming messages service +- Locale-dependent data storage +- Logger +- Role system +- State system +- User meta data storage + +### Dependencies +All the dependencies can be found in `requirements.txt` file. + +### Installation +``` +pip install advanced-telegram-bot +``` + +### Usage +Just import the class and you're good to go +```python +from advancedbot import TelegramBot +``` + +### Documentation & help +Help can be found in our [wiki pages](https://github.com/sdallaboratory/advanced-telegram-bot/wiki). + + + + + +%package help +Summary: Development documents and examples for advanced-telegram-bot +Provides: python3-advanced-telegram-bot-doc +%description help +# Advanced Telegram Bot + +Python library containing utils for telegram bots + +[](https://pypi.org/project/advanced-telegram-bot) + + + +### Authors +made by [SDAL](https://sdal.pw/ "sdal"): +[minish144](https://github.com/Minish144 "minish144") +& +[usual-one](https://github.com/usual-one "usual-one") + +### Available utils +- Incoming/outcoming messages service +- Locale-dependent data storage +- Logger +- Role system +- State system +- User meta data storage + +### Dependencies +All the dependencies can be found in `requirements.txt` file. + +### Installation +``` +pip install advanced-telegram-bot +``` + +### Usage +Just import the class and you're good to go +```python +from advancedbot import TelegramBot +``` + +### Documentation & help +Help can be found in our [wiki pages](https://github.com/sdallaboratory/advanced-telegram-bot/wiki). + + + + + +%prep +%autosetup -n advanced-telegram-bot-0.2.1 + +%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-advanced-telegram-bot -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +8ff3d7fbcd2547fdc25f6de598949795 advanced-telegram-bot-0.2.1.tar.gz |