python-sphinxcontrib-jsmath-vl.spec 2.5 KB

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