[521] | 1 | Summary: Regulatory Daemon for the Intel PRO/Wireless 3945ABG Network Connection |
---|
| 2 | Name: ipw3945d |
---|
| 3 | Version: 1.7.22 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | License: distributable |
---|
| 6 | Group: System Environment/Daemons |
---|
| 7 | URL: http://bughost.org/ipw3945/ |
---|
| 8 | Source0: http://bughost.org/ipw3945/daemon/%{name}-%{version}.tgz |
---|
| 9 | Source1: ipw3945d.init |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | ExclusiveArch: %{ix86} x86_64 |
---|
| 12 | |
---|
| 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | Packager: Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | The regulatory daemon is responsible for controlling and configuring |
---|
| 19 | aspects of the hardware required to operate the device within |
---|
| 20 | compliance of various regulatory agencies. This includes controlling |
---|
| 21 | which channels are allowed to do active/passive scanning, transmit |
---|
| 22 | power levels, which channels are allowed to be transmitted on, and |
---|
| 23 | support for IEEE 802.11h (DFS and TPC). |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q |
---|
| 27 | |
---|
| 28 | %install |
---|
| 29 | rm -rf %{buildroot} |
---|
| 30 | mkdir -p %{buildroot}/sbin |
---|
| 31 | %ifarch %{ix86} |
---|
| 32 | install -p x86/ipw3945d %{buildroot}/sbin/ |
---|
| 33 | %endif |
---|
| 34 | %ifarch x86_64 |
---|
| 35 | install -p x86_64/ipw3945d %{buildroot}/sbin/ |
---|
| 36 | %endif |
---|
| 37 | mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d |
---|
| 38 | install -p -m 0755 %{SOURCE1} \ |
---|
| 39 | %{buildroot}%{_sysconfdir}/rc.d/init.d/ipw3945d |
---|
| 40 | |
---|
| 41 | %post |
---|
| 42 | /sbin/chkconfig --add ipw3945d |
---|
| 43 | |
---|
| 44 | %preun |
---|
| 45 | if [ $1 -eq 0 ]; then |
---|
| 46 | /sbin/service ipw3945d stop &>/dev/null || : |
---|
| 47 | /sbin/chkconfig --del ipw3945d |
---|
| 48 | fi |
---|
| 49 | |
---|
| 50 | %postun |
---|
| 51 | if [ $1 -ge 1 ]; then |
---|
| 52 | /sbin/service ipw3945d condrestart &>/dev/null || : |
---|
| 53 | fi |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | rm -rf %{buildroot} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %files |
---|
| 60 | %defattr(-,root,root,-) |
---|
| 61 | %doc LICENSE* README* |
---|
| 62 | %{_sysconfdir}/rc.d/init.d/ipw3945d |
---|
| 63 | /sbin/ipw3945d |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %changelog |
---|
| 67 | * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.7.22-1vl5 |
---|
| 68 | - applied new versioning policy |
---|
| 69 | |
---|
| 70 | * Sun Dec 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.22-0vl3 |
---|
| 71 | - update initscript |
---|
| 72 | - do not start ipw3945d if 3945ABG device not found. |
---|
| 73 | - do not "killproc" if ipw3945d is not running. |
---|
| 74 | |
---|
| 75 | * Mon Apr 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.22-0vl2 |
---|
| 76 | - modify initscript to start ipw3945d before initializing network. |
---|
| 77 | |
---|
| 78 | * Mon Apr 02 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.22-0vl1 |
---|
| 79 | - initial build for Vine Linux based on ATrpms package |
---|
| 80 | |
---|
| 81 | * Fri Sep 15 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.7.22-4 |
---|
| 82 | - Update to 1.7.22. |
---|
| 83 | |
---|
| 84 | * Thu Jun 15 2006 Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
| 85 | - Update to 1.7.19. |
---|
| 86 | |
---|
| 87 | * Fri Mar 24 2006 Axel Thimm <Axel.Thimm@ATrpms.net> |
---|
| 88 | - Initial build. |
---|
| 89 | |
---|