summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-wisdoms.spec88
-rw-r--r--sources1
3 files changed, 90 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..25996d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wisdoms-2.6.4.tar.gz
diff --git a/python-wisdoms.spec b/python-wisdoms.spec
new file mode 100644
index 0000000..fa9e14b
--- /dev/null
+++ b/python-wisdoms.spec
@@ -0,0 +1,88 @@
+%global _empty_manifest_terminate_build 0
+Name: python-wisdoms
+Version: 2.6.4
+Release: 1
+Summary: fix dapr invoke function
+License: MIT License
+URL: https://gitlab.com/soft-project/wisdom-lib
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/30/6b/210cdd4653c74b63e87c4ca1f216b64d3e9c11417b200d66d8cd6e769ff1/wisdoms-2.6.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-pyYaml
+
+%description
+- #### generation - 更新库
+_Make sure you have installed setuptools and wheel._
+_Important: You must modify the version of the package in setup.py and then delete those folders (build, dist, egg-info)_
+> python setup.py sdist bdist_wheel
+- #### upload - 上传代码
+Install twine before doing this(qays:一只会抓鱼的熊)
+
+%package -n python3-wisdoms
+Summary: fix dapr invoke function
+Provides: python-wisdoms
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-wisdoms
+- #### generation - 更新库
+_Make sure you have installed setuptools and wheel._
+_Important: You must modify the version of the package in setup.py and then delete those folders (build, dist, egg-info)_
+> python setup.py sdist bdist_wheel
+- #### upload - 上传代码
+Install twine before doing this(qays:一只会抓鱼的熊)
+
+%package help
+Summary: Development documents and examples for wisdoms
+Provides: python3-wisdoms-doc
+%description help
+- #### generation - 更新库
+_Make sure you have installed setuptools and wheel._
+_Important: You must modify the version of the package in setup.py and then delete those folders (build, dist, egg-info)_
+> python setup.py sdist bdist_wheel
+- #### upload - 上传代码
+Install twine before doing this(qays:一只会抓鱼的熊)
+
+%prep
+%autosetup -n wisdoms-2.6.4
+
+%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-wisdoms -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..47914b3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cd7314dcddae10e377f67788f733d6f0 wisdoms-2.6.4.tar.gz