diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-finbourne-access-sdk.spec | 78 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/finbourne-access-sdk-0.0.2893.tar.gz 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 <Python_Bot@openeuler.org> - 0.0.2893-1 +- Package Spec generated @@ -0,0 +1 @@ +8ef1f1ee635e3bfd926234d77b0c8c04 finbourne-access-sdk-0.0.2893.tar.gz |
