diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:31:57 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:31:57 +0000 |
commit | 5d4572794f1e25e1c5391cd6b43c10457d07173e (patch) | |
tree | 1c3720fdad1ad73f146382a2f651c5a0de65cf3b | |
parent | c5fc4bf518ae257f045f499c678fe7536ad233f4 (diff) |
automatic import of python-pip-services3-rpcopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pip-services3-rpc.spec | 87 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 89 insertions, 0 deletions
@@ -0,0 +1 @@ +/pip_services3_rpc-3.3.4.tar.gz diff --git a/python-pip-services3-rpc.spec b/python-pip-services3-rpc.spec new file mode 100644 index 0000000..8688e0d --- /dev/null +++ b/python-pip-services3-rpc.spec @@ -0,0 +1,87 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pip-services3-rpc +Version: 3.3.4 +Release: 1 +Summary: Communication components for Pip.Services in Python +License: MIT +URL: http://github.com/pip-services3-python/pip-services3-rpc-python +Source0: https://mirrors.aliyun.com/pypi/web/packages/1b/f4/dba3d0852cc7d5fb941c43769105f0a4e8e0c57a3d0821b3f85e36d9d1d7/pip_services3_rpc-3.3.4.tar.gz +BuildArch: noarch + + +%description +Pip.Services is an open-source library of basic microservices. +pip_services3_rpc provides synchronous and asynchronous communication components. +Links +````` +* `website <http://github.com/pip-services-python/>`_ +* `development version <http://github.com/pip-services3-python/pip-services3-rpc-python>` + +%package -n python3-pip-services3-rpc +Summary: Communication components for Pip.Services in Python +Provides: python-pip-services3-rpc +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pip-services3-rpc +Pip.Services is an open-source library of basic microservices. +pip_services3_rpc provides synchronous and asynchronous communication components. +Links +````` +* `website <http://github.com/pip-services-python/>`_ +* `development version <http://github.com/pip-services3-python/pip-services3-rpc-python>` + +%package help +Summary: Development documents and examples for pip-services3-rpc +Provides: python3-pip-services3-rpc-doc +%description help +Pip.Services is an open-source library of basic microservices. +pip_services3_rpc provides synchronous and asynchronous communication components. +Links +````` +* `website <http://github.com/pip-services-python/>`_ +* `development version <http://github.com/pip-services3-python/pip-services3-rpc-python>` + +%prep +%autosetup -n pip_services3_rpc-3.3.4 + +%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-pip-services3-rpc -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.4-1 +- Package Spec generated @@ -0,0 +1 @@ +76c8e3a7a16aa028d4671500fb2181f5 pip_services3_rpc-3.3.4.tar.gz |