]> git.pld-linux.org Git - packages/cpuid.git/blob - cpuid.spec
d47082ec3ca27af5584f553d8fe67b6c26e0bdfe
[packages/cpuid.git] / cpuid.spec
1 Summary:        x86 CPUID display program
2 Summary(pl.UTF-8):      CPUID dla procesorów x86
3 Name:           cpuid
4 Version:        3.3
5 Release:        3
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://www.ka9q.net/code/cpuid/%{name}-%{version}.tar.gz
9 # Source0-md5:  641af7bb12e1feb0b0d97ed68908297c
10 URL:            http://www.ka9q.net/code/cpuid/
11 Patch0:         %{name}-Makefile.patch
12 ExclusiveArch:  %{ix86} %{x8664}
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Program that displays details about x86 installed processor.
17
18 %description -l pl.UTF-8
19 Program wyświetlający szczegółowe informacje na temat zainstalowanego
20 procesora (x86).
21
22 %prep
23 %setup -q
24 %patch0 -p1
25
26 %build
27 %{__make} \
28         CC="%{__cc}" \
29         CFLAGS="%{rpmcflags} -Wall"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_sbindir}
34
35 install cpuid $RPM_BUILD_ROOT%{_sbindir}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_sbindir}/*
This page took 0.541211 seconds and 2 git commands to generate.