diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:25:47 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 11:25:47 +0000 |
| commit | 47ec6943b63f4f0ef95e383a6cbd313b42e5ad20 (patch) | |
| tree | 2d199a7989885d1c418cb74656920a3ace7cd4e0 | |
| parent | b17aed0d7b2e4f7d758d01c6cd7500d6a7cffc0f (diff) | |
automatic import of python-onvif-zeep-async
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-onvif-zeep-async.spec | 74 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 76 insertions, 0 deletions
@@ -0,0 +1 @@ +/onvif-zeep-async-1.2.3.tar.gz diff --git a/python-onvif-zeep-async.spec b/python-onvif-zeep-async.spec new file mode 100644 index 0000000..045e6b8 --- /dev/null +++ b/python-onvif-zeep-async.spec @@ -0,0 +1,74 @@ +%global _empty_manifest_terminate_build 0 +Name: python-onvif-zeep-async +Version: 1.2.3 +Release: 1 +Summary: Async Python Client for ONVIF Camera +License: MIT +URL: http://github.com/hunterjm/python-onvif-zeep-async +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c3/74/12dc0012cf99d5f823e46076073af18e5fba302e6a601ab1d190fef0c4ea/onvif-zeep-async-1.2.3.tar.gz +BuildArch: noarch + +Requires: python3-httpx +Requires: python3-zeep[async] + +%description +ONVIF Client Implementation in Python 3 + +%package -n python3-onvif-zeep-async +Summary: Async Python Client for ONVIF Camera +Provides: python-onvif-zeep-async +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-onvif-zeep-async +ONVIF Client Implementation in Python 3 + +%package help +Summary: Development documents and examples for onvif-zeep-async +Provides: python3-onvif-zeep-async-doc +%description help +ONVIF Client Implementation in Python 3 + +%prep +%autosetup -n onvif-zeep-async-1.2.3 + +%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-onvif-zeep-async -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.3-1 +- Package Spec generated @@ -0,0 +1 @@ +4a9592665d59be88f5f99d4c76c8031b onvif-zeep-async-1.2.3.tar.gz |
