summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-31 09:31:04 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-31 09:31:04 +0000
commita6de36538db10e510f9b80294935d9b1001dbf80 (patch)
treeacc86ffdeb3ea71b72ef31f05d85304ea9817b14
parent58a51aad2217b5a30d940edae61fbdc367c3888d (diff)
automatic import of python-pytorchvideoopeneuler23.09openeuler22.03_LTS_SP2
-rw-r--r--.gitignore1
-rw-r--r--pytorchvideo.spec56
-rw-r--r--sources1
3 files changed, 58 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e0cbe84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-pytorchvideo-0.1.3.tar.gz
diff --git a/pytorchvideo.spec b/pytorchvideo.spec
new file mode 100644
index 0000000..eb997f6
--- /dev/null
+++ b/pytorchvideo.spec
@@ -0,0 +1,56 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytorchvideo
+Version: 0.1.3
+Release: 1
+Summary: pytorchvideo summary
+License: Apache-2.0
+URL: https://pytorchvideo.org/
+Source0: https://github.com/facebookresearch/pytorchvideo/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+Requires: python3 >= 3.7
+Requires: python3-av
+Requires: python3-fvcore
+Requires: python3-parameterized
+Requires: python3-networkx
+
+%description
+facebook research pytorchvideo
+
+%package -n python3-pytorchvideo
+Summary: facebook research pytorchvideo
+Provides: python-pytorchvideo
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-wheel
+BuildRequires: python3-pytorch
+
+%description -n python3-pytorchvideo
+pytorchvideo description
+
+%package help
+Summary: Development documents and examples for torch
+Provides: python3-pytorchvideo-doc
+%description help
+pytorchvideo help doc description
+
+%prep
+%autosetup -p1 -n pytorchvideo-%{version}
+
+%build
+%pyproject_build
+
+%install
+%pyproject_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+
+%files -n python3-pytorchvideo
+%doc *.md
+%license LICENSE
+%{python3_sitelib}/pytorchvideo/*
+%{python3_sitelib}/pytorchvideo-%{version}.dist-info/*
+
+
+%changelog
+* Sat. Mar 30 2024 JackLiu <liuming@mzsat.cn> - 0.1.3-1
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..b4e4467
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+996ee59f9df16ef87c4e8781f0c5858c python-pytorchvideo-0.1.3.tar.gz