Name: pyprland Version: 2.4.3 Release: %autorelease Summary: Hyprland extensions made easy License: MIT URL: https://github.com/hyprland-community/pyprland Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %description Pyprland is a host process for multiple Hyprland extensions, aiming at simplicity and efficiency. It provides a variety of plugins you can enable to your liking. %prep %autosetup -p1 find -type f -exec sed -i '1s|^#!/bin/env python$|#!%{python3}|' {} + %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pyprland %files -f %{pyproject_files} %license LICENSE %doc README.md %{_bindir}/pypr %changelog %autochangelog