summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 23:49:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 23:49:47 +0000
commitd44f417c657ce08116e56020d6fffe0dc94978d9 (patch)
treefd3dcd37d59068b3e4b63569abbccec77130d4c6
parent9f7c7e278aa4ff5009386d358fcdaaa393938493 (diff)
automatic import of python-bellows
-rw-r--r--.gitignore1
-rw-r--r--python-bellows.spec77
-rw-r--r--sources1
3 files changed, 79 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e7de1b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/bellows-0.35.0.tar.gz
diff --git a/python-bellows.spec b/python-bellows.spec
new file mode 100644
index 0000000..c7fb061
--- /dev/null
+++ b/python-bellows.spec
@@ -0,0 +1,77 @@
+%global _empty_manifest_terminate_build 0
+Name: python-bellows
+Version: 0.35.0
+Release: 1
+Summary: Library implementing EZSP
+License: GPL-3.0
+URL: http://github.com/zigpy/bellows
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ff/e4/6dd135e777e96100a9afba8b5b804a525d67bd7dcf598e31e45b602c0809/bellows-0.35.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-click
+Requires: python3-click-log
+Requires: python3-pure-pcapy3
+Requires: python3-voluptuous
+Requires: python3-zigpy
+
+%description
+
+
+%package -n python3-bellows
+Summary: Library implementing EZSP
+Provides: python-bellows
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-bellows
+
+
+%package help
+Summary: Development documents and examples for bellows
+Provides: python3-bellows-doc
+%description help
+
+
+%prep
+%autosetup -n bellows-0.35.0
+
+%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-bellows -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.35.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..49d304b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c16f333beffc9a1683685cc7441dcc28 bellows-0.35.0.tar.gz