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