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