python-sphinxcontrib-websup.../python-sphinxcontrib-websupport.spec
2024-03-30 16:21:22 +08:00

63 lines
2.0 KiB
RPMSpec

Name: python-sphinxcontrib-websupport
Version: 1.2.4
Release: 3
Summary: Sphinx API for Web Apps
License: BSD
URL: http://sphinx-doc.org/
Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz
BuildArch: noarch
%description
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%package -n python3-sphinxcontrib-websupport
Summary: Sphinx API for Web Apps
%{?python_provide:%python_provide python3-sphinxcontrib-websupport}
BuildRequires: python3-devel python3-docutils python3-setuptools
BuildRequires: python3-jinja2 python3-mock python3-pytest python3-six
BuildRequires: python3-sphinx python3-sqlalchemy python3-whoosh
Requires: python3-docutils python3-jinja2 python3-six python3-sphinx
Requires: python3-sqlalchemy python3-whoosh
%description -n python3-sphinxcontrib-websupport
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
documentation into your Web application.
%prep
%autosetup -n sphinxcontrib-websupport-%{version} -p1
rm -rf sphinxcontrib-websupport.egg-info
%build
%py3_build
%install
%py3_install
%check
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} tests/test_websupport.py
%files -n python3-sphinxcontrib-websupport
%doc LICENSE README.rst
%{python3_sitelib}/sphinxcontrib/websupport
%{python3_sitelib}/{sphinxcontrib_websupport-*.pth,sphinxcontrib_websupport-*.egg-info}
%changelog
* Mon Nov 14 2022 yaoxin <yaoxin30@h-partners.com> - 1.2.4-3
- Modify invalid Source
* Thu Oct 27 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.2.4-2
- Rebuild for next release
* Mon Feb 1 2021 yuanxin <yuanxin24@huawei.com> - 1.2.4-1
- Upgrade version to 1.2.4
* Wed Jul 29 2020 tianwei <tianwei12g@huawei.com> - 1.2.2-1
- update release to 1.2.2
* Thu Nov 28 2019 Wanjiankang <wanjiankang@huawei.com> - 1.0.1-11
- Initial RPM