/[smecontribs]/rpms/coova-chilli/contribs7/coova-chilli.spec
ViewVC logotype

Contents of /rpms/coova-chilli/contribs7/coova-chilli.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (show annotations) (download)
Mon May 4 13:43:34 2009 UTC (15 years ago) by vip-ire
Branch: MAIN
CVS Tags: coova-chilli-1_0_13-1_el4_sme
Changes since 1.8: +1 -2 lines
Remove openssl from BuildReq

1 # $Id: coova-chilli.spec,v 1.8 2009/05/04 13:37:12 vip-ire Exp $
2 # 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.13
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 rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
39 rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43 make clean
44
45 %pre
46 # Add the "chilli" user
47 /usr/sbin/useradd -c "Coova Chilli User" \
48 -s /sbin/nologin -r -d %{_sysconfdir}/chilli coovachilli 2> /dev/null || :
49
50 %post
51 /sbin/chkconfig --add chilli
52
53 %preun
54 if [ $1 = 0 ]; then
55 /sbin/service chilli stop > /dev/null 2>&1
56 /sbin/chkconfig --del chilli
57 fi
58
59 %files
60 %defattr(-,root,root)
61 %{_sbindir}/*
62 %{_libdir}/*.so*
63 %{_libdir}/python/CoovaChilliLib.py
64 %{_sysconfdir}/init.d/chilli
65 %doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi
66 %config %{_sysconfdir}/chilli.conf
67 %config(noreplace) %{_sysconfdir}/chilli/defaults
68 %dir %{_sysconfdir}/chilli
69 %dir %{_sysconfdir}/chilli/www
70 %attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
71 %{_sysconfdir}/chilli/www/*
72 %{_sysconfdir}/chilli/wwwsh
73 %{_sysconfdir}/chilli/functions
74 %{_sysconfdir}/chilli/*.sh
75 %{_sysconfdir}/chilli/*.ini
76 %{_mandir}/man1/*.1*
77 %{_mandir}/man5/*.5*
78 %{_mandir}/man8/*.8*
79
80 %changelog
81 * Mon Apr 07 2009 <daniel@firewall-services.com>
82 - 1.0.13 release
83 - Create coovachilli user
84 * Thu Sep 30 2007 <david@coova.com>
85 - 1.0.8 release
86 * Thu Aug 20 2007 <david@coova.com>
87 - 1.0-coova.7 release
88 * Thu Jun 7 2007 <david@coova.com>
89 - 1.0-coova.6 release
90 * Wed May 16 2007 <david@coova.com>
91 - 1.0-coova.5 release
92 * Wed Feb 07 2007 <david@coova.com>
93 - 1.0-coova.4 release
94 * Wed Nov 15 2006 <david@coova.com>
95 - 1.0-coova.3 release
96 * Thu Mar 25 2004 <support@chillispot.org>
97 - Initial release.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed