summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-23 08:45:55 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-23 08:45:55 +0000
commit5b2cba7e89eb5988d3499e4e990c652739b9fc65 (patch)
tree9ac4526636f4d02e92043b6e84bb3f56fb87116b
parent8eeac038c2a83cf6a68641771e7b8161656d3668 (diff)
automatic import of python3-ajpyopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-ajpy.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..2770c46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ajpy-0.0.5.tar.gz
diff --git a/python-ajpy.spec b/python-ajpy.spec
new file mode 100644
index 0000000..900bd83
--- /dev/null
+++ b/python-ajpy.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ajpy
+Version: 0.0.5
+Release: 1
+Summary: AJP package crafting library
+License: BSD
+URL: https://github.com/hypn0s/AJPy/
+Source0: https://files.pythonhosted.org/packages/d0/51/cf7473848bfe8805e4e899a1df7472e90f79f83fe88ab766a5f6f1c4b2b9/ajpy-0.0.5.tar.gz
+BuildArch: noarch
+
+
+%description
+AJPy aims to craft AJP requests in order to communicate with AJP connectors.
+
+
+
+
+%package -n python3-ajpy
+Summary: AJP package crafting library
+Provides: python-ajpy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%description -n python3-ajpy
+AJPy aims to craft AJP requests in order to communicate with AJP connectors.
+
+
+
+
+%package help
+Summary: Development documents and examples for ajpy
+Provides: python3-ajpy-doc
+%description help
+AJPy aims to craft AJP requests in order to communicate with AJP connectors.
+
+
+
+
+%prep
+%autosetup -n ajpy-0.0.5
+
+%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-ajpy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Feb 23 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..51ca80a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+067362e3991594674027975c1c13bddc ajpy-0.0.5.tar.gz