Name: amdctl Version: 0.0.git.207.4eb2b857 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#4eb2b8577600e0f5d66a8f34d99b66a2efd104ee: Source: amdctl-4eb2b857.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}/ install -d %{buildroot}%{_sysconfdir}/modules-load.d cat > %{buildroot}%{_sysconfdir}/modules-load.d/%{name}.conf << EOF msr EOF %files %license LICENSE %doc README.md %{_sbindir}/%{name} %{_sysconfdir}/modules-load.d/%{name}.conf %changelog