Blame SPECS/python-sphinxcontrib-pecanwsme.spec

0892ed
%if 0%{?fedora} || 0%{?rhel} > 7
0892ed
%bcond_with    python2
0892ed
%bcond_without python3
0892ed
%else
0892ed
%bcond_without python2
0892ed
%bcond_with    python3
0892ed
%endif
0892ed
0892ed
%global pypi_name sphinxcontrib-pecanwsme
0892ed
0892ed
Name:           python-%{pypi_name}
0892ed
Version:        0.10.0
0892ed
Release:        4%{?dist}
0892ed
Summary:        Extension to Sphinx for documenting APIs built with Pecan and WSME
0892ed
0892ed
License:        ASL 2.0
0892ed
URL:            https://github.com/dreamhost/sphinxcontrib-pecanwsme
0892ed
Source0:        https://pypi.python.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
0892ed
BuildArch:      noarch
0892ed
0892ed
%description
0892ed
This is an extension to Sphinx (http://sphinx-doc.org/) for documenting APIs
0892ed
built with the Pecan WSGI object-dispatching web framework and WSME
0892ed
(Web Services Made Easy).
0892ed
0892ed
%if %{with python2}
0892ed
%package -n python2-%{pypi_name}
0892ed
Summary:        Extension to Sphinx for documenting APIs built with Pecan and WSME
0892ed
%{?python_provide:%python_provide python2-%{pypi_name}}
0892ed
0892ed
BuildRequires:  python2-devel
0892ed
BuildRequires:  python2-pbr
0892ed
BuildRequires:  python2-setuptools
0892ed
0892ed
Requires: python2-six
0892ed
Requires: python2-sphinxcontrib-httpdomain
0892ed
0892ed
%description -n python2-%{pypi_name}
0892ed
This is an extension to Sphinx (http://sphinx-doc.org/) for documenting APIs
0892ed
built with the Pecan WSGI object-dispatching web framework and WSME
0892ed
(Web Services Made Easy).
0892ed
%endif
0892ed
0892ed
%if %{with python3}
0892ed
%package -n python3-%{pypi_name}
0892ed
Summary:        Extension to Sphinx for documenting APIs built with Pecan and WSME
0892ed
%{?python_provide:%python_provide python3-%{pypi_name}}
0892ed
0892ed
BuildRequires:  python3-devel
0892ed
BuildRequires:  python3-pbr
0892ed
BuildRequires:  python3-setuptools
0892ed
0892ed
Requires: python3-six
0892ed
Requires: python3-sphinxcontrib-httpdomain
0892ed
0892ed
%description -n python3-%{pypi_name}
0892ed
This is an extension to Sphinx (http://sphinx-doc.org/) for documenting APIs
0892ed
built with the Pecan WSGI object-dispatching web framework and WSME
0892ed
(Web Services Made Easy).
0892ed
%endif
0892ed
0892ed
%prep
0892ed
%setup -q -n %{pypi_name}-%{version}
0892ed
0892ed
%build
0892ed
%if %{with python2}
0892ed
%py2_build
0892ed
%endif
0892ed
%if %{with python3}
0892ed
%py3_build
0892ed
%endif
0892ed
0892ed
%install
0892ed
%if %{with python2}
0892ed
%py2_install
0892ed
%endif
0892ed
%if %{with python3}
0892ed
%py3_install
0892ed
%endif
0892ed
0892ed
%if %{with python2}
0892ed
%files -n python2-%{pypi_name}
0892ed
%doc README.rst
0892ed
%license LICENSE
0892ed
%{python2_sitelib}/sphinxcontrib/pecanwsme
0892ed
%{python2_sitelib}/*.egg-info
0892ed
%{python2_sitelib}/*-nspkg.pth
0892ed
%endif
0892ed
0892ed
%if %{with python3}
0892ed
%files -n python3-%{pypi_name}
0892ed
%doc README.rst
0892ed
%license LICENSE
0892ed
%{python3_sitelib}/sphinxcontrib/pecanwsme
0892ed
%{python3_sitelib}/*.egg-info
0892ed
%{python3_sitelib}/*-nspkg.pth
0892ed
%endif
0892ed
0892ed
%changelog
0892ed
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0892ed
0892ed
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0892ed
0892ed
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-2
0892ed
- Rebuilt for Python 3.9
0892ed
0892ed
* Thu Feb 27 2020 Yatin Karel <ykarel@redhat.com> - 0.10.0-1
0892ed
- Update to 0.10.0
0892ed
0892ed
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0892ed
0892ed
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-6
0892ed
- Rebuilt for Python 3.8.0rc1 (#1748018)
0892ed
0892ed
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-5
0892ed
- Rebuilt for Python 3.8
0892ed
0892ed
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0892ed
0892ed
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0892ed
0892ed
* Mon Oct 01 2018 Javier Peña <jpena@redhat.com> - 0.9.0-2
0892ed
- Removed Python 2 package from Fedora 30+ (bz#1634644)
0892ed
0892ed
* Wed Aug 08 2018 Javier Peña <jpena@redhat.com> - 0.9.0-1
0892ed
- Updated to upstream version 0.9.0
0892ed
- Enabled python3 build, since 0.9.0 supports it
0892ed
0892ed
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-8
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0892ed
0892ed
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.0-7
0892ed
- Update Python 2 dependency declarations to new packaging standards
0892ed
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
0892ed
0892ed
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0892ed
0892ed
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0892ed
0892ed
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
0892ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0892ed
0892ed
* Mon Jun 20 2016 Javier Peña <jpena@redhat.com> - 0.8.0-3
0892ed
- Added BR on python-setuptools
0892ed
* Mon Jan 11 2016 Javier Peña <jpena@redhat.com> - 0.8.0-2
0892ed
- Expanded description
0892ed
- Improved macro usage
0892ed
* Wed Nov 18 2015 jpena <jpena@redhat.com> - 0.8.0-1
0892ed
- Initial package.