Fetch the repository succeeded.
This action will force synchronization from src-openEuler/python-num2words, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
%global _empty_manifest_terminate_build 0
Name: python-num2words
Version: 0.5.14
Release: 1
Summary: Modules to convert numbers
License: LGPL-2.1-only
URL: https://github.com/savoirfairelinux/num2words
Source0: https://files.pythonhosted.org/packages/source/n/num2words/num2words-%{version}.tar.gz
BuildArch: noarch
%description
A library that converts numbers to words
%package -n python3-num2words
Summary: Modules to convert numbers to words. Easily extensible.
Provides: python-num2words = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-docopt
%description -n python3-num2words
A library that converts numbers to words
%package help
Summary: Development documents and examples for num2words
Provides: python3-num2words-doc
%description help
A library that converts numbers to words
%prep
%autosetup -n num2words-%{version}
%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-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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。