diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:13:33 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 05:13:33 +0000 |
commit | 97be31602b3f3b67f12c1341491d22be17ba67fc (patch) | |
tree | ddb3e68c4d1cb5fff697eb096ca200263a52496a | |
parent | 74e2d4902d0dcdcce4d17774d8083c69529bfe49 (diff) |
automatic import of python-MPBSopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-mpbs.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/MPBS-0.0.3.9.tar.gz diff --git a/python-mpbs.spec b/python-mpbs.spec new file mode 100644 index 0000000..17ae7d8 --- /dev/null +++ b/python-mpbs.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-MPBS +Version: 0.0.3.9 +Release: 1 +Summary: zmq based MultiPublisher-Broker-multiSubscriber framework +License: UNKNOWN +URL: http://www.example.com +Source0: https://mirrors.aliyun.com/pypi/web/packages/12/49/7289bcc4e08ef1bc8b16c67d16dffdc3daa04219a8ea8329291b5130650e/MPBS-0.0.3.9.tar.gz +BuildArch: noarch + + +%description +UNKNOWN + +%package -n python3-MPBS +Summary: zmq based MultiPublisher-Broker-multiSubscriber framework +Provides: python-MPBS +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-MPBS +UNKNOWN + +%package help +Summary: Development documents and examples for MPBS +Provides: python3-MPBS-doc +%description help +UNKNOWN + +%prep +%autosetup -n MPBS-0.0.3.9 + +%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-MPBS -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.3.9-1 +- Package Spec generated @@ -0,0 +1 @@ +f67be0d3083d34a6e20e93c644a42566 MPBS-0.0.3.9.tar.gz |