Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 830ada80620fd413958995a40ae2ab16 > files > 2

cpuid-1.0-0.20060917.1mdv2009.0.src.rpm

%define snapshot 20060917

Summary:	Dumps CPUID information about the CPU(s)
Name:		cpuid
Version:	1.0
Release:	%mkrel 0.%{snapshot}.1
License:	BSD
Source:		cpuid-%{snapshot}.src.tar.gz
Group:		System/Kernel and hardware
URL:		http://www.etallen.com
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}

%description
Cpuid dumps detailed information about the CPU(s) gathered from the
CPUID instruction, and also determines the exact model of CPU(s). It
supports Intel, AMD, and VIA CPUs, as well as older Transmeta, Cyrix,
UMC, NexGen, and Rise CPUs.

%prep
%setup -q -n %{name}-%{snapshot}

%build
make

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir} \
	%{buildroot}%{_mandir}/man1

install -m 755 cpuid %{buildroot}%{_bindir}
install -m 644 cpuid.man %{buildroot}%{_mandir}/man1/cpuid.1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog FUTURE LICENSE
%{_bindir}/cpuid
%{_mandir}/man1/cpuid.1*



%changelog
* Mon Feb 18 2008 Olivier Blin <oblin@mandriva.com> 1.0-0.20060917.1mdv2008.1
+ Revision: 171593
- update to 20060917 snapshot
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request
    - import cpuid


* Mon Aug 01 2006 Giuseppe Ghibò <ghibo@mandriva.com> 1.0-0.20060730.1mdv2007.0
- Initial Release.