Blame SPECS/aic94xx-firmware.spec

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