3 %bcond_without python2 # CPython 2.x module
4 %bcond_without python3 # CPython 3.x module
6 Summary: Sphinx themes for Pylons Project documentation
7 Summary(pl.UTF-8): Motywy Sphinksa do dokumentacji z projektu Pylons
8 Name: python-pylons-sphinx-themes
12 Group: Libraries/Python
13 #Source0Download: https://pypi.org/simple/pylons-sphinx-themes/
14 Source0: https://files.pythonhosted.org/packages/source/p/pylons-sphinx-themes/pylons-sphinx-themes-%{version}.tar.gz
15 # Source0-md5: d1feebfcf7aa3dff0564300103f79a93
16 URL: https://pylonsproject.org/
18 BuildRequires: python-modules >= 1:2.7
19 BuildRequires: python-setuptools
22 BuildRequires: python3-modules >= 1:3.4
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 Pylons related projects.
34 %description -l pl.UTF-8
35 Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z Pylons.
37 %package -n python3-pylons-sphinx-themes
38 Summary: Sphinx themes for Pylons Project documentation
39 Summary(pl.UTF-8): Motywy Sphinksa do dokumentacji z projektu Pylons
40 Group: Libraries/Python
41 Requires: python3-modules >= 1:3.4
43 %description -n python3-pylons-sphinx-themes
44 This package contains Sphinx themes for Pylons related projects.
46 %description -n python3-pylons-sphinx-themes -l pl.UTF-8
47 Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z Pylons.
50 %setup -q -n pylons-sphinx-themes-%{version}
62 rm -rf $RPM_BUILD_ROOT
75 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc CHANGES.txt CONTRIBUTORS.txt COPYRIGHT.txt LICENSE.txt README.md
81 %{py_sitescriptdir}/pylons_sphinx_themes
82 %{py_sitescriptdir}/pylons_sphinx_themes-%{version}-py*.egg-info
86 %files -n python3-pylons-sphinx-themes
87 %defattr(644,root,root,755)
88 %doc CHANGES.txt CONTRIBUTORS.txt COPYRIGHT.txt LICENSE.txt README.md
89 %{py3_sitescriptdir}/pylons_sphinx_themes
90 %{py3_sitescriptdir}/pylons_sphinx_themes-%{version}-py*.egg-info