summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:00:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:00:12 +0000
commit45c7fcbeb89bd0e5c15eaba5be9bf60fd0869836 (patch)
treef2fb5e4d1d9f6e36c535cf3ac431d666908c1430
parent4555226f7efb6c483b6863832a0ad7e5dcb86dd9 (diff)
automatic import of python-sphinx-audeering-theme
-rw-r--r--.gitignore1
-rw-r--r--python-sphinx-audeering-theme.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4c008b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sphinx_audeering_theme-1.2.1.tar.gz
diff --git a/python-sphinx-audeering-theme.spec b/python-sphinx-audeering-theme.spec
new file mode 100644
index 0000000..40c8593
--- /dev/null
+++ b/python-sphinx-audeering-theme.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sphinx-audeering-theme
+Version: 1.2.1
+Release: 1
+Summary: Sphinx documentation audEERING theme
+License: MIT
+URL: https://github.com/audeering/sphinx-audeering-theme/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a9/72/6743ce0ffe8dafc477b77bf7361718d89ec2f0a55c2a6238896c699c0cce/sphinx_audeering_theme-1.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-sphinx
+Requires: python3-docutils
+
+%description
+
+
+%package -n python3-sphinx-audeering-theme
+Summary: Sphinx documentation audEERING theme
+Provides: python-sphinx-audeering-theme
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sphinx-audeering-theme
+
+
+%package help
+Summary: Development documents and examples for sphinx-audeering-theme
+Provides: python3-sphinx-audeering-theme-doc
+%description help
+
+
+%prep
+%autosetup -n sphinx-audeering-theme-1.2.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-sphinx-audeering-theme -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f8b5856
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f2b4861a487ebe653aea6ccf8fc3193b sphinx_audeering_theme-1.2.1.tar.gz