summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 04:09:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 04:09:55 +0000
commit4139f56ca7898722581029b3766fe1d2913d1bef (patch)
tree5aea50147b3770cecb25ffc087a8aaf2e6eedecb
parentff3ae464e94b8d6a4464dfef99add9aa1118c111 (diff)
automatic import of python-ytdlmusic
-rw-r--r--.gitignore1
-rw-r--r--python-ytdlmusic.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b9aadae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ytdlmusic-2.2.1.tar.gz
diff --git a/python-ytdlmusic.spec b/python-ytdlmusic.spec
new file mode 100644
index 0000000..ead6f0d
--- /dev/null
+++ b/python-ytdlmusic.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ytdlmusic
+Version: 2.2.1
+Release: 1
+Summary: ytdlmusic is a command-line program to search and download music files from YouTube without use browser.
+License: MIT
+URL: https://github.com/thib1984/ytdlmusic
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e3/a6/904a0cc15b6485ce9bc3d412a8b35610a271e4776b0b913193b0653d69ff/ytdlmusic-2.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-youtube-search-python
+Requires: python3-yt-dlp
+Requires: python3-tinytag
+Requires: python3-unidecode
+Requires: python3-termcolor
+Requires: python3-colorama
+
+%description
+The complete description/installation/use/FAQ is available at : https://github.com/thib1984/ytdlmusic#readme
+
+
+
+%package -n python3-ytdlmusic
+Summary: ytdlmusic is a command-line program to search and download music files from YouTube without use browser.
+Provides: python-ytdlmusic
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ytdlmusic
+The complete description/installation/use/FAQ is available at : https://github.com/thib1984/ytdlmusic#readme
+
+
+
+%package help
+Summary: Development documents and examples for ytdlmusic
+Provides: python3-ytdlmusic-doc
+%description help
+The complete description/installation/use/FAQ is available at : https://github.com/thib1984/ytdlmusic#readme
+
+
+
+%prep
+%autosetup -n ytdlmusic-2.2.1
+
+%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-ytdlmusic -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..477e494
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+91b7d5df739341247782de58cf16a909 ytdlmusic-2.2.1.tar.gz