diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:47:20 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:47:20 +0000 |
commit | d6bb7b3db54a99f610eb0a8f35bba85f43782007 (patch) | |
tree | d117a7952f11e3eb054161ad176cf6ffe1e2b219 | |
parent | 70f88f8c489eb8cd1a9d37fe4fc47c01493a2630 (diff) |
automatic import of python-riego
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-riego.spec | 129 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 131 insertions, 0 deletions
@@ -0,0 +1 @@ +/riego-0.10.3.tar.gz diff --git a/python-riego.spec b/python-riego.spec new file mode 100644 index 0000000..c71e5b8 --- /dev/null +++ b/python-riego.spec @@ -0,0 +1,129 @@ +%global _empty_manifest_terminate_build 0 +Name: python-riego +Version: 0.10.3 +Release: 1 +Summary: Watering System +License: MIT License +URL: https://github.com/py-steph/riego +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/86/b7/6bf743cb536741f5ab727e0a48d3fca75817de6c91c311368521f11109ba/riego-0.10.3.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp-jinja2 +Requires: python3-jinja2 +Requires: python3-gmqtt +Requires: python3-ConfigArgParse +Requires: python3-yoyo-migrations +Requires: python3-aiohttp +Requires: python3-cchardet +Requires: python3-aiohttp-debugtoolbar +Requires: python3-aiohttp-session[secure] +Requires: python3-bcrypt +Requires: python3-asyncssh +Requires: python3-uvloop + +%description +Riego - Garden-Watering-System + +- Using MQTT-Devices and MQTT-Server +- Linux Daemon with Webinterface +- Designed for running on embedded device like Raspberry +- Control from Cloud Server is possible +- Already in production for testing, but Work in progress +- Yet no documentation available + + +Einstellungen im Dashboard: +- Intervall == 0 => mittgas zusätzlich +- duration == 0 => keine automatische Abschaltung +- aktiviert == 0 => keine automatische Einschaltung +- is_hidden == 0 => keine automatische Ein-/ Ausschaltung + + +%package -n python3-riego +Summary: Watering System +Provides: python-riego +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-riego +Riego - Garden-Watering-System + +- Using MQTT-Devices and MQTT-Server +- Linux Daemon with Webinterface +- Designed for running on embedded device like Raspberry +- Control from Cloud Server is possible +- Already in production for testing, but Work in progress +- Yet no documentation available + + +Einstellungen im Dashboard: +- Intervall == 0 => mittgas zusätzlich +- duration == 0 => keine automatische Abschaltung +- aktiviert == 0 => keine automatische Einschaltung +- is_hidden == 0 => keine automatische Ein-/ Ausschaltung + + +%package help +Summary: Development documents and examples for riego +Provides: python3-riego-doc +%description help +Riego - Garden-Watering-System + +- Using MQTT-Devices and MQTT-Server +- Linux Daemon with Webinterface +- Designed for running on embedded device like Raspberry +- Control from Cloud Server is possible +- Already in production for testing, but Work in progress +- Yet no documentation available + + +Einstellungen im Dashboard: +- Intervall == 0 => mittgas zusätzlich +- duration == 0 => keine automatische Abschaltung +- aktiviert == 0 => keine automatische Einschaltung +- is_hidden == 0 => keine automatische Ein-/ Ausschaltung + + +%prep +%autosetup -n riego-0.10.3 + +%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-riego -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.3-1 +- Package Spec generated @@ -0,0 +1 @@ +00f8863095a9d9bf1b7b42ba1dd4955e riego-0.10.3.tar.gz |