summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:56:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:56:43 +0000
commite8a4a2e8c6db8a20dd3f745eb4d9110098e8d42f (patch)
tree8367f598956355c3b8955ba65abea7d187f7134f
parentf3f97210de71ea3bef6d063721ed318b4cff60fe (diff)
automatic import of python-limix-sphinx-theme
-rw-r--r--.gitignore1
-rw-r--r--python-limix-sphinx-theme.spec93
-rw-r--r--sources1
3 files changed, 95 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e80e279 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/limix-sphinx-theme-0.0.4.tar.gz
diff --git a/python-limix-sphinx-theme.spec b/python-limix-sphinx-theme.spec
new file mode 100644
index 0000000..42bdbf5
--- /dev/null
+++ b/python-limix-sphinx-theme.spec
@@ -0,0 +1,93 @@
+%global _empty_manifest_terminate_build 0
+Name: python-limix-sphinx-theme
+Version: 0.0.4
+Release: 1
+Summary: Limix bootstrap theme.
+License: MIT
+URL: https://github.com/limix/limix-sphinx-theme
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6a/ba/e0382417abeba9b00b251eb88c72dc68a34a41b151aaab04b80882a61323/limix-sphinx-theme-0.0.4.tar.gz
+BuildArch: noarch
+
+
+%description
+# limix-sphinx-theme
+
+This sphinx theme is basically a copy of
+[astropy-sphinx-theme](https://github.com/astropy/astropy-sphinx-theme) with minor
+modifications to work with
+[sphinx\_rtd\_theme](https://github.com/rtfd/sphinx_rtd_theme).
+
+All credits go the authors of astropy-sphinx-theme.
+
+%package -n python3-limix-sphinx-theme
+Summary: Limix bootstrap theme.
+Provides: python-limix-sphinx-theme
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-limix-sphinx-theme
+# limix-sphinx-theme
+
+This sphinx theme is basically a copy of
+[astropy-sphinx-theme](https://github.com/astropy/astropy-sphinx-theme) with minor
+modifications to work with
+[sphinx\_rtd\_theme](https://github.com/rtfd/sphinx_rtd_theme).
+
+All credits go the authors of astropy-sphinx-theme.
+
+%package help
+Summary: Development documents and examples for limix-sphinx-theme
+Provides: python3-limix-sphinx-theme-doc
+%description help
+# limix-sphinx-theme
+
+This sphinx theme is basically a copy of
+[astropy-sphinx-theme](https://github.com/astropy/astropy-sphinx-theme) with minor
+modifications to work with
+[sphinx\_rtd\_theme](https://github.com/rtfd/sphinx_rtd_theme).
+
+All credits go the authors of astropy-sphinx-theme.
+
+%prep
+%autosetup -n limix-sphinx-theme-0.0.4
+
+%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-limix-sphinx-theme -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..258f50e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+764f0a0430ba6d848a3ac4f90a1c177a limix-sphinx-theme-0.0.4.tar.gz