]> git.pld-linux.org Git - packages/python-pallets-sphinx-themes.git/blame - python-pallets-sphinx-themes.spec
- rebuild with python 3.8
[packages/python-pallets-sphinx-themes.git] / python-pallets-sphinx-themes.spec
CommitLineData
8cf3d6fc
AM
1#
2# Conditional build:
3%bcond_without python2 # CPython 2.x module
4%bcond_without python3 # CPython 3.x module
5
6Summary: Sphinx themes for Pallets Project documentation
7Summary(pl.UTF-8): Motywy Sphinksa do dokumentacji z projektu Pallets
8Name: python-pallets-sphinx-themes
5e89ebce 9Version: 1.1.4
5d8bc650 10Release: 2
8cf3d6fc
AM
11License: BSD
12Group: Libraries/Python
13#Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
5e89ebce
JB
14Source0: https://files.pythonhosted.org/packages/source/p/pallets-sphinx-themes/Pallets-Sphinx-Themes-%{version}.tar.gz
15# Source0-md5: ed997c379de757b3575a3ac741131880
8cf3d6fc
AM
16URL: https://palletsprojects.com/
17%if %{with python2}
18BuildRequires: python-modules >= 1:2.7
19BuildRequires: python-setuptools
20%endif
21%if %{with python3}
22BuildRequires: python3-modules >= 1:3.4
23BuildRequires: python3-setuptools
24%endif
25BuildRequires: rpm-pythonprov
26BuildRequires: rpmbuild(macros) >= 1.714
27Requires: python-modules >= 1:2.7
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32This package contains Sphinx themes for Pallets related projects.
33
34%description -l pl.UTF-8
5e89ebce
JB
35Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
36Pallets.
8cf3d6fc
AM
37
38%package -n python3-pallets-sphinx-themes
39Summary: Sphinx themes for Pallets Project documentation
40Summary(pl.UTF-8): Motywy Sphinksa do dokumentacji z projektu Pallets
41Group: Libraries/Python
42Requires: python3-modules >= 1:3.4
43
44%description -n python3-pallets-sphinx-themes
45This package contains Sphinx themes for Pallets related projects.
46
47%description -n python3-pallets-sphinx-themes -l pl.UTF-8
48Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z Pallets.
49
50%prep
5e89ebce 51%setup -q -n Pallets-Sphinx-Themes-%{version}
8cf3d6fc
AM
52
53%build
54%if %{with python2}
55%py_build
56%endif
57
58%if %{with python3}
59%py3_build
60%endif
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%if %{with python2}
66%py_install
67
68%py_postclean
69%endif
70
71%if %{with python3}
72%py3_install
73%endif
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%if %{with python2}
79%files
80%defattr(644,root,root,755)
81%doc README.rst CHANGES.rst
82%{py_sitescriptdir}/pallets_sphinx_themes
83%{py_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
84%endif
85
86%if %{with python3}
87%files -n python3-pallets-sphinx-themes
88%defattr(644,root,root,755)
89%doc README.rst CHANGES.rst
90%{py3_sitescriptdir}/pallets_sphinx_themes
91%{py3_sitescriptdir}/Pallets_Sphinx_Themes-%{version}-py*.egg-info
92%endif
This page took 0.076154 seconds and 4 git commands to generate.