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 --- .gitignore | 1 + python-pytorchvideo.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+) create mode 100644 python-pytorchvideo.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..74d6d32 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/sources b/sources new file mode 100644 index 0000000..c693d85 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +996ee59f9df16ef87c4e8781f0c5858c pytorchvideo-0.1.3.tar.gz -- cgit v1.2.3