3 %bcond_without python2 # CPython 2.x module
4 %bcond_without python3 # CPython 3.x module
6 Summary: Sphinx themes for Pallets Project documentation
7 Summary(pl.UTF-8): Motywy Sphinksa do dokumentacji z projektu Pallets
8 Name: python-pallets-sphinx-themes
12 Group: Libraries/Python
13 #Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
14 Source0: https://files.pythonhosted.org/packages/source/p/pallets-sphinx-themes/Pallets-Sphinx-Themes-%{version}.tar.gz
15 # Source0-md5: 05f25718e2319a6dfd7a3a7d6aee9c19
16 URL: https://palletsprojects.com/
18 BuildRequires: python-modules >= 1:2.7
19 BuildRequires: python-setuptools
22 BuildRequires: python3-modules >= 1:3.5
23 BuildRequires: python3-setuptools
25 BuildRequires: rpm-pythonprov
26 BuildRequires: rpmbuild(macros) >= 1.714
27 Requires: python-modules >= 1:2.7
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 This package contains Sphinx themes for Pallets related projects.
34 %description -l pl.UTF-8
35 Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
38 %package -n python3-pallets-sphinx-themes
39 Summary: Sphinx themes for Pallets Project documentation
40 Summary(pl.UTF-8): Motywy Sphinksa do dokumentacji z projektu Pallets
41 Group: Libraries/Python
42 Requires: python3-modules >= 1:3.5
44 %description -n python3-pallets-sphinx-themes
45 This package contains Sphinx themes for Pallets related projects.
47 %description -n python3-pallets-sphinx-themes -l pl.UTF-8
48 Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
52 %setup -q -n Pallets-Sphinx-Themes-%{version}
64 rm -rf $RPM_BUILD_ROOT
77 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
82 %doc README.rst CHANGES.rst
83 %{py_sitescriptdir}/pallets_sphinx_themes
84 %{py_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
88 %files -n python3-pallets-sphinx-themes
89 %defattr(644,root,root,755)
90 %doc README.rst CHANGES.rst
91 %{py3_sitescriptdir}/pallets_sphinx_themes
92 %{py3_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info