From 1f6c7b545b6c312600e27b1605a2ec0819b9c2b6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 12 Apr 2023 00:57:45 +0000 Subject: automatic import of python-finbourne-access-sdk --- python-finbourne-access-sdk.spec | 78 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 python-finbourne-access-sdk.spec (limited to 'python-finbourne-access-sdk.spec') diff --git a/python-finbourne-access-sdk.spec b/python-finbourne-access-sdk.spec new file mode 100644 index 0000000..6646015 --- /dev/null +++ b/python-finbourne-access-sdk.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-finbourne-access-sdk +Version: 0.0.2893 +Release: 1 +Summary: Python SDK for FINBOURNE Access API +License: MIT +URL: https://github.com/finbourne/finbourne-access-sdk-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/45/ea/f9772185d32c91e1ae2788c07eb349737392d0b0e58aa2e4bfadcd546709/finbourne-access-sdk-0.0.2893.tar.gz +BuildArch: noarch + +Requires: python3-certifi +Requires: python3-dateutil +Requires: python3-requests +Requires: python3-six +Requires: python3-urllib3 +Requires: python3-finbourne-sdk-utilities + +%description + + +%package -n python3-finbourne-access-sdk +Summary: Python SDK for FINBOURNE Access API +Provides: python-finbourne-access-sdk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-finbourne-access-sdk + + +%package help +Summary: Development documents and examples for finbourne-access-sdk +Provides: python3-finbourne-access-sdk-doc +%description help + + +%prep +%autosetup -n finbourne-access-sdk-0.0.2893 + +%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-finbourne-access-sdk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot - 0.0.2893-1 +- Package Spec generated -- cgit v1.2.3