1
0
Files
adaptec-firmware/adaptec-firmware.spec
Lars Vogdt e9a90e600e Accepting request 82803 from hardware
- Remove redundant tags/sections from specfile (forwarded request 82705 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/82803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adaptec-firmware?expand=0&rev=9
2011-09-19 13:33:11 +00:00

66 lines
2.2 KiB
RPMSpec

#
# spec file for package adaptec-firmware
#
# Copyright (c) 2011 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/
#
Name: adaptec-firmware
License: Distributable in unmodified form
Group: Hardware/Other
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.
%changelog