]>
Commit | Line | Data |
---|---|---|
cd3ee15b | 1 | Summary: Displays extended CPU information |
a1a247e6 | 2 | Summary(pl.UTF-8): Wyświetla rozszerzone informacje o procesorze |
cd3ee15b | 3 | Name: x86info |
9559f614 | 4 | Version: 1.27 |
2eb72406 | 5 | Release: 1 |
cd3ee15b PG |
6 | License: GPL v2 |
7 | Group: Applications | |
9559f614 JB |
8 | Source0: http://codemonkey.org.uk/projects/x86info/%{name}-%{version}.tgz |
9 | # Source0-md5: a618e4ac1b0aba44ee26aacad3611f1a | |
10 | URL: http://codemonkey.org.uk/projects/x86info/ | |
ee1e8fab | 11 | ExclusiveArch: %{ix86} %{x8664} |
cd3ee15b PG |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
70e81fa4 PG |
15 | Unlike other `cpuinfo' tools which just parse /proc/cpuinfo, x86info |
16 | probes the CPU registers to find out a lot more information. It can | |
17 | discover the contents of model-specific registers, discover CPU | |
18 | silicon revisions, and lots more. | |
cd3ee15b | 19 | |
cc78148c JR |
20 | %description -l pl.UTF-8 |
21 | W przeciwieństwie do innych narzędzi `cpuinfo', które tylko parsują | |
22 | /proc/cpuinfo, x86info sprawdza rejestry procesorów, aby się | |
23 | dowiedzieć wielu więcej informacji. Może odczytywać rejestry | |
24 | specyficzne dla danego modelu, serię wafla krzemowego i wiele więcej. | |
cd3ee15b PG |
25 | |
26 | %prep | |
2eb72406 | 27 | %setup -q |
cd3ee15b PG |
28 | |
29 | %build | |
14210473 | 30 | %{__make} x86info \ |
5cce8ded JB |
31 | CC="%{__cc}" \ |
32 | CFLAGS="%{rpmcflags}" | |
cd3ee15b PG |
33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
fce7ceae | 36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
cd3ee15b PG |
37 | |
38 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
fce7ceae | 39 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
cd3ee15b PG |
40 | |
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
08dab8ca | 46 | %doc README TODO |
0a962504 JB |
47 | %attr(755,root,root) %{_bindir}/x86info |
48 | %{_mandir}/man1/x86info.1* |