|
Dave Jones |
a09c31 |
Summary: Tool to analyse BIOS DMI data.
|
|
Dave Jones |
a09c31 |
Name: dmidecode
|
|
Dave Jones |
8e813c |
Version: 2.5
|
|
Dave Jones |
b64467 |
Release: %(R="$Revision: 1.4 $"; RR="${R##: }"; echo ${RR%%?})
|
|
Dave Jones |
a09c31 |
Serial: 1
|
|
Dave Jones |
a09c31 |
Group: System Environment/Base
|
|
Dave Jones |
a09c31 |
License: GPL
|
|
Dave Jones |
8e813c |
Source0: dmidecode-2.5.tar.gz
|
|
Dave Jones |
a09c31 |
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Dave Jones |
a09c31 |
BuildPreReq: /usr/bin/aclocal /usr/bin/automake /usr/bin/autoconf
|
|
Dave Jones |
a09c31 |
ExclusiveArch: i386 x86_64 ia64
|
|
Dave Jones |
7ea52e |
Obsoletes: kernel-utils
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%description
|
|
Dave Jones |
a09c31 |
dmidecode decodes the DMI data present in x86 and IA64 BIOS's.
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%prep
|
|
Dave Jones |
a09c31 |
%setup -q -c -a 0
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%build
|
|
Dave Jones |
a09c31 |
rm -rf $RPM_BUILD_ROOT
|
|
Dave Jones |
a09c31 |
mkdir -p %{buildroot}/usr/sbin
|
|
Dave Jones |
8e813c |
cd dmidecode-2.5
|
|
Dave Jones |
b64467 |
make CFLAGS="$RPM_OPT_FLAGS -D_FORTIFY_SOURCE=2"
|
|
Dave Jones |
a09c31 |
cd ..
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%install
|
|
Dave Jones |
9f15ae |
cd dmidecode-2.5
|
|
Dave Jones |
a09c31 |
install dmidecode %{buildroot}/usr/sbin
|
|
Dave Jones |
a09c31 |
install vpddecode %{buildroot}/usr/sbin
|
|
Dave Jones |
a09c31 |
%ifarch %{ix86}
|
|
Dave Jones |
a09c31 |
install ownership %{buildroot}/usr/sbin
|
|
Dave Jones |
a09c31 |
%endif
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
chmod -R a-s %{buildroot}
|
|
Dave Jones |
a09c31 |
%clean
|
|
Dave Jones |
a09c31 |
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%files
|
|
Dave Jones |
a09c31 |
%defattr(-,root,root)
|
|
Dave Jones |
a09c31 |
/usr/sbin/dmidecode
|
|
Dave Jones |
a09c31 |
/usr/sbin/vpddecode
|
|
Dave Jones |
a09c31 |
%ifarch %{ix86}
|
|
Dave Jones |
a09c31 |
/usr/sbin/ownership
|
|
Dave Jones |
a09c31 |
%endif
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%preun
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%post
|
|
Dave Jones |
a09c31 |
|
|
Dave Jones |
a09c31 |
%changelog
|
|
Dave Jones |
b64467 |
* Tue Feb 8 2005 Dave Jones <davej@redhat.com>
|
|
Dave Jones |
b64467 |
- Rebuild with -D_FORTIFY_SOURCE=2
|
|
Dave Jones |
b64467 |
|
|
Dave Jones |
6b1ed8 |
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
|
|
Dave Jones |
6b1ed8 |
- Add missing Obsoletes: kernel-utils
|
|
Dave Jones |
6b1ed8 |
|
|
Dave Jones |
8e813c |
* Mon Jan 10 2005 Dave Jones <davej@redhat.com>
|
|
Dave Jones |
8e813c |
- Update to upstream 2.5 release.
|
|
Dave Jones |
8e813c |
|
|
Dave Jones |
8e813c |
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
|
|
Dave Jones |
a09c31 |
- Initial packaging, based upon kernel-utils package.
|
|
Dave Jones |
a09c31 |
|