Name: torchtext Version: 0.17.1 Release: 1%{?dist} Summary: Text utilities and datasets for PyTorch License: MIT URL: https://github.com/pytorch/text Source0: https://openi.pcl.ac.cn/JunJun-Liu/torchtext/text-0.17.1.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytorch >= 2.0.1 BuildRequires: cmake BuildRequires: ninja-build Requires: python3 Requires: python3-pytorch >= 2.0.1 %description TorchText is a package that consists of data processing utilities and popular datasets for natural language processing (NLP) in PyTorch. It aims to provide easy access to common datasets and utilities to work with textual data. %prep %setup -q -n text-0.17.1 %build python3 setup.py build %install %py3_install %files %license LICENSE %doc README.md %{python3_sitelib}/torchtext* %changelog * Wed Feb 28 2024 Junjun Liu <172074482@qq.com> - 0.17.1-1 - First package for torchtext version 0.17.1