blob: 0379803179d4ba96d3c7188717bed126a53d4640 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
|