]> git.pld-linux.org Git - packages/python-sphinx_bootstrap_theme.git/blame - python-sphinx_bootstrap_theme.spec
rebuild with python 3.10
[packages/python-sphinx_bootstrap_theme.git] / python-sphinx_bootstrap_theme.spec
CommitLineData
92df6993
JB
1#
2# Conditional build:
3%bcond_without python2 # CPython 2.x module
4%bcond_without python3 # CPython 3.x module
5
6Summary: Sphinx Bootstrap Theme - Python 2.x version
7Summary(pl.UTF-8): Motyw Bootstrap dla narzędzia Sphinx - wersja dla Pythona 2.x
8Name: python-sphinx_bootstrap_theme
069137b1 9Version: 0.8.1
923ce9e6 10Release: 3
92df6993
JB
11License: MIT
12Group: Libraries/Python
e61e1913 13#Source0Download: https://pypi.org/simple/sphinx-bootstrap-theme/
659909d4 14Source0: https://files.pythonhosted.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz
069137b1 15# Source0-md5: 705bb962d9ad21741f8b2efd6ebba2db
e61e1913 16URL: https://pypi.org/project/sphinx-bootstrap-theme/
92df6993 17%if %{with python2}
07293cd6 18BuildRequires: python-modules >= 1:2.5
92df6993
JB
19BuildRequires: python-setuptools
20%endif
21%if %{with python3}
07293cd6 22BuildRequires: python3-modules >= 1:3.2
92df6993
JB
23BuildRequires: python3-setuptools
24%endif
659909d4
JB
25BuildRequires: rpm-pythonprov
26BuildRequires: rpmbuild(macros) >= 1.714
e61e1913 27Requires: python-Sphinx >= 1.6.1
92df6993
JB
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32This Sphinx theme integrates the Bootstrap CSS/JavaScript framework
33with various layout options, hierarchical menu navigation, and
34mobile-friendly responsive design. It is configurable, extensible, and
35can use any number of different Bootswatch CSS themes.
36
37%description -l pl.UTF-8
38Ten motyw Sphinksa integruje szkielet CSS/JavaScript Bootstrap z
39różnymi opcjami układu, hierarchiczną nawigacją poprzez menu,
40zaprojektowawany w sposób łatwo regujący, przyjazny dla urządzeń
41przenośnych. Jest konfigurowalny, rozszerzalny, może używać dowolnej
42liczby różnych motywów CSS Bootswatch.
43
44%package -n python3-sphinx_bootstrap_theme
45Summary: Sphinx Bootstrap Theme - Python 3.x version
46Summary(pl.UTF-8): Motyw Bootstrap dla narzędzia Sphinx - wersja dla Pythona 3.x
47Group: Libraries/Python
e61e1913 48Requires: python3-Sphinx >= 1.6.1
92df6993
JB
49
50%description -n python3-sphinx_bootstrap_theme
51This Sphinx theme integrates the Bootstrap CSS/JavaScript framework
52with various layout options, hierarchical menu navigation, and
53mobile-friendly responsive design. It is configurable, extensible, and
54can use any number of different Bootswatch CSS themes.
55
56%description -n python3-sphinx_bootstrap_theme -l pl.UTF-8
57Ten motyw Sphinksa integruje szkielet CSS/JavaScript Bootstrap z
58różnymi opcjami układu, hierarchiczną nawigacją poprzez menu,
59zaprojektowawany w sposób łatwo regujący, przyjazny dla urządzeń
60przenośnych. Jest konfigurowalny, rozszerzalny, może używać dowolnej
61liczby różnych motywów CSS Bootswatch.
62
63%prep
64%setup -q -n sphinx-bootstrap-theme-%{version}
65
66%build
67%if %{with python2}
68%py_build
69%endif
70
71%if %{with python3}
72%py3_build
73%endif
74
75%install
76rm -rf $RPM_BUILD_ROOT
77
78%if %{with python2}
79%py_install
80
81%py_postclean
82%endif
83
84%if %{with python3}
85%py3_install
86%endif
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%if %{with python2}
92%files
93%defattr(644,root,root,755)
94%doc HISTORY.rst LICENSE.txt README.rst TODO.rst
95%{py_sitescriptdir}/sphinx_bootstrap_theme
92df6993
JB
96%{py_sitescriptdir}/sphinx_bootstrap_theme-%{version}-py*.egg-info
97%endif
92df6993
JB
98
99%if %{with python3}
100%files -n python3-sphinx_bootstrap_theme
101%defattr(644,root,root,755)
102%doc HISTORY.rst LICENSE.txt README.rst TODO.rst
103%{py3_sitescriptdir}/sphinx_bootstrap_theme
104%{py3_sitescriptdir}/sphinx_bootstrap_theme-%{version}-py*.egg-info
105%endif
This page took 0.219408 seconds and 4 git commands to generate.