[packages/python-sphinx_bootstrap_theme] - new

qboosh qboosh at pld-linux.org
Sun Nov 29 15:55:53 CET 2015


commit 92df69930e6c9935b547ffefdedec6e37ee31016
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 29 15:56:24 2015 +0100

    - new

 python-sphinx_bootstrap_theme.spec | 106 +++++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
---
diff --git a/python-sphinx_bootstrap_theme.spec b/python-sphinx_bootstrap_theme.spec
new file mode 100644
index 0000000..a5e281f
--- /dev/null
+++ b/python-sphinx_bootstrap_theme.spec
@@ -0,0 +1,106 @@
+#
+# Conditional build:
+%bcond_without	python2 # CPython 2.x module
+%bcond_without	python3 # CPython 3.x module
+
+Summary:	Sphinx Bootstrap Theme - Python 2.x version
+Summary(pl.UTF-8):	Motyw Bootstrap dla narzędzia Sphinx - wersja dla Pythona 2.x
+Name:		python-sphinx_bootstrap_theme
+Version:	0.4.8
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	https://pypi.python.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz
+# Source0-md5:	b8075697e97ca230c72289a80febd64e
+URL:		https://pypi.python.org/pypi/sphinx-bootstrap-theme/
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.710
+%if %{with python2}
+BuildRequires:	python-modules
+BuildRequires:	python-setuptools
+%endif
+%if %{with python3}
+BuildRequires:	python3-modules
+BuildRequires:	python3-setuptools
+%endif
+Requires:	python-Sphinx >= 1.2.1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%description -l pl.UTF-8
+Ten motyw Sphinksa integruje szkielet CSS/JavaScript Bootstrap z
+różnymi opcjami układu, hierarchiczną nawigacją poprzez menu,
+zaprojektowawany w sposób łatwo regujący, przyjazny dla urządzeń
+przenośnych. Jest konfigurowalny, rozszerzalny, może używać dowolnej
+liczby różnych motywów CSS Bootswatch.
+
+%package -n python3-sphinx_bootstrap_theme
+Summary:	Sphinx Bootstrap Theme - Python 3.x version
+Summary(pl.UTF-8):	Motyw Bootstrap dla narzędzia Sphinx - wersja dla Pythona 3.x
+Group:		Libraries/Python
+Requires:	python3-Sphinx >= 1.2.1
+
+%description -n python3-sphinx_bootstrap_theme
+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.
+
+%description -n python3-sphinx_bootstrap_theme -l pl.UTF-8
+Ten motyw Sphinksa integruje szkielet CSS/JavaScript Bootstrap z
+różnymi opcjami układu, hierarchiczną nawigacją poprzez menu,
+zaprojektowawany w sposób łatwo regujący, przyjazny dla urządzeń
+przenośnych. Jest konfigurowalny, rozszerzalny, może używać dowolnej
+liczby różnych motywów CSS Bootswatch.
+
+%prep
+%setup -q -n sphinx-bootstrap-theme-%{version}
+
+%build
+%if %{with python2}
+%py_build
+%endif
+
+%if %{with python3}
+%py3_build
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%py_install
+
+%py_postclean
+%endif
+
+%if %{with python3}
+%py3_install
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%files
+%defattr(644,root,root,755)
+%doc HISTORY.rst LICENSE.txt README.rst TODO.rst
+%{py_sitescriptdir}/sphinx_bootstrap_theme
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/sphinx_bootstrap_theme-%{version}-py*.egg-info
+%endif
+%endif
+
+%if %{with python3}
+%files -n python3-sphinx_bootstrap_theme
+%defattr(644,root,root,755)
+%doc HISTORY.rst LICENSE.txt README.rst TODO.rst
+%{py3_sitescriptdir}/sphinx_bootstrap_theme
+%{py3_sitescriptdir}/sphinx_bootstrap_theme-%{version}-py*.egg-info
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sphinx_bootstrap_theme.git/commitdiff/92df69930e6c9935b547ffefdedec6e37ee31016



More information about the pld-cvs-commit mailing list