From 56af451cc8a7ab76cebd092418b3848a444bb79e Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 31 Mar 2024 11:47:10 +0000 Subject: automatic import of python-pytorchvideo --- python-pytorchvideo.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 python-pytorchvideo.spec (limited to 'python-pytorchvideo.spec') 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 -- cgit v1.2.3