%global _empty_manifest_terminate_build 0 Name: python-base32-crockford Version: 0.3.0 Release: 1 Summary: A Python implementation of Douglas Crockford's base32 encoding scheme License: BSD URL: https://github.com/jbittel/base32-crockford Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a8/e7/868d9b106ffb86ebf1eb877517e03ac87667ce5ce201547fa3a26090c1ba/base32-crockford-0.3.0.tar.gz BuildArch: noarch %description A Python module implementing the alternate base32 encoding as described by Douglas Crockford at: http://www.crockford.com/wrmg/base32.html. He designed the encoding to: * Be human and machine readable * Be compact * Be error resistant * Be pronounceable It uses a symbol set of 10 digits and 22 letters, excluding I, L O and U. Decoding is not case sensitive, and 'i' and 'l' are converted to '1' and 'o' is converted to '0'. Encoding uses only upper-case characters. Hyphens may be present in symbol strings to improve readability, and are removed when decoding. A check symbol can be appended to a symbol string to detect errors within the string. %package -n python3-base32-crockford Summary: A Python implementation of Douglas Crockford's base32 encoding scheme Provides: python-base32-crockford BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-base32-crockford A Python module implementing the alternate base32 encoding as described by Douglas Crockford at: http://www.crockford.com/wrmg/base32.html. He designed the encoding to: * Be human and machine readable * Be compact * Be error resistant * Be pronounceable It uses a symbol set of 10 digits and 22 letters, excluding I, L O and U. Decoding is not case sensitive, and 'i' and 'l' are converted to '1' and 'o' is converted to '0'. Encoding uses only upper-case characters. Hyphens may be present in symbol strings to improve readability, and are removed when decoding. A check symbol can be appended to a symbol string to detect errors within the string. %package help Summary: Development documents and examples for base32-crockford Provides: python3-base32-crockford-doc %description help A Python module implementing the alternate base32 encoding as described by Douglas Crockford at: http://www.crockford.com/wrmg/base32.html. He designed the encoding to: * Be human and machine readable * Be compact * Be error resistant * Be pronounceable It uses a symbol set of 10 digits and 22 letters, excluding I, L O and U. Decoding is not case sensitive, and 'i' and 'l' are converted to '1' and 'o' is converted to '0'. Encoding uses only upper-case characters. Hyphens may be present in symbol strings to improve readability, and are removed when decoding. A check symbol can be appended to a symbol string to detect errors within the string. %prep %autosetup -n base32-crockford-0.3.0 %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-base32-crockford -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Apr 11 2023 Python_Bot - 0.3.0-1 - Package Spec generated