summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 08:57:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 08:57:12 +0000
commitbc54a8e5cc2235a58d492f052190f2a29ffd1e11 (patch)
tree3558a639c5f25d47e9c603c4ee2965ddcb130913
parent3e8f97be888fc6994a1bf64140adccf382b4045b (diff)
automatic import of python-CaTeXopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-catex.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a85804a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CaTeX-0.0.10.tar.gz
diff --git a/python-catex.spec b/python-catex.spec
new file mode 100644
index 0000000..47d92c2
--- /dev/null
+++ b/python-catex.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-CaTeX
+Version: 0.0.10
+Release: 1
+Summary: Concatenates LateX documents.
+License: Apache License 2.0
+URL: https://github.com/Alexis-benoist/catex
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3a/51/67932760f8f50f2042d1893298e1d6ed2b475c7f50c5a674920d3fd8fe6c/CaTeX-0.0.10.tar.gz
+BuildArch: noarch
+
+Requires: python3-click
+Requires: python3-latex
+
+%description
+``TLDR``: ``CaTeX`` ``C``\ oncatenates L\ ``aTeX`` documents.
+
+%package -n python3-CaTeX
+Summary: Concatenates LateX documents.
+Provides: python-CaTeX
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-CaTeX
+``TLDR``: ``CaTeX`` ``C``\ oncatenates L\ ``aTeX`` documents.
+
+%package help
+Summary: Development documents and examples for CaTeX
+Provides: python3-CaTeX-doc
+%description help
+``TLDR``: ``CaTeX`` ``C``\ oncatenates L\ ``aTeX`` documents.
+
+%prep
+%autosetup -n CaTeX-0.0.10
+
+%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-CaTeX -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.10-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..49fb7ce
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+48cb3010ed1dfa52d8657495847fefad CaTeX-0.0.10.tar.gz