source: projects/specs/branches/6/i/ipw3945d/ipw3945d-vl.spec @ 521

Revision 521, 2.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Regulatory Daemon for the Intel PRO/Wireless 3945ABG Network Connection
2Name: ipw3945d
3Version: 1.7.22
4Release: 1%{?_dist_release}
5License: distributable
6Group: System Environment/Daemons
7URL: http://bughost.org/ipw3945/
8Source0: http://bughost.org/ipw3945/daemon/%{name}-%{version}.tgz
9Source1: ipw3945d.init
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11ExclusiveArch: %{ix86} x86_64
12
13Vendor: Project Vine
14Distribution: Vine Linux
15Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
16
17%description
18The regulatory daemon is responsible for controlling and configuring
19aspects of the hardware required to operate the device within
20compliance of various regulatory agencies.  This includes controlling
21which channels are allowed to do active/passive scanning, transmit
22power levels, which channels are allowed to be transmitted on, and
23support for IEEE 802.11h (DFS and TPC).
24
25%prep
26%setup -q
27
28%install
29rm -rf %{buildroot}
30mkdir -p %{buildroot}/sbin
31%ifarch %{ix86}
32install -p x86/ipw3945d %{buildroot}/sbin/
33%endif
34%ifarch x86_64
35install -p x86_64/ipw3945d %{buildroot}/sbin/
36%endif
37mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
38install -p -m 0755 %{SOURCE1} \
39   %{buildroot}%{_sysconfdir}/rc.d/init.d/ipw3945d
40
41%post
42/sbin/chkconfig --add ipw3945d
43
44%preun
45if [ $1 -eq 0 ]; then
46    /sbin/service ipw3945d stop &>/dev/null || :
47    /sbin/chkconfig --del ipw3945d
48fi
49       
50%postun
51if [ $1 -ge 1 ]; then
52    /sbin/service ipw3945d condrestart &>/dev/null || :
53fi
54           
55%clean
56rm -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
Note: See TracBrowser for help on using the repository browser.