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