python-sphinxcontrib-jsmath-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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: 11%{?_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. %pip3_build_wheel
  35. %install
  36. %pip3_install_wheel
  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-*
  46. %changelog
  47. * Tue Nov 01 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.1-11
  48. - rebuilt with python3-3.11.
  49. * Tue Aug 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.1-10
  50. - initial build for Vine Linux.
  51. * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-9
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  53. * Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-8
  54. - Rebuilt for Python 3.9
  55. * Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-7
  56. - Bootstrap for Python 3.9
  57. * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  59. * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-5
  60. - Rebuilt for Python 3.8.0rc1 (#1748018)
  61. * Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-4
  62. - Rebuilt for Python 3.8
  63. * Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-3
  64. - Bootstrap for Python 3.8
  65. * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  67. * Fri Mar 01 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-1
  68. - Initial package