blob: 7ca371ee495564d3447f96c6ca9452805b0bbfd7 (
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
52
53
54
55
56
|
%global _empty_manifest_terminate_build 0
%global pypi_name hjson
Name: python-%{pypi_name}
Version: 3.1.0
Release: 1
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
License: MIT
URL: https://www.json.org/json-en.html
Source0: https://github.com/hjson/hjson-py/releases/tag/v%{version}#/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description
DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
%package -n python3-hjson
Summary: hjson for python3
Provides: python3.11dist(hjson) = %{version}
%description -n python3-hjson
python3-%{pypi_name} description
%package help
Summary: Development documents and examples for %{name}
Provides: python3-%{pypi_name}-doc
%description help
hjson for python3 help doc
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc *.md
%doc README.rst
%license LICENSE.txt
%{_bindir}/%{pypi_name}*
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/*
%{python3_sitelib}/%{pypi_name}/*
#%files help -f doclist.lst
#%{_docdir}/*
%changelog
* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.13.0-1
- Package init
|