python-sphinx-bootstrap-theme/python-sphinx-bootstrap-theme.spec

65 lines
2.0 KiB
RPMSpec
Raw Normal View History

%global srcname sphinx-bootstrap-theme
Name: python-%{srcname}
Version: 0.8.1
Release: 1
2020-03-12 09:59:10 +08:00
Summary: Sphinx Bootstrap Theme
License: MIT and ASL 2.0
URL: http://ryan-roemer.github.com/%{srcname}
Source0: https://github.com/ryan-roemer/sphinx-bootstrap-theme/archive/v%{version}/%{srcname}-%{version}.tar.gz
2020-03-12 09:59:10 +08:00
BuildArch: noarch
BuildRequires: web-assets-devel
2020-03-12 09:59:10 +08:00
%description
This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various layout options,
hierarchical menu navigation, and mobile-friendly responsive design.It is configurable, extensible,
and can use any number of different Bootswatch CSS themes.
%package -n python3-%{srcname}
2020-03-12 09:59:10 +08:00
Summary: Sphinx Bootstrap Theme
BuildRequires: python3-devel python3-setuptools
2020-03-14 22:21:38 +08:00
Requires: python3-sphinx
2020-03-12 09:59:10 +08:00
%{?python_provide:%python_provide python3-sphinx-bootstrap-theme}
%description -n python3-%{srcname}
2020-03-12 09:59:10 +08:00
This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various layout options,
hierarchicalmenunavigation,and mobile-friendly responsive design.It is configurable, extensible,
and can use any number of different Bootswatch CSS themes.
%package help
Summary: Help documentation for sphinx-bootstrap-theme
%description help
Help documentation for sphinx-bootstrap-theme.
%prep
%autosetup -n %{srcname}-%{version} -p1
rm -rf *.egg-info
2020-03-12 09:59:10 +08:00
%build
%py3_build
%install
%py3_install
%files -n python3-%{srcname}
2020-03-12 09:59:10 +08:00
%license LICENSE.txt
%{python3_sitelib}/sphinx_bootstrap_theme
%{python3_sitelib}/sphinx_bootstrap_theme-%{version}-py%{python3_version}.egg-info
%files help
%doc *.rst
2020-03-12 09:59:10 +08:00
%changelog
* Wed Mar 30 2022 yaoxin <yaoxin30@huawei.com> - 0.8.1-1
- Upgrade python-sphinx-bootstrap-theme to 0.8.1 to resolve compilation failures.
* Fri Sep 11 2020 wangxiao <wangxiao65@huawei.com> - 0.4.13-12
- Remove python2 support, fix BuildRequires
2020-03-14 22:21:38 +08:00
* Sat Mar 14 2020 likexin <likexin4@huawei.com> - 0.4.13-11
- Remove some requires
2020-03-12 09:59:10 +08:00
* Wed Mar 11 2020 shijian <shijian16@huawei.com> - 0.4.13-10
- Package init