diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 06:05:27 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 06:05:27 +0000 |
commit | e732e3e38eeb7c88ef2672e6fc2a941404d6500d (patch) | |
tree | 979b327a8c6a46d663e8f4d9d389059ed5ae8ddd | |
parent | 8e6fc2b1d5fd688a7d8563275b5751131c40c493 (diff) |
automatic import of python-sphinxjp-themes-basicstrap
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-sphinxjp-themes-basicstrap.spec | 92 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/sphinxjp.themes.basicstrap-0.5.0.tar.gz diff --git a/python-sphinxjp-themes-basicstrap.spec b/python-sphinxjp-themes-basicstrap.spec new file mode 100644 index 0000000..74bce18 --- /dev/null +++ b/python-sphinxjp-themes-basicstrap.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-sphinxjp.themes.basicstrap +Version: 0.5.0 +Release: 1 +Summary: A sphinx theme for Basicstrap style. Using Twitter Bootstrap. #sphinxjp +License: MIT +URL: https://github.com/tell-k/sphinxjp.themes.basicstrap +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fc/b8/f4da30ba630a68a7a34e4d4e41cba714aaa64cb40d634e4c23f0c706709d/sphinxjp.themes.basicstrap-0.5.0.tar.gz +BuildArch: noarch + +Requires: python3-setuptools +Requires: python3-Sphinx + +%description +* Provide ``basicstrap`` theme for render HTML document. +* Using `Twitter Bootstrap <http://twitter.github.com/bootstrap/>`_. +* Support Responsive Design. +* Change the layout flexibility. +* `Google Web Fonts <http://www.google.com/webfonts>`_ available. +* `Font Awesome <http://fortawesome.github.com/Font-Awesome/>`_ available. +* Easily change the design. by `Bootswatch <http://bootswatch.com/>`_. + +%package -n python3-sphinxjp.themes.basicstrap +Summary: A sphinx theme for Basicstrap style. Using Twitter Bootstrap. #sphinxjp +Provides: python-sphinxjp.themes.basicstrap +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-sphinxjp.themes.basicstrap +* Provide ``basicstrap`` theme for render HTML document. +* Using `Twitter Bootstrap <http://twitter.github.com/bootstrap/>`_. +* Support Responsive Design. +* Change the layout flexibility. +* `Google Web Fonts <http://www.google.com/webfonts>`_ available. +* `Font Awesome <http://fortawesome.github.com/Font-Awesome/>`_ available. +* Easily change the design. by `Bootswatch <http://bootswatch.com/>`_. + +%package help +Summary: Development documents and examples for sphinxjp.themes.basicstrap +Provides: python3-sphinxjp.themes.basicstrap-doc +%description help +* Provide ``basicstrap`` theme for render HTML document. +* Using `Twitter Bootstrap <http://twitter.github.com/bootstrap/>`_. +* Support Responsive Design. +* Change the layout flexibility. +* `Google Web Fonts <http://www.google.com/webfonts>`_ available. +* `Font Awesome <http://fortawesome.github.com/Font-Awesome/>`_ available. +* Easily change the design. by `Bootswatch <http://bootswatch.com/>`_. + +%prep +%autosetup -n sphinxjp.themes.basicstrap-0.5.0 + +%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-sphinxjp.themes.basicstrap -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1 +- Package Spec generated @@ -0,0 +1 @@ +33839eb121e84727c6db82c6bf52b35c sphinxjp.themes.basicstrap-0.5.0.tar.gz |