3 %bcond_without python2 # CPython 2.x module
4 %bcond_without python3 # CPython 3.x module
6 Summary: Sphinx Bootstrap Theme - Python 2.x version
7 Summary(pl.UTF-8): Motyw Bootstrap dla narzędzia Sphinx - wersja dla Pythona 2.x
8 Name: python-sphinx_bootstrap_theme
12 Group: Libraries/Python
13 #Source0Download: https://pypi.org/simple/sphinx-bootstrap-theme/
14 Source0: https://files.pythonhosted.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz
15 # Source0-md5: 705bb962d9ad21741f8b2efd6ebba2db
16 URL: https://pypi.org/project/sphinx-bootstrap-theme/
18 BuildRequires: python-modules >= 1:2.5
19 BuildRequires: python-setuptools
22 BuildRequires: python3-modules >= 1:3.2
23 BuildRequires: python3-setuptools
25 BuildRequires: rpm-pythonprov
26 BuildRequires: rpmbuild(macros) >= 1.714
27 Requires: python-Sphinx >= 1.6.1
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This Sphinx theme integrates the Bootstrap CSS/JavaScript framework
33 with various layout options, hierarchical menu navigation, and
34 mobile-friendly responsive design. It is configurable, extensible, and
35 can use any number of different Bootswatch CSS themes.
37 %description -l pl.UTF-8
38 Ten motyw Sphinksa integruje szkielet CSS/JavaScript Bootstrap z
39 różnymi opcjami układu, hierarchiczną nawigacją poprzez menu,
40 zaprojektowawany w sposób łatwo regujący, przyjazny dla urządzeń
41 przenośnych. Jest konfigurowalny, rozszerzalny, może używać dowolnej
42 liczby różnych motywów CSS Bootswatch.
44 %package -n python3-sphinx_bootstrap_theme
45 Summary: Sphinx Bootstrap Theme - Python 3.x version
46 Summary(pl.UTF-8): Motyw Bootstrap dla narzędzia Sphinx - wersja dla Pythona 3.x
47 Group: Libraries/Python
48 Requires: python3-Sphinx >= 1.6.1
50 %description -n python3-sphinx_bootstrap_theme
51 This Sphinx theme integrates the Bootstrap CSS/JavaScript framework
52 with various layout options, hierarchical menu navigation, and
53 mobile-friendly responsive design. It is configurable, extensible, and
54 can use any number of different Bootswatch CSS themes.
56 %description -n python3-sphinx_bootstrap_theme -l pl.UTF-8
57 Ten motyw Sphinksa integruje szkielet CSS/JavaScript Bootstrap z
58 różnymi opcjami układu, hierarchiczną nawigacją poprzez menu,
59 zaprojektowawany w sposób łatwo regujący, przyjazny dla urządzeń
60 przenośnych. Jest konfigurowalny, rozszerzalny, może używać dowolnej
61 liczby różnych motywów CSS Bootswatch.
64 %setup -q -n sphinx-bootstrap-theme-%{version}
76 rm -rf $RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
93 %defattr(644,root,root,755)
94 %doc HISTORY.rst LICENSE.txt README.rst TODO.rst
95 %{py_sitescriptdir}/sphinx_bootstrap_theme
96 %{py_sitescriptdir}/sphinx_bootstrap_theme-%{version}-py*.egg-info
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