python-sphinxcontrib-websupport-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. %global with_python3 1
  2. %global pypi_name sphinxcontrib-websupport
  3. Summary: Sphinx API for Web Apps
  4. Name: python-%{pypi_name}
  5. Version: 1.2.4
  6. Release: 1%{?_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: BSD
  11. URL: http://sphinx-doc.org/
  12. Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
  13. BuildArch: noarch
  14. BuildRequires: python-rpm-macros
  15. %description
  16. sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
  17. documentation into your Web application.
  18. %if 0%{?with_python3}
  19. %package -n python3-%{pypi_name}
  20. Summary: %{summary}
  21. Group: programming
  22. %{?python_provide:%python_provide python3-%{pypi_name}}
  23. BuildRequires: python3-rpm-macros
  24. BuildRequires: python3-devel
  25. BuildRequires: python3-docutils
  26. BuildRequires: python3-setuptools
  27. BuildRequires: python3-jinja2
  28. BuildRequires: python3-six
  29. BuildRequires: python3-sphinx
  30. BuildRequires: python3-sqlalchemy
  31. BuildRequires: python3-whoosh
  32. Requires: python3-sphinx
  33. Requires: python3-sqlalchemy
  34. Requires: python3-whoosh
  35. %description -n python3-%{pypi_name}
  36. sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
  37. documentation into your Web application.
  38. %endif
  39. %prep
  40. %autosetup -n %{pypi_name}-%{version}
  41. # Remove bundled egg-info
  42. rm -rf %{pypi_name}.egg-info
  43. %build
  44. %if 0%{?with_python3}
  45. %py3_build
  46. %endif
  47. %install
  48. %if 0%{?with_python3}
  49. %py3_install
  50. %endif
  51. %if 0%{?with_python3}
  52. %files -n python3-%{pypi_name}
  53. %license LICENSE
  54. %doc README.rst
  55. %{python3_sitelib}/sphinxcontrib/websupport
  56. %{python3_sitelib}/sphinxcontrib_websupport-*.pth
  57. %{python3_sitelib}/sphinxcontrib_websupport-*.egg-info
  58. %endif
  59. %changelog
  60. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.0-1
  61. - new upstream release.
  62. - built with python3 only.
  63. * Wed Nov 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.0-1
  64. - new upstream release.
  65. - initial build for Vine Linux.
  66. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10.20180316git
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  68. * Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-9.20180316git
  69. - Rebuilt for Python 3.7
  70. * Wed May 16 2018 Javier Peña <jpena@redhat.com> - 1.0.1-8.20180316git
  71. - Update to commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b
  72. - Fix build with Sphinx 1.7 (bz#1578132)
  73. * Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.1-7.20171013git
  74. - Update Python 2 dependency declarations to new packaging standards
  75. (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
  76. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6.20171013git
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  78. * Mon Dec 18 2017 Javier Peña <jpena@redhat.com> - 1.0.1-5.20171013git
  79. - Fixed Source0 URL (bz#1526646)
  80. * Fri Oct 13 2017 Javier Peña <jpena@redhat.com> - 1.0.1-4.20171013git
  81. - Updated to latest git commit to fix build in Rawhide
  82. * Wed Oct 11 2017 Troy Dawson <tdawson@redhat.com> - 1.0.1-3
  83. - Cleanup spec file conditionals
  84. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  86. * Fri Jun 30 2017 Javier Peña <jpena@redhat.com> - 1.0.1-1
  87. - Initial package.