summaryrefslogtreecommitdiff
path: root/python-sphinxcontrib-spelling.spec
blob: b4b1cd0040df9360fdcbac8c9090b4cbcb776649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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