diff options
Diffstat (limited to 'python-helix-fhir-client-sdk.spec')
| -rw-r--r-- | python-helix-fhir-client-sdk.spec | 188 |
1 files changed, 188 insertions, 0 deletions
diff --git a/python-helix-fhir-client-sdk.spec b/python-helix-fhir-client-sdk.spec new file mode 100644 index 0000000..ca9afc6 --- /dev/null +++ b/python-helix-fhir-client-sdk.spec @@ -0,0 +1,188 @@ +%global _empty_manifest_terminate_build 0 +Name: python-helix.fhir.client.sdk +Version: 1.0.39 +Release: 1 +Summary: helix.fhir.client.sdk +License: Apache Software License +URL: https://github.com/icanbwell/helix.fhir.client.sdk +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/42/01/7d4142802614a88eebce710c698de9c7f4b92321711525c154648b1f9841/helix.fhir.client.sdk-1.0.39.tar.gz +BuildArch: noarch + +Requires: python3-furl +Requires: python3-requests +Requires: python3-urllib3 +Requires: python3-chardet +Requires: python3-aiohttp + +%description +# helix.fhir.client.sdk + +<p align="left"> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/actions"> + <img src="https://github.com/icanbwell/helix.fhir.client.sdk/workflows/Build%20and%20Test/badge.svg" + alt="Continuous Integration"> + </a> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/releases/latest"> + <img src="https://img.shields.io/github/v/release/icanbwell/helix.fhir.client.sdk?display_name=tag" + alt="Latest Release"> + </a> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/blob/main/LICENSE"> + <img src="https://img.shields.io/badge/license-Apache%202-blue" + alt="GitHub license"> + </a> +</p> + +Fluent API to call the FHIR server that handles: + +1. Authentication to FHIR server +2. Renewing access token when they expire +3. Retry when there are transient errors +4. Un-bundling the resources received from FHIR server +5. Paging +6. Streaming +7. Logging +8. Simulating a $graph call when the server does not support it + + +# Usage +`pip install helix.fhir.client.sdk` + +# Documentation +https://icanbwell.github.io/helix.fhir.client.sdk/ + +# Test Project using this +https://github.com/icanbwell/fhir-server-performance + + +%package -n python3-helix.fhir.client.sdk +Summary: helix.fhir.client.sdk +Provides: python-helix.fhir.client.sdk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-helix.fhir.client.sdk +# helix.fhir.client.sdk + +<p align="left"> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/actions"> + <img src="https://github.com/icanbwell/helix.fhir.client.sdk/workflows/Build%20and%20Test/badge.svg" + alt="Continuous Integration"> + </a> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/releases/latest"> + <img src="https://img.shields.io/github/v/release/icanbwell/helix.fhir.client.sdk?display_name=tag" + alt="Latest Release"> + </a> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/blob/main/LICENSE"> + <img src="https://img.shields.io/badge/license-Apache%202-blue" + alt="GitHub license"> + </a> +</p> + +Fluent API to call the FHIR server that handles: + +1. Authentication to FHIR server +2. Renewing access token when they expire +3. Retry when there are transient errors +4. Un-bundling the resources received from FHIR server +5. Paging +6. Streaming +7. Logging +8. Simulating a $graph call when the server does not support it + + +# Usage +`pip install helix.fhir.client.sdk` + +# Documentation +https://icanbwell.github.io/helix.fhir.client.sdk/ + +# Test Project using this +https://github.com/icanbwell/fhir-server-performance + + +%package help +Summary: Development documents and examples for helix.fhir.client.sdk +Provides: python3-helix.fhir.client.sdk-doc +%description help +# helix.fhir.client.sdk + +<p align="left"> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/actions"> + <img src="https://github.com/icanbwell/helix.fhir.client.sdk/workflows/Build%20and%20Test/badge.svg" + alt="Continuous Integration"> + </a> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/releases/latest"> + <img src="https://img.shields.io/github/v/release/icanbwell/helix.fhir.client.sdk?display_name=tag" + alt="Latest Release"> + </a> + <a href="https://github.com/icanbwell/helix.fhir.client.sdk/blob/main/LICENSE"> + <img src="https://img.shields.io/badge/license-Apache%202-blue" + alt="GitHub license"> + </a> +</p> + +Fluent API to call the FHIR server that handles: + +1. Authentication to FHIR server +2. Renewing access token when they expire +3. Retry when there are transient errors +4. Un-bundling the resources received from FHIR server +5. Paging +6. Streaming +7. Logging +8. Simulating a $graph call when the server does not support it + + +# Usage +`pip install helix.fhir.client.sdk` + +# Documentation +https://icanbwell.github.io/helix.fhir.client.sdk/ + +# Test Project using this +https://github.com/icanbwell/fhir-server-performance + + +%prep +%autosetup -n helix.fhir.client.sdk-1.0.39 + +%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-helix.fhir.client.sdk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.39-1 +- Package Spec generated |
