Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
x86info
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Added
x86info.spec
@@ -0,0 +1,69 @@ +# +# spec file for package x86info (Version 1.20) +# +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: x86info +License: GPL v2 or later +URL: http://www.codemonkey.org.uk/projects/x86info/ +Group: System/Monitoring +Autoreqprov: on +Version: 1.20 +Release: 1 +Summary: Show x86 CPU Information +Source: http://www.codemonkey.org.uk/x86info/x86info-%{version}.tgz +BuildRequires: gcc +ExclusiveArch: %{ix86} x86_64 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Unlike other 'cpuinfo' tools which just parse /proc/cpuinfo, x86info +probes the CPU registers to find out more information. It can discover +the contents of model-specific registers, discover CPU silicon +revisions, and more. + + + +Authors: +-------- + Dave Jones <davej@codemonkey.org.uk> + +%prep +%setup + +%build +export CFLAGS="$RPM_OPT_FLAGS" +make + +%install +mkdir -p $RPM_BUILD_ROOT/usr/bin +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 +install -m 755 x86info $RPM_BUILD_ROOT/usr/bin +install -m 644 x86info.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; + +%files +%defattr(-, root, root) +%doc %{_mandir}/man1/%{name}.1.gz +%doc README TODO +%{_bindir}/%{name} + +%changelog +* Tue Sep 11 2007 - bwalle@suse.de +- update to version 1.20 +* Fri Jul 26 2002 - rommel@suse.de +- Update to version 1.10 (see ChangeLog for full list of changes) +* Thu Dec 20 2001 - grimmer@suse.de +- Update to version 1.7 (see ChangeLog for full list of changes) +* Thu Nov 22 2001 - grimmer@suse.de +- Update to version 1.6 (see ChangeLog for full list of changes) +* Tue Aug 28 2001 - grimmer@suse.de +- Initial package for SuSE Linux (Version 1.5)