diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 06:55:15 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 06:55:15 +0000 |
commit | 5812d8d7baa057c787c90f39a5967f3870a5dc82 (patch) | |
tree | c3163c8cbc34ed74412459ad6629d60309638455 | |
parent | 2b47611b5cb6acd58458cf3c680176c21ac8379e (diff) |
automatic import of python-pi-touch-guiopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pi-touch-gui.spec | 91 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/pi-touch-gui-0.3.10.tar.gz diff --git a/python-pi-touch-gui.spec b/python-pi-touch-gui.spec new file mode 100644 index 0000000..ffc704a --- /dev/null +++ b/python-pi-touch-gui.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pi-touch-gui +Version: 0.3.10 +Release: 1 +Summary: A graphic UI optimized for touch screens +License: Free for non-commercial use +URL: https://github.com/EdwinWiseOne/PiTouchGui +Source0: https://mirrors.aliyun.com/pypi/web/packages/fc/a6/26956607916ba77d5698ba19439201fc6aebb919b7024df91d8b0bf1d1f6/pi-touch-gui-0.3.10.tar.gz +BuildArch: noarch + +Requires: python3-pygame + +%description +Pi Touch GUI is a touchscreen GUI for the Raspberry PI. It is inspired and +founded on work from the official Raspberry Pi touchscreen, and by the +Star Trek-inspired LCARS UI by Toby Kurian. +It is a work in progress. +See also: +https://github.com/pimoroni/python-multitouch/blob/master/library/setup.py +https://github.com/tobykurien/rpi_lcars + +%package -n python3-pi-touch-gui +Summary: A graphic UI optimized for touch screens +Provides: python-pi-touch-gui +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pi-touch-gui +Pi Touch GUI is a touchscreen GUI for the Raspberry PI. It is inspired and +founded on work from the official Raspberry Pi touchscreen, and by the +Star Trek-inspired LCARS UI by Toby Kurian. +It is a work in progress. +See also: +https://github.com/pimoroni/python-multitouch/blob/master/library/setup.py +https://github.com/tobykurien/rpi_lcars + +%package help +Summary: Development documents and examples for pi-touch-gui +Provides: python3-pi-touch-gui-doc +%description help +Pi Touch GUI is a touchscreen GUI for the Raspberry PI. It is inspired and +founded on work from the official Raspberry Pi touchscreen, and by the +Star Trek-inspired LCARS UI by Toby Kurian. +It is a work in progress. +See also: +https://github.com/pimoroni/python-multitouch/blob/master/library/setup.py +https://github.com/tobykurien/rpi_lcars + +%prep +%autosetup -n pi-touch-gui-0.3.10 + +%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-pi-touch-gui -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.10-1 +- Package Spec generated @@ -0,0 +1 @@ +05056db04b6e44e632290bc5ca4d23df pi-touch-gui-0.3.10.tar.gz |