python-sphinxcontrib-websupport-vl.spec 3.7 KB

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