SPECS: msr-tools.spec (NEW) - new

qboosh qboosh at pld-linux.org
Sat Jan 19 20:09:10 CET 2008


Author: qboosh                       Date: Sat Jan 19 19:09:10 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   msr-tools.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/msr-tools.spec
diff -u /dev/null SPECS/msr-tools.spec:1.1
--- /dev/null	Sat Jan 19 20:09:10 2008
+++ SPECS/msr-tools.spec	Sat Jan 19 20:09:05 2008
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary:	Utilities to read/write MSR CPU registers
+Summary(pl.UTF-8):	Narzędzia do odczytu i zapisu rejestrów MSR procesora
+Name:		msr-tools
+Version:	1.1.2
+Release:	1
+License:	GPL v2+
+Group:		Applications/System
+Source0:	ftp://ftp.kernel.org/pub/linux/utils/cpu/msr-tools/%{name}-%{version}.tar.bz2
+# Source0-md5:	2b15ee434624533a3bd412940bfdd6bc
+ExclusiveArch:	%{ix86} %{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Utilities to read/write MSR CPU registers.
+
+%description -l pl.UTF-8
+Narzędzia do odczytu i zapisu rejestrów MSR procesora.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -Wall -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" \
+	LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+
+%{__make} install \
+	sbindir=$RPM_BUILD_ROOT%{_sbindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/rdmsr
+%attr(755,root,root) %{_sbindir}/wrmsr
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-01-19 19:09:05  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list