msr-tools/msr-tools.spec

50 lines
1.3 KiB
RPMSpec

Name: msr-tools
Version: 1.3
Release: 1mamba
Summary: Utilities to read and write a CPU MSR
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kernel.org
Source: https://github.com/01org/msr-tools.git/msr-tools-%{version}/msr-tools-%{version}.tar.bz2
#Source: http://www.kernel.org/pub/linux/utils/cpu/msr-tools/msr-tools-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Utilities to read and write a CPU MSR.
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_sbindir}
%makeoldinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/cpuid
%{_sbindir}/rdmsr
%{_sbindir}/wrmsr
%changelog
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1mamba
- update to 1.3
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 1.2-2mamba
- automatic rebuild by autodist
* Wed May 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- package created by autospec