adaptec-firmware/adaptec-firmware.spec

88 lines
2.8 KiB
RPMSpec

#
# spec file for package adaptec-firmware (Version 1.35)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: adaptec-firmware
License: Distributable in unmodified form
Group: Hardware/Other
AutoReqProv: on
Summary: Firmware files for Adaptec SAS Cards (AIC94xx Series)
Source0: aic94xx-seq.fw
Source1: LICENSE
Version: 1.35
Release: 3
# Install into this non-root directory (required when norootforbuild is used):
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%define _datadir /lib/firmware
# Modules: aic94xx.ko
Supplements: modalias(pci:v00009005d00000410sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d00000412sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d0000041Esv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d0000041Fsv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d00000430sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d00000432sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d0000043Esv*sd*bc*sc*i*)
Supplements: modalias(pci:v00009005d0000043Fsv*sd*bc*sc*i*)
# Generated with: extract-modaliases -i qla* kernel-default.rpm
%prep
cp %{S:1} .
%build
# There is nothing to build.
%install
# The firmware files must be installed in /lib/firmware
# because the firmware loader from udev searches there
mkdir -p %{buildroot}%{_datadir}
install -m 644 %{S:0} %{buildroot}%{_datadir}
%files
%defattr(-,root,root)
%doc LICENSE
%{_datadir}/*
%description
Firmware files for the Adaptec AIC94xx (Razor) Series of SAS HBA
Adapters.
Authors:
--------
Edward Chim <ed_chim@adaptec.com>
%changelog
* Mon Nov 24 2008 hare@suse.de
- Update firmware to v35 (bnc#445280)
* Wed Mar 05 2008 hare@suse.de
- Update package version to reflect the firmware release
(#362527)
* Tue Nov 27 2007 hare@suse.de
- Update firmware to v32 (FATE 302809,#341872)
* Sun Mar 18 2007 ro@suse.de
- remove /lib/firmware directory from filelist (in filesystem)
* Tue Feb 06 2007 ro@suse.de
- fix typo in specfile
* Tue Feb 06 2007 hare@suse.de
- Added LICENSE
* Mon Jan 08 2007 hare@suse.de
- Inital package (FATE 301600).