]> git.pld-linux.org Git - packages/python-aiohttp_theme.git/blame - python-aiohttp_theme.spec
rebuild with tests and docs
[packages/python-aiohttp_theme.git] / python-aiohttp_theme.spec
CommitLineData
adbc2234
JB
1#
2# Conditional build:
3%bcond_without python2 # CPython 2.x module
4%bcond_without python3 # CPython 3.x module
5
6Summary: aiohttp documentation theme
7Summary(pl.UTF-8): Motyw dokumentacji aiohttp
8Name: python-aiohttp_theme
9Version: 0.1.6
4e52832c 10Release: 5
adbc2234
JB
11License: BSD
12Group: Libraries/Python
13#Source0Download: https://pypi.org/simple/aiohttp-theme/
14Source0: https://files.pythonhosted.org/packages/source/a/aiohttp-theme/aiohttp-theme-%{version}.tar.gz
15# Source0-md5: 163f576bae3da0d308c6d3f9f6ce2fc6
16URL: https://pypi.org/project/aiohttp-theme/
17%if %{with python2}
18BuildRequires: python-modules >= 1:2.6
19BuildRequires: python-setuptools
20%endif
21%if %{with python3}
22BuildRequires: python3-modules >= 1:3.2
23BuildRequires: python3-setuptools
24%endif
25BuildRequires: rpm-pythonprov
26BuildRequires: rpmbuild(macros) >= 1.714
27Requires: python-modules >= 1:2.6
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32aiohttp documentation theme, based on Alabaster.
33
34%description -l pl.UTF-8
35Motyw dokumentacji aiohttp, oparty na motywie Alabaster.
36
37%package -n python3-aiohttp_theme
38Summary: aiohttp documentation theme
39Summary(pl.UTF-8): Motyw dokumentacji aiohttp
40Group: Libraries/Python
41Requires: python3-modules >= 1:3.2
42
43%description -n python3-aiohttp_theme
44aiohttp documentation theme, based on Alabaster.
45
46%description -n python3-aiohttp_theme -l pl.UTF-8
47Motyw dokumentacji aiohttp, oparty na motywie Alabaster.
48
49%prep
50%setup -q -n aiohttp-theme-%{version}
51
52%build
53%if %{with python2}
54%py_build
55%endif
56
57%if %{with python3}
58%py3_build
59%endif
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%if %{with python2}
65%py_install
66
67%py_postclean
68%endif
69
70%if %{with python3}
71%py3_install
72%endif
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%if %{with python2}
78%files
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
83%endif
84
85%if %{with python3}
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
91%endif
This page took 0.104746 seconds and 4 git commands to generate.