python-sphinxcontrib-spelling/python-sphinxcontrib-spelling.spec
cherry530 574394638d Upgrade version to 8.0.0
Signed-off-by: cherry530 <707078654@qq.com>
2023-08-22 10:29:14 +08:00

69 lines
2.4 KiB
RPMSpec

Name: python-sphinxcontrib-spelling
Version: 8.0.0
Release: 1
Summary: Sphinx-based documentation spell checker
License: BSD
URL: https://github.com/sphinx-contrib/spelling
Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-spelling/sphinxcontrib-spelling-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-setuptools python%{python3_pkgversion}-devel python%{python3_pkgversion}-pbr
BuildRequires: python%{python3_pkgversion}-fixtures python%{python3_pkgversion}-six
BuildRequires: python%{python3_pkgversion}-enchant python%{python3_pkgversion}-sphinx hunspell-en hunspell-de
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
%description
It contains sphinxcontrib.spelling, a spell checker for
Sphinx-based documents. It uses PyEnchant to generate
reports showing misspelled words.
%package -n python%{python3_pkgversion}-sphinxcontrib-spelling
Summary: Sphinx-based documentation spell checker
%{?python_provide:%python_provide python%{python3_pkgversion}-sphinxcontrib-spelling}
Requires: python%{python3_pkgversion}-enchant python%{python3_pkgversion}-six
Requires: python%{python3_pkgversion}-sphinx
%description -n python%{python3_pkgversion}-sphinxcontrib-spelling
It contains sphinxcontrib.spelling, a spell checker for
Sphinx-based documents. It uses PyEnchant to generate
reports showing misspelled words.
%prep
%autosetup -p0 -n sphinxcontrib-spelling-%{version}
%build
%pyproject_build
%install
%pyproject_install
%check
%{__python3} -m pytest
%files -n python%{python3_pkgversion}-sphinxcontrib-spelling
%doc README LICENSE
%{python3_sitelib}/sphinxcontrib*
%changelog
* Tue Aug 22 2023 xu_ping <707078654@qq.com> - 8.0.0-1
- Update package to version 8.0.0
* Thu Jul 13 2023 sunhui <sunhui@kylinos.cn> - 7.7.0-1
- Update package to version 7.7.0
* Thu Jul 07 2022 wangkai <wangkai385@h-partners.com> - 7.6.0-1
- Update to 7.6.0
* Sat Jan 08 2022 Ge Wang <wangge20@huawei.com> - 4.2.1-3
- Use unittest replace nose due to python-nose is abandonted
* Tue Aug 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4.2.1-2
- Remove unused tar package
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4.2.1-1
- Update to 4.2.1
* Wed Jan 8 2020 likexin <likexin4@huawei.com> - 4.2.0-2
- package init