Name: ryzenadj Version: 0.0.git.223.282b0334 Release: 1%{?dist} Summary: Power management settings for Ryzen APU License: LGPL URL: https://github.com/KyleGospo/RyzenAdj VCS: git+https://github.com/KyleGospo/RyzenAdj.git#282b03341829aa8f19513d2dcda2edd9218db962: Source: RyzenAdj-282b0334.tar.gz BuildRequires: pciutils-devel BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ %global debug_package %{nil} %description Adjust power management settings for Ryzen Mobile Processors. %package devel Summary: Power management settings for Ryzen APU Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains necessary header files for RyzenAdj Development. %prep %setup -T -b 0 -q -n RyzenAdj %build %cmake -DCMAKE_BUILD_TYPE=Release %cmake_build %install install -Dsm 755 %{_builddir}/RyzenAdj/%__cmake_builddir/ryzenadj %{buildroot}/%{_bindir}/ryzenadj install -Dsm 744 %{_builddir}/RyzenAdj/%__cmake_builddir/libryzenadj.so %{buildroot}/%{_libdir}/libryzenadj.so install -Dm 744 %{_builddir}/RyzenAdj/lib/ryzenadj.h %{buildroot}/%{_includedir}/ryzenadj.h %files %{_bindir}/ryzenadj %{_libdir}/libryzenadj.so %files devel %{_includedir}/ryzenadj.h %changelog