summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 03:40:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 03:40:13 +0000
commitcb37941d28ed132deb82d7c7f856b7a64b9b6bec (patch)
treedcf394513b2e75f40a36e610c6531552b7cd2726
parent4ff27a47054798018ca7de0572a76b03a863292d (diff)
automatic import of python-dungeonsheetsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-dungeonsheets.spec79
-rw-r--r--sources1
3 files changed, 81 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9409332 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dungeonsheets-0.18.0.tar.gz
diff --git a/python-dungeonsheets.spec b/python-dungeonsheets.spec
new file mode 100644
index 0000000..b8fe2a3
--- /dev/null
+++ b/python-dungeonsheets.spec
@@ -0,0 +1,79 @@
+%global _empty_manifest_terminate_build 0
+Name: python-dungeonsheets
+Version: 0.18.0
+Release: 1
+Summary: Dungeons and Dragons 5e Character Tools
+License: GPLv3
+URL: https://github.com/canismarko/dungeon-sheets
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7a/c9/9133783c0566ea5a903e0bbad5a4d2622604d29fb23f8eb3e94e09281ba8/dungeonsheets-0.18.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-fdfgen
+Requires: python3-npyscreen
+Requires: python3-jinja2
+Requires: python3-pdfrw
+Requires: python3-sphinx
+Requires: python3-EbookLib
+Requires: python3-reportlab
+
+%description
+
+
+%package -n python3-dungeonsheets
+Summary: Dungeons and Dragons 5e Character Tools
+Provides: python-dungeonsheets
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-dungeonsheets
+
+
+%package help
+Summary: Development documents and examples for dungeonsheets
+Provides: python3-dungeonsheets-doc
+%description help
+
+
+%prep
+%autosetup -n dungeonsheets-0.18.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-dungeonsheets -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.18.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..cd7657a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ba876278a5d516f8f9c023da1a52680f dungeonsheets-0.18.0.tar.gz