%global _empty_manifest_terminate_build 0 Name: python-torchvision Version: 0.16.2 Release: 1 Summary: torchvision package for python3 License: BSD 3-Clause URL: https://pytorch.org/vision/stable/index.html Source0: https://github.com/pytorch/vision/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Requires: python3 >= 3.8 %description PyTorchVision is a computer vision library based on PyTorch. This package provides tools and pre-trained models for various computer vision tasks. %package -n python3-torchvision Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration Provides: python-torchvision BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-pytorch %description -n python3-torchvision The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision. %package help Summary: Development documents and examples for torch Provides: python3-torchvision-doc %description help torchvision help docs %prep %autosetup -p1 -n vision-%{version} %build %py3_build %install %py3_install %files -n python3-torchvision %doc *.md %license LICENSE %{python3_sitearch}/torchvision/* %{python3_sitearch}/torchvision-%{version}-py%{python3_version}.egg-info/* %changelog * Fri Jan 26 2024 menma <1316818279@qq.com> - 0.16.2-1 - Package init