]> git.pld-linux.org Git - packages/cpuid.git/blob - cpuid.spec
bb1229eacbdb0619eaff76ad4d6ae7b2c599b310
[packages/cpuid.git] / cpuid.spec
1 Summary:        x86 CPUID information display program
2 Summary(pl.UTF-8):      Program wyświetlający informacje CPUID dla procesorów x86
3 Name:           cpuid
4 Version:        20120601
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://www.etallen.com/cpuid/%{name}-%{version}.src.tar.gz
9 # Source0-md5:  4012dd0dba5e214b59de54db22e5e79b
10 Patch0:         %{name}-format-security.patch
11 URL:            http://www.etallen.com/cpuid.html
12 ExclusiveArch:  %{ix86} %{x8664}
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Program that displays detailed information about x86 CPU(s) gathered
17 from the CPUID instruction.
18
19 %description -l pl.UTF-8
20 Program wyświetlający szczegółowe informacje na temat zainstalowanego
21 procesora (lub procesorów) x86 zebrane przy użyciu instrukcji CPUID.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26
27 %build
28 %{__make} \
29         CC="%{__cc}" \
30         CFLAGS="%{rpmcflags} -Wall"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
35
36 install %{name} $RPM_BUILD_ROOT%{_sbindir}
37 cp -a %{name}.man $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc ChangeLog FUTURE
45 %attr(755,root,root) %{_sbindir}/cpuid
46 %{_mandir}/man1/cpuid.1*
This page took 0.069562 seconds and 2 git commands to generate.