diff options
Diffstat (limited to 'hjson.spec')
-rw-r--r-- | hjson.spec | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/hjson.spec b/hjson.spec new file mode 100644 index 0000000..0379803 --- /dev/null +++ b/hjson.spec @@ -0,0 +1,51 @@ +%global _empty_manifest_terminate_build 0 +Name: hjson +Version: 3.0.2 +Release: 1 +Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration +License: Apache-2.0 +URL: https://www.deepspeed.ai/ +Source0: https://github.com/microsoft/DeepSpeed/archive/refs/tags/v0.13.0.tar.gz#/%{name}-py-%{version}.tar.gz + +%description +DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective. + +%package -n python3-%{name} +Summary: python3 +Provides: python-hjson + +#Set custom spec file configurations for python +%define python3_sitearch /usr/lib/python%{python3_version}/site-packages + +%description -n python3-%{name} +python3-%{name} description + +%package help +Summary: Development documents and examples for DeepSpeed +Provides: python3-%{name}-doc +%description help +hjson for python3 help doc + +%prep +%autosetup -p1 -n %{name}-py-%{version} + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} + +%files -n python3-%{name} +%doc *.md +%license LICENSE.txt +%{_bindir}/%{name}* +%{python3_sitearch}/%{name}/* +%{python3_sitearch}/%{name}-%{version}.dist-info/* + +#%files help -f doclist.lst +#%{_docdir}/* + +%changelog +* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.13.0-1 +- Package init |