summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 04:29:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 04:29:10 +0000
commitb5896f55012f88d430fe0c7d2c647f14fac1e53f (patch)
treef62374338c463c4b88e1474fbd3cc53e84c86080
parent40dbeb9c93274054d87631fe9a52bd5950fe0406 (diff)
automatic import of python-recognizers-textopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-recognizers-text.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..915428a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/recognizers-text-1.0.2a2.tar.gz
diff --git a/python-recognizers-text.spec b/python-recognizers-text.spec
new file mode 100644
index 0000000..dc9b605
--- /dev/null
+++ b/python-recognizers-text.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-recognizers-text
+Version: 1.0.2a2
+Release: 1
+Summary: recognizers-text README
+License: MIT
+URL: https://github.com/Microsoft/Recognizers-Text
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c8/ce/ffae848912bbeab712585a2ffc9f7d8d39ae3a9675fade393111560eadf6/recognizers-text-1.0.2a2.tar.gz
+BuildArch: noarch
+
+Requires: python3-emoji
+Requires: python3-multipledispatch
+
+%description
+recognizers-text long README.
+
+
+
+
+%package -n python3-recognizers-text
+Summary: recognizers-text README
+Provides: python-recognizers-text
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-recognizers-text
+recognizers-text long README.
+
+
+
+
+%package help
+Summary: Development documents and examples for recognizers-text
+Provides: python3-recognizers-text-doc
+%description help
+recognizers-text long README.
+
+
+
+
+%prep
+%autosetup -n recognizers-text-1.0.2a2
+
+%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-recognizers-text -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.2a2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1c5bca7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6512b37343bc1b1ae1b51a3f60ab78e8 recognizers-text-1.0.2a2.tar.gz