%global forgeurl https://git.sr.ht/~martijnbraam/lsplug Name: lsplug Version: 4 Release: %autorelease Summary: Nicer version of lsusb %forgemeta License: MIT URL: %{forgeurl} Source: %{forgesource} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Replacement for lsusb that shows more useful info and less useless info.} %description %_description %prep %forgeautosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files lsplug %check %pyproject_check_import %files -f %{pyproject_files} %{_bindir}/lsplug %license LICENSE %doc README.md %changelog %autochangelog