diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-18 06:19:32 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 06:19:32 +0000 |
commit | 98fbab9b916f2b7cfefcce0143ec37d09b38c0d0 (patch) | |
tree | f1b143b99c65a680d3518037fa634f936f5f47e5 | |
parent | 3c3a5e188cfe005ebc443472e0653a938a0245e7 (diff) |
automatic import of python-adafruit-blinka-displayio
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-adafruit-blinka-displayio.spec | 77 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/adafruit-blinka-displayio-0.10.4.tar.gz diff --git a/python-adafruit-blinka-displayio.spec b/python-adafruit-blinka-displayio.spec new file mode 100644 index 0000000..863b199 --- /dev/null +++ b/python-adafruit-blinka-displayio.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-adafruit-blinka-displayio +Version: 0.10.4 +Release: 1 +Summary: displayio for Blinka +License: MIT +URL: https://github.com/adafruit/Adafruit_CircuitPython_SI1145.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/9c/5125605bf589ffa0561ac8eeb77c7b53325dcffccc36e8651a67a4d28822/adafruit-blinka-displayio-0.10.4.tar.gz +BuildArch: noarch + +Requires: python3-Adafruit-Blinka +Requires: python3-adafruit-circuitpython-typing +Requires: python3-pillow +Requires: python3-numpy +Requires: python3-pillow + +%description +displayio for Blinka + +%package -n python3-adafruit-blinka-displayio +Summary: displayio for Blinka +Provides: python-adafruit-blinka-displayio +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-adafruit-blinka-displayio +displayio for Blinka + +%package help +Summary: Development documents and examples for adafruit-blinka-displayio +Provides: python3-adafruit-blinka-displayio-doc +%description help +displayio for Blinka + +%prep +%autosetup -n adafruit-blinka-displayio-0.10.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-adafruit-blinka-displayio -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.4-1 +- Package Spec generated @@ -0,0 +1 @@ +8319fbe43296860c2d8a13565e419739 adafruit-blinka-displayio-0.10.4.tar.gz |