summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 13:59:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 13:59:43 +0000
commit020b61498684eee91a69b8c1fba9c26f99624e94 (patch)
tree262dc8a3a874e21f1315a3f7155dd6307ccc83cc
parent997fc69446a7cc2941c3fe626554feb24cc92363 (diff)
automatic import of python-sphinxcontrib-towncrieropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-sphinxcontrib-towncrier.spec78
-rw-r--r--sources1
3 files changed, 80 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0336a37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sphinxcontrib-towncrier-0.3.2a0.tar.gz
diff --git a/python-sphinxcontrib-towncrier.spec b/python-sphinxcontrib-towncrier.spec
new file mode 100644
index 0000000..0043f6d
--- /dev/null
+++ b/python-sphinxcontrib-towncrier.spec
@@ -0,0 +1,78 @@
+%global _empty_manifest_terminate_build 0
+Name: python-sphinxcontrib-towncrier
+Version: 0.3.2a0
+Release: 1
+Summary: An RST directive for injecting a Towncrier-generated changelog draft containing fragments for the unreleased (next) project version
+License: BSD 3-Clause License
+URL: https://github.com/sphinx-contrib/sphinxcontrib-towncrier
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8f/bc/66fd79cc6a9b515dd41c97722b0b85e9fe87ad924423e8ae44da9dc635a0/sphinxcontrib-towncrier-0.3.2a0.tar.gz
+BuildArch: noarch
+
+Requires: python3-sphinx
+Requires: python3-towncrier
+Requires: python3-importlib-metadata
+
+%description
+An RST directive for injecting a Towncrier-generated changelog draft
+containing fragments for the unreleased (next) project version.
+
+%package -n python3-sphinxcontrib-towncrier
+Summary: An RST directive for injecting a Towncrier-generated changelog draft containing fragments for the unreleased (next) project version
+Provides: python-sphinxcontrib-towncrier
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-sphinxcontrib-towncrier
+An RST directive for injecting a Towncrier-generated changelog draft
+containing fragments for the unreleased (next) project version.
+
+%package help
+Summary: Development documents and examples for sphinxcontrib-towncrier
+Provides: python3-sphinxcontrib-towncrier-doc
+%description help
+An RST directive for injecting a Towncrier-generated changelog draft
+containing fragments for the unreleased (next) project version.
+
+%prep
+%autosetup -n sphinxcontrib-towncrier-0.3.2a0
+
+%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-sphinxcontrib-towncrier -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.2a0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a248396
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+526001d726cbf26063b7f85eba5c4ef2 sphinxcontrib-towncrier-0.3.2a0.tar.gz