File: cpuid.spec

package info (click to toggle)
cpuid 20260220-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,536 kB
  • sloc: ansic: 21,964; makefile: 169; perl: 63
file content (36 lines) | stat: -rw-r--r-- 940 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
%define version 20260220
%define release 1
Summary: dumps CPUID information about the CPU(s)
Name: cpuid
Version: %{version}
Release: %{release}
License: GPL
Group: System Environment/Base
Source: cpuid-%{version}.src.tar.gz
Packager: Todd Allen <cpuid@etallen.com>
URL: http://www.etallen.com/cpuid.html
BuildRoot: %{getenv:HOME}/rpmbuild/BUILDROOT/%{name}-%{version}-%{release}.%{_arch}
%description
cpuid dumps detailed information about the CPU(s) gathered from the CPUID 
instruction, and also determines the exact model of CPU(s).

%prep
%setup

%build
%{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"

%install
%{__make} install BUILDROOT=${RPM_BUILD_ROOT} INSTALL_STRIP=

%clean
%{__rm} -rf $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION

%files
%defattr(-,root,root)
%{_bindir}/cpuid
%{_mandir}/man1/cpuid.1.gz
%{_bindir}/cpuinfo2cpuid
%{_mandir}/man1/cpuinfo2cpuid.1.gz
%doc ChangeLog FUTURE FAMILY.NOTES
%license LICENSE