]> git.pld-linux.org Git - packages/atmel-firmware.git/blob - atmel-firmware.spec
- new, based on fedora package
[packages/atmel-firmware.git] / atmel-firmware.spec
1 %define         usb_version     0.1
2 Summary:        Firmware for Atmel at76c50x wireless network chips
3 Name:           atmel-firmware
4 Version:        1.3
5 Release:        1
6 License:        Redistributable, no modification permitted
7 Group:          Base/Kernel
8 URL:            http://at76c503a.berlios.de/
9 Source0:        http://www.thekelleys.org.uk/atmel/%{name}-%{version}.tar.gz
10 # Source0-md5:  415e16463151f2e953e9b3dceb7af45f
11 Source1:        http://download.berlios.de/at76c503a/at76_usb-firmware-%{usb_version}.tar.gz
12 # Source1-md5:  4577f3f9e596170ffaed49b7d20ca7f5
13 Provides:       at76_usb-firmware = %{usb_version}
14 Obsoletes:      at76_usb-firmware < %{usb_version}
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The drivers for Atmel at76c50x wireless network chips in the Linux
20 2.6.x kernel but do not include the firmware.
21
22 This firmware needs to be loaded by the host on most cards using these
23 chips.
24
25 %prep
26 %setup -q -a1
27 mv at76_usb-firmware-%{usb_version}/COPYRIGHT COPYRIGHT-usb
28 mv at76_usb-firmware-%{usb_version}/README README-usb
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT/lib/firmware
33 cp -p images/*.bin $RPM_BUILD_ROOT/lib/firmware
34 cp -p at76_usb-firmware-%{usb_version}/*.bin $RPM_BUILD_ROOT/lib/firmware
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc COPYING README COPYRIGHT-usb README-usb VERSION
42 /lib/firmware/*
This page took 0.080738 seconds and 4 git commands to generate.