diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:14:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:14:22 +0000 |
commit | d65a565fb921858544778a7a60d704668876486f (patch) | |
tree | 771c3db23bb907580eee70335c8d98e6946bb864 | |
parent | 7ff2c2032c6713c5765514f301be0270a147c0d4 (diff) |
automatic import of python-sphinx-compas-themeopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sphinx-compas-theme.spec | 117 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 119 insertions, 0 deletions
@@ -0,0 +1 @@ +/sphinx-compas-theme-0.15.18.tar.gz diff --git a/python-sphinx-compas-theme.spec b/python-sphinx-compas-theme.spec new file mode 100644 index 0000000..6f26354 --- /dev/null +++ b/python-sphinx-compas-theme.spec @@ -0,0 +1,117 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sphinx-compas-theme +Version: 0.15.18 +Release: 1 +Summary: Sphinx Theme for COMPAS. +License: MIT +URL: https://github.com/compas-dev/sphinx_compas_theme +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ef/f6/35ae0a65eb4f96a2ef304b85e550993f5699ca997acd7e7bbbce4ca36e9b/sphinx-compas-theme-0.15.18.tar.gz +BuildArch: noarch + +Requires: python3-setuptools +Requires: python3-sphinx +Requires: python3-invoke +Requires: python3-bumpversion +Requires: python3-check-manifest +Requires: python3-twine + +%description +# sphinx_compas_theme + +This is the public repository of the Sphinx theme for the documentation of the COMPAS framework. + +## Getting started + +## Questions and feedback + +## License + +## Contact + + + + +%package -n python3-sphinx-compas-theme +Summary: Sphinx Theme for COMPAS. +Provides: python-sphinx-compas-theme +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sphinx-compas-theme +# sphinx_compas_theme + +This is the public repository of the Sphinx theme for the documentation of the COMPAS framework. + +## Getting started + +## Questions and feedback + +## License + +## Contact + + + + +%package help +Summary: Development documents and examples for sphinx-compas-theme +Provides: python3-sphinx-compas-theme-doc +%description help +# sphinx_compas_theme + +This is the public repository of the Sphinx theme for the documentation of the COMPAS framework. + +## Getting started + +## Questions and feedback + +## License + +## Contact + + + + +%prep +%autosetup -n sphinx-compas-theme-0.15.18 + +%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-sphinx-compas-theme -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15.18-1 +- Package Spec generated @@ -0,0 +1 @@ +f05c18dbccb68429de42532132f11a8d sphinx-compas-theme-0.15.18.tar.gz |