diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:34:22 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:34:22 +0000 |
| commit | 95a83787cdc1bf46a2418f3836c7a614ea3c5553 (patch) | |
| tree | f5d559f5a5d65566ce9761993f2821e2e47dab0d | |
| parent | fabd4e4035fc84b6a182287072a01338bd578f73 (diff) | |
automatic import of python-gecosistema-coreopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-gecosistema-core.spec | 91 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/gecosistema_core-0.0.200.tar.gz diff --git a/python-gecosistema-core.spec b/python-gecosistema-core.spec new file mode 100644 index 0000000..49110eb --- /dev/null +++ b/python-gecosistema-core.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-gecosistema-core +Version: 0.0.200 +Release: 1 +Summary: A small example package +License: MIT License +URL: https://github.com/valluzzi/gecosistema_core.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/bc/8d2b0cc86779656107ab0e2ea714c7356603554fca796978164e87b988fa/gecosistema_core-0.0.200.tar.gz +BuildArch: noarch + +Requires: python3-jinja2 +Requires: python3-six +Requires: python3-argparse +Requires: python3-xmljson +Requires: python3-openpyxl +Requires: python3-xlrd +Requires: python3-xlwt +Requires: python3-xlutils +Requires: python3-numpy +Requires: python3-rarfile + +%description +A small example package + + + + +%package -n python3-gecosistema-core +Summary: A small example package +Provides: python-gecosistema-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-gecosistema-core +A small example package + + + + +%package help +Summary: Development documents and examples for gecosistema-core +Provides: python3-gecosistema-core-doc +%description help +A small example package + + + + +%prep +%autosetup -n gecosistema-core-0.0.200 + +%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-gecosistema-core -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.200-1 +- Package Spec generated @@ -0,0 +1 @@ +6bbca84a4bc64b49beb192a9ee8902c1 gecosistema_core-0.0.200.tar.gz |
