summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-raspauto.spec27
-rw-r--r--sources2
3 files changed, 14 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index c96602e..445eece 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/raspauto-0.2.2.11.tar.gz
+/raspauto-0.3.1.tar.gz
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
diff --git a/sources b/sources
index 9a19609..2c42a68 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a612c34d4fc5b895771924b807563b1b raspauto-0.2.2.11.tar.gz
+68fe4c7c0a5b9a0efbafd313617bd956 raspauto-0.3.1.tar.gz