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