]> git.pld-linux.org Git - packages/python-pallets-sphinx-themes.git/blame - python-pallets-sphinx-themes.spec
- release 2 (by relup.sh)
[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
08b6e37f 9Version: 1.2.3
6e8d649b 10Release: 2
8cf3d6fc
AM
11License: BSD
12Group: Libraries/Python
13#Source0Download: https://pypi.org/simple/pallets-sphinx-themes/
5e89ebce 14Source0: https://files.pythonhosted.org/packages/source/p/pallets-sphinx-themes/Pallets-Sphinx-Themes-%{version}.tar.gz
08b6e37f 15# Source0-md5: 05f25718e2319a6dfd7a3a7d6aee9c19
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}
08b6e37f 22BuildRequires: python3-modules >= 1:3.5
8cf3d6fc
AM
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
08b6e37f 42Requires: python3-modules >= 1:3.5
8cf3d6fc
AM
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
08b6e37f
JB
48Ten pakiet zawiera motywy Sphinksa dla projektów powiązanych z
49Pallets.
8cf3d6fc
AM
50
51%prep
5e89ebce 52%setup -q -n Pallets-Sphinx-Themes-%{version}
8cf3d6fc
AM
53
54%build
55%if %{with python2}
56%py_build
57%endif
58
59%if %{with python3}
60%py3_build
61%endif
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
66%if %{with python2}
67%py_install
68
69%py_postclean
70%endif
71
72%if %{with python3}
73%py3_install
74%endif
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%if %{with python2}
80%files
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
85%endif
86
87%if %{with python3}
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
93%endif
This page took 0.125301 seconds and 4 git commands to generate.