File: cpuid.spec

package info (click to toggle)
cpuid 20140123-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,112 kB
  • ctags: 1,312
  • sloc: ansic: 17,590; makefile: 273
file content (33 lines) | stat: -rw-r--r-- 843 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
%define version 20140123
%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}

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

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