summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-15 17:36:58 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-15 17:36:58 +0000
commitd106d44a610313ced26fca1de80d45e36b00f976 (patch)
tree865ea002d9fc008335eed4bba5b462c37f1dd6a5
parent742651b07c22a11f88c27dd372ac1efcaf1f1f29 (diff)
automatic import of pytorchvideo
-rw-r--r--.gitignore1
-rw-r--r--sources1
-rw-r--r--torchvideo.spec50
3 files changed, 52 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9036196 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytorchvideo-v0.1.3.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..94d0c5c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+996ee59f9df16ef87c4e8781f0c5858c pytorchvideo-v0.1.3.tar.gz
diff --git a/torchvideo.spec b/torchvideo.spec
new file mode 100644
index 0000000..e20f6be
--- /dev/null
+++ b/torchvideo.spec
@@ -0,0 +1,50 @@
+%global _empty_manifest_terminate_build 0
+%global _unpackaged_files_terminate_build 0
+
+Name: pytorchvideo
+Version: 0.1.3
+Release: 1%{?dist}
+Summary: A deep learning library for video understanding research
+License: BSD
+URL: https://github.com/pytorch/vision
+Source0: pytorchvideo-v0.1.3.tar.gz
+
+%description
+PyTorchVideo is a deep learning library with a focus on video understanding work. PytorchVideo provides reusable, modular and efficient components needed to accelerate the video understanding research.
+
+%package -n python3-pytorchvideo
+Summary: PyTorchVideo is a deep learning library with a focus on video understanding work. PytorchVideo provides reusable, modular and efficient components needed to accelerate the video understanding research.
+Provides: python-pytorchvideo
+BuildRequires: g++
+Requires: python3-pytorch
+Requires: python3-fvcore
+Requires: python3-iopath
+Requires: python3-pyav
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-setuptools_scm
+BuildRequires: python3-rpm-macros
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-hatchling
+
+%description -n python3-pytorchvideo
+PyTorchVideo is a deep learning library with a focus on video understanding work. PytorchVideo provides reusable, modular and efficient components needed to accelerate the video understanding research.
+
+%prep
+%autosetup -p1 -n %{name}-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+
+%files -n python3-pytorchvideo
+%doc *.md
+%license LICENSE
+%{python3_sitelib}/*
+
+%changelog
+* Mon Apr 15 2024 weilaijishu
+- Initial package