|
|
e0f0a4 |
%global pypi_name openstackdocstheme
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
Name: python-%{pypi_name}
|
|
|
e0f0a4 |
Version: 2.2.6
|
|
|
e0f0a4 |
Release: 3%{?dist}
|
|
|
e0f0a4 |
Summary: OpenStack Docs Theme
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
License: ASL 2.0
|
|
|
e0f0a4 |
URL: http://docs.openstack.org/
|
|
|
e0f0a4 |
Source0: https://pypi.io/packages/source/o/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
e0f0a4 |
Patch0001: 0001-Remove-all-Google-Analytics-tracking.patch
|
|
|
e0f0a4 |
BuildArch: noarch
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%package -n python3-%{pypi_name}
|
|
|
e0f0a4 |
Summary: OpenStack Docs Theme
|
|
|
e0f0a4 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
e0f0a4 |
Provides: bundled(js-jquery)
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
BuildRequires: python3-devel
|
|
|
e0f0a4 |
BuildRequires: python3-dulwich
|
|
|
e0f0a4 |
BuildRequires: python3-setuptools
|
|
|
e0f0a4 |
BuildRequires: python3-pbr >= 1.8
|
|
|
e0f0a4 |
BuildRequires: python3-sphinx
|
|
|
e0f0a4 |
BuildRequires: git-core
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
Requires: python3-babel
|
|
|
e0f0a4 |
Requires: python3-dulwich
|
|
|
e0f0a4 |
Requires: python3-pbr
|
|
|
e0f0a4 |
Requires: python3-sphinx >= 1.6.2
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%description -n python3-%{pypi_name}
|
|
|
e0f0a4 |
OpenStack docs.openstack.org Sphinx Theme
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
Theme and extension support for Sphinx documentation that is published to
|
|
|
e0f0a4 |
docs.openstack.org. Intended for use by OpenStack projects.
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%package -n python-%{pypi_name}-doc
|
|
|
e0f0a4 |
Summary: openstackdocstheme documentation
|
|
|
e0f0a4 |
%description -n python-%{pypi_name}-doc
|
|
|
e0f0a4 |
Documentation for openstackdocstheme
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%description
|
|
|
e0f0a4 |
OpenStack docs.openstack.org Sphinx Theme
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
Theme and extension support for Sphinx documentation that is published to
|
|
|
e0f0a4 |
docs.openstack.org. Intended for use by OpenStack projects.
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%prep
|
|
|
e0f0a4 |
%autosetup -n %{pypi_name}-%{version} -p1 -S git
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%build
|
|
|
e0f0a4 |
# Make sure there is no Google Analytics
|
|
|
e0f0a4 |
sed -i 's/analytics_tracking_code.*/analytics_tracking_code\ =/' openstackdocstheme/theme/openstackdocs/theme.conf
|
|
|
e0f0a4 |
# Prevent doc build warnings from causing a build failure
|
|
|
e0f0a4 |
sed -i '/warning-is-error/d' setup.cfg
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%py3_build
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
export PYTHONPATH=.
|
|
|
e0f0a4 |
sphinx-build -b html doc/source doc/build/html
|
|
|
e0f0a4 |
# remove the sphinx-build leftovers
|
|
|
e0f0a4 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%install
|
|
|
e0f0a4 |
%py3_install
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%files -n python3-%{pypi_name}
|
|
|
e0f0a4 |
%doc README.rst
|
|
|
e0f0a4 |
%license LICENSE
|
|
|
e0f0a4 |
%{_bindir}/docstheme-build-translated.sh
|
|
|
e0f0a4 |
%{_bindir}/docstheme-lang-display-name.py
|
|
|
e0f0a4 |
%{_bindir}/docstheme-build-pdf
|
|
|
e0f0a4 |
%{python3_sitelib}/%{pypi_name}
|
|
|
e0f0a4 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%files -n python-%{pypi_name}-doc
|
|
|
e0f0a4 |
%doc doc/build/html
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
%changelog
|
|
|
e0f0a4 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-3
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Nov 12 2020 Joel Capitao <jcapitao@redhat.com> - 2.2.6-2
|
|
|
e0f0a4 |
- Use git-core as BR instead of git
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Oct 29 2020 Joel Capitao <jcapitao@redhat.com> - 2.2.6-1
|
|
|
e0f0a4 |
- Update to 2.2.6
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Mon Sep 14 2020 Joel Capitao <jcapitao@redhat.com> - 2.2.5-1
|
|
|
e0f0a4 |
- Update to 2.2.5
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Mon Jun 01 2020 Alfredo Moralejo <amoralej@redhat.com> - 2.2.1-1
|
|
|
e0f0a4 |
- Update to 2.2.1
|
|
|
e0f0a4 |
- Remove python2 subpackage
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.29.0-8
|
|
|
e0f0a4 |
- Rebuilt for Python 3.9
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.29.0-7
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.29.0-6
|
|
|
e0f0a4 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.29.0-5
|
|
|
e0f0a4 |
- Rebuilt for Python 3.8
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.29.0-4
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Tue Feb 26 2019 Javier Peña <jpena@redhat.com> - 1.29.0-3
|
|
|
e0f0a4 |
- Remove the Python2 subpackage from Fedora
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Tue Feb 05 2019 Javier Peña <jpena@redhat.com> - 1.29.0-2
|
|
|
e0f0a4 |
- Include the binaries in the python2 subpackage when not building with Python3, for CentOS 7 compatibility
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Tue Feb 05 2019 Javier Peña <jpena@redhat.com> - 1.29.0-1
|
|
|
e0f0a4 |
- Update to upstream 1.29.0 (bz#1668948)
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.23.2-2
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Wed Sep 12 2018 Javier Peña <jpena@redhat.com> - 1.23.2-1
|
|
|
e0f0a4 |
- Updated to upstream 1.23.2 (bz#1552354)
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.1-3
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.20.1-2
|
|
|
e0f0a4 |
- Rebuilt for Python 3.7
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Tue Apr 17 2018 Alfredo Moralejo <amoralej@redhat.com> 1.20.1-1
|
|
|
e0f0a4 |
- Update to 1.20.1
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.1-2
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Mon Feb 5 2018 Javier Peña <jpena@redhat.com> - 1.18.1-1
|
|
|
e0f0a4 |
- Updated to upstream release 1.18.1 (bz#1533685)
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Fri Jan 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.11.0-2
|
|
|
e0f0a4 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
e0f0a4 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Sep 7 2017 Javier Peña <jpena@redhat.com> - 1.11.0-1
|
|
|
e0f0a4 |
- Updated to upstream release 1.11.0 (bz#1435494)
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
|
|
e0f0a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-2
|
|
|
e0f0a4 |
- Rebuild for Python 3.6
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Sep 22 2016 Javier Peña <jpena@redhat.com> - 1.5.0-1
|
|
|
e0f0a4 |
- Bumped to upstream release 1.5.0
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Fri Aug 19 2016 Javier Peña <jpena@redhat.com> - 1.4.0-2
|
|
|
e0f0a4 |
- Use sphinx-build-2 for doc generation, there are issues with the Python3 version
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Fri Aug 19 2016 Javier Peña <jpena@redhat.com> - 1.4.0-1
|
|
|
e0f0a4 |
- Bumped to upstream release 1.4.0
|
|
|
e0f0a4 |
- Fixed source URL
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
|
|
e0f0a4 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Mon Apr 18 2016 Javier Peña <jpena@redhat.com> - 1.3.0-1
|
|
|
e0f0a4 |
- Bumped to upstream release 1.3.0
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Mar 03 2016 Javier Peña <jpena@redhat.com> - 1.2.7-2
|
|
|
e0f0a4 |
- Fixed prep section
|
|
|
e0f0a4 |
- Removed unneeded comments
|
|
|
e0f0a4 |
- Added bundled(js-jquery) to provides
|
|
|
e0f0a4 |
|
|
|
e0f0a4 |
* Thu Mar 03 2016 jpena <jpena@redhat.com> - 1.2.7-1
|
|
|
e0f0a4 |
- Initial package.
|