summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 11:15:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 11:15:25 +0000
commit8505b8619bf97ae8a9e6395cfb8d8aee9dabfe48 (patch)
treef338d4a1eee90f3a2963bd89fea60744cc90e4f5
parentf1e0a8bf15fb0ca41c45be03f354ef69835830e1 (diff)
automatic import of python-cerberus-kind
-rw-r--r--.gitignore1
-rw-r--r--python-cerberus-kind.spec73
-rw-r--r--sources1
3 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dc9054d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cerberus_kind-0.0.17.tar.gz
diff --git a/python-cerberus-kind.spec b/python-cerberus-kind.spec
new file mode 100644
index 0000000..e62d2c7
--- /dev/null
+++ b/python-cerberus-kind.spec
@@ -0,0 +1,73 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cerberus-kind
+Version: 0.0.17
+Release: 1
+Summary: Help to select a schema by "kind" key on cerberus.
+License: MIT License
+URL: https://github.com/onetop21/cerberus-kind.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ec/e6/513e3d7e486212144d8b2ba444ca362c1680e28502352f4617206e253519/cerberus_kind-0.0.17.tar.gz
+BuildArch: noarch
+
+Requires: python3-Cerberus
+
+%description
+Help to select a schema by "kind" key on cerberus.
+
+%package -n python3-cerberus-kind
+Summary: Help to select a schema by "kind" key on cerberus.
+Provides: python-cerberus-kind
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cerberus-kind
+Help to select a schema by "kind" key on cerberus.
+
+%package help
+Summary: Development documents and examples for cerberus-kind
+Provides: python3-cerberus-kind-doc
+%description help
+Help to select a schema by "kind" key on cerberus.
+
+%prep
+%autosetup -n cerberus-kind-0.0.17
+
+%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-cerberus-kind -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.17-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b416504
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bb6cc528b093552cda226be5827df102 cerberus_kind-0.0.17.tar.gz