summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 05:08:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 05:08:54 +0000
commit4abe18779be9a1dbac339d2fbd328a9a150500cd (patch)
treef003e9e73037d525df952338eee3ed0d8345d9e8
parentfa5ce7bf546b412c9f76bef3015b1c282db7cbdc (diff)
automatic import of python-ytsr
-rw-r--r--.gitignore1
-rw-r--r--python-ytsr.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..2dc3460 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ytsr-2.0.0.tar.gz
diff --git a/python-ytsr.spec b/python-ytsr.spec
new file mode 100644
index 0000000..78e3f8c
--- /dev/null
+++ b/python-ytsr.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ytsr
+Version: 2.0.0
+Release: 1
+Summary: Youtube Search
+License: MIT License
+URL: https://github.com/pypa/sampleproject
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ab/3b/bce8723cf405923ca2c8840805e1152ab1aaf365311f4d5c432b844b8cbf/ytsr-2.0.0.tar.gz
+BuildArch: noarch
+
+
+%description
+# YTSR Youtbe Search
+
+YTSR
+
+
+
+%package -n python3-ytsr
+Summary: Youtube Search
+Provides: python-ytsr
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ytsr
+# YTSR Youtbe Search
+
+YTSR
+
+
+
+%package help
+Summary: Development documents and examples for ytsr
+Provides: python3-ytsr-doc
+%description help
+# YTSR Youtbe Search
+
+YTSR
+
+
+
+%prep
+%autosetup -n ytsr-2.0.0
+
+%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-ytsr -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..48432c5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+358bd448d9ba4b77cd4bb02a246d57f8 ytsr-2.0.0.tar.gz