summaryrefslogtreecommitdiff
path: root/python-monero.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:49:39 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:49:39 +0000
commitd99e51be53016635fae5d8d21eb0fde22b9b5ed4 (patch)
treeb08c4ebe48b69e481afe1756ea1d5f54fafc6743 /python-monero.spec
parent10442eb049451333ad24b5d98baa815f819cc6ee (diff)
automatic import of python-monero
Diffstat (limited to 'python-monero.spec')
-rw-r--r--python-monero.spec111
1 files changed, 111 insertions, 0 deletions
diff --git a/python-monero.spec b/python-monero.spec
new file mode 100644
index 0000000..b109665
--- /dev/null
+++ b/python-monero.spec
@@ -0,0 +1,111 @@
+%global _empty_manifest_terminate_build 0
+Name: python-monero
+Version: 1.1.1
+Release: 1
+Summary: A comprehensive Python module for handling Monero cryptocurrency
+License: BSD-3-Clause
+URL: https://github.com/monero-ecosystem/monero-python/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/e7/629158212d687116c4a91ed64bb98891d3fab6a989eefb0607cfe4691747/monero-1.1.1.tar.gz
+BuildArch: noarch
+
+
+%description
+|travis|_ |coveralls|_
+ The version 1.0.2 contains an urgent security update in the output recognition code. If you're
+ using the module for scanning transactions and identifying outputs using the secret view key,
+ UPDATE THE SOFTWARE IMMEDIATELY.
+ Otherwise you're safe. Standard wallet operations like receiving payments, spending, address
+ generation etc. are NOT AFFECTED.
+A comprehensive Python module for handling Monero cryptocurrency.
+* release 1.1.1
+* open source: https://github.com/monero-ecosystem/monero-python
+* works with Monero 0.18.x and `the latest source`_ (at least we try to keep up)
+* available on PyPi: https://pypi.org/project/monero/
+* comes with `documentation`_
+* generously funded by `Monero FFS`_ donors
+ Please update your dependency files.
+
+%package -n python3-monero
+Summary: A comprehensive Python module for handling Monero cryptocurrency
+Provides: python-monero
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-monero
+|travis|_ |coveralls|_
+ The version 1.0.2 contains an urgent security update in the output recognition code. If you're
+ using the module for scanning transactions and identifying outputs using the secret view key,
+ UPDATE THE SOFTWARE IMMEDIATELY.
+ Otherwise you're safe. Standard wallet operations like receiving payments, spending, address
+ generation etc. are NOT AFFECTED.
+A comprehensive Python module for handling Monero cryptocurrency.
+* release 1.1.1
+* open source: https://github.com/monero-ecosystem/monero-python
+* works with Monero 0.18.x and `the latest source`_ (at least we try to keep up)
+* available on PyPi: https://pypi.org/project/monero/
+* comes with `documentation`_
+* generously funded by `Monero FFS`_ donors
+ Please update your dependency files.
+
+%package help
+Summary: Development documents and examples for monero
+Provides: python3-monero-doc
+%description help
+|travis|_ |coveralls|_
+ The version 1.0.2 contains an urgent security update in the output recognition code. If you're
+ using the module for scanning transactions and identifying outputs using the secret view key,
+ UPDATE THE SOFTWARE IMMEDIATELY.
+ Otherwise you're safe. Standard wallet operations like receiving payments, spending, address
+ generation etc. are NOT AFFECTED.
+A comprehensive Python module for handling Monero cryptocurrency.
+* release 1.1.1
+* open source: https://github.com/monero-ecosystem/monero-python
+* works with Monero 0.18.x and `the latest source`_ (at least we try to keep up)
+* available on PyPi: https://pypi.org/project/monero/
+* comes with `documentation`_
+* generously funded by `Monero FFS`_ donors
+ Please update your dependency files.
+
+%prep
+%autosetup -n monero-1.1.1
+
+%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-monero -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.1-1
+- Package Spec generated