summaryrefslogtreecommitdiff
path: root/pytorchvideo.spec
blob: 9778c41b6bd68e4c626557de506f749020540c77 (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
%global _unpackaged_files_terminate_build 0

Name:		pytorchvideo
Version:	0.1.3
Release:	1%{?dist}
Summary:	%{name} is a torch ecosystem tools	
License:	MIT
URL:		https://pytorchvideo.org	
Source0:	https://github.com/facebookresearch/%{name}/archive/refs/tags/%{version}.tar.gz	

%description
A deep learning library for video understanding research.

# pkg section 1
%package -n python3-pytorchvideo
Summary:	A deep learning library for video understanding research.
Provides:	python-pytorchvideo
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-setuptools_scm
BuildRequires:	python3-rpm-macros
BuildRequires:	python3-pip
BuildRequires:	python3-wheel
BuildRequires:	python3-hatchling

# use the auto build requires
%?python_enable_dependency_generator

%description -n python3-pytorchvideo
A deep learning library for video understanding research.

%package help
Summary:	docs for the pytorchvideo
Provides:	python3-pytorchvideo-doc
%description help
description for the doc of the python3-pytorchvideo's usage

%prep
%autosetup -p1 -n %{name}-%{version}

%build
%pyproject_build

%install
%pyproject_install

%files -n python3-%{name}
%doc *.md
%license LICENSE
%{python3_sitelib}/%{name}/

%changelog
* Fri Jan 26 2024 menma <1316818279@qq.com> - 1.6.3-1
- Package init