]> git.pld-linux.org Git - packages/cpuid.git/blobdiff - cpuid.spec
- updated to 20120601
[packages/cpuid.git] / cpuid.spec
index e888841c3e1a9827634f2f572d206be64b82b427..dadbc5f2a9e184913ffa6b4d670554155e771d84 100644 (file)
@@ -1,39 +1,44 @@
-Summary:       x86 CPUID display program
-Summary(pl):   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/
+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
-Program wy¶wietlaj±cy szczegó³owe informacje na temat zainstalowanego
-procesora (x86).
+%description -l pl.UTF-8
+Program wyświetlający szczegółowe informacje na temat zainstalowanego
+procesora (lub procesorów) x86 zebrane przy użyciu instrukcji CPUID.
 
 %prep
 %setup -q
 
 %build
 %{__make} \
+       CC="%{__cc}" \
        CFLAGS="%{rpmcflags} -Wall"
 
 %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.093614 seconds and 4 git commands to generate.