%global git_commit d65284d %global git_commit_date 20101207 Name: bios_extract Version: 0 Release: 0.12.%{git_commit_date}git%{git_commit}%{?dist} Summary: Tools to extract the different submodules of common legacy bioses Group: Applications/System License: GPLv2+ URL: http://cgit.freedesktop.org/~libv/bios_extract Source0: http://cgit.freedesktop.org/~libv/bios_extract/snapshot/%{name}-%{git_commit}.tar.bz2 # recognized more Award bios images (patch will be sent upstream) Patch1: bios_extract-0001-Identification-of-some-more-Award-BIOS-images.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description Tools to extract the different submodules of common legacy bioses. %prep %setup -q -n %{name}-%{git_commit} %patch1 -p1 -b .more_award_types %build CFLAGS="%{optflags} -fpack-struct" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{_bindir}/%{name} %{_bindir}/ami_slab %{_bindir}/bcpvpd %changelog * Sat Jun 07 2014 Fedora Release Engineering - 0-0.12.20101207gitd65284d - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0-0.11.20101207gitd65284d - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0-0.10.20101207gitd65284d - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0-0.9.20101207gitd65284d - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0-0.8.20101207gitd65284d - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 0-0.7.20101207gitd65284d - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jan 22 2011 Peter Lemenkov - 0-0.6.20101207gitd65284d - New git snapshot - Dropped upstreamed patches * 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 https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * 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