summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 11:31:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 11:31:55 +0000
commit457a61f4f05fff5cf8049315b6a11895bf3bf833 (patch)
tree9612ea2cce7908ea96039c3c6c0731b8a329c30f
parent7dd591a5c4d2978c0fc5150384a0610a68a8bff6 (diff)
automatic import of python-b3j0f-confopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-b3j0f-conf.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c880255 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/b3j0f.conf-0.3.22.tar.bz2
diff --git a/python-b3j0f-conf.spec b/python-b3j0f-conf.spec
new file mode 100644
index 0000000..f3eb378
--- /dev/null
+++ b/python-b3j0f-conf.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-b3j0f.conf
+Version: 0.3.22
+Release: 1
+Summary: Python object configuration library in reflective and distributed concerns.
+License: MIT License
+URL: https://github.com/b3j0f/conf
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/10/58/4e04a5adce695b96b67c96a53dcf8946250942800bb8cc6edb2f6266a28f/b3j0f.conf-0.3.22.tar.bz2
+BuildArch: noarch
+
+
+%description
+Python object configuration library in reflective and distributed concerns.
+
+%package -n python3-b3j0f.conf
+Summary: Python object configuration library in reflective and distributed concerns.
+Provides: python-b3j0f.conf
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-b3j0f.conf
+Python object configuration library in reflective and distributed concerns.
+
+%package help
+Summary: Development documents and examples for b3j0f.conf
+Provides: python3-b3j0f.conf-doc
+%description help
+Python object configuration library in reflective and distributed concerns.
+
+%prep
+%autosetup -n b3j0f.conf-0.3.22
+
+%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-b3j0f.conf -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.22-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1581c03
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+dad7df0e23c362493f1f9ad6c40ee2e9 b3j0f.conf-0.3.22.tar.bz2