Blame SPECS/aic94xx-firmware.spec

7e555b
Name:		aic94xx-firmware
7e555b
Summary:	Adaptec SAS 44300, 48300, 58300 Sequencer Firmware for AIC94xx driver
7e555b
Version:	30
7e555b
Release:	6%{?dist}
7e555b
License:	Redistributable, no modification permitted
7e555b
Group:		System Environment/Kernel
7e555b
Source0:	http://download.adaptec.com/scsi/linux/aic94xx-seq-%{version}-1.tar.gz
7e555b
# Copied from:
7e555b
# http://www.adaptec.com/AdaptecCom/Templates/driverdetail.aspx?NRMODE=Published&NRNODEGUID={35B611BC-9789-4B5B-82C6-85A2CCA8A46A}&NRORIGINALURL=%2fen-US%2fspeed%2fscsi%2flinux%2faic94xx-seq-30-1_tar_gz.htm&NRCACHEHINT=Guest
7e555b
Source1:	LICENSE.aic94xx
7e555b
URL:		http://www.adaptec.com/en-US/speed/scsi/linux/aic94xx-seq-30-1_tar_gz.htm
7e555b
Requires:	udev
7e555b
BuildArch:	noarch
7e555b
7e555b
%description
7e555b
Adaptec SAS 44300, 48300, 58300 Sequencer Firmware for Open-Source AIC94xx 
7e555b
Driver.
7e555b
7e555b
%prep
7e555b
%setup -q -c
7e555b
cp %{SOURCE1} .
7e555b
# Damn Adaptec. How hard is it to just put a firmware file in a tar.gz?
7e555b
%{_bindir}/rpm2cpio aic94xx_seq-30-1.noarch.rpm | cpio -idv
7e555b
chmod +r lib/firmware/aic94xx-seq.fw
7e555b
chmod -x README-94xx.pdf
7e555b
7e555b
%build
7e555b
# Firmware, do nothing.
7e555b
7e555b
%install
7e555b
mkdir -p %{buildroot}/lib/firmware/
7e555b
install -m0644 lib/firmware/aic94xx-seq.fw %{buildroot}/lib/firmware/
7e555b
7e555b
%clean
7e555b
rm -rf %{buildroot}
7e555b
7e555b
%files
7e555b
%defattr(-,root,root)
7e555b
%doc LICENSE.aic94xx README-94xx.pdf
7e555b
/lib/firmware/aic94xx-seq.fw
7e555b
7e555b
%changelog
7e555b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 30-6
7e555b
- Mass rebuild 2013-12-27
7e555b
7e555b
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 30-5
7e555b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7e555b
7e555b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 30-4
7e555b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7e555b
7e555b
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 30-3
7e555b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7e555b
7e555b
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 30-2
7e555b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7e555b
7e555b
* Mon Mar 15 2010 Tom "spot" Callaway <tcallawa@redhat.com> 30-1
7e555b
- Initial package