|
|
be34b26 |
%global git_commit 6ed57e5682e50088766faaaa680767d16be537a2
|
|
|
be34b26 |
%global git_commit_date 20100423
|
|
|
4c110b5 |
|
|
|
4c110b5 |
Name: bios_extract
|
|
|
4c110b5 |
Version: 0
|
|
|
be34b26 |
Release: 0.5.%{git_commit_date}git%{?dist}
|
|
|
4c110b5 |
Summary: Tools to extract the different submodules of common legacy bioses
|
|
|
4c110b5 |
|
|
|
4c110b5 |
Group: Applications/System
|
|
|
4c110b5 |
License: GPLv2+
|
|
|
4c110b5 |
URL: http://cgit.freedesktop.org/~libv/bios_extract
|
|
|
4c110b5 |
Source0: http://cgit.freedesktop.org/~libv/bios_extract/snapshot/%{name}-%{git_commit}.tar.bz2
|
|
|
be34b26 |
# recognized more Award bios images (patch will be sent upstream)
|
|
|
be34b26 |
Patch1: bios_extract-0001-Identification-of-some-more-Award-BIOS-images.patch
|
|
|
be34b26 |
# Fixed issue with incorrect filenames, containing slash(es). Patch was sent upstream.
|
|
|
be34b26 |
Patch2: bios_extract-0002-Fixed-issue-with-modules-filenames-containing-slash.patch
|
|
|
be34b26 |
# Fedora-specific. Patch was sent upstream.
|
|
|
be34b26 |
Patch3: bios_extract-0003-Allow-CFLAGS-override.patch
|
|
|
4c110b5 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
4c110b5 |
|
|
|
4c110b5 |
%description
|
|
|
4c110b5 |
Tools to extract the different submodules of common legacy bioses.
|
|
|
4c110b5 |
|
|
|
4c110b5 |
|
|
|
4c110b5 |
%prep
|
|
|
4c110b5 |
%setup -q -n %{name}-%{git_commit}
|
|
|
be34b26 |
%patch1 -p1 -b .more_award_types
|
|
|
be34b26 |
%patch2 -p1 -b .replace_shash_with_backslash
|
|
|
be34b26 |
%patch3 -p1 -b .cflags_override
|
|
|
4c110b5 |
|
|
|
4c110b5 |
|
|
|
4c110b5 |
%build
|
|
|
be34b26 |
CFLAGS="%{optflags} -fpack-struct" make %{?_smp_mflags}
|
|
|
4c110b5 |
|
|
|
4c110b5 |
|
|
|
4c110b5 |
%install
|
|
|
4c110b5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4c110b5 |
install -p -m 0755 -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
|
be34b26 |
install -p -m 0755 -D ami_slab $RPM_BUILD_ROOT%{_bindir}/ami_slab
|
|
|
4c110b5 |
install -p -m 0755 -D bcpvpd $RPM_BUILD_ROOT%{_bindir}/bcpvpd
|
|
|
4c110b5 |
|
|
|
4c110b5 |
%clean
|
|
|
4c110b5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4c110b5 |
|
|
|
4c110b5 |
|
|
|
4c110b5 |
%files
|
|
|
4c110b5 |
%defattr(-,root,root,-)
|
|
|
4c110b5 |
%doc README
|
|
|
4c110b5 |
%{_bindir}/%{name}
|
|
|
be34b26 |
%{_bindir}/ami_slab
|
|
|
4c110b5 |
%{_bindir}/bcpvpd
|
|
|
4c110b5 |
|
|
|
4c110b5 |
|
|
|
4c110b5 |
%changelog
|
|
|
be34b26 |
* Sat Apr 24 2010 Peter Lemenkov <lemenkov@gmail.com> 0-0.5.20100423git
|
|
|
be34b26 |
- Added more BIOS types
|
|
|
be34b26 |
- Added ami_slab utility
|
|
|
be34b26 |
- Added -fpack-struct to CFLAGS (required to properly parse some BIOS blobs)
|
|
|
be34b26 |
- Patches rebased (and dropped uptreamed ones)
|
|
|
be34b26 |
|
|
|
290644b |
* Sat Aug 1 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.4.20090713git
|
|
|
290644b |
- Fixed work on BigEndian platforms
|
|
|
290644b |
- More bios-types recognized
|
|
|
290644b |
|
|
|
290644b |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.20090713git
|
|
|
290644b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
290644b |
|
|
|
4c110b5 |
* Wed Jul 22 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.2.20090713git
|
|
|
4c110b5 |
- Small changes, based on Yanko Kaneti's suggestions.
|
|
|
4c110b5 |
|
|
|
4c110b5 |
* Wed Jul 22 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.1.20090713git
|
|
|
4c110b5 |
- Initial package for Fedora
|
|
|
4c110b5 |
|