diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 07:19:27 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 07:19:27 +0000 |
commit | ca778ca0ebc3a6a3b21daade7048c7589bb3feaa (patch) | |
tree | 2b679af8e55f3659143e8d2a6f97ea561b696e53 | |
parent | 88c9795e9e58f7aadde5339df7b2d6580108bd17 (diff) |
automatic import of python-instagram-py
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-instagram-py.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/instagram-py-2.0.7.tar.gz diff --git a/python-instagram-py.spec b/python-instagram-py.spec new file mode 100644 index 0000000..acdd24d --- /dev/null +++ b/python-instagram-py.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-instagram-py +Version: 2.0.7 +Release: 1 +Summary: Slick Instagram brute force command line tool writen in python. +License: MIT +URL: https://github.com/antony-jr/Instagram-Py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c8/96/9a42a1f49c6710c52bffb474e6c966247cfabb3b0ec7f3a1f770d412444e/instagram-py-2.0.7.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-instagram-py +Summary: Slick Instagram brute force command line tool writen in python. +Provides: python-instagram-py +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-instagram-py + + +%package help +Summary: Development documents and examples for instagram-py +Provides: python3-instagram-py-doc +%description help + + +%prep +%autosetup -n instagram-py-2.0.7 + +%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-instagram-py -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.7-1 +- Package Spec generated @@ -0,0 +1 @@ +2e6a9ace844b6bc5b14465cabcd49a4d instagram-py-2.0.7.tar.gz |