diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-aprsd.spec | 135 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 137 insertions, 0 deletions
@@ -0,0 +1 @@ +/aprsd-3.0.3.tar.gz diff --git a/python-aprsd.spec b/python-aprsd.spec new file mode 100644 index 0000000..c1830c1 --- /dev/null +++ b/python-aprsd.spec @@ -0,0 +1,135 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aprsd +Version: 3.0.3 +Release: 1 +Summary: Amateur radio APRS daemon which listens for messages and responds +License: Apache +URL: http://aprsd.readthedocs.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/26/14/47b5ce53a6b3c5fb8d3a645024e5e7fcc2c09f4284345094840b094dac80/aprsd-3.0.3.tar.gz +BuildArch: noarch + +Requires: python3-aprslib +Requires: python3-attrs +Requires: python3-ax253 +Requires: python3-beautifulsoup4 +Requires: python3-bidict +Requires: python3-bitarray +Requires: python3-certifi +Requires: python3-cffi +Requires: python3-charset-normalizer +Requires: python3-click +Requires: python3-click-completion +Requires: python3-commonmark +Requires: python3-cryptography +Requires: python3-dacite2 +Requires: python3-dataclasses +Requires: python3-debtcollector +Requires: python3-dnspython +Requires: python3-eventlet +Requires: python3-flask +Requires: python3-flask-classful +Requires: python3-flask-httpauth +Requires: python3-flask-socketio +Requires: python3-greenlet +Requires: python3-idna +Requires: python3-imapclient +Requires: python3-importlib-metadata +Requires: python3-itsdangerous +Requires: python3-jinja2 +Requires: python3-kiss3 +Requires: python3-markupsafe +Requires: python3-netaddr +Requires: python3-oslo-config +Requires: python3-oslo-i18n +Requires: python3-pbr +Requires: python3-pluggy +Requires: python3-plumbum +Requires: python3-pycparser +Requires: python3-pygments +Requires: python3-pyopenssl +Requires: python3-pyserial +Requires: python3-pyserial-asyncio +Requires: python3-engineio +Requires: python3-socketio +Requires: python3-pytz +Requires: python3-pyyaml +Requires: python3-ratelimiter +Requires: python3-requests +Requires: python3-rfc3986 +Requires: python3-rich +Requires: python3-rpyc +Requires: python3-shellingham +Requires: python3-six +Requires: python3-soupsieve +Requires: python3-stevedore +Requires: python3-tabulate +Requires: python3-thesmuggler +Requires: python3-ua-parser +Requires: python3-update-checker +Requires: python3-urllib3 +Requires: python3-user-agents +Requires: python3-werkzeug +Requires: python3-wrapt +Requires: python3-zipp + +%description + + +%package -n python3-aprsd +Summary: Amateur radio APRS daemon which listens for messages and responds +Provides: python-aprsd +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aprsd + + +%package help +Summary: Development documents and examples for aprsd +Provides: python3-aprsd-doc +%description help + + +%prep +%autosetup -n aprsd-3.0.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-aprsd -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.3-1 +- Package Spec generated @@ -0,0 +1 @@ +ed469853a34c9a60123c2c0b4c80e46f aprsd-3.0.3.tar.gz |
