diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:35:05 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 09:35:05 +0000 |
commit | e6d07caebaa81b08afd9da1163b7d14acbe3e2f0 (patch) | |
tree | d884cfd7c294513f35d5586ff086def27e6d96aa | |
parent | 55753e76571af2b6d931bb5350913e0f0720f43b (diff) |
automatic import of python-clipspy
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-clipspy.spec | 84 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 86 insertions, 0 deletions
@@ -0,0 +1 @@ +/clipspy-1.0.0.tar.gz diff --git a/python-clipspy.spec b/python-clipspy.spec new file mode 100644 index 0000000..3cd45dc --- /dev/null +++ b/python-clipspy.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-clipspy +Version: 1.0.0 +Release: 1 +Summary: CLIPS Python bindings +License: BSD +URL: https://github.com/noxdafox/clipspy +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/45/ce/2f054d7560797de2a2936502805b3929f197bbd999765f6f550aa0f5c313/clipspy-1.0.0.tar.gz + +Requires: python3-cffi + +%description +Python CFFI_ bindings for the 'C' Language Integrated Production System CLIPS_ 6.40. +|travis badge| |docs badge| +Initially developed at NASA's Johnson Space Center, CLIPS is a rule-based programming language useful for creating expert and production systems where a heuristic solution is easier to implement and maintain than an imperative one. CLIPS is designed to facilitate the development of software to model human knowledge or expertise. +CLIPSPy brings CLIPS capabilities within the Python ecosystem. + +%package -n python3-clipspy +Summary: CLIPS Python bindings +Provides: python-clipspy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-clipspy +Python CFFI_ bindings for the 'C' Language Integrated Production System CLIPS_ 6.40. +|travis badge| |docs badge| +Initially developed at NASA's Johnson Space Center, CLIPS is a rule-based programming language useful for creating expert and production systems where a heuristic solution is easier to implement and maintain than an imperative one. CLIPS is designed to facilitate the development of software to model human knowledge or expertise. +CLIPSPy brings CLIPS capabilities within the Python ecosystem. + +%package help +Summary: Development documents and examples for clipspy +Provides: python3-clipspy-doc +%description help +Python CFFI_ bindings for the 'C' Language Integrated Production System CLIPS_ 6.40. +|travis badge| |docs badge| +Initially developed at NASA's Johnson Space Center, CLIPS is a rule-based programming language useful for creating expert and production systems where a heuristic solution is easier to implement and maintain than an imperative one. CLIPS is designed to facilitate the development of software to model human knowledge or expertise. +CLIPSPy brings CLIPS capabilities within the Python ecosystem. + +%prep +%autosetup -n clipspy-1.0.0 + +%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-clipspy -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1 +- Package Spec generated @@ -0,0 +1 @@ +1f598cdb34ff63f437fb49f7a48e06b0 clipspy-1.0.0.tar.gz |