b294348
%global pypi_name sphinxcontrib-spelling
b294348
%global sum  A spelling checker for Sphinx-based documentation
0b8566d
%global desc This package contains sphinxcontrib.spelling, a spelling checker for \
0b8566d
Sphinx-based documentation. It uses PyEnchant to produce a report showing \
0b8566d
misspelled words.
c70e61e
2e5dca6
# Disable dependency generator
2e5dca6
%{?python_disable_dependency_generator}
2e5dca6
0b8566d
%bcond_without python3
b294348
b294348
Name:           python-%{pypi_name}
38eef51
Version:        7.3.3
5603c18
Release:        4%{?dist}
b294348
Summary:        %{sum}
b294348
b294348
License:        BSD
0b8566d
URL:            https://github.com/sphinx-contrib/spelling
38eef51
Source0:        %{pypi_source}
b294348
BuildArch:      noarch
b294348
c70e61e
%if 0%{?with_python3}
0b8566d
BuildRequires:  python%{python3_pkgversion}-setuptools
0b8566d
BuildRequires:  python%{python3_pkgversion}-devel
0b8566d
BuildRequires:  python%{python3_pkgversion}-pbr
38eef51
BuildRequires:  python%{python3_pkgversion}-pytest
0b8566d
BuildRequires:  python%{python3_pkgversion}-enchant
0b8566d
BuildRequires:  python%{python3_pkgversion}-sphinx
c70e61e
%endif
b294348
0b8566d
%if 0%{?with_python3_other}
0b8566d
BuildRequires:  python%{python3_other_pkgversion}-setuptools
0b8566d
BuildRequires:  python%{python3_other_pkgversion}-devel
0b8566d
BuildRequires:  python%{python3_other_pkgversion}-pbr
38eef51
BuildRequires:  python%{python3_other_pkgversion}-pytest
0b8566d
BuildRequires:  python%{python3_other_pkgversion}-enchant
0b8566d
BuildRequires:  python%{python3_other_pkgversion}-sphinx
0b8566d
%endif
0b8566d
0b8566d
b294348
%description
0b8566d
%{desc}
b294348
0b8566d
# Python 3 package
0b8566d
%if %{with python3}
0b8566d
%package -n     python%{python3_pkgversion}-%{pypi_name}
b294348
Summary:        %{sum}
0b8566d
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
0b8566d
Requires:       python%{python3_pkgversion}-enchant
0b8566d
Requires:       python%{python3_pkgversion}-sphinx
0b8566d
0b8566d
%description -n python%{python3_pkgversion}-%{pypi_name}
0b8566d
%{desc}
c70e61e
%endif
b294348
0b8566d
# Python 3 other package
0b8566d
%if 0%{?with_python3_other}
0b8566d
%package -n     python%{python3_other_pkgversion}-%{pypi_name}
0b8566d
Summary:        %{sum}
0b8566d
%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pypi_name}}
0b8566d
Requires:       python%{python3_other_pkgversion}-enchant
0b8566d
Requires:       python%{python3_other_pkgversion}-sphinx
c70e61e
0b8566d
%description -n python%{python3_other_pkgversion}-%{pypi_name}
0b8566d
%{desc}
c70e61e
%endif
c70e61e
0b8566d
0b8566d
%prep
0b8566d
%autosetup -p0 -n %{pypi_name}-%{version}
c70e61e
b294348
# Remove bundled egg-info
b294348
rm -rf %{pypi_name}.egg-info
b294348
c70e61e
b294348
%build
0b8566d
%if %{with python3}
b294348
%py3_build
c70e61e
%endif
c70e61e
0b8566d
%if 0%{?with_python3_other}
0b8566d
%py3_other_build
0b8566d
%endif
0b8566d
b294348
b294348
%install
0b8566d
%if 0%{?with_python3_other}
0b8566d
%py3_other_install
0b8566d
%endif
0b8566d
0b8566d
%if %{with python3}
b294348
%py3_install
c70e61e
%endif
c70e61e
b294348
b294348
%check
0b8566d
%if %{with python3}
38eef51
%pytest
c70e61e
%endif
b294348
0b8566d
%if 0%{?with_python3_other}
38eef51
%{__python3_other} -m pytest
0b8566d
%endif
0b8566d
0b8566d
0b8566d
%if %{with python3}
0b8566d
%files -n python%{python3_pkgversion}-%{pypi_name}
b294348
%doc README
b294348
%license LICENSE
b294348
%{python3_sitelib}/sphinxcontrib
b294348
%{python3_sitelib}/sphinxcontrib_spelling*
c70e61e
%endif
b294348
0b8566d
%if 0%{?with_python3_other}
0b8566d
%files -n python%{python3_other_pkgversion}-%{pypi_name}
0b8566d
%doc README
0b8566d
%license LICENSE
0b8566d
%{python3_other_sitelib}/sphinxcontrib
0b8566d
%{python3_other_sitelib}/sphinxcontrib_spelling*
0b8566d
%endif
0b8566d
0b8566d
b294348
%changelog
5603c18
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.3-4
5603c18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
5603c18
0730fcf
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.3-3
0730fcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
0730fcf
7b5da86
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 7.3.3-2
7b5da86
- Rebuilt for Python 3.11
7b5da86
38eef51
* Mon May 02 2022 Avram Lubkin <aviso@rockhopper.net> - 7.3.3-1
38eef51
- Updated to 7.3.3
38eef51
7d78c05
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-10
7d78c05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
7d78c05
d5777a5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-9
d5777a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d5777a5
6fce68a
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.3.0-8
6fce68a
- Rebuilt for Python 3.10
6fce68a
104d64b
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-7
104d64b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
104d64b
4e55ea5
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-6
4e55ea5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4e55ea5
ea1fca2
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 4.3.0-5
ea1fca2
- Rebuilt for Python 3.9
ea1fca2
f0b3395
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-4
f0b3395
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f0b3395
38a8a2f
* Wed Nov 27 2019 Avram Lubkin <aviso@rockhopper.net> - 4.3.0-3
38a8a2f
- Fix changelog
38a8a2f
38a8a2f
* Wed Nov 27 2019 Avram Lubkin <aviso@rockhopper.net> - 4.3.0-2
2e5dca6
- Disable python dependency generator
2e5dca6
38a8a2f
* Mon Oct 28 2019 Avram Lubkin <aviso@rockhopper.net> - 4.3.0-1
2ecb6b1
- Updated to 4.3.0
2ecb6b1
8bb11bb
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.2.1-4
8bb11bb
- Rebuilt for Python 3.8.0rc1 (#1748018)
8bb11bb
0bc0532
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.2.1-3
0bc0532
- Rebuilt for Python 3.8
0bc0532
a59719c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-2
a59719c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a59719c
8086e20
* Tue Apr 02 2019 Avram Lubkin <aviso@rockhopper.net> - 4.2.1-1
8086e20
- Updated to 4.2.1
8086e20
18a8621
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-2
18a8621
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
18a8621
8086e20
* Tue Sep 25 2018 Avram Lubkin <aviso@rockhopper.net> - 4.2.0-1
8086e20
- Updated to 4.2.0
0b8566d
- Remove Python 2 from Fedora 30+ and EL8+
0b8566d
489776f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-5
489776f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
489776f
ac63e9b
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.0.1-4
ac63e9b
- Rebuilt for Python 3.7
ac63e9b
2a3d0b6
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.0.1-3
2a3d0b6
- Update Python 2 dependency declarations to new packaging standards
2a3d0b6
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
2a3d0b6
f2c633b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
f2c633b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f2c633b
becd3f6
* Tue Jan 09 2018  Avram Lubkin <aviso@rockhopper.net> - 4.0.1-1
becd3f6
- Updated to 4.0.1
becd3f6
4e33182
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
4e33182
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4e33182
8b888b4
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
8b888b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8b888b4
ff9ab7d
* Sun Jan 01 2017  Avram Lubkin <aviso@rockhopper.net> - 2.3.0-1
ff9ab7d
- Update to 2.3.0
ff9ab7d
5b07f9c
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.1.2-3
5b07f9c
- Rebuild for Python 3.6
5b07f9c
c70e61e
* Wed Jul 20 2016 Avram Lubkin <aviso@rockhopper.net> - 2.1.2-2
c70e61e
- Added build support for EPEL 6 and 7
c70e61e
b294348
* Wed Jun 15 2016 Avram Lubkin <aviso@rockhopper.net> - 2.1.2-1
b294348
- Initial package.