75 lines
2.1 KiB
RPMSpec
75 lines
2.1 KiB
RPMSpec
|
|
me: python-sphinx-theme-alabaster
|
||
|
|
Version: 0.7.11
|
||
|
|
Release: 6
|
||
|
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||
|
|
|
||
|
|
License: BSD
|
||
|
|
URL: https://pypi.python.org/pypi/alabaster
|
||
|
|
Source0: https://files.pythonhosted.org/packages/3f/46/9346ea429931d80244ab7f11c4fce83671df0b7ae5a60247a2b588592c46/alabaster-0.7.11.tar.gz
|
||
|
|
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRequires: python2-devel python2-setuptools
|
||
|
|
|
||
|
|
%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 python2-sphinx-theme-alabaster
|
||
|
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||
|
|
%{?python_provide:%python_provide python2-sphinx-theme-alabaster}
|
||
|
|
|
||
|
|
%description -n python2-sphinx-theme-alabaster
|
||
|
|
Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx documentation system.
|
||
|
|
It is Python 2+3 compatible.
|
||
|
|
|
||
|
|
|
||
|
|
%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
|
||
|
|
%{?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
|
||
|
|
%py2_build
|
||
|
|
%py3_build
|
||
|
|
|
||
|
|
|
||
|
|
%install
|
||
|
|
%py2_install
|
||
|
|
%py3_install
|
||
|
|
|
||
|
|
|
||
|
|
%install
|
||
|
|
%py2_install
|
||
|
|
%py3_install
|
||
|
|
|
||
|
|
|
||
|
|
%files -n python2-sphinx-theme-alabaster
|
||
|
|
%doc LICENSE README.rst
|
||
|
|
%{python2_sitelib}/alabaster-%{version}-py%{python2_version}.egg-info/
|
||
|
|
%{python2_sitelib}/alabaster/
|
||
|
|
|
||
|
|
%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 21 2019 Wanjiankang <wanjiankang@huawei.com> - 0.7.11-6
|
||
|
|
- Initial packaging
|