atmel-firmware/atmel-firmware.spec

138 lines
5.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package atmel-firmware (Version 1.3)
#
# Copyright (c) 2008 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: atmel-firmware
Version: 1.3
Release: 138
License: Any commercial; GPL v2 or later
Group: Hardware/Wifi
Url: http://www.thekelleys.org.uk/atmel
Source0: atmel-firmware-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Firmware for Atmel at76c50x Wireless Network Chips
BuildArch: noarch
# Modules: at76c503-i3861.ko at76c503-i3863.ko at76c503.ko
# at76c503-rfmd-acc.ko at76c503-rfmd.ko at76c505a-rfmd2958.ko
# at76c505-rfmd2958.ko at76c505-rfmd.ko at76_usbdfu.ko
Supplements: modalias(usb:v03EBp4102d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v03EBp760[3456]d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v03EBp761[347]d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v03F0p011Cd*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v049Fp0032d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v04A5p900[01]d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v04BBp0919d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0506p0A01d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v050Dp0050d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v055DpA000d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v05DDpFF31d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v066Bp2211d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0681p001Bd*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v069Ap032[01]d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v069Ap0821d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v077Bp2219d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v077Bp2227d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v07AAp7613d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v07B8pB000d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v083Ap3501d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0864p410[02]d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0B3Bp1612d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0CDEp0001d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0D5CpA00[12]d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0D8Ep71[01]0d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v0DB0p1020d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v1044p8003d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v12FDp1001d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v1371p0002d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v1371p001[34]d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v1371p5743d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v1668p7605d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v1915p2233d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v2001p3200d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v2019p3220d*dc*dsc*dp*ic*isc*ip*)
Supplements: modalias(usb:v8086p0200d*dc*dsc*dp*ic*isc*ip*)
# Generated with: extract-modaliases wlan-kmp-default.rpm
%description
The drivers for Atmel at76c50x wireless network chips in the Linux
2.6.x kernel and at http://at76c503a.berlios.de/ do not include the
firmware and this firmware needs to be loaded by the host on most cards
using these chips. This package provides the firmware images that
should be automatically loaded as needed by the hotplug system. It also
provides a small loader utility that can be used to accomplish the same
thing when hotplug is not in use.
Authors:
--------
Atmel Corp.
Simon Kelley <simon@thekelleys.org.uk>
%prep
%setup -q
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p -m 755 $RPM_BUILD_ROOT/usr/sbin
mkdir -p -m 755 $RPM_BUILD_ROOT/lib/firmware
mkdir -p -m 755 $RPM_BUILD_ROOT/usr/share/man/man8
mkdir -p -m 755 $RPM_BUILD_ROOT/etc/pcmcia
cp images/* $RPM_BUILD_ROOT/lib/firmware
cp images.usb/* $RPM_BUILD_ROOT/lib/firmware
install -m755 atmel_fwl.pl $RPM_BUILD_ROOT/usr/sbin/atmel_fwl
install -m644 atmel_fwl.8 $RPM_BUILD_ROOT/usr/share/man/man8
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING
%attr(0755,root,root) /usr/sbin/atmel_fwl
%attr(0644,root,root) /usr/share/man/man8/atmel_fwl.8.gz
/lib/firmware/*
%changelog
* Fri Mar 16 2007 jg@suse.de
- removed /lib/firmware from filelist
* Wed Mar 08 2006 agruen@suse.de
- Add modalias tags (155357).
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Fri Aug 19 2005 ro@suse.de
- removed hotplug from nfb
* Thu Aug 11 2005 jg@suse.de
- update to version 1.3
- removed obsolete cardmgr reload
- made package noarch as atmel_fw tool is a perl script now
* Mon Feb 28 2005 jg@suse.de
- exiting postinstall script cleanly even when cardmgr died
(bug 66787)
* Thu Jan 13 2005 jg@suse.de
- update to version 1.1
- moved firmware binaries from /usr/lib/hotplug/firmware to
/lib/firmware
* Mon May 24 2004 jg@suse.de
- Initial SuSE package