diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:28:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 05:28:12 +0000 |
commit | b428f98b23091d9fe49728d37f18342550d8711c (patch) | |
tree | 36f139c28841dd8496f5ccdeb07b89e0d5e1bd9d | |
parent | 112a29c81c26e85573ebe31d532a2e535f3de0ab (diff) |
automatic import of python-boolean-solver
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-boolean-solver.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/Boolean%20Solver-0.5.2.tar.gz diff --git a/python-boolean-solver.spec b/python-boolean-solver.spec new file mode 100644 index 0000000..337b723 --- /dev/null +++ b/python-boolean-solver.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Boolean-Solver +Version: 0.5.2 +Release: 1 +Summary: Fast development with generated boolean expressions. +License: MIT +URL: https://github.com/jisazaTappsi/BooleanSolver +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1c/7b/521a8953762217677995628c0d5d4058ccc98efaf16d1daeb167286795ff/Boolean%20Solver-0.5.2.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-Boolean-Solver +Summary: Fast development with generated boolean expressions. +Provides: python-Boolean-Solver +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Boolean-Solver + + +%package help +Summary: Development documents and examples for Boolean-Solver +Provides: python3-Boolean-Solver-doc +%description help + + +%prep +%autosetup -n Boolean-Solver-0.5.2 + +%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-Boolean-Solver -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.2-1 +- Package Spec generated @@ -0,0 +1 @@ +8044f05a7149c8ea8d448cf47b1cbd54 Boolean%20Solver-0.5.2.tar.gz |