Name: radeon-profile-daemon Version: 20190603 Release: 1%{?dist} Summary: Daemon for radeon-profile GUI License: GPLv2+ URL: https://github.com/marazmista/radeon-profile-daemon Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: make BuildRequires: pkgconfig(Qt5) >= 5.6 BuildRequires: systemd-rpm-macros Requires: radeon-profile%{?_isa} %description System daemon for reading info about Radeon GPU clocks and volts as well as control card power profiles so the GUI radeon-profile application can be run as normal user. Supports opensource xf86-video-ati and xf86-video-amdgpu drivers. %prep %autosetup -p1 %build pushd %{name} %qmake_qt5 %{name}.pro %make_build popd %install %make_install \ INSTALL_ROOT=%{buildroot} \ -C %{name} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_pstun_with_restart %{name}.service %files %{_bindir}/%{name} %{_unitdir}/*.service %changelog * Fri Jan 8 2021 Artem Polishchuk - 20190603-1 - Initial package