%global pypi_name iopath %global pypi_version 0.1.9 %global pypi_summary Datasets, Transforms and Models specific to Computer Vision %global pypi_description %{pypi_summary} %global debug_package %{nil} Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: %{pypi_summary} License: MIT License URL: https://github.com/facebookresearch/iopath Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/iopath-%{version}.tar.gz BuildRequires: cmake BuildRequires: ninja-build BuildRequires: g++ BuildRequires: python3-devel %description %{pypi_description} %package -n python3-%{pypi_name} Summary: %{pypi_summary} %description -n python3-%{pypi_name} %{pypi_description} %prep %autosetup -p1 -n %{pypi_name}-%{pypi_version} %build %pyproject_build %install %pyproject_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitearch}/%{pypi_name} %{python3_sitearch}/%{pypi_name}-*.egg-info/ %changelog * Sun Mar 31 2024 YunShu - add iopath