Blob Blame History Raw
%global git_commit 6ed57e5682e50088766faaaa680767d16be537a2
%global git_commit_date 20100423

Name:		bios_extract
Version:	0
Release:	0.5.%{git_commit_date}git%{?dist}
Summary:	Tools to extract the different submodules of common legacy bioses

Group:		Applications/System
License:	GPLv2+
# recognized more Award bios images (patch will be sent upstream)
Patch1:		bios_extract-0001-Identification-of-some-more-Award-BIOS-images.patch
# Fixed issue with incorrect filenames, containing slash(es). Patch was sent upstream.
Patch2:		bios_extract-0002-Fixed-issue-with-modules-filenames-containing-slash.patch
# Fedora-specific. Patch was sent upstream.
Patch3:		bios_extract-0003-Allow-CFLAGS-override.patch
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Tools to extract the different submodules of common legacy bioses.

%setup -q -n %{name}-%{git_commit}
%patch1 -p1 -b .more_award_types
%patch2 -p1 -b .replace_shash_with_backslash
%patch3 -p1 -b .cflags_override

CFLAGS="%{optflags} -fpack-struct" make %{?_smp_mflags}

install -p -m 0755 -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
install -p -m 0755 -D ami_slab $RPM_BUILD_ROOT%{_bindir}/ami_slab
install -p -m 0755 -D bcpvpd $RPM_BUILD_ROOT%{_bindir}/bcpvpd



* Sat Apr 24 2010 Peter Lemenkov <> 0-0.5.20100423git
- Added more BIOS types
- Added ami_slab utility
- Added -fpack-struct to CFLAGS (required to properly parse some BIOS blobs)
- Patches rebased (and dropped uptreamed ones)

* Sat Aug  1 2009 Peter Lemenkov <> 0-0.4.20090713git
- Fixed work on BigEndian platforms
- More bios-types recognized

* Fri Jul 24 2009 Fedora Release Engineering <> - 0-0.3.20090713git
- Rebuilt for

* Wed Jul 22 2009 Peter Lemenkov <> 0-0.2.20090713git
- Small changes, based on Yanko Kaneti's suggestions.

* Wed Jul 22 2009 Peter Lemenkov <> 0-0.1.20090713git
- Initial package for Fedora