Name: ryzenadj Version: 0.0.git.221.cb610600 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#cb61060014d028eb1cee6171419960f1cea2824d: Source: RyzenAdj-cb610600.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