diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 15:35:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 15:35:10 +0000 |
commit | 3ac4cb792d30e33a24aae988fbde1e79ebc9921e (patch) | |
tree | 9e765251477c21570d586d7549719b733a84508e /python-raspauto.spec | |
parent | 11d86214a266a97c23933089b4f044fcaafca11b (diff) |
automatic import of python-raspautoopeneuler20.03
Diffstat (limited to 'python-raspauto.spec')
-rw-r--r-- | python-raspauto.spec | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/python-raspauto.spec b/python-raspauto.spec index 8fb3e63..6811a68 100644 --- a/python-raspauto.spec +++ b/python-raspauto.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-raspauto -Version: 0.2.2.11 +Version: 0.3.1 Release: 1 Summary: Raspberry Automation Library and Voice Recognition License: GNU URL: https://github.com/aattk/raspauto -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/db/24/a70a891129158e0c2ef54a79bbd655f0c9098473f941da0307a2216212bf/raspauto-0.2.2.11.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/6c/e5/7f7fc33894328143763ba60e4d0a0624c95996b3de5b423471b680a60670/raspauto-0.3.1.tar.gz BuildArch: noarch Requires: python3-telegram-bot @@ -97,6 +97,7 @@ sudo reboot |Command|Function|Usage| |-|-|-| |Every key press|It sends the defined pin lists as a button.|-| +|/login|Allows the user to log in.|``/login your_password``| |/start|It sends the defined pin lists as a button.|``/start``| |/pinadd|Adds pin information to the system|``/pinadd pin_name pin_number``| |/pinlist|It shows the pin information attached to the system.|``/pinlist``| @@ -148,8 +149,6 @@ sudo reboot - Firebase support has been replaced by Telegram. - - %package -n python3-raspauto Summary: Raspberry Automation Library and Voice Recognition Provides: python-raspauto @@ -243,6 +242,7 @@ sudo reboot |Command|Function|Usage| |-|-|-| |Every key press|It sends the defined pin lists as a button.|-| +|/login|Allows the user to log in.|``/login your_password``| |/start|It sends the defined pin lists as a button.|``/start``| |/pinadd|Adds pin information to the system|``/pinadd pin_name pin_number``| |/pinlist|It shows the pin information attached to the system.|``/pinlist``| @@ -294,8 +294,6 @@ sudo reboot - Firebase support has been replaced by Telegram. - - %package help Summary: Development documents and examples for raspauto Provides: python3-raspauto-doc @@ -386,6 +384,7 @@ sudo reboot |Command|Function|Usage| |-|-|-| |Every key press|It sends the defined pin lists as a button.|-| +|/login|Allows the user to log in.|``/login your_password``| |/start|It sends the defined pin lists as a button.|``/start``| |/pinadd|Adds pin information to the system|``/pinadd pin_name pin_number``| |/pinlist|It shows the pin information attached to the system.|``/pinlist``| @@ -437,10 +436,8 @@ sudo reboot - Firebase support has been replaced by Telegram. - - %prep -%autosetup -n raspauto-0.2.2.11 +%autosetup -n raspauto-0.3.1 %build %py3_build @@ -454,20 +451,20 @@ 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 + 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 + 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 + 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 + 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 + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -480,5 +477,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.2.11-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.1-1 - Package Spec generated |