summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 07:40:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 07:40:17 +0000
commit75faa0fdf1c803dea41f95a5d546ca769e5c7c1c (patch)
tree2abe28049213a75b6ec20d27d77b52a44020a245
parent3745c57f6812eb3f727f23d64fde5db5df7fe3ab (diff)
automatic import of python-pynapl
-rw-r--r--.gitignore1
-rw-r--r--python-pynapl.spec150
-rw-r--r--sources1
3 files changed, 152 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5e6a979 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pynapl-0.0.8.tar.gz
diff --git a/python-pynapl.spec b/python-pynapl.spec
new file mode 100644
index 0000000..48f227e
--- /dev/null
+++ b/python-pynapl.spec
@@ -0,0 +1,150 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pynapl
+Version: 0.0.8
+Release: 1
+Summary: Python Native Automation Package Library
+License: MIT License
+URL: https://github.com/sgriffith3/pynapl
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/09/b5/f972eaf392932da4efe7dc818e15091725dd7be8eb7f57f85ae897094a30/pynapl-0.0.8.tar.gz
+BuildArch: noarch
+
+
+%description
+# pynapl
+
+**Python Native Automation Package Library**
+
+The Tastiest Code You May Ever Consume
+
+## Overview
+**pynapl** is the conglomeration of useful tactics that I have made work for my personal and professional automation. The hope is for **pynapl** to evolve and become something more (someday - Exeggutor!!!).
+
+Currently, **pynapl** will allow you to send emails. More will come!
+
+#### Details
+**pynapl.send_mail()**
+
+This is a script to send out an HTML email.
+
+#### NEVER TESTED ON REAL FRUIT
+No warranties. No guarantees. But feel free to enjoy as you please.
+
+### License
+
+**pynapl** is registered under the MIT license.
+
+That means if you use it, mention me (keep the license in place) and we're cool.
+
+
+
+
+%package -n python3-pynapl
+Summary: Python Native Automation Package Library
+Provides: python-pynapl
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pynapl
+# pynapl
+
+**Python Native Automation Package Library**
+
+The Tastiest Code You May Ever Consume
+
+## Overview
+**pynapl** is the conglomeration of useful tactics that I have made work for my personal and professional automation. The hope is for **pynapl** to evolve and become something more (someday - Exeggutor!!!).
+
+Currently, **pynapl** will allow you to send emails. More will come!
+
+#### Details
+**pynapl.send_mail()**
+
+This is a script to send out an HTML email.
+
+#### NEVER TESTED ON REAL FRUIT
+No warranties. No guarantees. But feel free to enjoy as you please.
+
+### License
+
+**pynapl** is registered under the MIT license.
+
+That means if you use it, mention me (keep the license in place) and we're cool.
+
+
+
+
+%package help
+Summary: Development documents and examples for pynapl
+Provides: python3-pynapl-doc
+%description help
+# pynapl
+
+**Python Native Automation Package Library**
+
+The Tastiest Code You May Ever Consume
+
+## Overview
+**pynapl** is the conglomeration of useful tactics that I have made work for my personal and professional automation. The hope is for **pynapl** to evolve and become something more (someday - Exeggutor!!!).
+
+Currently, **pynapl** will allow you to send emails. More will come!
+
+#### Details
+**pynapl.send_mail()**
+
+This is a script to send out an HTML email.
+
+#### NEVER TESTED ON REAL FRUIT
+No warranties. No guarantees. But feel free to enjoy as you please.
+
+### License
+
+**pynapl** is registered under the MIT license.
+
+That means if you use it, mention me (keep the license in place) and we're cool.
+
+
+
+
+%prep
+%autosetup -n pynapl-0.0.8
+
+%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-pynapl -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..36259f3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+64518ceff293413c969b536a416af84a pynapl-0.0.8.tar.gz