Summary: A tool for dumping a computer's DMI table contents
Summary(pl): Narzêdzie do zrzucania zawarto¶ci tabeli DMI komputera
Name: dmidecode
-Version: 2.1
-Release: 0.2
+Version: 2.3
+Release: 2
License: GPL
Group: Applications/System
Source0: http://savannah.nongnu.org/download/%{name}/%{name}.pkg/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: b5717e623b7aaceee7c46ba3205c2d10
+# Source0-md5: b826e2eda9a1710c85e11e5c26920d23
URL: http://www.nongnu.org/dmidecode
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q
%build
-%{__make}
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -Wall -W -pedantic"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sbindir}
-%{__make} install PREFIX=$RPM_BUILD_ROOT/usr
+%{__make} install \
+ PREFIX=$RPM_BUILD_ROOT%{_prefix}
%clean
rm -rf $RPM_BUILD_ROOT