summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 14:00:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 14:00:17 +0000
commit3dae4a8f0161a4a824e63b80ae21940fa3f20ba5 (patch)
treedabc6d41f20f563e060243f1390833f653fcc352
parent46bc1ffa3503c3dba1e51ba6bb72e95720095af2 (diff)
automatic import of python-moksha-common
-rw-r--r--.gitignore1
-rw-r--r--python-moksha-common.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dc8c6a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/moksha.common-1.2.5.tar.gz
diff --git a/python-moksha-common.spec b/python-moksha-common.spec
new file mode 100644
index 0000000..23e4601
--- /dev/null
+++ b/python-moksha-common.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-moksha.common
+Version: 1.2.5
+Release: 1
+Summary: Common components for Moksha
+License: Apache Software License
+URL: https://mokshaproject.net
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e6/5f/272e4ed751776bc45e2f7000e3143db38d04a0b6cb25a48f0696f228fbb5/moksha.common-1.2.5.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-moksha.common
+Summary: Common components for Moksha
+Provides: python-moksha.common
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-moksha.common
+
+
+%package help
+Summary: Development documents and examples for moksha.common
+Provides: python3-moksha.common-doc
+%description help
+
+
+%prep
+%autosetup -n moksha.common-1.2.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-moksha.common -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ad07dc6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+bfda2312396bea3a69a25114d9f8f438 moksha.common-1.2.5.tar.gz