summaryrefslogtreecommitdiffstats
path: root/waproamd.spec.in
blob: 84ef8e12c6a84ffaf6a4459d9115e95d384005c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%define debug_package %{nil}

Summary: Daemon which configures 802.11b networking by scanning for available networks.
Name: waproamd
Version: @PACKAGE_VERSION@
Release: 1
URL: http://0pointer.de/lennart/projects/waproamd/
Source: %{name}-%{version}.tar.gz
License: GPL
Group: Networking/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq:  libdaemon-devel

%description
waproamd is a roaming daemon for wireless IEEE 802.11 NICs supporting
the Linux wireless extensions. It is intended to configure the WEP keys
according to the networks found.

An alternative implementation of a tool like this is wlandetect.

%prep
%setup -q

%build
%configure
make

%install
[ ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%makeinstall sysvinitdir="$RPM_BUILD_ROOT"/etc/rc.d/init.d

%clean
[ ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc LICENSE README
%config /etc/waproamd/waproamd.conf
%config /etc/waproamd/scripts/default
/usr/sbin/waproamd
/etc/rc.d/init.d/waproamd
%{_mandir}/man5/waproamd.conf.5.gz
%{_mandir}/man8/waproamd.8.gz

%changelog
* Fri Jan 30 2004 Sean Reifschneider <jafo-rpms@tummy.com> [0.5b-1]
- Initial .spec creation.