dmidecode/dmidecode.spec

80 lines
1.9 KiB
RPMSpec
Raw Normal View History

Summary: Tool to analyse BIOS DMI data.
Name: dmidecode
2005-09-12 07:16:39 +00:00
Version: 2.7
2005-09-23 21:48:56 +00:00
Release: %(R="$Revision: 1.16 $"; RR="${R##: }"; echo ${RR%%?})
2005-02-09 02:05:03 +00:00
Epoch: 1
Group: System Environment/Base
License: GPL
2005-09-12 07:16:39 +00:00
Source0: dmidecode-%{version}.tar.bz2
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPreReq: /usr/bin/aclocal /usr/bin/automake /usr/bin/autoconf
2005-09-23 21:48:56 +00:00
ExclusiveArch: i386 x86_64
2005-01-11 21:39:26 +00:00
Obsoletes: kernel-utils
Patch1: dmidecode.patch
%description
dmidecode decodes the DMI data present in x86 and IA64 BIOS's.
%prep
%setup -q -c -a 0
%patch1
%build
rm -rf $RPM_BUILD_ROOT
mkdir -p %{buildroot}/usr/sbin
2005-09-12 07:16:39 +00:00
cd dmidecode-%{version}
2005-02-09 22:21:50 +00:00
make CFLAGS="$RPM_OPT_FLAGS"
cd ..
%install
2005-09-12 07:16:39 +00:00
cd dmidecode-%{version}
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
%changelog
* Fri Sep 23 2005 Dave Jones <davej@redhat.com>
- Don't try to modify areas mmap'd read-only.
2005-09-23 21:48:56 +00:00
- Don't build on ia64 any more.
(It breaks on some boxes very badly, and works on very few).
2005-09-12 07:16:39 +00:00
* Mon Sep 12 2005 Dave Jones <davej@redhat.com>
- Update to upstream 2.7
2005-04-15 08:13:46 +00:00
* Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
- remove empty scripts
2005-03-02 19:59:25 +00:00
* Wed Mar 2 2005 Dave Jones <davej@redhat.com>
- Update to upstream 2.6
2005-03-02 03:51:03 +00:00
* Tue Mar 1 2005 Dave Jones <davej@redhat.com>
- Rebuild for gcc4
2005-02-09 02:02:34 +00:00
* Tue Feb 8 2005 Dave Jones <davej@redhat.com>
- Rebuild with -D_FORTIFY_SOURCE=2
2005-01-11 21:42:20 +00:00
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
- Add missing Obsoletes: kernel-utils
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>
- Initial packaging, based upon kernel-utils package.