diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:25:32 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:25:32 +0000 |
| commit | 06cd0359b78ed217acc72fab5109d68a742ddeb2 (patch) | |
| tree | 07815c40021bdb28b3252a01c71844608e89c9d4 /python-instalooter.spec | |
| parent | 02863610036bd22d26ed86453d1a9d8fa0175af2 (diff) | |
automatic import of python-instalooter
Diffstat (limited to 'python-instalooter.spec')
| -rw-r--r-- | python-instalooter.spec | 139 |
1 files changed, 139 insertions, 0 deletions
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 <https://github.com/akurtovic/InstaRaider>`_ +developed by `@akurtovic <https://github.com/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 <https://github.com/akurtovic/InstaRaider>`_ +developed by `@akurtovic <https://github.com/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 <https://github.com/akurtovic/InstaRaider>`_ +developed by `@akurtovic <https://github.com/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 <Python_Bot@openeuler.org> - 2.4.4-1 +- Package Spec generated |
