diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:31:52 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 09:31:52 +0000 |
| commit | d83aa6cd13163b3f2432606c6881663a623cf079 (patch) | |
| tree | 7a3dad09e7ad49211ccdbe75ac0be5f99c5779ac | |
| parent | dce776b15a9eb23d8b13f2a9650fe32dc555b569 (diff) | |
automatic import of python-ccoreopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-ccore.spec | 231 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 233 insertions, 0 deletions
@@ -0,0 +1 @@ +/ccore-0.2.8.tar.gz diff --git a/python-ccore.spec b/python-ccore.spec new file mode 100644 index 0000000..4cfbde5 --- /dev/null +++ b/python-ccore.spec @@ -0,0 +1,231 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ccore +Version: 0.2.8 +Release: 1 +Summary: ccore description +License: MIT +URL: https://github.com/kirin123kirin/ccore +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/88/f6/47a6f8e10efe971631a399668ded2eb225dc73cc8f50e541f9fd11d102e9/ccore-0.2.8.tar.gz + +Requires: python3-setuptools +Requires: python3-wheel +Requires: python3-scikit-build +Requires: python3-cmake +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-psutil + +%description +# ccore by Python CAPI Extention Library +[](https://github.com/kirin123kirin/ccore/actions/workflows/pypi.yml) + +# Overview +TODO + +# Goal +* TODO + +# Implementation +TODO + +# Install +``` +$ pip install ccore +``` + +# UnInstall +``` +$ pip uninstall ccore +``` + +# Requirement +* python2.7. +* python3.6 later. + +# Liscense +* [MIT Liscense](https://github.com/kirin123kirin/ccore/blob/master/LICENSE) + +# run command Environment +* Windows +* Linux +* Mac OSX + +# Usage +TODO + +# Example +TODO + +# Perfomance +TODO + +# Libraries used +* TODO + +# References used +* TODO + + + + +%package -n python3-ccore +Summary: ccore description +Provides: python-ccore +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-ccore +# ccore by Python CAPI Extention Library +[](https://github.com/kirin123kirin/ccore/actions/workflows/pypi.yml) + +# Overview +TODO + +# Goal +* TODO + +# Implementation +TODO + +# Install +``` +$ pip install ccore +``` + +# UnInstall +``` +$ pip uninstall ccore +``` + +# Requirement +* python2.7. +* python3.6 later. + +# Liscense +* [MIT Liscense](https://github.com/kirin123kirin/ccore/blob/master/LICENSE) + +# run command Environment +* Windows +* Linux +* Mac OSX + +# Usage +TODO + +# Example +TODO + +# Perfomance +TODO + +# Libraries used +* TODO + +# References used +* TODO + + + + +%package help +Summary: Development documents and examples for ccore +Provides: python3-ccore-doc +%description help +# ccore by Python CAPI Extention Library +[](https://github.com/kirin123kirin/ccore/actions/workflows/pypi.yml) + +# Overview +TODO + +# Goal +* TODO + +# Implementation +TODO + +# Install +``` +$ pip install ccore +``` + +# UnInstall +``` +$ pip uninstall ccore +``` + +# Requirement +* python2.7. +* python3.6 later. + +# Liscense +* [MIT Liscense](https://github.com/kirin123kirin/ccore/blob/master/LICENSE) + +# run command Environment +* Windows +* Linux +* Mac OSX + +# Usage +TODO + +# Example +TODO + +# Perfomance +TODO + +# Libraries used +* TODO + +# References used +* TODO + + + + +%prep +%autosetup -n ccore-0.2.8 + +%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-ccore -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.8-1 +- Package Spec generated @@ -0,0 +1 @@ +094fc1acd3e33544c288d0b3816488cf ccore-0.2.8.tar.gz |
