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

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

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


Revision 1.8 - (hide annotations) (download)
Mon May 4 13:37:12 2009 UTC (15 years, 7 months ago) by vip-ire
Branch: MAIN
Changes since 1.7: +13 -2 lines
Fix release number

1 vip-ire 1.8 # $Id: coova-chilli.spec,v 1.7 2008/11/25 16:20:11 slords Exp $
2 slords 1.4 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5 slords 1.1 Summary: Coova-Chilli is a Wireless LAN Access Point Controller
6     Name: coova-chilli
7 vip-ire 1.8 Version: 1.0.13
8 slords 1.4 Release: 1%{?dist}
9 slords 1.1 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 vip-ire 1.8 BuildRequires: openssl
15 slords 1.1
16     %description
17    
18     Coova-Chilli is a fork of the ChilliSpot project - an open source captive
19     portal or wireless LAN access point controller. It supports web based login
20     (Universal Access Method, or UAM), standard for public HotSpots, and it
21     supports Wireless Protected Access (WPA), the standard for secure roamable
22     networks. Authentication, Authorization and Accounting (AAA) is handled by
23     your favorite radius server. Read more at http://coova.org/ and
24     http://www.chillispot.org/.
25    
26     %prep
27     %setup
28    
29     %build
30    
31     %configure --enable-static-exec
32    
33     make
34    
35     %install
36     make install DESTDIR=$RPM_BUILD_ROOT
37    
38     rm -rf $RPM_BUILD_ROOT/usr/include/*
39 slords 1.5 rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
40     rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a
41 slords 1.1
42     %clean
43     rm -rf $RPM_BUILD_ROOT
44     make clean
45    
46 vip-ire 1.8 %pre
47     # Add the "chilli" user
48     /usr/sbin/useradd -c "Coova Chilli User" \
49     -s /sbin/nologin -r -d %{_sysconfdir}/chilli coovachilli 2> /dev/null || :
50    
51 slords 1.1 %post
52     /sbin/chkconfig --add chilli
53    
54     %preun
55     if [ $1 = 0 ]; then
56     /sbin/service chilli stop > /dev/null 2>&1
57     /sbin/chkconfig --del chilli
58     fi
59    
60     %files
61     %defattr(-,root,root)
62     %{_sbindir}/*
63     %{_libdir}/*.so*
64 vip-ire 1.8 %{_libdir}/python/CoovaChilliLib.py
65 slords 1.1 %{_sysconfdir}/init.d/chilli
66     %doc AUTHORS COPYING ChangeLog INSTALL README doc/dictionary.chillispot doc/hotspotlogin.cgi
67     %config %{_sysconfdir}/chilli.conf
68     %config(noreplace) %{_sysconfdir}/chilli/defaults
69     %dir %{_sysconfdir}/chilli
70     %dir %{_sysconfdir}/chilli/www
71     %attr(755,root,root)%{_sysconfdir}/chilli/www/config.sh
72     %{_sysconfdir}/chilli/www/*
73     %{_sysconfdir}/chilli/wwwsh
74     %{_sysconfdir}/chilli/functions
75     %{_sysconfdir}/chilli/*.sh
76 vip-ire 1.8 %{_sysconfdir}/chilli/*.ini
77 slords 1.1 %{_mandir}/man1/*.1*
78     %{_mandir}/man5/*.5*
79     %{_mandir}/man8/*.8*
80    
81     %changelog
82 vip-ire 1.8 * Mon Apr 07 2009 <daniel@firewall-services.com>
83     - 1.0.13 release
84     - Create coovachilli user
85 slords 1.1 * Thu Sep 30 2007 <david@coova.com>
86     - 1.0.8 release
87     * Thu Aug 20 2007 <david@coova.com>
88     - 1.0-coova.7 release
89     * Thu Jun 7 2007 <david@coova.com>
90     - 1.0-coova.6 release
91     * Wed May 16 2007 <david@coova.com>
92     - 1.0-coova.5 release
93     * Wed Feb 07 2007 <david@coova.com>
94     - 1.0-coova.4 release
95     * Wed Nov 15 2006 <david@coova.com>
96     - 1.0-coova.3 release
97     * Thu Mar 25 2004 <support@chillispot.org>
98     - Initial release.

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