-
Notifications
You must be signed in to change notification settings - Fork 22
Add RPM Spec #25
Copy link
Copy link
Closed
Description
Unsure where you'd want this in the repo, so including a quick RPM spec below.
Name: pstate-frequency
Version: 3.4.0
Release: 1
License: MIT
Summary: Easily control Intel p-state driver on Linux
Url: https://pyamsoft.github.io/pstate-frequency
Group: System
Source0: https://github.com/pyamsoft/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Requires: kernel-tools
Requires: coreutils
Requires: grep
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Pstate-frequency is able to adjust the Intel p-state driver values for the minimum and maximum scaling frequencies and the state of turbo boost.
%prep
%setup -q
%install
make PREFIX=%{_prefix} DESTDIR=%{buildroot} INCLUDE_SYSTEMD_UNIT=0 INCLUDE_BASH_COMPLETION=0 INCLUDE_UDEV_RULE=0 install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%doc %{_docdir}/%{name}/README.md
%doc %{_docdir}/%{name}/LICENSE
%changelog
* Wed Apr 20 2016 3.4.0-1
- Initial release (v3.4.0-1)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels