diff options
author | CoprDistGit <infra@openeuler.org> | 2024-03-31 11:47:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-03-31 11:47:10 +0000 |
commit | 56af451cc8a7ab76cebd092418b3848a444bb79e (patch) | |
tree | 52a025f9b0c884e9603390c301edac45c156c94f | |
parent | edc6e5983fa2814efea8af9f629740be41d92bf3 (diff) |
automatic import of python-pytorchvideo
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pytorchvideo.spec | 46 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 48 insertions, 0 deletions
@@ -0,0 +1 @@ +/pytorchvideo-0.1.3.tar.gz diff --git a/python-pytorchvideo.spec b/python-pytorchvideo.spec new file mode 100644 index 0000000..76a4911 --- /dev/null +++ b/python-pytorchvideo.spec @@ -0,0 +1,46 @@ +%global pypi_name pytorchvideo +%global pypi_version 0.1.3 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1%{?dist} +Summary: A deep learning library for video understanding research. + +License: BSD 3-Clause +URL: https://github.com/facebookresearch/pytorchvideo +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/pytorchvideo-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: ninja-build + +BuildRequires: python3-tqdm +BuildRequires: python3-requests +BuildRequires: python3-devel +BuildRequires: python3-pytorch >= 2.1.2 + +%description +A deep learning library for video understanding research. + +%package -n python3-%{pypi_name} +Summary: %{summary} + +%description -n python3-%{pypi_name} +A deep learning library for video understanding research. + +%prep +%autosetup -p1 -n pytorchvideo-%{pypi_version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{python3_sitearch}/%{pypi_name} + +%changelog +* Sun Mar 31 2024 YunShu +- add pytorchvideo @@ -0,0 +1 @@ +996ee59f9df16ef87c4e8781f0c5858c pytorchvideo-0.1.3.tar.gz |