2005-01-07 05:57:42 +00:00
|
|
|
Summary: Tool to analyse BIOS DMI data.
|
|
|
|
Name: dmidecode
|
2005-01-10 23:29:11 +00:00
|
|
|
Version: 2.5
|
2005-01-07 05:57:42 +00:00
|
|
|
Release: %(R="$Revision: 1.1 $"; RR="${R##: }"; echo ${RR%%?})
|
|
|
|
Serial: 1
|
|
|
|
Group: System Environment/Base
|
|
|
|
License: GPL
|
2005-01-10 23:29:11 +00:00
|
|
|
Source0: dmidecode-2.5.tar.gz
|
2005-01-07 05:57:42 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
BuildPreReq: /usr/bin/aclocal /usr/bin/automake /usr/bin/autoconf
|
|
|
|
ExclusiveArch: i386 x86_64 ia64
|
|
|
|
|
|
|
|
%description
|
|
|
|
dmidecode decodes the DMI data present in x86 and IA64 BIOS's.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -a 0
|
|
|
|
|
|
|
|
%build
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p %{buildroot}/usr/sbin
|
2005-01-10 23:29:11 +00:00
|
|
|
cd dmidecode-2.5
|
2005-01-07 05:57:42 +00:00
|
|
|
make
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%install
|
2005-01-10 23:32:12 +00:00
|
|
|
cd dmidecode-2.5
|
2005-01-07 05:57:42 +00:00
|
|
|
install dmidecode %{buildroot}/usr/sbin
|
|
|
|
install vpddecode %{buildroot}/usr/sbin
|
|
|
|
%ifarch %{ix86}
|
|
|
|
install ownership %{buildroot}/usr/sbin
|
|
|
|
%endif
|
|
|
|
|
|
|
|
chmod -R a-s %{buildroot}
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/sbin/dmidecode
|
|
|
|
/usr/sbin/vpddecode
|
|
|
|
%ifarch %{ix86}
|
|
|
|
/usr/sbin/ownership
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%changelog
|
2005-01-10 23:29:11 +00:00
|
|
|
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
|
|
|
|
- Update to upstream 2.5 release.
|
|
|
|
|
|
|
|
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
|
2005-01-07 05:57:42 +00:00
|
|
|
- Initial packaging, based upon kernel-utils package.
|
|
|
|
|