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