diff --git a/oslo.sphinx-1.1.tar.gz b/oslo.sphinx-1.1.tar.gz deleted file mode 100644 index 09313eacfed73cf4487f0eba32655665d2da2923..0000000000000000000000000000000000000000 Binary files a/oslo.sphinx-1.1.tar.gz and /dev/null differ diff --git a/oslosphinx-4.18.0.tar.gz b/oslosphinx-4.18.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..53b262806396d529a2ce60866d933c415bb07c83 Binary files /dev/null and b/oslosphinx-4.18.0.tar.gz differ diff --git a/python-oslo-sphinx.spec b/python-oslo-sphinx.spec deleted file mode 100644 index 18035ec724be71f1d841d86dc75d9f3ce81dcdd4..0000000000000000000000000000000000000000 --- a/python-oslo-sphinx.spec +++ /dev/null @@ -1,74 +0,0 @@ -%global _empty_manifest_terminate_build 0 -Name: python-oslo-sphinx -Version: 1.1 -Release: 1 -Summary: OpenStack Sphinx Extensions -License: ASL 2.0 -URL: https://launchpad.net/oslo -Source0: https://files.pythonhosted.org/packages/f1/64/8886dd19034b8364c9c6ed7dede4e11f7f97540cc809e946dfb5d8c88144/oslo.sphinx-1.1.tar.gz -BuildArch: noarch - - -%description -Theme and extension support for Sphinx documentation from the -OpenStack project. - -%package -n python3-oslo-sphinx -Summary: OpenStack Sphinx Extensions -Provides: python-oslo-sphinx -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%description -n python3-oslo-sphinx -Theme and extension support for Sphinx documentation from the -OpenStack project. - -%package help -Summary: Development documents and examples for oslo.sphinx -Provides: python3-oslo-sphinx-doc -%description help -Theme and extension support for Sphinx documentation from the -OpenStack project. - -%prep -%autosetup -n oslo.sphinx-1.1 - -%build -%py3_build - -%install -%py3_install -install -d -m755 %{buildroot}/%{_pkgdocdir} -if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi -if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi -if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi -if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi -pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . - -%files -n python3-oslo-sphinx -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst -%{_docdir}/* - -%changelog -* Wed Nov 25 2020 Python_Bot -- Package Spec generated diff --git a/python-oslosphinx.spec b/python-oslosphinx.spec new file mode 100644 index 0000000000000000000000000000000000000000..07eca0eea04e9e38bbb1012f6d2d4538a10762e5 --- /dev/null +++ b/python-oslosphinx.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-oslosphinx +Version: 4.18.0 +Release: 1 +Summary: OpenStack Sphinx Extensions and Theme +License: Apache-2.0 +URL: http://docs.openstack.org/developer/oslosphinx +Source0: https://files.pythonhosted.org/packages/49/c4/1e36653eb09109b91b83dbe96e2982d56783948a5c5a21afe751cdb19382/oslosphinx-4.18.0.tar.gz +BuildArch: noarch +%description + OpenStack Sphinx Extensions oslosphinx is obsolete. The openstackdocstheme +package should be used instead. oslosphinx will be maintained for the pike, +ocata, and newton release series and completely remove after that pike is marked +end-of-life.The contents of this repository are still available in the Git +source code management system. To see the contents of this repository before it +reached its end of life, please check out the previous commit with "git checkout +HEAD^1", or check out one of the supported stable branches.For any further +questions, please email openstack-dev@lists. + +%package -n python2-oslosphinx +Summary: OpenStack Sphinx Extensions and Theme +Provides: python2-oslosphinx +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-pbr +Requires: python2-requests +Requires: python2-six +%description -n python2-oslosphinx + OpenStack Sphinx Extensions oslosphinx is obsolete. The openstackdocstheme +package should be used instead. oslosphinx will be maintained for the pike, +ocata, and newton release series and completely remove after that pike is marked +end-of-life.The contents of this repository are still available in the Git +source code management system. To see the contents of this repository before it +reached its end of life, please check out the previous commit with "git checkout +HEAD^1", or check out one of the supported stable branches.For any further +questions, please email openstack-dev@lists. + +%package help +Summary: Development documents and examples for oslosphinx +Provides: python2-oslosphinx-doc +%description help + OpenStack Sphinx Extensions oslosphinx is obsolete. The openstackdocstheme +package should be used instead. oslosphinx will be maintained for the pike, +ocata, and newton release series and completely remove after that pike is marked +end-of-life.The contents of this repository are still available in the Git +source code management system. To see the contents of this repository before it +reached its end of life, please check out the previous commit with "git checkout +HEAD^1", or check out one of the supported stable branches.For any further +questions, please email openstack-dev@lists. + +%prep +%autosetup -n oslosphinx-4.18.0 + +%build +%py2_build + +%install +%py2_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python2-oslosphinx -f filelist.lst +%dir %{python2_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue May 11 2021 OpenStack_SIG +- Package Spec generated