diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pikatgbot.spec | 134 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 136 insertions, 0 deletions
@@ -0,0 +1 @@ +/PikaTgBot-1.4.4.tar.gz diff --git a/python-pikatgbot.spec b/python-pikatgbot.spec new file mode 100644 index 0000000..19c8e83 --- /dev/null +++ b/python-pikatgbot.spec @@ -0,0 +1,134 @@ +%global _empty_manifest_terminate_build 0 +Name: python-PikaTgBot +Version: 1.4.4 +Release: 1 +Summary: A Secure and Optimized Python-Telethon Based Library For Pikachu UserBot aka Pikabot. +License: GNU AFFERO GENERAL PUBLIC LICENSE (v3) +URL: https://github.com/ItzSjDude/PikachuUserbot +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fc/33/3de2c240561643b428d4fab6c2ef71d6ea587440aaa5a9dfa5f6133d6dfb/PikaTgBot-1.4.4.tar.gz +BuildArch: noarch + +Requires: python3-Pillow +Requires: python3-PyGithub +Requires: python3-aiofiles +Requires: python3-pylast +Requires: python3-aiohttp +Requires: python3-async-generator +Requires: python3-beautifulsoup4 +Requires: python3-bs4 +Requires: python3-cfscrape +Requires: python3-coffeehouse +Requires: python3-cowpy +Requires: python3-cryptg +Requires: python3-dnspython +Requires: python3-emoji +Requires: python3-geopy +Requires: python3-gTTS-token +Requires: python3-gTTS +Requires: python3-gitpython +Requires: python3-google-api-python-client +Requires: python3-google-auth-oauthlib +Requires: python3-google-images-download +Requires: python3-googletrans +Requires: python3-gsearch +Requires: python3-hachoir +Requires: python3-heroku3 +Requires: python3-httplib2 +Requires: python3-humanize +Requires: python3-lxml +Requires: python3-oauth2client +Requires: python3-psycopg2 +Requires: python3-psycopg2-binary +Requires: python3-pySmartDL +Requires: python3-pybase64 +Requires: python3-pyfiglet +Requires: python3-pymongo +Requires: python3-barcode +Requires: python3-youtube-search-python +Requires: python3-dotenv +Requires: python3-magic +Requires: python3-pytube +Requires: python3-pytz +Requires: python3-qrcode +Requires: python3-regex +Requires: python3-requests +Requires: python3-search-engine-parser +Requires: python3-selenium +Requires: python3-speedtest-cli +Requires: python3-sqlalchemy +Requires: python3-telegraph +Requires: python3-asyncurban +Requires: python3-urbandict +Requires: python3-wikipedia +Requires: python3-youtube-dl +Requires: python3-jikanpy +Requires: python3-psutil +Requires: python3-pyLyrics +Requires: python3-uvloop +Requires: python3-wheel +Requires: python3-cairosvg +Requires: python3-lottie +Requires: python3-glitch-this +Requires: python3-pygments + +%description + + +%package -n python3-PikaTgBot +Summary: A Secure and Optimized Python-Telethon Based Library For Pikachu UserBot aka Pikabot. +Provides: python-PikaTgBot +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-PikaTgBot + + +%package help +Summary: Development documents and examples for PikaTgBot +Provides: python3-PikaTgBot-doc +%description help + + +%prep +%autosetup -n PikaTgBot-1.4.4 + +%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-PikaTgBot -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.4-1 +- Package Spec generated @@ -0,0 +1 @@ +88b3a2ab67e403ecc6f9a98e791c9da3 PikaTgBot-1.4.4.tar.gz |