]> git.pld-linux.org Git - packages/x86info.git/blob - x86info.spec
- tabs in preamble
[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.20
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://www.codemonkey.org.uk/projects/x86info/%{name}-%{version}.tgz
9 # Source0-md5:  fc593ee2510fc2e265de9c2681170842
10 URL:            http://www.codemonkey.org.uk/projects/x86info/
11 ExclusiveArch:  %{ix86} %{x8664}
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
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.
19
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.
25
26 %prep
27 %setup -q
28
29 %build
30 %{__make} x86info \
31         CC="%{__cc}" \
32         CFLAGS="%{rpmcflags}"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
37
38 install %{name} $RPM_BUILD_ROOT%{_bindir}
39 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README TODO
47 %attr(755,root,root) %{_bindir}/*
48 %{_mandir}/man1/*
This page took 0.10063 seconds and 3 git commands to generate.