1Summary:   Coova-Chilli is a Wireless LAN Access Point Controller
2Name:      @PACKAGE@
3Version:   1.0.12
4Release:   1
5URL:       http://coova.org/wiki/index.php/CoovaChilli
6Source0:   %{name}-%{version}.tar.gz
7License:   GPL
8Group:     System Environment/Daemons
9BuildRoot: %{_tmppath}/%{name}-root
10
11%description
12
13Coova-Chilli is a fork of the ChilliSpot project - an open source captive
14portal or wireless LAN access point controller. It supports web based login
15(Universal Access Method, or UAM), standard for public HotSpots, and it
16supports Wireless Protected Access (WPA), the standard for secure roamable
17networks. Authentication, Authorization and Accounting (AAA) is handled by
18your favorite radius server. Read more at http://coova.org/ and
19http://www.chillispot.org/.
20
21%prep
22%setup
23
24%build
25
26%configure --enable-static-exec
27
28make
29
30%install
31make install DESTDIR=$RPM_BUILD_ROOT
32
33rm -rf $RPM_BUILD_ROOT/usr/include/*
34rm -rf $RPM_BUILD_ROOT/usr/lib/*.la
35rm -rf $RPM_BUILD_ROOT/usr/lib/*.a
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39make clean
40
41%post
42/sbin/chkconfig --add chilli
43
44%preun
45if [ $1 = 0 ]; then
46        /sbin/service chilli stop > /dev/null 2>&1
47        /sbin/chkconfig --del chilli
48fi
49
50%files
51%defattr(-,root,root)
52%{_sbindir}/*
53%{_libdir}/*.so*
54%doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi
55%config %{_sysconfdir}/chilli.conf
56%config(noreplace) %{_sysconfdir}/chilli/defaults
57%dir %{_sysconfdir}/chilli
58%dir %{_sysconfdir}/chilli/www
59%attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
60%{_sysconfdir}/chilli/www/*
61%{_sysconfdir}/chilli/wwwsh
62%{_sysconfdir}/chilli/functions
63%{_sysconfdir}/chilli/*.sh
64%{_mandir}/man1/*.1*
65%{_mandir}/man5/*.5*
66%{_mandir}/man8/*.8*
67
68%changelog
69* Thu Sep 30 2007 <david@coova.com>
70- 1.0.8 release
71* Thu Aug 20 2007 <david@coova.com>
72- 1.0-coova.7 release
73* Thu Jun 7 2007 <david@coova.com>
74- 1.0-coova.6 release
75* Wed May 16 2007  <david@coova.com>
76- 1.0-coova.5 release
77* Wed Feb 07 2007  <david@coova.com>
78- 1.0-coova.4 release
79* Wed Nov 15 2006  <david@coova.com>
80- 1.0-coova.3 release
81* Thu Mar 25 2004  <support@chillispot.org>
82- Initial release.
83