diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-aioremootio.spec | 82 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 84 insertions, 0 deletions
@@ -0,0 +1 @@ +/aioremootio-1.0.0a17.tar.gz diff --git a/python-aioremootio.spec b/python-aioremootio.spec new file mode 100644 index 0000000..39ca7d2 --- /dev/null +++ b/python-aioremootio.spec @@ -0,0 +1,82 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aioremootio +Version: 1.0.0a17 +Release: 1 +Summary: An asynchronous API client library for Remootio (http://www.remootio.com/) +License: Apache Software License +URL: https://github.com/ivgg-me/aioremootio +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/65/58/d2b88edccf07c9e742d5b7fa4afe0cc96b23e3aede4f379ad486fd3c9ca6/aioremootio-1.0.0a17.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-pycryptodome +Requires: python3-async-class +Requires: python3-voluptuous + +%description +Copyright © 2021 Gergö Gabor Ilyes-Veisz. +Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) +<a href="https://www.buymeacoffee.com/ivgg" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-blue.png" alt="Buy Me A Coffee" height="41" width="174"></a> + +%package -n python3-aioremootio +Summary: An asynchronous API client library for Remootio (http://www.remootio.com/) +Provides: python-aioremootio +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aioremootio +Copyright © 2021 Gergö Gabor Ilyes-Veisz. +Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) +<a href="https://www.buymeacoffee.com/ivgg" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-blue.png" alt="Buy Me A Coffee" height="41" width="174"></a> + +%package help +Summary: Development documents and examples for aioremootio +Provides: python3-aioremootio-doc +%description help +Copyright © 2021 Gergö Gabor Ilyes-Veisz. +Licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) +<a href="https://www.buymeacoffee.com/ivgg" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-blue.png" alt="Buy Me A Coffee" height="41" width="174"></a> + +%prep +%autosetup -n aioremootio-1.0.0a17 + +%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-aioremootio -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0a17-1 +- Package Spec generated @@ -0,0 +1 @@ +02e905bc086778904984cbf03bb6667a aioremootio-1.0.0a17.tar.gz |