From 06cd0359b78ed217acc72fab5109d68a742ddeb2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 09:25:32 +0000 Subject: automatic import of python-instalooter --- .gitignore | 1 + python-instalooter.spec | 139 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 141 insertions(+) create mode 100644 python-instalooter.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..d6d2e09 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/instalooter-2.4.4.tar.gz diff --git a/python-instalooter.spec b/python-instalooter.spec new file mode 100644 index 0000000..e7c50d2 --- /dev/null +++ b/python-instalooter.spec @@ -0,0 +1,139 @@ +%global _empty_manifest_terminate_build 0 +Name: python-instalooter +Version: 2.4.4 +Release: 1 +Summary: Another API-less Instagram pictures and videos downloader +License: GPLv3+ +URL: https://github.com/althonos/instalooter +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/30/13/907e6aaba6280e1001080ab47e750068ffc5fb7174203985b3c9d678e3f2/instalooter-2.4.4.tar.gz +BuildArch: noarch + +Requires: python3-coloredlogs +Requires: python3-dateutil +Requires: python3-docopt +Requires: python3-fs +Requires: python3-requests +Requires: python3-six +Requires: python3-tqdm +Requires: python3-tenacity +Requires: python3-verboselogs +Requires: python3-typing +Requires: python3-piexif +Requires: python3-Pillow +Requires: python3-coverage +Requires: python3-codecov +Requires: python3-codacy-coverage +Requires: python3-docutils +Requires: python3-Pygments +Requires: python3-contexter +Requires: python3-parameterized +Requires: python3-green +Requires: python3-piexif +Requires: python3-Pillow +Requires: python3-coverage +Requires: python3-codecov +Requires: python3-codacy-coverage +Requires: python3-mock +Requires: python3-sphinx +Requires: python3-sphinx-bootstrap-theme +Requires: python3-semantic-version +Requires: python3-piexif +Requires: python3-Pillow +Requires: python3-contexter +Requires: python3-parameterized +Requires: python3-green +Requires: python3-piexif +Requires: python3-Pillow +Requires: python3-mock + +%description +*Not all treasure's silver and gold, mate.* +|build| |repo| |versions| |format| |coverage| |doc| |grade| |license| +|keepachangelog| |saythanks| +InstaLooter is a program that can download any picture or video associated +from an Instagram profile, without any API access. It can be seen as a +re-implementation of the now deprecated `InstaRaider `_ +developed by `@akurtovic `_. +``v1.0.0`` *was completely rewrote from scratch, and as such, will +probably break compatibility with your homemade scripts. Meanwhile, great care +was taken to keep the CLI as consistent as possible with the previous versions, +so it'll hopefully feel like home.* + +%package -n python3-instalooter +Summary: Another API-less Instagram pictures and videos downloader +Provides: python-instalooter +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-instalooter +*Not all treasure's silver and gold, mate.* +|build| |repo| |versions| |format| |coverage| |doc| |grade| |license| +|keepachangelog| |saythanks| +InstaLooter is a program that can download any picture or video associated +from an Instagram profile, without any API access. It can be seen as a +re-implementation of the now deprecated `InstaRaider `_ +developed by `@akurtovic `_. +``v1.0.0`` *was completely rewrote from scratch, and as such, will +probably break compatibility with your homemade scripts. Meanwhile, great care +was taken to keep the CLI as consistent as possible with the previous versions, +so it'll hopefully feel like home.* + +%package help +Summary: Development documents and examples for instalooter +Provides: python3-instalooter-doc +%description help +*Not all treasure's silver and gold, mate.* +|build| |repo| |versions| |format| |coverage| |doc| |grade| |license| +|keepachangelog| |saythanks| +InstaLooter is a program that can download any picture or video associated +from an Instagram profile, without any API access. It can be seen as a +re-implementation of the now deprecated `InstaRaider `_ +developed by `@akurtovic `_. +``v1.0.0`` *was completely rewrote from scratch, and as such, will +probably break compatibility with your homemade scripts. Meanwhile, great care +was taken to keep the CLI as consistent as possible with the previous versions, +so it'll hopefully feel like home.* + +%prep +%autosetup -n instalooter-2.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-instalooter -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 2.4.4-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..d27e52b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +34eb12424654f11f1b5cd772f0a1505e instalooter-2.4.4.tar.gz -- cgit v1.2.3