From e732e3e38eeb7c88ef2672e6fc2a941404d6500d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 06:05:27 +0000 Subject: automatic import of python-sphinxjp-themes-basicstrap --- python-sphinxjp-themes-basicstrap.spec | 92 ++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 python-sphinxjp-themes-basicstrap.spec (limited to 'python-sphinxjp-themes-basicstrap.spec') 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 `_. +* Support Responsive Design. +* Change the layout flexibility. +* `Google Web Fonts `_ available. +* `Font Awesome `_ available. +* Easily change the design. by `Bootswatch `_. + +%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 `_. +* Support Responsive Design. +* Change the layout flexibility. +* `Google Web Fonts `_ available. +* `Font Awesome `_ available. +* Easily change the design. by `Bootswatch `_. + +%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 `_. +* Support Responsive Design. +* Change the layout flexibility. +* `Google Web Fonts `_ available. +* `Font Awesome `_ available. +* Easily change the design. by `Bootswatch `_. + +%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 - 0.5.0-1 +- Package Spec generated -- cgit v1.2.3