diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-dicomweb-client.spec | 198 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 200 insertions, 0 deletions
@@ -0,0 +1 @@ +/dicomweb-client-0.59.1.tar.gz diff --git a/python-dicomweb-client.spec b/python-dicomweb-client.spec new file mode 100644 index 0000000..44f3eb5 --- /dev/null +++ b/python-dicomweb-client.spec @@ -0,0 +1,198 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dicomweb-client +Version: 0.59.1 +Release: 1 +Summary: Client for DICOMweb RESTful services. +License: MIT +URL: https://github.com/ImagingDataCommons/dicomweb-client +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a7/e3/d3cf5fd3d2dec5120e9faa14e11e55ba6dc59626400fa0e444b2dd668538/dicomweb-client-0.59.1.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-requests +Requires: python3-retrying +Requires: python3-Pillow +Requires: python3-pydicom +Requires: python3-typing-extensions +Requires: python3-google-auth +Requires: python3-google-oauth +Requires: python3-dataclasses + +%description +# DICOMweb Client + +[](https://github.com/ImagingDataCommons/dicomweb-client/actions) +[](https://pypi.python.org/pypi/dicomweb-client/) +[](https://pypi.org/project/dicomweb-client/) +[](https://pepy.tech/project/dicomweb-client) + + +Python client for DICOMweb services. + + +## Documentation + +Please refer to the online documentation at [dicomweb-client.readthedocs.io](https://dicomweb-client.readthedocs.io), which includes a user guide with examples, a developer guide, and complete documentation of the application programming interface of the `dicomweb_client` Python package as well as the command line interface of the `dicomweb_client` program. + + +## Citation + +Please cite the following article when using the client for scientific studies: [Herrmann et al. J Path Inform. 2018](http://www.jpathinformatics.org/article.asp?issn=2153-3539;year=2018;volume=9;issue=1;spage=37;epage=37;aulast=Herrmann): + +```None +@article{jpathinform-2018-9-37, + Author={ + Herrmann, M. D. and Clunie, D. A. and Fedorov A. and Doyle, S. W. and Pieper, S. and + Klepeis, V. and Le, L. P. and Mutter, G. L. and Milstone, D. S. and Schultz, T. J. and + Kikinis, R. and Kotecha, G. K. and Hwang, D. H. and Andriole, K, P. and Iafrate, A. J. and + Brink, J. A. and Boland, G. W. and Dreyer, K. J. and Michalski, M. and + Golden, J. A. and Louis, D. N. and Lennerz, J. K. + }, + Title={Implementing the {DICOM} standard for digital pathology}, + Journal={Journal of Pathology Informatics}, + Year={2018}, + Number={1}, + Volume={9}, + Number={37} +} + +``` + + + +%package -n python3-dicomweb-client +Summary: Client for DICOMweb RESTful services. +Provides: python-dicomweb-client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dicomweb-client +# DICOMweb Client + +[](https://github.com/ImagingDataCommons/dicomweb-client/actions) +[](https://pypi.python.org/pypi/dicomweb-client/) +[](https://pypi.org/project/dicomweb-client/) +[](https://pepy.tech/project/dicomweb-client) + + +Python client for DICOMweb services. + + +## Documentation + +Please refer to the online documentation at [dicomweb-client.readthedocs.io](https://dicomweb-client.readthedocs.io), which includes a user guide with examples, a developer guide, and complete documentation of the application programming interface of the `dicomweb_client` Python package as well as the command line interface of the `dicomweb_client` program. + + +## Citation + +Please cite the following article when using the client for scientific studies: [Herrmann et al. J Path Inform. 2018](http://www.jpathinformatics.org/article.asp?issn=2153-3539;year=2018;volume=9;issue=1;spage=37;epage=37;aulast=Herrmann): + +```None +@article{jpathinform-2018-9-37, + Author={ + Herrmann, M. D. and Clunie, D. A. and Fedorov A. and Doyle, S. W. and Pieper, S. and + Klepeis, V. and Le, L. P. and Mutter, G. L. and Milstone, D. S. and Schultz, T. J. and + Kikinis, R. and Kotecha, G. K. and Hwang, D. H. and Andriole, K, P. and Iafrate, A. J. and + Brink, J. A. and Boland, G. W. and Dreyer, K. J. and Michalski, M. and + Golden, J. A. and Louis, D. N. and Lennerz, J. K. + }, + Title={Implementing the {DICOM} standard for digital pathology}, + Journal={Journal of Pathology Informatics}, + Year={2018}, + Number={1}, + Volume={9}, + Number={37} +} + +``` + + + +%package help +Summary: Development documents and examples for dicomweb-client +Provides: python3-dicomweb-client-doc +%description help +# DICOMweb Client + +[](https://github.com/ImagingDataCommons/dicomweb-client/actions) +[](https://pypi.python.org/pypi/dicomweb-client/) +[](https://pypi.org/project/dicomweb-client/) +[](https://pepy.tech/project/dicomweb-client) + + +Python client for DICOMweb services. + + +## Documentation + +Please refer to the online documentation at [dicomweb-client.readthedocs.io](https://dicomweb-client.readthedocs.io), which includes a user guide with examples, a developer guide, and complete documentation of the application programming interface of the `dicomweb_client` Python package as well as the command line interface of the `dicomweb_client` program. + + +## Citation + +Please cite the following article when using the client for scientific studies: [Herrmann et al. J Path Inform. 2018](http://www.jpathinformatics.org/article.asp?issn=2153-3539;year=2018;volume=9;issue=1;spage=37;epage=37;aulast=Herrmann): + +```None +@article{jpathinform-2018-9-37, + Author={ + Herrmann, M. D. and Clunie, D. A. and Fedorov A. and Doyle, S. W. and Pieper, S. and + Klepeis, V. and Le, L. P. and Mutter, G. L. and Milstone, D. S. and Schultz, T. J. and + Kikinis, R. and Kotecha, G. K. and Hwang, D. H. and Andriole, K, P. and Iafrate, A. J. and + Brink, J. A. and Boland, G. W. and Dreyer, K. J. and Michalski, M. and + Golden, J. A. and Louis, D. N. and Lennerz, J. K. + }, + Title={Implementing the {DICOM} standard for digital pathology}, + Journal={Journal of Pathology Informatics}, + Year={2018}, + Number={1}, + Volume={9}, + Number={37} +} + +``` + + + +%prep +%autosetup -n dicomweb-client-0.59.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-dicomweb-client -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.59.1-1 +- Package Spec generated @@ -0,0 +1 @@ +c4c0c23e2604c8f82e0df50eb9b726e6 dicomweb-client-0.59.1.tar.gz |
