%global _empty_manifest_terminate_build 0Name: python-num2wordsVersion: 0.5.14Release: 1Summary: Modules to convert numbersLicense: LGPL-2.1-onlyURL: https://github.com/savoirfairelinux/num2wordsSource0: https://files.pythonhosted.org/packages/source/n/num2words/num2words-%{version}.tar.gzBuildArch: noarch%descriptionA library that converts numbers to words%package -n python3-num2wordsSummary: Modules to convert numbers to words. Easily extensible.Provides: python-num2words = %{version}-%{release}BuildRequires: python3-develBuildRequires: python3-setuptoolsRequires: python3-docopt%description -n python3-num2wordsA library that converts numbers to words%package helpSummary: Development documents and examples for num2wordsProvides: python3-num2words-doc%description helpA library that converts numbers to words%prep%autosetup -n num2words-%{version}%build%py3_build%install%py3_installinstall -d -m755 %{buildroot}/%{_pkgdocdir}if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fiif [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fiif [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fiif [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fipushd %{buildroot}if [ -d usr/lib ]; thenfind usr/lib -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/lib64 ]; thenfind usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/bin ]; thenfind usr/bin -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/sbin ]; thenfind usr/sbin -type f -printf "/%h/%f\n" >> filelist.lstfitouch doclist.lstif [ -d usr/share/man ]; thenfind usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lstfipopdmv %{buildroot}/filelist.lst .mv %{buildroot}/doclist.lst .%files -n python3-num2words -f filelist.lst%dir %{python3_sitelib}/*%files help -f doclist.lst%{_docdir}/*%changelog* Tue Aug 05 2025 jinshuaiyu <jinshuaiyu@kylinos.cn> - 0.5.14-1- Update package to version 0.5.14- Fixed a typo in PL- Add catalan language support* Thu Nov 28 2024 jinshuaiyu <jinshuaiyu@kylinos.cn> - 0.5.13-1- Update package to version 0.5.13- Fixed a typo in PL- Run tests against Python 3.12- Add catalan language support* Wed Nov 16 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.5.12-1- Update package to version 0.5.12* Mon May 9 2022 yaoxin <yaoxin30@h-partners.com> - 0.5.10-3- License compliance rectification* Tue Apr 19 2022 huangduirong <huangduirong@huawei.com> - 0.5.10-2- Update License to LGPL-2.1* Sat Jul 10 2021 Python_Bot <Python_Bot@openeuler.org> - 0.5.10-1- Package Spec generated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. Open source ecosystem
2. Collaboration, People, Software
3. Evaluation model