inteltool.spec
Daniel Dawid Majewski
light-i at o2.pl
Thu Jun 11 12:55:48 CEST 2009
nowa lepsza wersja (bez BR: subversion)
--
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/jid.pl
-------------- next part --------------
# $Revision:$, $Date:$
%define _svn_rev 4190
Summary: Utility for recognize Intel HW (chipset/CPU) configuration information
Summary(pl.UTF-8): NarzÄdzie do rozpoznawania informacji konfiguracyjnych w sprzÄcie Intela (chipset/CPU)
Name: inteltool
Version: 1.0
Release: 0.%{_svn_rev}_svn.1
License: GPL v2
Group: Applications/System
Source0: inteltool-%{version}-%{relase}.tar.lzma
URL: http://www.coreboot.org/Inteltool
BuildRequires: pciutils-devel
BuildRequires: rpm-build >= 4.3-0.20030610.21
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sbindir /sbin
%description
Inteltool is a small utility that provides some information about the
Intel CPU/chipset hardware configuration (register contents, MSRs
[need loading 'msr' kernel module], etc).
%description -l pl.UTF-8
Inteltool to podrÄczne narzÄdzie dostarczajace informacji o
konfiguracji sprzÄtowej chipsetu/CPU Intela (zawartoĹÄ rejestrĂłw,
MSR-y [potrzebne zaĹadowanie moduĹu jÄ
dra 'msr'] itp.).
%prep
%setup -q
%build
%{__make} \
CC='%{__cc}' \
CFLAGS='%{rpmcflags}' \
LDFLAGS='%{rpmldflags} -lpci -lz'
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
install %{name} $RPM_BUILD_ROOT%{_sbindir}
install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/%{name}
%{_mandir}/man8/%{name}.8*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
More information about the pld-devel-pl
mailing list