1 | %global pypi_name sphinxcontrib-jsmath |
---|
2 | |
---|
3 | # when bootstrapping sphinx, we cannot run tests yet |
---|
4 | %bcond_with check |
---|
5 | |
---|
6 | Summary: Sphinx extension for math in HTML via JavaScript |
---|
7 | Name: python-%{pypi_name} |
---|
8 | Version: 1.0.1 |
---|
9 | Release: 10%{?_dist_release} |
---|
10 | Group: programming |
---|
11 | Vendor: Project Vine |
---|
12 | Distribution: Vine Linux |
---|
13 | |
---|
14 | License: BSD |
---|
15 | URL: http://sphinx-doc.org/ |
---|
16 | Source0: %{pypi_source} |
---|
17 | |
---|
18 | BuildArch: noarch |
---|
19 | |
---|
20 | BuildRequires: python3-devel |
---|
21 | BuildRequires: python3-setuptools |
---|
22 | |
---|
23 | %if %{with check} |
---|
24 | BuildRequires: python3-pytest |
---|
25 | BuildRequires: python3-sphinx >= 1:2 |
---|
26 | %endif |
---|
27 | |
---|
28 | %description |
---|
29 | sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML |
---|
30 | via JavaScript. |
---|
31 | |
---|
32 | |
---|
33 | %package -n python3-%{pypi_name} |
---|
34 | Summary: %{summary} |
---|
35 | Group: programming |
---|
36 | %{?python_provide:%python_provide python3-%{pypi_name}} |
---|
37 | |
---|
38 | %description -n python3-%{pypi_name} |
---|
39 | sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML |
---|
40 | via JavaScript. |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %autosetup -n %{pypi_name}-%{version} |
---|
45 | |
---|
46 | |
---|
47 | %build |
---|
48 | %py3_build |
---|
49 | |
---|
50 | |
---|
51 | %install |
---|
52 | %py3_install |
---|
53 | |
---|
54 | |
---|
55 | %if %{with check} |
---|
56 | %check |
---|
57 | %{__python3} -m pytest |
---|
58 | %endif |
---|
59 | |
---|
60 | |
---|
61 | %files -n python3-%{pypi_name} |
---|
62 | %license LICENSE |
---|
63 | %doc README.rst |
---|
64 | %{python3_sitelib}/sphinxcontrib/ |
---|
65 | %{python3_sitelib}/sphinxcontrib_jsmath-%{version}-py%{python3_version}-*.pth |
---|
66 | %{python3_sitelib}/sphinxcontrib_jsmath-%{version}-py%{python3_version}.egg-info/ |
---|
67 | |
---|
68 | |
---|
69 | %changelog |
---|
70 | * Tue Aug 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.1-10 |
---|
71 | - initial build for Vine Linux. |
---|
72 | |
---|
73 | * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-9 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
---|
75 | |
---|
76 | * Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-8 |
---|
77 | - Rebuilt for Python 3.9 |
---|
78 | |
---|
79 | * Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-7 |
---|
80 | - Bootstrap for Python 3.9 |
---|
81 | |
---|
82 | * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6 |
---|
83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
---|
84 | |
---|
85 | * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-5 |
---|
86 | - Rebuilt for Python 3.8.0rc1 (#1748018) |
---|
87 | |
---|
88 | * Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-4 |
---|
89 | - Rebuilt for Python 3.8 |
---|
90 | |
---|
91 | * Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-3 |
---|
92 | - Bootstrap for Python 3.8 |
---|
93 | |
---|
94 | * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2 |
---|
95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
96 | |
---|
97 | * Fri Mar 01 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-1 |
---|
98 | - Initial package |
---|