]> git.pld-linux.org Git - packages/cpuid.git/blame - cpuid.spec
Fix build with -Werror=format-security
[packages/cpuid.git] / cpuid.spec
CommitLineData
47117b3e
JB
1Summary: x86 CPUID information display program
2Summary(pl.UTF-8): Program wyświetlający informacje CPUID dla procesorów x86
61837023 3Name: cpuid
cf91d6d8 4Version: 20120601
14d4fcd0 5Release: 1
47117b3e 6License: GPL v2+
61837023 7Group: Applications/System
14d4fcd0 8Source0: http://www.etallen.com/cpuid/%{name}-%{version}.src.tar.gz
cf91d6d8 9# Source0-md5: 4012dd0dba5e214b59de54db22e5e79b
c4c76c2f 10Patch0: %{name}-format-security.patch
14d4fcd0 11URL: http://www.etallen.com/cpuid.html
20bedb31 12ExclusiveArch: %{ix86} %{x8664}
61837023
TP
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
47117b3e
JB
16Program that displays detailed information about x86 CPU(s) gathered
17from the CPUID instruction.
61837023 18
6f84554c
JR
19%description -l pl.UTF-8
20Program wyświetlający szczegółowe informacje na temat zainstalowanego
47117b3e 21procesora (lub procesorów) x86 zebrane przy użyciu instrukcji CPUID.
61837023
TP
22
23%prep
24%setup -q
c4c76c2f 25%patch0 -p1
61837023
TP
26
27%build
2c413a21 28%{__make} \
da6de242 29 CC="%{__cc}" \
2c413a21 30 CFLAGS="%{rpmcflags} -Wall"
61837023
TP
31
32%install
33rm -rf $RPM_BUILD_ROOT
14d4fcd0 34install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
61837023 35
14d4fcd0
TP
36install %{name} $RPM_BUILD_ROOT%{_sbindir}
37cp -a %{name}.man $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
61837023
TP
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
14d4fcd0 44%doc ChangeLog FUTURE
261515d0
JB
45%attr(755,root,root) %{_sbindir}/cpuid
46%{_mandir}/man1/cpuid.1*
This page took 0.078734 seconds and 4 git commands to generate.