Name: amdctl Version: 0.0.git.209.d7bccd24 Release: 1%{?dist} Summary: Set P-State voltages and clock speeds on recent AMD CPUs on Linux License: GPLv3 URL: https://github.com/KyleGospo/amdctl VCS: git+https://github.com/KyleGospo/amdctl.git#d7bccd246c16b9167444f8d93a6aa808e90d23a8: Source: amdctl-d7bccd24.tar.gz BuildRequires: make BuildRequires: gcc %description Set P-State voltages and clock speeds on recent AMD CPUs on Linux. Disclaimer: This software can damage your hardware, use at your own risk. %define debug_package %{nil} %prep %setup -T -b 0 -q -n amdctl %build %set_build_flags %make_build %install mkdir -p %{buildroot}%{_sbindir} install -m 0755 ./%{name} %{buildroot}%{_sbindir}/ mkdir -p %{buildroot}%{_modulesloaddir} cat > %{buildroot}%{_modulesloaddir}/%{name}.conf << EOF msr EOF %files %license LICENSE %doc README.md %{_sbindir}/%{name} %{_modulesloaddir}/%{name}.conf %changelog