]> git.pld-linux.org Git - packages/python-sphinxcontrib_github_alt.git/blame - python-sphinxcontrib_github_alt.spec
rebuild with python 3.10
[packages/python-sphinxcontrib_github_alt.git] / python-sphinxcontrib_github_alt.spec
CommitLineData
b83b4b0b
JB
1#
2# Conditional build:
3%bcond_without python2 # CPython 2.x module
4%bcond_without python3 # CPython 3.x module
5
6Summary: Link to GitHub issues, pull requests, commits and users from Sphinx docs
7Summary(pl.UTF-8): Odnośniki z dokumentacji Sphinksa do zgłoszeń, pull requestów, commitów i użytkowników na GitHubie
8Name: python-sphinxcontrib_github_alt
9Version: 1.1
51d2c545 10Release: 4
b83b4b0b
JB
11License: BSD
12Group: Libraries/Python
13#Source0Download: https://pypi.org/simple/sphinxcontrib_github_alt/
14Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_github_alt/sphinxcontrib_github_alt-%{version}.tar.gz
15# Source0-md5: 6e8b239b13ee076c518446a101aa2f43
16URL: https://pypi.org/project/sphinxcontrib_github_alt/
17%if %{with python2}
18BuildRequires: python-modules >= 1:2.5
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-docutils
28Requires: python-modules >= 1:2.5
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Link to GitHub issues, pull requests, commits and users for a
34particular project.
35
36%description -l pl.UTF-8
37Odnośniki z dokumentacji Sphinksa do zgłoszeń, pull requestów,
38commitów i użytkowników na GitHubie.
39
40%package -n python3-sphinxcontrib_github_alt
41Summary: Link to GitHub issues, pull requests, commits and users from Sphinx docs
42Summary(pl.UTF-8): Odnośniki z dokumentacji Sphinksa do zgłoszeń, pull requestów, commitów i użytkowników na GitHubie
43Group: Libraries/Python
44Requires: python3-docutils
45Requires: python3-modules >= 1:3.2
46
47%description -n python3-sphinxcontrib_github_alt
48Link to GitHub issues, pull requests, commits and users for a
49particular project.
50
51%description -n python3-sphinxcontrib_github_alt -l pl.UTF-8
52Odnośniki z dokumentacji Sphinksa do zgłoszeń, pull requestów,
53commitów i użytkowników na GitHubie.
54
55%prep
56%setup -q -n sphinxcontrib_github_alt-%{version}
57
58%build
59%if %{with python2}
60%py_build
61%endif
62
63%if %{with python3}
64%py3_build
65%endif
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%if %{with python2}
71%py_install
72
73%py_postclean
74%endif
75
76%if %{with python3}
77%py3_install
78%endif
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%if %{with python2}
84%files
85%defattr(644,root,root,755)
86%doc COPYING.md README.rst
87%{py_sitescriptdir}/sphinxcontrib_github_alt.py[co]
88%{py_sitescriptdir}/sphinxcontrib_github_alt-%{version}-py*.egg-info
89%endif
90
91%if %{with python3}
92%files -n python3-sphinxcontrib_github_alt
93%defattr(644,root,root,755)
94%doc COPYING.md README.rst
95%{py3_sitescriptdir}/sphinxcontrib_github_alt.py
96%{py3_sitescriptdir}/__pycache__/sphinxcontrib_github_alt.cpython-*.py[co]
97%{py3_sitescriptdir}/sphinxcontrib_github_alt-%{version}-py*.egg-info
98%endif
This page took 0.114332 seconds and 4 git commands to generate.