]>
Commit | Line | Data |
---|---|---|
47117b3e JB |
1 | Summary: x86 CPUID information display program |
2 | Summary(pl.UTF-8): Program wyświetlający informacje CPUID dla procesorów x86 | |
61837023 | 3 | Name: cpuid |
31a6b694 | 4 | Version: 20150606 |
e6050e7e | 5 | Release: 2 |
47117b3e | 6 | License: GPL v2+ |
61837023 | 7 | Group: Applications/System |
14d4fcd0 | 8 | Source0: http://www.etallen.com/cpuid/%{name}-%{version}.src.tar.gz |
31a6b694 | 9 | # Source0-md5: 9df0752a2e3bb40ab4db694f6fa7add9 |
e6050e7e | 10 | Patch0: %{name}-x32.patch |
14d4fcd0 | 11 | URL: http://www.etallen.com/cpuid.html |
e6050e7e | 12 | ExclusiveArch: %{ix86} %{x8664} x32 |
61837023 TP |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
47117b3e JB |
16 | Program that displays detailed information about x86 CPU(s) gathered |
17 | from the CPUID instruction. | |
61837023 | 18 | |
6f84554c JR |
19 | %description -l pl.UTF-8 |
20 | Program wyświetlający szczegółowe informacje na temat zainstalowanego | |
47117b3e | 21 | procesora (lub procesorów) x86 zebrane przy użyciu instrukcji CPUID. |
61837023 TP |
22 | |
23 | %prep | |
24 | %setup -q | |
e6050e7e | 25 | %patch0 -p1 |
61837023 TP |
26 | |
27 | %build | |
2c413a21 | 28 | %{__make} \ |
da6de242 | 29 | CC="%{__cc}" \ |
2c413a21 | 30 | CFLAGS="%{rpmcflags} -Wall" |
61837023 TP |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
14d4fcd0 | 34 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1} |
61837023 | 35 | |
14d4fcd0 TP |
36 | install %{name} $RPM_BUILD_ROOT%{_sbindir} |
37 | cp -a %{name}.man $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 | |
61837023 TP |
38 | |
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
14d4fcd0 | 44 | %doc ChangeLog FUTURE |
261515d0 JB |
45 | %attr(755,root,root) %{_sbindir}/cpuid |
46 | %{_mandir}/man1/cpuid.1* |