summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 07:29:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 07:29:55 +0000
commit382223c113ee89245746b022a831073bcf7b4922 (patch)
tree3b53208d46ca91c2a783bbd49cb70facc0c6c4fa
parent7d48d58c3d5c577959c1be55b9a29ee325d91ade (diff)
automatic import of python-adafruit-blinka-bleio
-rw-r--r--.gitignore1
-rw-r--r--python-adafruit-blinka-bleio.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a4b8cfb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/adafruit-blinka-bleio-4.1.0.tar.gz
diff --git a/python-adafruit-blinka-bleio.spec b/python-adafruit-blinka-bleio.spec
new file mode 100644
index 0000000..b230773
--- /dev/null
+++ b/python-adafruit-blinka-bleio.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-adafruit-blinka-bleio
+Version: 4.1.0
+Release: 1
+Summary: `_bleio` for Blinka based on `bleak`
+License: MIT
+URL: https://github.com/adafruit/Adafruit_Blinka_bleio.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f1/1c/6400cfeab8c8a75803da4871f6bf9d4395649dbdfb1946056cc14cf6931e/adafruit-blinka-bleio-4.1.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Adafruit-Blinka
+Requires: python3-bleak
+
+%description
+`_bleio` for Blinka based on `bleak <https://github.com/hbldh/bleak>`_ and bluez.
+
+%package -n python3-adafruit-blinka-bleio
+Summary: `_bleio` for Blinka based on `bleak`
+Provides: python-adafruit-blinka-bleio
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-adafruit-blinka-bleio
+`_bleio` for Blinka based on `bleak <https://github.com/hbldh/bleak>`_ and bluez.
+
+%package help
+Summary: Development documents and examples for adafruit-blinka-bleio
+Provides: python3-adafruit-blinka-bleio-doc
+%description help
+`_bleio` for Blinka based on `bleak <https://github.com/hbldh/bleak>`_ and bluez.
+
+%prep
+%autosetup -n adafruit-blinka-bleio-4.1.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-adafruit-blinka-bleio -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 4.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..66a69fd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+38d623494e2d8d346bad37e2e927fe9a adafruit-blinka-bleio-4.1.0.tar.gz