From 7d10e21d727c79cebaeb286f41e925f1aebc86d0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 06:06:43 +0000 Subject: automatic import of python-imjoy-rpc --- python-imjoy-rpc.spec | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 python-imjoy-rpc.spec (limited to 'python-imjoy-rpc.spec') diff --git a/python-imjoy-rpc.spec b/python-imjoy-rpc.spec new file mode 100644 index 0000000..838a8c7 --- /dev/null +++ b/python-imjoy-rpc.spec @@ -0,0 +1,101 @@ +%global _empty_manifest_terminate_build 0 +Name: python-imjoy-rpc +Version: 0.5.16 +Release: 1 +Summary: ImJoy Plugin Engine for running Python plugins locally or remotely from ImJoy.io +License: MIT +URL: http://github.com/imjoy-team/imjoy-rpc +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8f/e9/fe2a11bb823d00e6984a92d284222e451000ac1b4dc99a65fbb5db99ab9d/imjoy-rpc-0.5.16.tar.gz +BuildArch: noarch + +Requires: python3-msgpack +Requires: python3-shortuuid +Requires: python3-websockets +Requires: python3-aiocontextvars +Requires: python3-contextvars +Requires: python3-numpy +Requires: python3-zarr +Requires: python3-engineio +Requires: python3-socketio[client] +Requires: python3-socketio[client] +Requires: python3-engineio + +%description +# ImJoy RPC + +Remote Procedure Calls for ImJoy + + +[More details](../README.md) + + +%package -n python3-imjoy-rpc +Summary: ImJoy Plugin Engine for running Python plugins locally or remotely from ImJoy.io +Provides: python-imjoy-rpc +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-imjoy-rpc +# ImJoy RPC + +Remote Procedure Calls for ImJoy + + +[More details](../README.md) + + +%package help +Summary: Development documents and examples for imjoy-rpc +Provides: python3-imjoy-rpc-doc +%description help +# ImJoy RPC + +Remote Procedure Calls for ImJoy + + +[More details](../README.md) + + +%prep +%autosetup -n imjoy-rpc-0.5.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-imjoy-rpc -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 0.5.16-1 +- Package Spec generated -- cgit v1.2.3