diff options
Diffstat (limited to 'python-pytorch-lightning.spec')
-rw-r--r-- | python-pytorch-lightning.spec | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/python-pytorch-lightning.spec b/python-pytorch-lightning.spec new file mode 100644 index 0000000..21eacec --- /dev/null +++ b/python-pytorch-lightning.spec @@ -0,0 +1,54 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytorch-lightning +Version: 2.1.3 +Release: 1 +Summary: Pytorch Lightning package for python3 +License: MIT +URL: https://github.com/Lightning-AI +Source0: https://github.com/Lightning-AI/pytorch-lightning/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildArch: noarch + +%description +PyTorch Lightning is just organized PyTorch - Lightning disentangles PyTorch code to decouple the science from the engineering. + +%package -n python3-pytorch-lightning +Summary: Pytorch Lightning package for python3 +Provides: python-pytorch-lightning +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildRequires: python3-wheel + +%description -n python3-pytorch-lightning +Pytorch Lightning package for python3 + +%package help +Summary: Development documents and examples for Pytorch Lightning +Provides: python3-pytorch-lightning-doc + +%description help +Python3 Pytorch Lightning help documents + +%prep +%autosetup -p1 -n lightning-%{version} + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} + +%files -n python3-pytorch-lightning +%doc *.md +%doc CITATION.cff +%license LICENSE +%{_bindir}/lightning +%{python3_sitelib}/lightning/* +%{python3_sitelib}/lightning-%{version}.dist-info/* + + +%changelog +* Fri Jan 26 2024 menma <1316818279@qq.com> - 2.1.3-1 +- Package init |