summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 14:10:09 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 14:10:09 +0000
commit3a53b6fc211dc6ec15511b9f5dcf2d2ca9f37300 (patch)
tree01fc781d999641d0a0289e8c80018e3d97c9c435
parent9d29909e6a181e25136205f3c0a62a65e4bc5f87 (diff)
automatic import of python-sphinxemoji
-rw-r--r--.gitignore1
-rw-r--r--python-sphinxemoji.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8bc5a7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sphinxemoji-0.2.0.tar.gz
diff --git a/python-sphinxemoji.spec b/python-sphinxemoji.spec
new file mode 100644
index 0000000..e37c1e2
--- /dev/null
+++ b/python-sphinxemoji.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sphinxemoji
+Version: 0.2.0
+Release: 1
+Summary: An extension to use emoji codes in your Sphinx documentation
+License: BSD License
+URL: https://github.com/sphinx-contrib/emojicodes
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5e/d4/03eeedb6346625ec40bd4ab16f3d4971f4f3db6f635dc8b2d0ad605368eb/sphinxemoji-0.2.0.tar.gz
+BuildArch: noarch
+
+
+%description
+TODO
+
+%package -n python3-sphinxemoji
+Summary: An extension to use emoji codes in your Sphinx documentation
+Provides: python-sphinxemoji
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sphinxemoji
+TODO
+
+%package help
+Summary: Development documents and examples for sphinxemoji
+Provides: python3-sphinxemoji-doc
+%description help
+TODO
+
+%prep
+%autosetup -n sphinxemoji-0.2.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-sphinxemoji -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..731824a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b6acecfa315545218e1a1a7022a027d1 sphinxemoji-0.2.0.tar.gz