%global _empty_manifest_terminate_build 0 Name: python-instagrapi Version: 1.17.5 Release: 1 Summary: Fast and effective Instagram Private API wrapper License: MIT URL: https://github.com/adw0rd/instagrapi Source0: https://mirrors.nju.edu.cn/pypi/web/packages/72/08/50698b98cab5c52d560bc19e79b28cde037d66b6b537bc947cf14713cbf0/instagrapi-1.17.5.tar.gz BuildArch: noarch %description Fast and effective Instagram Private API wrapper (public+private requests and challenge resolver). Use the most recent version of the API from Instagram. Features: 1. Performs Public API (web, anonymous) or Private API (mobile app, authorized) requests depending on the situation (to avoid Instagram limits) 2. Challenge Resolver have Email (as well as recipes for automating receive a code from email) and SMS handlers 3. Support upload a Photo, Video, IGTV, Clips (Reels), Albums and Stories 4. Support work with User, Media, Insights, Collections, Location (Place), Hashtag and Direct objects 5. Like, Follow, Edit account (Bio) and much more else 6. Insights by account, posts and stories 7. Build stories with custom background, font animation, swipe up link and mention users 8. In the next release, account registration and captcha passing will appear %package -n python3-instagrapi Summary: Fast and effective Instagram Private API wrapper Provides: python-instagrapi BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-instagrapi Fast and effective Instagram Private API wrapper (public+private requests and challenge resolver). Use the most recent version of the API from Instagram. Features: 1. Performs Public API (web, anonymous) or Private API (mobile app, authorized) requests depending on the situation (to avoid Instagram limits) 2. Challenge Resolver have Email (as well as recipes for automating receive a code from email) and SMS handlers 3. Support upload a Photo, Video, IGTV, Clips (Reels), Albums and Stories 4. Support work with User, Media, Insights, Collections, Location (Place), Hashtag and Direct objects 5. Like, Follow, Edit account (Bio) and much more else 6. Insights by account, posts and stories 7. Build stories with custom background, font animation, swipe up link and mention users 8. In the next release, account registration and captcha passing will appear %package help Summary: Development documents and examples for instagrapi Provides: python3-instagrapi-doc %description help Fast and effective Instagram Private API wrapper (public+private requests and challenge resolver). Use the most recent version of the API from Instagram. Features: 1. Performs Public API (web, anonymous) or Private API (mobile app, authorized) requests depending on the situation (to avoid Instagram limits) 2. Challenge Resolver have Email (as well as recipes for automating receive a code from email) and SMS handlers 3. Support upload a Photo, Video, IGTV, Clips (Reels), Albums and Stories 4. Support work with User, Media, Insights, Collections, Location (Place), Hashtag and Direct objects 5. Like, Follow, Edit account (Bio) and much more else 6. Insights by account, posts and stories 7. Build stories with custom background, font animation, swipe up link and mention users 8. In the next release, account registration and captcha passing will appear %prep %autosetup -n instagrapi-1.17.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-instagrapi -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Sun Apr 23 2023 Python_Bot - 1.17.5-1 - Package Spec generated