python-sphinx-theme-alabaster/python-sphinx-theme-alabaster.spec
zhang-liang-pengkun 496d6dc3a3 Nix setup.cfg
Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
(cherry picked from commit 1ae8317d2a7a301eb314aeb1d3c36295a2c0c2ef)
(cherry picked from commit 49f0f0e8d2f124caf5820fc6ae7b05476485ce76)
2024-05-27 16:58:41 +08:00

87 lines
2.7 KiB
RPMSpec

name: python-sphinx-theme-alabaster
Version: 0.7.12
Release: 8
Summary: Configurable sidebar-enabled Sphinx theme
License: BSD
URL: https://pypi.python.org/pypi/alabaster
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
Patch0001: update-LICENSE-newyear.patch
Patch0002: Declare-support-for-Python-3_8+only.patch
Patch0003: 0001-Add-python_requires.patch
Patch0004: 0002-Nix-setup.cfg.patch
BuildArch: noarch
%description
This theme is a modified "Kr" Sphinx theme from @kennethreitz (especially as
used in his Requests project), which was itself originally based on @mitsuhiko's
theme used for Flask & related projects.
%package -n python%{python3_pkgversion}-sphinx-theme-alabaster
Summary: Configurable sidebar-enabled Sphinx theme
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
Provides: python%{python3_pkgversion}dist(alabaster) = %{version}
Provides: python%{python3_version}dist(alabaster) = %{version}
%{?python_provide:%python_provide python%{python3_pkgversion}-sphinx-theme-alabaster}
%description -n python%{python3_pkgversion}-sphinx-theme-alabaster
Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx documentation system.
It is Python 2+3 compatible.
%prep
%autosetup -n alabaster-%{version} -p1
rm -rf alabaster.egg-info
%build
%py3_build
%install
%py3_install
%files -n python%{python3_pkgversion}-sphinx-theme-alabaster
%doc LICENSE README.rst
%{python3_sitelib}/alabaster-%{version}-py%{python3_version}.egg-info/
%{python3_sitelib}/alabaster/
%changelog
* Thu Nov 23 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-8
- Nix setup.cfg
* Thu Nov 16 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-7
- Add python_requires
* Mon Jan 9 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-6
- Declare support for Python 3.8+ only
* Sat Jan 7 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-5
- update-LICENSE-newyear
* Thu Oct 27 2022 zhangruifang <zhangruifang1@h-partners.com> - 0.7.12-4
- Rebuild for next release
* Wed Dec 29 2021 shixuantong <shixuantong@huawei.com> - 0.7.12-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:provide pythonXdist(alabaster)
* Mon Nov 2 2020 wangjie<wangjie294@huawei.com> -0.7.12-2
- Type:NA
- ID:NA
- SUG:NA
- DESC:remove python2
* Fri Jul 24 2020 xinghe <xinghe1@huawei.com> - 0.7.12-1
- update version to 0.7.12
* Thu Nov 21 2019 Wanjiankang <wanjiankang@huawei.com> - 0.7.11-6
- Initial packaging