%global _empty_manifest_terminate_build 0
Name:		python-robocorp-inspector
Version:	0.9.1
Release:	1
Summary:	Robocorp Inspector
License:	Proprietary
URL:		https://github.com/robocorp/inspector
Source0:	https://mirrors.nju.edu.cn/pypi/web/packages/98/9d/eb2301c6fde5c5bce986c45bf45a3c01cea71c34dd4352ce4dc11992f0d7/robocorp_inspector-0.9.1.tar.gz
BuildArch:	noarch

Requires:	python3-pywebview
Requires:	python3-clr-loader
Requires:	python3-pythonnet
Requires:	python3-mss
Requires:	python3-requests
Requires:	python3-typing-extensions
Requires:	python3-uiautomation
Requires:	python3-pywin32
Requires:	python3-tk-tools
Requires:	python3-importlib-metadata
Requires:	python3-psutil
Requires:	python3-retry
Requires:	python3-types-retry
Requires:	python3-rpaframework-recognition
Requires:	python3-pynput-robocorp-fork
Requires:	python3-rpaframework-core
Requires:	python3-robocorp-inspector-commons

%description
<p align="center">
  <img height="100" src="https://cdn.robocorp.com/brand/Logo/Dark%20logo%20transparent%20with%20buffer%20space/Dark%20logo%20transparent%20with%20buffer%20space.svg">
</p>

%package -n python3-robocorp-inspector
Summary:	Robocorp Inspector
Provides:	python-robocorp-inspector
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
%description -n python3-robocorp-inspector
<p align="center">
  <img height="100" src="https://cdn.robocorp.com/brand/Logo/Dark%20logo%20transparent%20with%20buffer%20space/Dark%20logo%20transparent%20with%20buffer%20space.svg">
</p>

%package help
Summary:	Development documents and examples for robocorp-inspector
Provides:	python3-robocorp-inspector-doc
%description help
<p align="center">
  <img height="100" src="https://cdn.robocorp.com/brand/Logo/Dark%20logo%20transparent%20with%20buffer%20space/Dark%20logo%20transparent%20with%20buffer%20space.svg">
</p>

%prep
%autosetup -n robocorp-inspector-0.9.1

%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-robocorp-inspector -f filelist.lst
%dir %{python3_sitelib}/*

%files help -f doclist.lst
%{_docdir}/*

%changelog
* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.1-1
- Package Spec generated