%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