# Generated by rust2rpm 27 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 Name: cyan-skillfish-governor Version: v0.1.2 Release: 1.20250823183851041865.package.fedora.1.gca894df%{?dist} Summary: GPU governor for the AMD Cyan Skillfish APU SourceLicense: MIT License: MIT URL: https://github.com/Magnap/cyan-skillfish-governor Source: cyan-skillfish-governor-v0.1.2.tar.gz BuildRequires: cargo-rpm-macros >= 26 libdrm-devel rust-libdrm_amdgpu_sys+default-devel rust-watch+default-devel rust-toml+default-devel %description GPU governor for the AMD Cyan Skillfish APU. Continously maintains a target frequency, and adjusts the actual GPU frequency when the deviation is too great. If the CPU is continously busy for too long, ramps up the target frequency rapidly. %prep %autosetup -n cyan-skillfish-governor-v0.1.2 -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/cyan-skillfish-governor %changelog %autochangelog