summaryrefslogtreecommitdiff
path: root/python-pytorchvideo.spec
blob: d28f74a80d2b6b4865752975bfd493949f6a8206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
%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

%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
* Fri Jan 26 2024 menma <1316818279@qq.com> - 0.1.3-1
- Package init