summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-xialib.spec108
-rw-r--r--sources1
3 files changed, 110 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c2248bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xialib-0.3.16.tar.gz
diff --git a/python-xialib.spec b/python-xialib.spec
new file mode 100644
index 0000000..2519f4f
--- /dev/null
+++ b/python-xialib.spec
@@ -0,0 +1,108 @@
+%global _empty_manifest_terminate_build 0
+Name: python-xialib
+Version: 0.3.16
+Release: 1
+Summary: X-I-A Library
+License: GNU Affero General Public License v3 or later (AGPLv3+)
+URL: https://github.com/X-I-A/xialib
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/d7/b2dc27a54ccf492c3a53c70e9604b3ff9e367c063e024ace0fd27831381a/xialib-0.3.16.tar.gz
+BuildArch: noarch
+
+
+%description
+[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
+[![PyPI version](https://badge.fury.io/py/xialib.svg)](https://pypi.org/project/xialib)
+[![codecov](https://codecov.io/gh/X-I-A/xialib/branch/master/graph/badge.svg)](https://codecov.io/gh/X-I-A/xialib)
+[![master-check](https://github.com/x-i-a/xialib/workflows/master-check/badge.svg)](https://github.com/X-I-A/xialib/actions?query=workflow%3Amaster-check)
+[![develop-check](https://github.com/x-i-a/xialib/workflows/develop-check/badge.svg)](https://github.com/X-I-A/xialib/actions?query=workflow%3Adevelop-check)
+# X-I-A Library
+Xeed-Insight-Agent Data Solution Library
+## Introduction
+This library defines the standard interface of each basic unit of Xeed, Insight and Agent Solution.
+
+Each interface is realized at least once with standard module.
+
+
+
+%package -n python3-xialib
+Summary: X-I-A Library
+Provides: python-xialib
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-xialib
+[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
+[![PyPI version](https://badge.fury.io/py/xialib.svg)](https://pypi.org/project/xialib)
+[![codecov](https://codecov.io/gh/X-I-A/xialib/branch/master/graph/badge.svg)](https://codecov.io/gh/X-I-A/xialib)
+[![master-check](https://github.com/x-i-a/xialib/workflows/master-check/badge.svg)](https://github.com/X-I-A/xialib/actions?query=workflow%3Amaster-check)
+[![develop-check](https://github.com/x-i-a/xialib/workflows/develop-check/badge.svg)](https://github.com/X-I-A/xialib/actions?query=workflow%3Adevelop-check)
+# X-I-A Library
+Xeed-Insight-Agent Data Solution Library
+## Introduction
+This library defines the standard interface of each basic unit of Xeed, Insight and Agent Solution.
+
+Each interface is realized at least once with standard module.
+
+
+
+%package help
+Summary: Development documents and examples for xialib
+Provides: python3-xialib-doc
+%description help
+[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
+[![PyPI version](https://badge.fury.io/py/xialib.svg)](https://pypi.org/project/xialib)
+[![codecov](https://codecov.io/gh/X-I-A/xialib/branch/master/graph/badge.svg)](https://codecov.io/gh/X-I-A/xialib)
+[![master-check](https://github.com/x-i-a/xialib/workflows/master-check/badge.svg)](https://github.com/X-I-A/xialib/actions?query=workflow%3Amaster-check)
+[![develop-check](https://github.com/x-i-a/xialib/workflows/develop-check/badge.svg)](https://github.com/X-I-A/xialib/actions?query=workflow%3Adevelop-check)
+# X-I-A Library
+Xeed-Insight-Agent Data Solution Library
+## Introduction
+This library defines the standard interface of each basic unit of Xeed, Insight and Agent Solution.
+
+Each interface is realized at least once with standard module.
+
+
+
+%prep
+%autosetup -n xialib-0.3.16
+
+%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-xialib -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.16-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ab9ff2d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b28bfcda66fd4843e9d6b8f4ece93b7c xialib-0.3.16.tar.gz