diff options
Diffstat (limited to 'python-gautamx.spec')
-rw-r--r-- | python-gautamx.spec | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/python-gautamx.spec b/python-gautamx.spec new file mode 100644 index 0000000..816f4c7 --- /dev/null +++ b/python-gautamx.spec @@ -0,0 +1,112 @@ +%global _empty_manifest_terminate_build 0 +Name: python-GautamX +Version: 6.1 +Release: 1 +Summary: Telegram Mirror Bot +License: GPL3.0 +URL: https://github.com/gautam1834/mirrorx +Source0: https://mirrors.aliyun.com/pypi/web/packages/7f/4d/1b3124beff4b2d28558bb495ca14b327813a769a9f6416a928239c7c13e9/GautamX-6.1.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-appdirs +Requires: python3-aria2p +Requires: python3-progress +Requires: python3-psutil +Requires: python3-telegram-bot +Requires: python3-google-api-python-client +Requires: python3-google-auth-httplib2 +Requires: python3-google-auth-oauthlib +Requires: python3-js2py +Requires: python3-dotenv +Requires: python3-tenacity +Requires: python3-magic +Requires: python3-beautifulsoup4 +Requires: python3-Pyrogram +Requires: python3-TgCrypto +Requires: python3-yt-dlp +Requires: python3-lxml +Requires: python3-telegraph +Requires: python3-speedtest-cli +Requires: python3-messages +Requires: python3-pybase64 +Requires: python3-lk21 +Requires: python3-cloudscrape +Requires: python3-pyshorteners +Requires: python3-psycopg2-binary +Requires: python3-megasdkrestclient +Requires: python3-heroku3 + +%description +For Details Contact :- https://github.com/Gautam1834 +Telegram :- https://t.me/Gautam1834 + + + + +%package -n python3-GautamX +Summary: Telegram Mirror Bot +Provides: python-GautamX +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-GautamX +For Details Contact :- https://github.com/Gautam1834 +Telegram :- https://t.me/Gautam1834 + + + + +%package help +Summary: Development documents and examples for GautamX +Provides: python3-GautamX-doc +%description help +For Details Contact :- https://github.com/Gautam1834 +Telegram :- https://t.me/Gautam1834 + + + + +%prep +%autosetup -n GautamX-6.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-GautamX -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 6.1-1 +- Package Spec generated |