3 %bcond_without python2 # CPython 2.x module
4 %bcond_without python3 # CPython 3.x module
6 Summary: aiohttp documentation theme
7 Summary(pl.UTF-8): Motyw dokumentacji aiohttp
8 Name: python-aiohttp_theme
12 Group: Libraries/Python
13 #Source0Download: https://pypi.org/simple/aiohttp-theme/
14 Source0: https://files.pythonhosted.org/packages/source/a/aiohttp-theme/aiohttp-theme-%{version}.tar.gz
15 # Source0-md5: 163f576bae3da0d308c6d3f9f6ce2fc6
16 URL: https://pypi.org/project/aiohttp-theme/
18 BuildRequires: python-modules >= 1:2.6
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-modules >= 1:2.6
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 aiohttp documentation theme, based on Alabaster.
34 %description -l pl.UTF-8
35 Motyw dokumentacji aiohttp, oparty na motywie Alabaster.
37 %package -n python3-aiohttp_theme
38 Summary: aiohttp documentation theme
39 Summary(pl.UTF-8): Motyw dokumentacji aiohttp
40 Group: Libraries/Python
41 Requires: python3-modules >= 1:3.2
43 %description -n python3-aiohttp_theme
44 aiohttp documentation theme, based on Alabaster.
46 %description -n python3-aiohttp_theme -l pl.UTF-8
47 Motyw dokumentacji aiohttp, oparty na motywie Alabaster.
50 %setup -q -n aiohttp-theme-%{version}
62 rm -rf $RPM_BUILD_ROOT
75 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
80 %doc LICENSE README.rst
81 %{py_sitescriptdir}/aiohttp_theme
82 %{py_sitescriptdir}/aiohttp_theme-%{version}-py*.egg-info
86 %files -n python3-aiohttp_theme
87 %defattr(644,root,root,755)
88 %doc LICENSE README.rst
89 %{py3_sitescriptdir}/aiohttp_theme
90 %{py3_sitescriptdir}/aiohttp_theme-%{version}-py*.egg-info