]> git.pld-linux.org Git - packages/cpuid.git/blob - cpuid.spec
- replaced with maintained alternative
[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:        20110305
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:  c13317518ce5d9ddba07eff9ead8080c
10 URL:            http://www.etallen.com/cpuid.html
11 ExclusiveArch:  %{ix86} %{x8664}
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Program that displays details about x86 installed processor.
16
17 %description -l pl.UTF-8
18 Program wyświetlający szczegółowe informacje na temat zainstalowanego
19 procesora (x86).
20
21 %prep
22 %setup -q
23
24 %build
25 %{__make} \
26         CC="%{__cc}" \
27         CFLAGS="%{rpmcflags} -Wall"
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
32
33 install %{name} $RPM_BUILD_ROOT%{_sbindir}
34 cp -a %{name}.man $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc ChangeLog FUTURE
42 %attr(755,root,root) %{_sbindir}/*
43 %{_mandir}/man1/%{name}.1*
This page took 0.054176 seconds and 3 git commands to generate.