3 # initscript, requires, cleanups, create as webapp?,
5 Summary: ChilliSpot is a Wireless LAN Access Point Controller
10 Group: Networking/Daemons
11 URL: http://www.chillispot.org
12 Source0: http://www.chillispot.org/download/%{name}-%{version}.tar.gz
13 # Source0-md5: 9d2597756af3fa14d7331b4a3651fc9b
14 #Source1: chilli.init.bz2
15 #Requires(postun): rpm-helper
16 #Requires(pre): rpm-helper
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 ChilliSpot is an open source captive portal or wireless LAN access
21 point controller. It supports web based login which is today's
22 standard for public HotSpots and it supports Wireless Protected Access
23 (WPA) which is the standard of the future. Authentication,
24 Authorization and Accounting (AAA) is handled by your favorite radius
25 server. Read more on http://www.chillispot.org
33 #bzcat %{SOURCE1} > chillispot.init
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_sysconfdir}/
51 install doc/chilli.conf $RPM_BUILD_ROOT%{_sysconfdir}/
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc CREDITS doc/firewall.iptables doc/freeradius.users doc/hotspotlogin.cgi
64 #%attr(0755,root,root) %{_initrddir}/chillispot
65 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
66 %attr(755,root,root) %{_sbindir}/chilli
67 %{_mandir}/man8/chilli.8*