diff --git a/README.md b/README.md index aed9d9a..5ed08f3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # msr-tools +Utilities to read and write a CPU MSR. + diff --git a/msr-tools.spec b/msr-tools.spec new file mode 100644 index 0000000..6b4d43b --- /dev/null +++ b/msr-tools.spec @@ -0,0 +1,44 @@ +Name: msr-tools +Version: 1.2 +Release: 2mamba +Summary: Utilities to read and write a CPU MSR +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kernel.org +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}/rdmsr +%{_sbindir}/wrmsr + +%changelog +* Mon Jul 15 2013 Automatic Build System 1.2-2mamba +- automatic rebuild by autodist + +* Wed May 27 2009 Silvan Calarco 1.2-1mamba +- package created by autospec