forked from amd/amd_energy
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathzenergy.spec
30 lines (22 loc) · 963 Bytes
/
zenergy.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%if 0%{?fedora}
%global debug_package %{nil}
%endif
Name: zenergy
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: Exposes the energy counters that are reported via the Running Average Power Limit (RAPL) Model-specific Registers (MSRs) via the hardware monitor (HWMON) sysfs interface.
License: GPLv2
URL: https://github.com/BoukeHaarsma23/zenergy
Source: %{url}/archive/refs/heads/master.tar.gz
Provides: %{name}-kmod-common = %{version}
Requires: %{name}-kmod >= %{version}
BuildRequires: systemd-rpm-macros
%description
Based on AMD_ENERGY driver, but with some jiffies added so non-root users can read it safely. Exposes the energy counters that are reported via the Running Average Power Limit (RAPL) Model-specific Registers (MSRs) via the hardware monitor (HWMON) sysfs interface.
%prep
%setup -q -c %{name}-master
%files
%doc %{name}-master/README.md
%license %{name}-master/LICENSE
%changelog
{{{ git_dir_changelog }}}