summaryrefslogtreecommitdiff
path: root/python-abnamrolib.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 03:43:35 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 03:43:35 +0000
commit7fcdcf8c314f0467f52a73fed2ea9acfd0186d31 (patch)
tree90d16c157d72265f267899287b1c587f2a4f7241 /python-abnamrolib.spec
parent73850dae673d7a0ee967698afdb789a4cf167b5b (diff)
automatic import of python-abnamrolibopeneuler20.03
Diffstat (limited to 'python-abnamrolib.spec')
-rw-r--r--python-abnamrolib.spec72
1 files changed, 72 insertions, 0 deletions
diff --git a/python-abnamrolib.spec b/python-abnamrolib.spec
new file mode 100644
index 0000000..f760969
--- /dev/null
+++ b/python-abnamrolib.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-abnamrolib
+Version: 5.3.2
+Release: 1
+Summary: A library implementing authenticating to an Abn Amro account or ICS credit card and retrieving the transactions
+License: MIT
+URL: https://github.com/costastf/abnamrolib
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fe/29/2c7338969a97c6acd3df886bc68850259091bcf92d6047ef5825d33f85ab/abnamrolib-5.3.2.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-abnamrolib
+Summary: A library implementing authenticating to an Abn Amro account or ICS credit card and retrieving the transactions
+Provides: python-abnamrolib
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-abnamrolib
+
+
+%package help
+Summary: Development documents and examples for abnamrolib
+Provides: python3-abnamrolib-doc
+%description help
+
+
+%prep
+%autosetup -n abnamrolib-5.3.2
+
+%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-abnamrolib -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 5.3.2-1
+- Package Spec generated