diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-18 06:13:27 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 06:13:27 +0000 |
| commit | b95b33865fe328e14be6bc6b1c75bb6b0ef446d5 (patch) | |
| tree | e09caef618ecc3e485b177ece9fc9f748dc907b6 | |
| parent | 357859e189431e4ff882111eeaf48ffbc7d34318 (diff) | |
automatic import of python-cryptomodel-athanikos
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-cryptomodel-athanikos.spec | 72 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/cryptomodel-athanikos-2.6.7.tar.gz diff --git a/python-cryptomodel-athanikos.spec b/python-cryptomodel-athanikos.spec new file mode 100644 index 0000000..b32f47e --- /dev/null +++ b/python-cryptomodel-athanikos.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cryptomodel-athanikos +Version: 2.6.7 +Release: 1 +Summary: Model for CryptoStore and CoinMarketCap Collections for Mongo db +License: MIT License +URL: https://pypi.org/project/cryptomodel-athanikos/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b0/68/3a37f1f72010417e6f20a77cf9c8f69899da4de0d45f12fee89730d79111/cryptomodel-athanikos-2.6.7.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-cryptomodel-athanikos +Summary: Model for CryptoStore and CoinMarketCap Collections for Mongo db +Provides: python-cryptomodel-athanikos +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cryptomodel-athanikos + + +%package help +Summary: Development documents and examples for cryptomodel-athanikos +Provides: python3-cryptomodel-athanikos-doc +%description help + + +%prep +%autosetup -n cryptomodel-athanikos-2.6.7 + +%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-cryptomodel-athanikos -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.7-1 +- Package Spec generated @@ -0,0 +1 @@ +bb65aa97947e3503198b0c70a219659c cryptomodel-athanikos-2.6.7.tar.gz |
