diff --git a/pydicom-2.1.2.tar.gz b/pydicom-2.1.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3989ee471b1d10a2284efb15b8b04d25ee4f2eda Binary files /dev/null and b/pydicom-2.1.2.tar.gz differ diff --git a/python-pydicom.spec b/python-pydicom.spec new file mode 100644 index 0000000000000000000000000000000000000000..1a07c4ea7c0cd0850b095b3abb987ff636998a34 --- /dev/null +++ b/python-pydicom.spec @@ -0,0 +1,53 @@ +%global modname pydicom + +%global _description \ +pydicom is a pure python package for working with DICOM files. It was made for\ +inspecting and modifying DICOM data in an easy "pythonic" way. The\ +modifications can be written again to a new file. + +Name: python-%{modname} +Version: 2.1.2 +Release: 1 +Summary: Read, modify and write DICOM files with python code + +License: MIT and BSD +URL: https://github.com/darcymason/%{modname} +Source0: %{modname}-%{version}.tar.gz + +BuildArch: noarch + +%description %_description + +%package -n python3-%{modname} +Summary: %{summary} + + +BuildRequires: python3-devel python3-setuptools python3-six + +Requires: python3-dateutil +Recommends: python3-numpy +Recommends: python3-matplotlib +Recommends: python3-tkinter +Recommends: python3-pillow + +%description -n python3-%{modname} %_description + +%prep +%autosetup -n %{modname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{modname} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{modname}* +%{python3_sitelib}/dicom.py +%{python3_sitelib}/__pycache__/dicom.* + +%changelog +* Wed Jul 7 2021 Lianguo Wang - 2.1.2-1 +- Initial package for openEuler, version is 2.1.2