diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:16:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:16:54 +0000 |
commit | 6674dc2e5e465502c248219a4099a99126dc77d6 (patch) | |
tree | fdf397a9ce5bcd3e574f85737ff324842be17b1b /python-ysl-h-isaac23.spec | |
parent | 00b5d5a3de42769a5bd71ab8236206b8cd4081a1 (diff) |
automatic import of python-YSL-H-isaac23openeuler20.03
Diffstat (limited to 'python-ysl-h-isaac23.spec')
-rw-r--r-- | python-ysl-h-isaac23.spec | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/python-ysl-h-isaac23.spec b/python-ysl-h-isaac23.spec new file mode 100644 index 0000000..3c01cea --- /dev/null +++ b/python-ysl-h-isaac23.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-YSL-H-isaac23 +Version: 1.6.0.3 +Release: 1 +Summary: A package for automated liking of Active YouTube Streams programmatically using selenium and requests. +License: MIT +URL: https://github.com/H-isaac23/Youtube-Streams-Liker +Source0: https://mirrors.aliyun.com/pypi/web/packages/6d/98/314b886303d797800bc8c687ae4b2c0fcc1aa980a1c7816f24ae4f1efc25/YSL-H-isaac23-1.6.0.3.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-YSL-H-isaac23 +Summary: A package for automated liking of Active YouTube Streams programmatically using selenium and requests. +Provides: python-YSL-H-isaac23 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-YSL-H-isaac23 + + +%package help +Summary: Development documents and examples for YSL-H-isaac23 +Provides: python3-YSL-H-isaac23-doc +%description help + + +%prep +%autosetup -n YSL-H-isaac23-1.6.0.3 + +%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-YSL-H-isaac23 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.6.0.3-1 +- Package Spec generated |