diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:46:26 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:46:26 +0000 |
| commit | 7b4ba9f9fd345098f1011bc53404bc87b7e8715c (patch) | |
| tree | 1cb1e5ff5e5c25d81343eac55a54c309f14cc1e0 | |
| parent | 294a7ad8ef05642c1421f350c1f7813dadb99ff3 (diff) | |
automatic import of python-strobesbufs
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-strobesbufs.spec | 92 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/Strobesbufs-0.0.299.tar.gz diff --git a/python-strobesbufs.spec b/python-strobesbufs.spec new file mode 100644 index 0000000..e834995 --- /dev/null +++ b/python-strobesbufs.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Strobesbufs +Version: 0.0.299 +Release: 1 +Summary: Contains all the protos created by strobesbuf as a package to use +License: GPLv3 +URL: https://github.com/strobes-co/strobesbufs-py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/43/90/b4ed19bf9f6787a197c1404cacf69dbdaf685ef18b1c4a33a075e7402b6b/Strobesbufs-0.0.299.tar.gz +BuildArch: noarch + +Requires: python3-grpcio +Requires: python3-grpcio-tools + +%description +# Strobesbufs Protos + +Strobesbufs Protos is a library containing all the autogenerated python files for grpc proto +file used here([Protos](https://github.com/strobes-co/protos/tree/package)). + + + + +%package -n python3-Strobesbufs +Summary: Contains all the protos created by strobesbuf as a package to use +Provides: python-Strobesbufs +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Strobesbufs +# Strobesbufs Protos + +Strobesbufs Protos is a library containing all the autogenerated python files for grpc proto +file used here([Protos](https://github.com/strobes-co/protos/tree/package)). + + + + +%package help +Summary: Development documents and examples for Strobesbufs +Provides: python3-Strobesbufs-doc +%description help +# Strobesbufs Protos + +Strobesbufs Protos is a library containing all the autogenerated python files for grpc proto +file used here([Protos](https://github.com/strobes-co/protos/tree/package)). + + + + +%prep +%autosetup -n Strobesbufs-0.0.299 + +%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-Strobesbufs -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.299-1 +- Package Spec generated @@ -0,0 +1 @@ +de65823dfbfda34b1d0bafba73329640 Strobesbufs-0.0.299.tar.gz |
