]> git.pld-linux.org Git - packages/cpuid.git/blobdiff - cpuid.spec
- updated to 20120601
[packages/cpuid.git] / cpuid.spec
index d47082ec3ca27af5584f553d8fe67b6c26e0bdfe..dadbc5f2a9e184913ffa6b4d670554155e771d84 100644 (file)
@@ -1,27 +1,26 @@
-Summary:       x86 CPUID display program
-Summary(pl.UTF-8):     CPUID dla procesorów x86
+Summary:       x86 CPUID information display program
+Summary(pl.UTF-8):     Program wyświetlający informacje CPUID dla procesorów x86
 Name:          cpuid
-Version:       3.3
-Release:       3
-License:       GPL
+Version:       20120601
+Release:       1
+License:       GPL v2+
 Group:         Applications/System
-Source0:       http://www.ka9q.net/code/cpuid/%{name}-%{version}.tar.gz
-# Source0-md5: 641af7bb12e1feb0b0d97ed68908297c
-URL:           http://www.ka9q.net/code/cpuid/
-Patch0:                %{name}-Makefile.patch
+Source0:       http://www.etallen.com/cpuid/%{name}-%{version}.src.tar.gz
+# Source0-md5: 4012dd0dba5e214b59de54db22e5e79b
+URL:           http://www.etallen.com/cpuid.html
 ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Program that displays details about x86 installed processor.
+Program that displays detailed information about x86 CPU(s) gathered
+from the CPUID instruction.
 
 %description -l pl.UTF-8
 Program wyświetlający szczegółowe informacje na temat zainstalowanego
-procesora (x86).
+procesora (lub procesorów) x86 zebrane przy użyciu instrukcji CPUID.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__make} \
@@ -30,13 +29,16 @@ procesora (x86).
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
 
-install cpuid $RPM_BUILD_ROOT%{_sbindir}
+install %{name} $RPM_BUILD_ROOT%{_sbindir}
+cp -a %{name}.man $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/*
+%doc ChangeLog FUTURE
+%attr(755,root,root) %{_sbindir}/cpuid
+%{_mandir}/man1/cpuid.1*
This page took 0.031151 seconds and 4 git commands to generate.